[FFmpeg-devel] [PATCH] Fix huge reported DTS on Ogg Theora files with bogus granulepos

Brion Vibber bvibber at wikimedia.org
Sat Jan 14 00:09:00 EET 2017


Patch fixes an issue with broken Ogg Theora videos containing bogus
negative granulepos on some packets: libavformat was reporting huge
positive dts timestamps for these packets, causing downstream problems for
ffmpeg2theora at Wikimedia Commons (near-infinite loop during transcoding).

Bug report: https://trac.ffmpeg.org/ticket/6080
Downstream issue: https://phabricator.wikimedia.org/T155247

Patch for libavformat attached. Returns AV_NOPTS_VALUE instead of bogus
value for the dts, which downstream ffmpeg2theora can already understand
and handle.

Thanks!

-- brion
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-for-dts-on-Ogg-Theora-packets-with-bad-granulepo.patch
Type: application/octet-stream
Size: 2120 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170113/ca23af35/attachment.obj>


More information about the ffmpeg-devel mailing list