[FFmpeg-devel] [PATCH] Print pixel and screen aspect ratios

Ivo ivop
Thu Oct 18 15:34:43 CEST 2007


On Thursday 18 October 2007 14:48, Michel Bardiaux wrote:
> BTW: detecting changes of SAR in the video stream would be good, but (1)
> I dont know what would be a good place (avcodec_decode_video?) (2) We
> should also detect changes of width, height, since all 3 may change at
> anytime in digital-TV streaming (and are likely to when HDTV comes!)

I tried to adjust ffmpeg/ffplay once to be capable of handling width/height 
changes on-the-fly but I failed. I found it highly untrivial. Currently, 
most .txd files (renderware texture dictionaries) will crash ffmpeg if 
texture sizes are not the same or produce faulty output. Concattenated 
mpegs of different dimensions will do the same.

--Ivo




More information about the ffmpeg-devel mailing list