Results 1 to 2 of 2

Thread: QThread for Movie Player...

  1. #1
    Join Date
    Sep 2009
    Location
    Surrey, BC, Canada
    Posts
    110
    Thanks
    1
    Thanked 2 Times in 1 Post
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default QThread for Movie Player...

    Hi, all:

    I seriously don't want to use Phonon to realize my media player. Actually, it's done already.

    I'm now trying to use QGraphicsView to realize my own media player.

    Can anybody give me a hint where I can find a demo or open source ?

    I found something here
    http://cartan.cas.suffolk.edu/oopdoc...viethread.html

    But, there seems to be missing some header files.

    What's more, where can I find something about all the following thread control functionalities for media broadcasting??

    pause
    backward
    forward
    speedy backward
    speedy forward
    stop

    etc...


    Best Regards
    JIA Pei
    Welcome to Vision Open
    http://www.visionopen.com

  2. #2
    Join Date
    Apr 2006
    Location
    Denmark / Norway
    Posts
    67
    Thanks
    3
    Thanked 12 Times in 8 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Re: QThread for Movie Player...

    Hi

    Have a look at qmmp, and how they solved audio decoding using threads.
    This is based on mq3 (a qt mp3 player)

    It would be a matter of doing something similar, but then handling the streams (video + audio on two different buffers, putting them out on two different outputs).

    Good luck with it

    Also you can have a look at vlc media player, as the last front end they use is written in QT4.

    If you're doing a GPL program, you can probably use most of how they solved integrating libVLC.

    cheers,
    leif

Similar Threads

  1. QThread and QTimer
    By sivrisinek in forum Qt Programming
    Replies: 4
    Last Post: 30th April 2009, 16:41
  2. QThread and QTcpSocket
    By ^NyAw^ in forum Qt Programming
    Replies: 3
    Last Post: 12th May 2008, 13:06
  3. Spawn a QThread in another QThread
    By david.corinex in forum Qt Programming
    Replies: 2
    Last Post: 19th December 2007, 12:54
  4. QThread exec proplem to stop...
    By patrik08 in forum Qt Programming
    Replies: 29
    Last Post: 21st May 2007, 07:51
  5. Is it possible to create a QThread without inheriting ?
    By probine in forum Qt Programming
    Replies: 6
    Last Post: 23rd March 2006, 22:51

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.