GNOME Bugzilla – Bug 426972
Specific set of H.264 files cannot be played
Last modified: 2007-04-11 20:36:50 UTC
There's a set of H.264 video files I cannot play with gstreamer (via totem). They are all the episodes of One Piece (a Japanese TV show) subtitled by Kaizoku Fansubs since they switched to widescreen (since episode 207). Prior episodes were released in full screen resolution and play fine. Nautilus shows the files as H.264 / AVC at 704x400 resolution. They can be downloaded at http://xdcc.discoveryhosting.nl/tracker/ . On attempting to play with Totem, music plays fine, screen is black. Console output fills with: (totem:16952): GStreamer-CRITICAL **: gst_util_uint64_scale_int: assertion `denom > 0' failed just for interest, neither mplayer nor xine can play these either, so they're obviously tricky files in some way. Windows players (Media Player Classic at least) do handle them.
This fixes it for me: * gst/qtdemux/qtdemux.c: (gst_qtdemux_get_duration), (qtdemux_parse_samples), (qtdemux_parse_segments), (qtdemux_parse_trak), (qtdemux_parse_tree): * gst/qtdemux/qtdemux_dump.c: (qtdemux_dump_mdhd): Handle version 1 mdhd atoms to get extended precision durations. Fixes #426972.
Confirmed: fixed with current CVS. Thanks!