[gst-devel] Streaming with GStreamer

Jérémy Garnier garnier.gerpi at wiz4com.com
Thu Sep 7 14:01:44 CEST 2006


Sorry I make an error when I copy my line command on this mail.

It is the same thing when I use gst-launch-0.10 rtspsrc
location=rtsp://172.16.10.26:554/sample_h264_1mbit.mp4 ! rtpmp4vdepay !
ffdec_mpeg4 ! ximagesink :

The stream is an H264 so it is rtpmp4vdepay and ffdec_mpeg4 !

 

 

[root at lfm developpement_pc]# gst-launch-0.10 --gst-debug=4
--gst-debug-no-color rtspsrc
locationfiltered="rtsp://172.16.10.26:554/sample_h264_1mbit.mp4" !
rtpmp4vdepay ! ffdec_mpeg4 ! ximagesink
INFO  (0x8051228 - 0:00:00.000297000)             GST_INIT(10919)
gstquery.c(101):_gst_query_initialize: init queries
INFO  (0x8051228 - 0:00:00.000772000)             GST_INIT(10919)
gstmessage.c(72):_gst_message_initialize: init messages
DEBUG (0x8051228 - 0:00:00.001886000)                  bin(10919)
gstbin.c(348):gst_bin_class_init: creating bin thread pool
DEBUG (0x8051228 - 0:00:00.002023000)         GST_REGISTRY(10919)
gstregistry.c(395):gst_registry_add_feature:<registry0> adding feature
0x805b4b0 (bin)
DEBUG (0x8051228 - 0:00:00.002045000)         GST_REGISTRY(10919)
gstregistry.c(403):gst_registry_add_feature:<registry0> emitting
feature-added for bin
DEBUG (0x8051228 - 0:00:00.002151000)         GST_REGISTRY(10919)
gstregistry.c(395):gst_registry_add_feature:<registry0> adding feature
0x805cbf8 (pipeline)
DEBUG (0x8051228 - 0:00:00.002170000)         GST_REGISTRY(10919)
gstregistry.c(403):gst_registry_add_feature:<registry0> emitting
feature-added for pipeline
INFO  (0x8051228 - 0:00:00.002185000)   GST_PLUGIN_LOADING(10919)
gstplugin.c(186):_gst_plugin_register_static: loaded static plugin
"staticelements"
DEBUG (0x8051228 - 0:00:00.002205000)         GST_REGISTRY(10919)
gstregistry.c(326):gst_registry_add_plugin:<registry0> adding plugin
0x805b1c8 for filename "(NULL)"
DEBUG (0x8051228 - 0:00:00.002223000)         GST_REGISTRY(10919)
gstregistry.c(335):gst_registry_add_plugin:<registry0> emitting plugin-added
for filename "(NULL)"
DEBUG (0x8051228 - 0:00:00.004421000)             GST_INIT(10919)
gst.c(612):init_post: Reading registry cache
DEBUG (0x8051228 - 0:00:00.004817000)         GST_REGISTRY(10919)
gstregistryxml.c(368):load_plugin: creating new plugin and parsing
DEBUG (0x8051228 - 0:00:00.004896000)         GST_REGISTRY(10919)
gstregistryxml.c(385):load_plugin: name ret=1, name=alsa
DEBUG (0x8051228 - 0:00:00.004923000)         GST_REGISTRY(10919)
gstregistryxml.c(391):load_plugin: description ALSA plugin library
DEBUG (0x8051228 - 0:00:00.004939000)         GST_REGISTRY(10919)
gstregistryxml.c(395):load_plugin: filename
/usr/local/lib/gstreamer-0.10/libgstalsa.so

........
........
........
DEBUG (0x8051228 - 0:00:03.920298000)         GST_REGISTRY(10866)
gstregistry.c(797):gst_registry_scan_path_level:<registry0> plugin already
registered from path "/usr/local/lib/gstreamer-0.10/libgstvideorate.so"
DEBUG (0x8051228 - 0:00:04.007761000)         GST_REGISTRY(10866)
gstregistry.c(870):_gst_registry_remove_cache_plugins:<registry0> removing
cached plugins
INFO  (0x8051228 - 0:00:04.007883000)         GST_PIPELINE(10866)
gstparse.c(145):gst_parse_launch: parsing pipeline description
location=rtsp://172.16.10.26:554/sample_h264_1mbit.mp4 ! rtpmp4vdepay !
ffdec_mpeg4 ! ximagesink
DEBUG (0x8051228 - 0:00:04.007937000)         GST_PIPELINE(10866)
parse.l(72):_gst_parse_yylex: flex: ASSIGNMENT:
locationfiltered=rtsp://172.16.10.26:554/sample_h264_1mbit.mp4

** (gst-launch-0.10:10866): WARNING **: error: syntax error, unexpected
ASSIGNMENT, expecting LINK
ERROR (0x8051228 - 0:00:04.008007000)         GST_PIPELINE(10866)
./grammar.y(837):_gst_parse_launch: Unrecoverable syntax error while parsing
pipeline locationfiltered=rtsp://172.16.10.26:554/sample_h264_1mbit.mp4 !
rtpmp4vdepay ! ffdec_mpeg4 ! ximagesink
ERREUR: le tube n'a pas pu etre construit: Unrecoverable syntax error while
parsing pipeline
locationfiltered=rtsp://172.16.10.26:554/sample_h264_1mbit.mp4 !
rtpmp4vdepay ! ffdec_mpeg4 ! ximagesink .

 

Thanks,

 

Jérémie

 

 

  _____  

De : Deeptendu Bikash [mailto:dbikash at gmail.com] 
Envoyé : jeudi 7 septembre 2006 13:49
À : Jérémy Garnier
Cc : Gao, Yan; gstreamer-devel at lists.sourceforge.net
Objet : Re: [gst-devel] Streaming with GStreamer

 

Please use

 

gst-launch-0.10 rtspsrc
location=rtsp://172.16.10.26:554/sample_h264_1mbit.mp4 ! rtpmp4vdepay !
ffdec_mpeg4 ! ximagesink
 

and see what happens.

 

Streaming should start. However, if the elementary stream is H.264, then you
would be able to see the video, since there is no depayloader plugin
available as yet in GStreamer. Stream out a MPEG-4 video (in that case use
rtpmp4vdepay and ffdec_mpeg4) or H.263 video (use rtph263pdepay and
ffdec_h263).
 

On 9/7/06, Jérémy Garnier <garnier.gerpi at wiz4com.com> wrote: 

Hi,

 

Ok, it is just an error in the libgstamrnb plug-in
 so I change some
configuration to this and resolve the error 
 

Now it done something I can't understand as there's no error just in the
pipeline but where???? 

 

 

[root at lfm developpement_pc]# gst-launch-0.10 --gst-debug=3
--gst-debug-no-color rtspsrc
locationfiltered="rtsp://172.16.10.26:554/sample_h264_1mbit.mp4" !
rtpmp4vdepay ! ffdec_mpeg4 ! ximagesink 
INFO  (0x8051228 - 0:00:00.000266000)             GST_INIT( 7756)
gstquery.c(101):_gst_query_initialize: init queries
INFO  (0x8051228 - 0:00:00.000803000)             GST_INIT( 7756)
gstmessage.c(72):_gst_message_initialize: init messages 





.





.





.

DEBUG (0x8051228 - 0:00:04.226669000)         GST_REGISTRY(10607)
gstregistry.c(870):_gst_registry_remove_cache_plugins:<registry0> removing
cached plugins 
INFO  (0x8051228 - 0:00:04.227340000)         GST_PIPELINE(10607)
gstparse.c(145):gst_parse_launch: parsing pipeline description
location=rtsp://172.16.10.26:554/sample_h264_1mbit.mp4 ! rtpmp4vdepay !
ffdec_mpeg4 ! ximagesink 
DEBUG (0x8051228 - 0:00:04.227484000)         GST_PIPELINE(10607)
parse.l(72):_gst_parse_yylex: flex: ASSIGNMENT:
locationfiltered=rtsp://172.16.10.26:554/sample_h264_1mbit.mp4

** (gst-launch-0.10:10607): WARNING **: error: syntax error, unexpected
ASSIGNMENT, expecting LINK 
ERROR (0x8051228 - 0:00:04.227640000)         GST_PIPELINE(10607)
./grammar.y(837):_gst_parse_launch: Unrecoverable syntax error while parsing
pipeline locationfiltered=rtsp://172.16.10.26:554/sample_h264_1mbit.mp4 !
rtpmp4vdepay ! ffdec_mpeg4 ! ximagesink 
ERREUR: le tube n'a pas pu etre construit: Unrecoverable syntax error while
parsing pipeline
locationfiltered=rtsp://172.16.10.26:554/sample_h264_1mbit.mp4 !
rtpmp4vdepay ! ffdec_mpeg4 ! ximagesink . 

 

Thanks,

 

Jérémie

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20060907/4fa53c4b/attachment.htm>


More information about the gstreamer-devel mailing list