[MEncoder-users] mencoder size and aspect ratios for H.264 video

Etienne Buira etienne.buira.lists at free.fr
Tue Oct 6 00:04:38 CEST 2009


On Mon, Oct 05, 2009 at 04:57:14PM -0400, John Ratliff wrote:
> 
> >
> > Well, --aspect-ratio refers to a stream ID, so that shouldn't matter
> > where it is located in the cmdline. I though that you used
> > --aspect-ratio 16:9, which will put AR 9 on stream 16.
> >
> >   
> I think that was the first thing I tried, but it was ignored as I put it
> at the end of the command line. Trying it now at the front, I get this:
> 
> "Warning: 'video.x264': A track with the ID 16 was requested but not
> found in the file. The corresponding option will be ignored."
> 
> I think because the stream ID refers to the video input file, not the
> matroska stream it will become. I know the -A option must come before
> the video.

Read again the mkvmerge man page, about --aspect-ratio. You have to
specify <streamID>:<AR(like 16/9)>. So you probably have to specify
'0:16/9': stream 0, aspect 16/9 (use '/' as AR is a fraction).


More information about the MEncoder-users mailing list