[FFmpeg-devel] [PATCH]Support for Frame Doubling/ Tripling in FFMPEG's HEVC Decoder by parsing the picture_struct SEI value (Support for http://ffmpeg.org/pipermail/ffmpeg-devel/2019-June/245521.html)

Devin Heitmueller dheitmueller at ltnglobal.com
Thu Aug 1 16:16:04 EEST 2019


> On Aug 1, 2019, at 8:46 AM, Praveen Kumar <praveenkumar at outlook.com> wrote:
> 
> Hi,
> 
> This patch has the implementation for frame duplication (doubling/ tripling) in FFmpeg's HEVC decoder based on the picture_structre SEI value (7 for doubling and 8 for tripling) set while encoding.
> This addresses the requirement mentioned in the thread http://ffmpeg.org/pipermail/ffmpeg-devel/2019-June/245521.html
> 
> Thanks & Regards,
> Praveen
> <Support-for-Frame-Doubling-Tripling-in-FFMPEG-HEVC-Decoder.patch>_______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".

Hi Praveen,

Thanks for your contribution.   If somebody wants to get pic_timing modes 1/2 working as well in ffmpeg's HEVC decoder, I can probably get that work sponsored.  I wrote a libavfilter module to recombine the fields and work around the issue, but it would obviously be much better if the decoder did it properly to begin with (and there’s no way my filter approach would be accepted upstream).

If we could get this done, it would result in ffmpeg properly decoding interlaced streams generated by x265, as well as fixing the issue with VLC playing the streams at half vertical resolution and twice the frame rate (since VLC relies on libavcodec for HEVC decoding).

There is at least one other commercial HEVC encoder I’ve seen which puts out modes 11/12 and hence that would be useful as well.  I suspect supporting that would be a relatively small incremental step from making modes 1/2 work.

Reach out to me privately if anybody is interested in doing such a project.

Devin

---
Devin Heitmueller - LTN Global Communications
dheitmueller at ltnglobal.com


More information about the ffmpeg-devel mailing list