Results 1 to 3 of 3

Thread: Playing video in Qt

  1. #1
    Join Date
    Jun 2013
    Posts
    31
    Thanks
    8
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Question Playing video in Qt

    Hi,

    I will be playing video on button click in my GUI. Most probably I will be trying with Phonon as the widget in examples is not working. This is the first time Qt has been installed on my Linux system. Can anyone tell me which all codecs I need to download. I will be playing movies in avi,mpeg4,flv....

    Thank You

  2. #2
    Join Date
    May 2012
    Location
    Bangalore, India
    Posts
    271
    Thanks
    29
    Thanked 50 Times in 47 Posts
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Playing video in Qt

    Check for the codecs installed on your linux system. In linux you need to install gstreamer for playing video in qt. For installing gstreamer type this command:-
    Qt Code:
    1. apt-get install gstreamer0.10-alsa
    To copy to clipboard, switch view to plain text mode 
    or install it using synaptic manager.
    Heavy Metal Rules. For those about to rock, we salute you.
    HIT THANKS IF I HELPED.

  3. The following user says thank you to sonulohani for this useful post:

    SiddhantR (1st July 2013)

  4. #3
    Join Date
    Jun 2013
    Posts
    31
    Thanks
    8
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Playing video in Qt

    Hey thanks for the reply. The above command doesnt work. Anyways that is not a major issue I will get the gstreamer installed somehow. Can you tell me is it suggested to use Phonon as I read somewhere that QtMultimediaKit will be more in use. However I am not able to run the example given by them as it keeps giving silly error.
    Can you just help me out with this.

    And yeah Heavy Metal Rules \m/

Similar Threads

  1. Playing video in Qt 5.x under Windows XP
    By allexz in forum Qt Programming
    Replies: 0
    Last Post: 1st April 2013, 04:43
  2. Playing a Video
    By Qt_Kid in forum Newbie
    Replies: 1
    Last Post: 13th May 2011, 14:24
  3. Playing video using Phonon video widget
    By Leolander in forum Newbie
    Replies: 0
    Last Post: 26th February 2010, 07:15
  4. Playing video in qt Embedded
    By Sathyan in forum Qt for Embedded and Mobile
    Replies: 2
    Last Post: 17th August 2009, 11:18
  5. Playing Video file using Qt
    By sarode in forum Qt Programming
    Replies: 3
    Last Post: 26th March 2007, 19:35

Tags for this Thread

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.