Results 1 to 4 of 4

Thread: Playing Video file using Qt

  1. #1
    Join Date
    May 2006
    Posts
    32
    Thanks
    1
    Thanked 5 Times in 4 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Playing Video file using Qt

    Hello Everyone..

    Can anybody help me how to run a video file using Qt. Does qt comes with video library builtin / need to add additionally..

    Thanks in advance

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Playing Video file using Qt

    Qt does not come with built in video abilties.
    What kind of video input do you have?
    Is the video stream decoded?
    Does it have to be cross platform?
    You might what to have a look in this thread

  3. #3
    Join Date
    Aug 2006
    Location
    istanbul, turkey
    Posts
    42
    Thanks
    2
    Thanked 4 Times in 4 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: Playing Video file using Qt

    What you need is changes whether if it uses specific codes like h264.
    but vlc is very powerfull as well.
    you can also display vlc within QWidgets with the latest version.
    But if you want a simple player than vlc you may use mplayer. It accept command line arguments to be reparented by QWidgets with window id parameter.
    in second state( mplayer usage ) you will use QProcess to initiate.
    If you want to use vlc you need to take a look at vlc's api.
    Both works perfectly.

  4. #4
    Join Date
    Jan 2006
    Location
    Ohio
    Posts
    332
    Thanks
    37
    Thanked 8 Times in 4 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Cool Re: Playing Video file using Qt

    I used DirectShow for a video player and here is the link to a lot of the code required to do this: http://www.qtcentre.org/forum/f-qt-p...e-qt-1612.html

    Hope that helps.

Similar Threads

  1. Draging a non-existing file to the Windows Desktop
    By klaus1111 in forum Qt Programming
    Replies: 13
    Last Post: 20th September 2007, 11:47
  2. Sending Binary File with QFTP
    By nbkhwjm in forum Newbie
    Replies: 2
    Last Post: 7th March 2007, 18:10
  3. SQLite-DB in a qrc file
    By Lykurg in forum Qt Programming
    Replies: 5
    Last Post: 31st July 2006, 19:24
  4. Accessing DTD in an XML file via QtXml module?
    By jorma in forum Qt Programming
    Replies: 1
    Last Post: 6th May 2006, 18:09
  5. Video and QSlider
    By ToddAtWSU in forum Qt Programming
    Replies: 2
    Last Post: 1st May 2006, 19:37

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.