GNOME Bugzilla – Bug 416389
Trying to stream through RTSP sample_100kbit.mp4
Last modified: 2007-03-31 11:39:31 UTC
Please describe the problem: Trying to Play through RTSP sample_100kbit.mp4,it gives the error . This the command :: gst-launch-0.10 --gst-debug=2 --gst-debug-no-color playbin uri=rtsp://192.168.1.225/sample_100kbit.mp4 and this the output:: /******************************************************************************* (process:8134): GStreamer-WARNING **: The GStreamer function gst_init_get_option_group() was called, but the GLib threading system has not been initialised yet, something that must happen before any other GLib function is called. The application needs to be fixed so that it calls if (!g_thread_supported ()) g_thread_init(NULL); as very first thing in its main() function. Please file a bug against this application. Setting pipeline to PAUSED ... Pipeline is live and does not need PREROLL ... Setting pipeline to PLAYING ... New clock: GstSystemClock 0:00:00.209467000 8134 0x93ea350 WARN ffmpeg gstffmpegcodecmap.c:849:gst_ffmpeg_codecid_to_caps: Could not create stream format caps for ppm 0:00:00.209811000 8134 0x93ea350 WARN ffmpeg gstffmpegcodecmap.c:849:gst_ffmpeg_codecid_to_caps: Could not create stream format caps for pgm 0:00:00.210108000 8134 0x93ea350 WARN ffmpeg gstffmpegcodecmap.c:849:gst_ffmpeg_codecid_to_caps: Could not create stream format caps for pgmyuv 0:00:00.210418000 8134 0x93ea350 WARN ffmpeg gstffmpegcodecmap.c:849:gst_ffmpeg_codecid_to_caps: Could not create stream format caps for pbm 0:00:00.210691000 8134 0x93ea350 WARN ffmpeg gstffmpegcodecmap.c:849:gst_ffmpeg_codecid_to_caps: Could not create stream format caps for pam 0:00:00.211186000 8134 0x93ea350 WARN ffmpeg gstffmpegcodecmap.c:849:gst_ffmpeg_codecid_to_caps: Could not create stream format caps for ffvhuff 0:00:00.212762000 8134 0x93ea350 WARN ffmpeg gstffmpegcodecmap.c:849:gst_ffmpeg_codecid_to_caps: Could not create stream format caps for snow 0:00:00.213311000 8134 0x93ea350 WARN ffmpeg gstffmpegcodecmap.c:849:gst_ffmpeg_codecid_to_caps: Could not create stream format caps for sonic 0:00:00.213676000 8134 0x93ea350 WARN ffmpeg gstffmpegcodecmap.c:849:gst_ffmpeg_codecid_to_caps: Could not create stream format caps for sonicls 0:00:00.218705000 8134 0x93ea350 WARN ffmpeg gstffmpegcodecmap.c:849:gst_ffmpeg_codecid_to_caps: Could not create stream format caps for ppm 0:00:00.219001000 8134 0x93ea350 WARN ffmpeg gstffmpegcodecmap.c:849:gst_ffmpeg_codecid_to_caps: Could not create stream format caps for pgm 0:00:00.219233000 8134 0x93ea350 WARN ffmpeg gstffmpegcodecmap.c:849:gst_ffmpeg_codecid_to_caps: Could not create stream format caps for pgmyuv 0:00:00.219463000 8134 0x93ea350 WARN ffmpeg gstffmpegcodecmap.c:849:gst_ffmpeg_codecid_to_caps: Could not create stream format caps for pbm 0:00:00.219675000 8134 0x93ea350 WARN ffmpeg gstffmpegcodecmap.c:849:gst_ffmpeg_codecid_to_caps: Could not create stream format caps for pam 0:00:00.225465000 8134 0x93ea350 WARN ffmpeg gstffmpegcodecmap.c:849:gst_ffmpeg_codecid_to_caps: Could not create stream format caps for camstudio 0:00:00.227472000 8134 0x93ea350 WARN ffmpeg gstffmpegcodecmap.c:849:gst_ffmpeg_codecid_to_caps: Could not create stream format caps for qdraw 0:00:00.228040000 8134 0x93ea350 WARN ffmpeg gstffmpegcodecmap.c:849:gst_ffmpeg_codecid_to_caps: Could not create stream format caps for xl 0:00:00.228481000 8134 0x93ea350 WARN ffmpeg gstffmpegcodecmap.c:849:gst_ffmpeg_codecid_to_caps: Could not create stream format caps for loco 0:00:00.228891000 8134 0x93ea350 WARN ffmpeg gstffmpegcodecmap.c:849:gst_ffmpeg_codecid_to_caps: Could not create stream format caps for wnv1 0:00:00.229363000 8134 0x93ea350 WARN ffmpeg gstffmpegcodecmap.c:849:gst_ffmpeg_codecid_to_caps: Could not create stream format caps for aasc 0:00:00.229668000 8134 0x93ea350 WARN ffmpeg gstffmpegcodecmap.c:849:gst_ffmpeg_codecid_to_caps: Could not create stream format caps for fraps 0:00:00.229890000 8134 0x93ea350 WARN ffmpeg gstffmpegcodecmap.c:893:gst_ffmpeg_codecid_to_caps: No caps found for codec_id=1 0:00:00.231074000 8134 0x93ea350 WARN ffmpeg gstffmpegcodecmap.c:893:gst_ffmpeg_codecid_to_caps: No caps found for codec_id=86016 0:00:00.231646000 8134 0x93ea350 WARN ffmpeg gstffmpegcodecmap.c:849:gst_ffmpeg_codecid_to_caps: Could not create stream format caps for mp3adu 0:00:00.232007000 8134 0x93ea350 WARN ffmpeg gstffmpegcodecmap.c:849:gst_ffmpeg_codecid_to_caps: Could not create stream format caps for mp3on4 0:00:00.233614000 8134 0x93ea350 WARN ffmpeg gstffmpegcodecmap.c:849:gst_ffmpeg_codecid_to_caps: Could not create stream format caps for ffvhuff 0:00:00.234385000 8134 0x93ea350 WARN ffmpeg gstffmpegcodecmap.c:849:gst_ffmpeg_codecid_to_caps: Could not create stream format caps for snow 0:00:00.237617000 8134 0x93ea350 WARN ffmpeg gstffmpegcodecmap.c:849:gst_ffmpeg_codecid_to_caps: Could not create stream format caps for mdec 0:00:00.238000000 8134 0x93ea350 WARN ffmpeg gstffmpegcodecmap.c:849:gst_ffmpeg_codecid_to_caps: Could not create stream format caps for roqvideo 0:00:00.238378000 8134 0x93ea350 WARN ffmpeg gstffmpegcodecmap.c:849:gst_ffmpeg_codecid_to_caps: Could not create stream format caps for interplayvideo 0:00:00.239712000 8134 0x93ea350 WARN ffmpeg gstffmpegcodecmap.c:849:gst_ffmpeg_codecid_to_caps: Could not create stream format caps for vqavideo 0:00:00.239929000 8134 0x93ea350 WARN ffmpeg gstffmpegcodecmap.c:849:gst_ffmpeg_codecid_to_caps: Could not create stream format caps for idcinvideo 0:00:00.240132000 8134 0x93ea350 WARN ffmpeg gstffmpegcodecmap.c:849:gst_ffmpeg_codecid_to_caps: Could not create stream format caps for 8bps 0:00:00.240532000 8134 0x93ea350 WARN ffmpeg gstffmpegcodecmap.c:849:gst_ffmpeg_codecid_to_caps: Could not create stream format caps for flic 0:00:00.241148000 8134 0x93ea350 WARN ffmpeg gstffmpegcodecmap.c:849:gst_ffmpeg_codecid_to_caps: Could not create stream format caps for vmdvideo 0:00:00.241396000 8134 0x93ea350 WARN ffmpeg gstffmpegcodecmap.c:849:gst_ffmpeg_codecid_to_caps: Could not create stream format caps for vmdaudio 0:00:00.242134000 8134 0x93ea350 WARN ffmpeg gstffmpegcodecmap.c:849:gst_ffmpeg_codecid_to_caps: Could not create stream format caps for zmbv 0:00:00.242457000 8134 0x93ea350 WARN ffmpeg gstffmpegcodecmap.c:849:gst_ffmpeg_codecid_to_caps: Could not create stream format caps for sonic 0:00:00.251151000 8134 0x93ea350 WARN ffmpeg gstffmpegcodecmap.c:849:gst_ffmpeg_codecid_to_caps: Could not create stream format caps for ws_snd1 0:00:00.251604000 8134 0x93ea350 WARN ffmpeg gstffmpegcodecmap.c:893:gst_ffmpeg_codecid_to_caps: No caps found for codec_id=86022 0:00:00.252420000 8134 0x93ea350 WARN ffmpeg gstffmpegcodecmap.c:849:gst_ffmpeg_codecid_to_caps: Could not create stream format caps for truespeech 0:00:00.252980000 8134 0x93ea350 WARN ffmpeg gstffmpegcodecmap.c:849:gst_ffmpeg_codecid_to_caps: Could not create stream format caps for avs 0:00:00.253355000 8134 0x93ea350 WARN ffmpeg gstffmpegcodecmap.c:849:gst_ffmpeg_codecid_to_caps: Could not create stream format caps for mmvideo 0:00:00.259641000 8134 0x93ea350 WARN ffmpeg gstffmpegcodecmap.c:1526:gst_ffmpeg_formatid_to_caps: Could not create stream format caps for ingenient 0:00:00.260700000 8134 0x93ea350 WARN ffmpeg gstffmpegcodecmap.c:1526:gst_ffmpeg_formatid_to_caps: Could not create stream format caps for mmf 0:00:00.263167000 8134 0x93ea350 WARN ffmpeg gstffmpegcodecmap.c:1526:gst_ffmpeg_formatid_to_caps: Could not create stream format caps for psxstr 0:00:00.263467000 8134 0x93ea350 WARN ffmpeg gstffmpegcodecmap.c:1526:gst_ffmpeg_formatid_to_caps: Could not create stream format caps for RoQ 0:00:00.263705000 8134 0x93ea350 WARN ffmpeg gstffmpegcodecmap.c:1526:gst_ffmpeg_formatid_to_caps: Could not create stream format caps for ipmovie 0:00:00.263955000 8134 0x93ea350 WARN ffmpeg gstffmpegcodecmap.c:1526:gst_ffmpeg_formatid_to_caps: Could not create stream format caps for wc3movie 0:00:00.264207000 8134 0x93ea350 WARN ffmpeg gstffmpegcodecmap.c:1526:gst_ffmpeg_formatid_to_caps: Could not create stream format caps for wsaud 0:00:00.264465000 8134 0x93ea350 WARN ffmpeg gstffmpegcodecmap.c:1526:gst_ffmpeg_formatid_to_caps: Could not create stream format caps for wsvqa 0:00:00.264699000 8134 0x93ea350 WARN ffmpeg gstffmpegcodecmap.c:1526:gst_ffmpeg_formatid_to_caps: Could not create stream format caps for film_cpk 0:00:00.264946000 8134 0x93ea350 WARN ffmpeg gstffmpegcodecmap.c:1526:gst_ffmpeg_formatid_to_caps: Could not create stream format caps for idcin 0:00:00.265405000 8134 0x93ea350 WARN ffmpeg gstffmpegcodecmap.c:1526:gst_ffmpeg_formatid_to_caps: Could not create stream format caps for vmd 0:00:00.265660000 8134 0x93ea350 WARN ffmpeg gstffmpegcodecmap.c:1526:gst_ffmpeg_formatid_to_caps: Could not create stream format caps for mm 0:00:00.266343000 8134 0x93ea350 WARN ffmpeg gstffmpegcodecmap.c:1526:gst_ffmpeg_formatid_to_caps: Could not create stream format caps for ffm 0:00:00.266595000 8134 0x93ea350 WARN ffmpeg gstffmpegcodecmap.c:1526:gst_ffmpeg_formatid_to_caps: Could not create stream format caps for nut 0:00:00.267011000 8134 0x93ea350 WARN ffmpeg gstffmpegcodecmap.c:1526:gst_ffmpeg_formatid_to_caps: Could not create stream format caps for sol 0:00:00.267268000 8134 0x93ea350 WARN ffmpeg gstffmpegcodecmap.c:1526:gst_ffmpeg_formatid_to_caps: Could not create stream format caps for ea 0:00:00.267519000 8134 0x93ea350 WARN ffmpeg gstffmpegcodecmap.c:1526:gst_ffmpeg_formatid_to_caps: Could not create stream format caps for nsv 0:00:00.267756000 8134 0x93ea350 WARN ffmpeg gstffmpegcodecmap.c:1526:gst_ffmpeg_formatid_to_caps: Could not create stream format caps for daud 0:00:00.268012000 8134 0x93ea350 WARN ffmpeg gstffmpegcodecmap.c:1526:gst_ffmpeg_formatid_to_caps: Could not create stream format caps for voc 0:00:00.268430000 8134 0x93ea350 WARN ffmpeg gstffmpegcodecmap.c:1526:gst_ffmpeg_formatid_to_caps: Could not create stream format caps for avs 0:00:00.269610000 8134 0x93ea350 WARN ffmpeg gstffmpegdemux.c:987:gst_ffmpegdemux_sink_activate:<ffdemux_aac0> error: failed to activate sinkpad in pull mode, push mode not implemented yet 0:00:00.269760000 8134 0x93ea350 WARN GST_PADS gstpad.c:674:gst_pad_set_active:<ffdemux_aac0:sink> Failed to activate pad 0:00:00.279677000 8134 0x93e74b0 ERROR ffmpeg :0:: header damaged 0:00:00.279843000 8134 0x93e74b0 ERROR ffmpeg gstffmpegdec.c:1043:gst_ffmpegdec_frame:<ffdec_mpeg40> ffdec_mpeg4: decoding error (len: -1, have_data: 0) 0:00:00.281744000 8134 0x93e74b0 WARN ffmpeg gstffmpegdec.c:837:gst_ffmpegdec_frame:<ffdec_mpeg40> Dropping non-keyframe (seek/init) ERROR: from element /playbin0/decodebin1/ffdemux_aac0: Element doesn't implement handling of this stream. Please file a bug. Additional debug info: gstffmpegdemux.c(987): gst_ffmpegdemux_sink_activate (): /playbin0/decodebin1/ffdemux_aac0: failed to activate sinkpad in pull mode, push mode not implemented yet Execution ended after 117334000 ns. Setting pipeline to PAUSED ... 0:00:00.290333000 8134 0x9326368 WARN ffmpeg gstffmpegdemux.c:987:gst_ffmpegdemux_sink_activate:<ffdemux_aac0> error: failed to activate sinkpad in pull mode, push mode not implemented yet 0:00:00.290427000 8134 0x9326368 WARN GST_PADS gstpad.c:674:gst_pad_set_active:<ffdemux_aac0:sink> Failed to activate pad Setting pipeline to READY ... 0:00:00.292960000 8134 0x9326368 WARN rtspsrc gstrtspsrc.c:1848:gst_rtspsrc_try_send:<source> error: Could not receive message. (Operation interrupted) 0:00:00.293160000 8134 0x9326368 WARN rtspsrc gstrtspsrc.c:2609:gst_rtspsrc_pause:<source> error: Could not send message. Setting pipeline to NULL ... FREEING pipeline ... *******************************************************************************/ Steps to reproduce: 1.Try to play any mp4 using rtsp 2.Or give the command like this gst-launch-0.10 --gst-debug=2 --gst-debug-no-color playbin uri=rtsp://192.168.1.225/sample_100kbit.mp4 3. Actual results: Expected results: Does this happen every time? Yes Other information:
The fact that you get this (core) warning with the (core) gst-launch utility indicates that your gst-launch and libgstreamer versions differ for some reason. This indicates a broken or at least inconsistent installation. You also seem to be using an outdated gst-ffmpeg, AFAIK most of the ffmpeg demuxers have been disabled in the last release. You should install 'qtdemux' from gst-plugins-bad for your quicktime demuxing needs.
you should also install faad for aac decoding.
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for. Thanks!