Opened 9 years ago

Last modified 8 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: Analyzed by developer:


With regards to this file:
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 Changed 9 years ago by compn

  • Cc patriotact@… added

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

comment:2 Changed 9 years ago by subjunk@…

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 Changed 9 years ago by subjunk@…

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

comment:4 Changed 9 years ago by compn

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 Changed 9 years ago by subjunk@…

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 Changed 8 years ago by roderick.andara@…

  • Cc roderick.andara@… added

I can confirm that a/v sync is broken for -oac copy
see here for details

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

Note: See TracTickets for help on using tickets.