Results 1 to 4 of 4

Thread: QMovie::supportedFormats() returns only "gif, mng"

  1. #1
    Join Date
    Feb 2012
    Location
    Armenia/Yerevan
    Posts
    400
    Thanks
    15
    Thanked 16 Times in 15 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11

    Default QMovie::supportedFormats() returns only "gif, mng"

    I need to write a program which play a video, any format. But as I checked two Qt sample codes, the format they support is so limited
    gif and mng. If qt 4.7 does not support it, is there any tool to add?

    moreover, I also cannot find any camera and image capture headers. although, if I go for the locate qcamera.h

    it shows:
    Qt Code:
    1. /QtSDK/Simulator/QtMobility/gcc/include/QtMultimediaKit/qcamera.h
    To copy to clipboard, switch view to plain text mode 
    but, when I add it to my program it give th error:
    Qt Code:
    1. error: QtMultimediaKit/qcamera.h: No such file or directory
    To copy to clipboard, switch view to plain text mode 

    m stuck actually!
    how should I write the below to programs:
    1. a program that play video format any type, at least jpeg, avi
    2. a program that connects to camera, could be a usb camera or any other type. so that, I can capture the live video and play it on the widget?

    Your
    Last edited by saman_artorious; 11th July 2012 at 08:49. Reason: updated contents

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    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: QMovie::supportedFormats() returns only "gif, mng"

    QMovie only handles simple movie format. If you need something more complex, then use either Phonon or QtMultimedia module.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Feb 2012
    Location
    Armenia/Yerevan
    Posts
    400
    Thanks
    15
    Thanked 16 Times in 15 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11

    Default Re: QMovie::supportedFormats() returns only "gif, mng"

    Quote Originally Posted by wysota View Post
    QMovie only handles simple movie format. If you need something more complex, then use either Phonon or QtMultimedia module.
    has anyone got experience using the two modules? which one is more reliable?

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    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: QMovie::supportedFormats() returns only "gif, mng"

    It depends what you want to do with them. Read the docs on both and decide for yourself.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Replies: 1
    Last Post: 18th April 2011, 16:39
  2. Replies: 3
    Last Post: 25th August 2009, 14:03
  3. QLocale::system().name() returns "C" instead of "de"
    By momesana in forum Qt Programming
    Replies: 1
    Last Post: 18th February 2008, 15:59
  4. Translation QFileDialog standart buttons ("Open"/"Save"/"Cancel")
    By victor.yacovlev in forum Qt Programming
    Replies: 4
    Last Post: 24th January 2008, 20:05
  5. Replies: 1
    Last Post: 13th March 2007, 18:33

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.