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

Etienne Buira etienne.buira.lists at free.fr
Thu Oct 8 10:08:20 CEST 2009


On Wed, Oct 07, 2009 at 08:50:01PM -0400, John Ratliff wrote:
> Etienne Buira wrote:
> > 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).
> 
> > mkvmerge -o movie.mkv --aspect-ratio 0:16/9 -A video.x264 audio.ogg
> > works
> >
> > mkvmerge -o movie.mkv -A video.xa64 audio.ogg --aspect-ratio 0:16/9
> > doesn't work
> I have read the manual, actually.
> 
> Merci beaucoup pour votre assistance.

Sorry, I haven't actually read correctly your message. This is the
warning about ID 16 which put me in trouble.

> 
> --John Ratliff
> 
> _______________________________________________
> MEncoder-users mailing list
> MEncoder-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users


More information about the MEncoder-users mailing list