Hi Filippe,
after some hours of disperate fighting against gstreamer pipeline, here the 
pipeline that works for play video and audio (mp4) in a correct way:


Code:
gchar *string = g_strdup_printf("filesrc location=%s ! qtdemux name=demux 
demux.video_0 ! queue ! video/x-h264 ! avdec_h264 ! videoconvert ! 
video/x-raw,format=RGB ! appsink name=sink emit-signals=true  demux.audio_0 ! 
queue! faad ! audioconvert ! audioresample ! autoaudiosink  ", 
filename.c_str());



I don't know if it is the right way, but it works for me. I modified 
GStreamerImageStream.cpp  , GStreamerImageStream::open  method.

Thank you!

Cheers,
Andrea

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=74169#74169





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to