[FFmpeg-user] resolution changed mid video - FFMPEG

Roger Pack rogerdpack2 at gmail.com
Fri Aug 31 20:25:05 CEST 2012


> I have a source video (mpeg2video) which I'm transcoding to x264. The source contains 2 different programs recorded from TV. One is in 4:3 AR and the other 16:9 AR. When I play the source file through VLC the player correctly changes size to show the video at the correct AR. So far so good.
>
> When I transcode the conversion process auto detects the AR from the first few frames and then transcodes the whole video using this AR. If the 16:9 section comes first then the whole conversion is done in 16:9 and the 4:3 section looks stretch horizontally. If the 4:3 section is at the start of the source file then the whole transcode is done in 4:3 and the 16:9 section looks squashed horizontally.

If this problem still exists in current git head, and switching AR
mid-stream is "allowed" then I'd submit a small test sample
demonstrating the problem as a new trac ticket.


More information about the ffmpeg-user mailing list