Opened 13 years ago

Last modified 12 years ago

#1958 new defect

Audio sync for file worked previously, now broken

Reported by: subjunk@… Owned by: reimar
Priority: normal Component: mencoder
Version: HEAD Severity: normal
Keywords: Cc: compn, roderick.andara@…
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

With regards to this file: http://www.megaupload.com/?d=V56GMLSB
In MEncoder r31170 the audio is in sync, but in r31372+ it is badly out of sync.

I'm using the following command line:
mencoder "file.mkv" -oac copy -of mpeg -ovc lavc -o file.mpeg

So the issue was introduced somewhere between r31170 and r31372, and as of r33953 has not been resolved.

It works fine in MPlayer, just not MEncoder.

Change History (6)

comment:1 by compn, 13 years ago

Cc: patriotact@… added

shouldnt you have -lavcopts vcodec=mpeg2video in there ?
otherwise mencoder uses the default vcodec=mpeg4 ...

comment:2 by subjunk@…, 13 years ago

Yes you're right and I do normally have that in there, but for the sake of this bug I removed that.
The bug occurs regardless of whether -lavcopts is specified or not, I checked.

comment:3 by subjunk@…, 13 years ago

Just in case my previous comment was unclear (I shouldn't have started it like that) this is still unresolved :)

comment:4 by compn, 13 years ago

does adding mencoder -mc 0 -vf harddup fix it ?

note: do not test with -oac copy, since that rarely works.

and if you could narrow it down to the exact commit that makes it fail, that would also help. mplayer is short on developers and testers. and mencoder is pretty much unmaintained.

comment:5 by subjunk@…, 13 years ago

No, that doesn't fix it.
It's a shame that -oac copy is broken now since it used to work perfectly.
Unfortunately I was using r30369 for a long time, which had very few bugs, but now there are so many new bugs and so many revisions since that version it's difficult to narrow them down.

comment:6 by roderick.andara@…, 12 years ago

Cc: roderick.andara@… added

I can confirm that a/v sync is broken for -oac copy
see here for details http://forum.doom9.org/showthread.php?p=1544906#post1544906

for me adding "-mc 0 -noskip" seems to fix the issue

Note: See TracTickets for help on using tickets.