After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 639071 - GStreamer cannot play h264 encoded files
GStreamer cannot play h264 encoded files
Status: RESOLVED INVALID
Product: GStreamer
Classification: Platform
Component: gst-libav
unspecified
Other Linux
: Normal critical
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-01-09 15:13 UTC by Alexey Titov
Modified: 2011-03-03 11:28 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
HDV_0112-head.mp4 (990.00 KB, video/mp4)
2011-01-10 15:15 UTC, Alexey Titov
Details
HDV_0113-head.mp4 (990.00 KB, video/mp4)
2011-01-10 15:16 UTC, Alexey Titov
Details

Description Alexey Titov 2011-01-09 15:13:52 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.
Comment 1 Tim-Philipp Müller 2011-01-09 22:10:02 UTC
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
).
Comment 2 Alexey Titov 2011-01-10 15:15:16 UTC
Created attachment 177938 [details]
HDV_0112-head.mp4
Comment 3 Alexey Titov 2011-01-10 15:16:23 UTC
Created attachment 177939 [details]
HDV_0113-head.mp4
Comment 4 Alexey Titov 2011-01-10 15:18:23 UTC
I have attached 2 files with different resolution.
Comment 5 Alexey Titov 2011-01-10 15:49:48 UTC
It is first 990k
Comment 6 Alexey Titov 2011-01-17 18:59:32 UTC
Do you need more info?
Comment 7 Akhil Laddha 2011-03-03 11:17:38 UTC
Information provided.
Comment 8 Tim-Philipp Müller 2011-03-03 11:28:28 UTC
>  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.