[MPlayer-users] Mencoder -ovc copy aspect ratio

Krzysztof Duchnowski amidk75 at gmail.com
Wed Aug 29 13:37:10 CEST 2012


On 29.08.2012 09:09, Horváth Csaba wrote:
> Hi,
> 
> I want to bind a video with a music file... I used mencoder with -ovc copy and -oac copy parameters,
>  and the resulting video includes the music, but it doesn't contain aspect ratio information. Because this, in most of the players, aspect ratio is wrong... The source video is .wmv, and the result is in the same format.
> 
> When playing oroginal video :
> Audio: no sound
> Starting playback...
> Movie-Aspect is 1.62:1 - prescaling to correct movie aspect.
> VO: [vdpau] 1920x1080 => 1920x1188 Planar YV12 
> 
> Resulting video with music :
> AO: [pulse] 44100Hz 2ch floatle (4 bytes per sample)
> Starting playback...
> Movie-Aspect is undefined - no prescaling applied.
> VO: [vdpau] 1920x1080 => 1920x1080 Planar YV12 
> 
> 
> 
> Can anyone tell me, to how to copy video stream with maintain the aspect ratio?

:$ mencoder -ovc copy -oac copy -force-avi-aspect 1.62 input.wmv -o
output.wmv


-- 
Krzysztof 'DK75' Duchnowski
GetFirefox - http://www.getfirefox.net/
Konfiguracja UTF-8 dla czytników - http://evil.pl/pip/utf/


More information about the MPlayer-users mailing list