[MPlayer-users] Transcoding video with mencoder, audio becomes asynchronous

Louis Tim Larsen louis at louis.dk
Fri Sep 23 11:01:27 CEST 2011


At 23-09-2011 00:59, Ron Johnson wrote:
> On 09/22/2011 01:03 PM, Louis Tim Larsen wrote:
>> Den 20-09-2011 20:19, Roger Pack skrev:
>>>> I try to transcode some video with this command (to change the start
>>>> time):
>>>> mencoder input.avi -o output.avi -ovc lavc -oac copy
>>>> -force-avi-aspect 16:9
>>>> -ss 0:02:00
>>>> But the audio of output.avi becomes asynchronous. It's like it's going
>>>> faster and faster a little by little and the last part of the clip
>>>> has no
>>>> audio at all.
>>> what about without lavc ?
>>>
>> With -ovc copy instead of -ovc lavc I still get the same error.
>>
>
> What if you use HandBrakeCLI or ffmpeg?
>
I only get the error when I use Mencoder with the -ss and/or the -endpos 
option.
Like this command: mencoder input.avi -o output.avi -ovc copy -oac copy 
-force-avi-aspect 16:9 -ss 0:02:00
And it's only the the versions in Ubuntu 11.10 x86_64 and the current 
Debian testing x86_64 (running on to different 
machines.(1.0~rc4.dfsg1+svn33713-1 and 1.0~rc4.dfsg1+svn33713-2)
But in Ubuntu 11.04 x86_64 with 1.0~rc4.dfsg1-1ubuntu3 I didn't got this 
error.

I've tried with different input source and got the same problem, so it's 
not the source.
And I've no problems using HandBrake, except it's difficult to change 
start/end time.

I think that ffmpeg might work and I could be a solution until I got 
this figured out.

Can it get someone who has mencoder 1.0~rc4.dfsg1+svn33713 to try 
transcoding some video with this command: mencoder input.avi -o 
output.avi -ovc copy -oac copy -force-avi-aspect 16:9 -ss 0:02:00
- and see if they get the same error?

-- 
Regards Louis



More information about the MPlayer-users mailing list