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

Michel Bardiaux mbardiaux
Thu Oct 18 15:57:43 CEST 2007


Ivo a ?crit :
> 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

But it would help if ffmpeg at least printed a warning of size change 
before behaving naughtily, wouldn't it?

Greetings,
-- 
Michel Bardiaux
R&D Director
T +32 [0] 2 790 29 41
F +32 [0] 2 790 29 02
E mailto:mbardiaux at mediaxim.be

Mediaxim NV/SA
Vorstlaan 191 Boulevard du Souverain
Brussel 1160 Bruxelles
http://www.mediaxim.com/




More information about the ffmpeg-devel mailing list