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

John Ratliff webmaster at technoplaza.net
Thu Oct 8 02:50:01 CEST 2009


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.

--John Ratliff



More information about the MEncoder-users mailing list