Results 1 to 20 of 22

Thread: Playing mplayer inside QWidget

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2008
    Location
    India
    Posts
    31
    Thanks
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Playing mplayer inside QWidget

    ok, i am trying...
    @shish

  2. #2
    Join Date
    Jan 2008
    Location
    India
    Posts
    31
    Thanks
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Question Re: Playing mplayer inside QWidget

    i searched for source code of mplayer written in qt got QXMP but it is for linux, and it used QX11EmbedContainer which is not in Qt of windows platform,do anybody know any player written in Qt for windows...???????
    @shish

  3. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,360
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Playing mplayer inside QWidget

    Why do you need a Qt written player? Can't you embed Windows Media Player using ActiveX or Phonon (Qt4.4+ only)?

  4. #4
    Join Date
    Jan 2008
    Location
    India
    Posts
    31
    Thanks
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Red face Re: Playing mplayer inside QWidget

    becoz i didn't know about this , now i will see....
    @shish

  5. #5
    Join Date
    Aug 2007
    Location
    Gorakhpur, India
    Posts
    254
    Thanks
    8
    Thanked 14 Times in 14 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: Playing mplayer inside QWidget

    Quote Originally Posted by sinha.ashish View Post
    becoz i didn't know about this , now i will see....
    Dear Ashish!
    You can run MPlayer inside Qt Widget.
    See the M-Player windows documentation.
    I have done it previously.
    Anurag Shukla
    A man who never makes mistake is the man who never does anything! Theodre Rosvelt!

  6. #6
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,360
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Playing mplayer inside QWidget

    Quote Originally Posted by ashukla View Post
    I have done it previously.
    On Windows?

  7. #7
    Join Date
    Jan 2008
    Location
    India
    Posts
    31
    Thanks
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Question Re: Playing mplayer inside QWidget

    Quote Originally Posted by ashukla View Post
    Dear Ashish!
    You can run MPlayer inside Qt Widget.
    See the M-Player windows documentation.
    I have done it previously.

    I know that, but that is not working for windows...
    @shish

  8. #8
    Join Date
    Aug 2007
    Location
    Gorakhpur, India
    Posts
    254
    Thanks
    8
    Thanked 14 Times in 14 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: Playing mplayer inside QWidget

    Quote Originally Posted by sinha.ashish View Post
    I know that, but that is not working for windows...
    You should depict MPlayer manual carefully.
    There is a solution to play MPlayer in Qt Widget.
    I am working on another project that is not Qt Specific thats why the reason I cann't put code to you.
    But Sure, It is possible to run MPlayer on Qt Widget in Windows.
    This is a tricky one work.
    with regards!
    Anurag Shukla
    A man who never makes mistake is the man who never does anything! Theodre Rosvelt!

  9. #9
    Join Date
    Jan 2008
    Location
    India
    Posts
    31
    Thanks
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Smile Re: Playing mplayer inside QWidget

    Ok sir!
    i do the same...
    thanks a lot for ur time to suggest me...
    @shish

  10. #10
    Join Date
    Jan 2008
    Location
    India
    Posts
    31
    Thanks
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Talking Re: Playing mplayer inside QWidget

    Hello all!!!!!

    the problem i have gone through is solved and it is possible to embed mplayer inside QWidget ,i have done this......
    @shish

  11. #11
    Join Date
    Mar 2007
    Posts
    31
    Thanks
    13
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Playing mplayer inside QWidget

    How did you solve the problem ?

  12. #12
    Join Date
    Jan 2008
    Posts
    72
    Thanks
    3
    Thanked 4 Times in 4 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Symbian S60

    Wink Re: Playing mplayer inside QWidget

    hello drake1983...........
    its so simple yo play mplayer inside widget.........
    just use -wid option of mplayer and provide window id of your QWidget.
    and use -vo option with direct:noaccel .............................

Similar Threads

  1. QWidget inside MFC project
    By hINTModuleState in forum Newbie
    Replies: 3
    Last Post: 9th October 2015, 15:22
  2. running an app inside QWidget ?
    By drake1983 in forum Newbie
    Replies: 2
    Last Post: 14th March 2008, 15:33
  3. QScrollArea problem positioning a QWidget inside
    By Spectator in forum Qt Programming
    Replies: 4
    Last Post: 20th February 2006, 22:59

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.