GNOME Bugzilla – Bug 639071
GStreamer cannot play h264 encoded files
Last modified: 2011-03-03 11:28:28 UTC
I tried to open some videos from my camera by Totem player on Ubuntu 10.10 and received general GStreamer error. Then I tried the following command gst-launch-0.10 --gst-debug-level=2 filesrc location=HDV_0100.MP4 ! qtdemux ! ffdec_h264 ! ximagesink The command produced following output: 0:00:00.054656259 2234 0x9ae140 WARN qtdemux qtdemux_types.c:170:qtdemux_type_get: unknown QuickTime node type @sec 0:00:00.054704259 2234 0x9ae140 WARN qtdemux qtdemux_types.c:170:qtdemux_type_get: unknown QuickTime node type SDLN 0:00:00.054723951 2234 0x9ae140 WARN qtdemux qtdemux_types.c:170:qtdemux_type_get: unknown QuickTime node type avc1 0:00:00.054738413 2234 0x9ae140 WARN qtdemux qtdemux_types.c:170:qtdemux_type_get: unknown QuickTime node type avcC 0:00:00.054752303 2234 0x9ae140 WARN qtdemux qtdemux_types.c:170:qtdemux_type_get: unknown QuickTime node type btrt 0:00:00.055171066 2234 0x9ae140 WARN qtdemux qtdemux.c:5832:qtdemux_parse_trak:<qtdemux0> unknown version 00000000 0:00:00.056714671 2234 0x9ae140 ERROR ffmpeg :0:: Decoding pps 0 from avcC failed 0:00:00.056805090 2234 0x9ae140 WARN qtdemux qtdemux.c:2980:gst_qtdemux_loop:<qtdemux0> error: streaming stopped, reason not-negotiated 0:00:00.056905758 2234 0x9ae140 ERROR ffmpeg gstffmpegdec.c:2306:gst_ffmpegdec_frame:<ffdec_h2640> no codec context When I used Ubuntu 10.04 totem played file correctly.
Could you make a sample file available please? (If that's not possible, could you attach the first 990kB of the file to this bug report, via head --bytes=990k HDV_0100.MP4 2> HDV_0100-head.mp4 ).
Created attachment 177938 [details] HDV_0112-head.mp4
Created attachment 177939 [details] HDV_0113-head.mp4
I have attached 2 files with different resolution.
It is first 990k
Do you need more info?
Information provided.
> gst-launch-0.10 --gst-debug-level=2 filesrc location=HDV_0100.MP4 ! qtdemux ! > ffdec_h264 ! ximagesink > ... > 0:00:00.056805090 2234 0x9ae140 WARN qtdemux > qtdemux.c:2980:gst_qtdemux_loop:<qtdemux0> error: streaming stopped, reason > not-negotiated The problem is the ximagesink. Try xvimagesink, or use ffmpegcolorspace ! videoscale ! ximagesink instead.