Re: [FFmpeg-devel] [PATCH] Incorrect aspect ratio in MPEG2 essence

2014-12-09 Thread Michael Niedermayer
On Tue, Dec 09, 2014 at 10:21:01AM +0100, Erik Johansson wrote: > On Thu, Dec 4, 2014 at 5:27 PM, Michael Niedermayer wrote: > > > > On Thu, Dec 04, 2014 at 01:11:08PM +0100, Erik Johansson wrote: > > > Hi, > > > > > > Setting setting sample_aspect_ratio in AVContext does not produce the > > > exp

Re: [FFmpeg-devel] [PATCH] Incorrect aspect ratio in MPEG2 essence

2014-12-09 Thread Erik Johansson
On Thu, Dec 4, 2014 at 5:27 PM, Michael Niedermayer wrote: > > On Thu, Dec 04, 2014 at 01:11:08PM +0100, Erik Johansson wrote: > > Hi, > > > > Setting setting sample_aspect_ratio in AVContext does not produce the > > expected aspect index value in the MPEG2 sequence header. > > > > Problem seems t

Re: [FFmpeg-devel] [PATCH] Incorrect aspect ratio in MPEG2 essence

2014-12-04 Thread Michael Niedermayer
On Thu, Dec 04, 2014 at 01:11:08PM +0100, Erik Johansson wrote: > Hi, > > Setting setting sample_aspect_ratio in AVContext does not produce the > expected aspect index value in the MPEG2 sequence header. > > Problem seems to be around line 263 in mpeg12enc.c. Setting the > sample_aspect_ratio to