Discussion:
[gst-devel] mp4 demux pipeline
Nitin Das
2010-08-11 10:40:57 UTC
Permalink
Hello,

I am looking for the c code of mp4 demuxer pipeline. I have created the
example pipeline :-

gst-launch-0.10 filesrc location=VTS_02_1.mp4 ! qtdemux name=demux
demux.video_00 ! ffdec_h264 ! xvimagesink


how do convert qtdemux name=demux demux.video_00 into a c code.


thanks
Nitin
Tim-Philipp Müller
2010-08-11 10:56:07 UTC
Permalink
Post by Nitin Das
I am looking for the c code of mp4 demuxer pipeline. I have created
the example pipeline :-
gst-launch-0.10 filesrc location=VTS_02_1.mp4 ! qtdemux name=demux
demux.video_00 ! ffdec_h264 ! xvimagesink
how do convert qtdemux name=demux demux.video_00 into a c code.
Have you read the application developer's manual yet?

pipeline = gst_parse_launch ("filesrc location=VTS_02_1.mp4 ! qtdemux
name=demux demux.video_00 ! ffdec_h264 ! xvimagesink");

is one option.

Alternatively, g_signal_connect() to qtdemux's "pad-added" signal.

You may also want to investigate the uridecodebin, decodebin2, and
playbin2 elements.

Cheers
-Tim
sudarshan bisht
2010-08-11 11:02:13 UTC
Permalink
Go through Application Development Manual in Gstreamer website .
Post by Nitin Das
Hello,
I am looking for the c code of mp4 demuxer pipeline. I have created the
example pipeline :-
gst-launch-0.10 filesrc location=VTS_02_1.mp4 ! qtdemux name=demux
demux.video_00 ! ffdec_h264 ! xvimagesink
how do convert qtdemux name=demux demux.video_00 into a c code.
thanks
Nitin
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
gstreamer-devel mailing list
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
--
Regards,

Sudarshan Bisht
Andres Gonzalez
2010-08-11 11:18:23 UTC
Permalink
Post by Nitin Das
Hello,
I am looking for the c code of mp4 demuxer pipeline. I have created
the example pipeline :-
See this:

http://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/gst/qtdemux

Or download this file, and untar it.

http://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-0.10.24.tar.gz

and look in gst/qtdemux directory.

I think it's what you're looking for.
Post by Nitin Das
gst-launch-0.10 filesrc location=VTS_02_1.mp4 ! qtdemux name=demux
demux.video_00 ! ffdec_h264 ! xvimagesink
how do convert qtdemux name=demux demux.video_00 into a c code.
thanks
Nitin
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
gstreamer-devel mailing list
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
prathap
2013-06-11 09:41:30 UTC
Permalink
hi i am new to Gstreamer , i have tried that above example and i got this
Errors ,

Can you know me what is the reason

Elements are created
Added all the Elements into the pipeline
Linked all the Elements together
Playing the video
Running...
Error: GStreamer encountered a general stream error.
Returned, stopping playback
Deleting pipeline


Thank you

Prathap.M



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/mp4-demux-pipeline-tp2321015p4660496.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
Loading...