[FFmpeg-devel] [PATCH] Fixed remuxing of HDMV PGS subtitles

Philip Langdale philipl at overt.org
Mon Apr 13 18:41:59 CEST 2015

On 2015-04-13 03:39, Petri Hintukainen wrote:
> I don't know if it is a good idea to use HDMV stream types without HDMV
> program registration descriptor. If this is fixed incrementally, fixing
> should be started from the opposite direction:
> - Using HDMV stream type requires HDMV registration descriptor
> - using HDMV registration descriptor requires HDMV conforming stream
> I've attached a simple patch to add HDMV registration descriptor to the
> program. With it streams are correctly detected with ffmpeg. But, I
> don't think the patch should be applied: using HDMV registration
> descriptor in a stream that is not HDMV conforming is a really bad
> idea.

Your patch is equivalent to the first thing I tried and it had no 
effect in so far as how ffmpeg decoded the resulting m2ts file. It still
marked the subtitle streams as unknown. I guess, you don't get any 
progress until the whole stream is conforming, and we are along way from


More information about the ffmpeg-devel mailing list