Results 1 to 3 of 3

Thread: Need help create Video apps

  1. #1
    Join Date
    Feb 2008
    Posts
    4
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default Need help create Video apps

    Hi..All

    need some advice about the issue , here is the story
    I have ipcam and sample app(show stream/video from ipcam)
    I want to porting sample application(in C language) or create new (if posible) in Qt platform.

    here is what happen in sample apps:
    sample apps using libavcodec and libXv(in gtk gui) to display.
    1. data raw from ipcam receive using socket connection (TCP) and put in video buffer.
    2. data in video buffer then decode using (CODEC_ID_H264) with "avcodec_decode_video2()" function.
    3. and then decoded data, process using Xvlib (xv_create_ximage (gui, MAX_IMAGE_WIDTH, MAX_IMAGE_HEIGHT, FMT_VIDEO_YUV420P)) and show to diplay by XvPutImage().

    that the story and here what I already done :
    1. port some part to Qt but the problem is when it's come to Xvlib,
    question : can someone give me some advice how to do in Qt, to link Qt with Xvid lib to display the movie?
    2. I try using phonon but still have error when try to play raw data video in phonon
    maybe some is missing, can someone give me advice , did phonon can play from raw buffer? if I try play using movie file (avi/mp4) it's running ok.
    3. did I need to format/convert first the raw data so it's can be play by phonon?
    4. maybe can give me what is best way to do in Qt ,so I can play/stream data video from ipcam in Qt apps?


    thanks

  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: Need help create Video apps

    If you can use Qt5 then I suggest you just use the QtMultimedia module. If you can't use Qt5 but can use Qt4 then I suggest you use QtMultimediaKit from QtMobility.
    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 2008
    Posts
    4
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default Re: Need help create Video apps

    Hi wysota,

    thanks for reply, ok I will try your suggestion first I will back after try some

    thanks

Similar Threads

  1. How to create custom (streaming video) Phonon::MediaSource?
    By high_flyer in forum Qt Programming
    Replies: 2
    Last Post: 17th February 2017, 20:30
  2. Create video widget using byte array
    By Elv13 in forum Qt Programming
    Replies: 1
    Last Post: 27th June 2012, 11:13
  3. Native Client: create web apps using your existing C and C++ code.
    By thefatladysingsopera in forum Qt Programming
    Replies: 2
    Last Post: 21st August 2011, 10:17
  4. Create a video from several Plots
    By locke in forum Qt Programming
    Replies: 2
    Last Post: 9th March 2010, 18:06
  5. Replies: 0
    Last Post: 26th June 2009, 17:53

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.