Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] VDR to DivX: Audio not synchronized



Hi,

because the 2divx-scripts don't seem to work with my version of 
mplayer/mencoder I'm trying to encode a divx by hand, using the 
following script:

---
#!/bin/bash
cat 0*.vdr | mencoder -ovc frameno -oac mp3lame -lameopts vbr=3 \
  -o frameno.avi -
cat 0*.vdr | mencoder -oac copy -ovc lavc -lavcopts \
  vcodec=mpeg4:vpass=1:vbitrate=1000:vhq -vop crop=704:574:0:2 -
cat 0*.vdr | mencoder -oac copy -ovc lavc -lavcopts \
  vcodec=mpeg4:vpass=2:vbitrate=1000:vhq -vop crop=704:574:0:2 -
---

Everything is working, but there is a problem:
The sound doesn't seem to be in sync with the lips of the actors.
In fact, there seems so be some kind of problem - last output was:

---
Writing AVI index...
Fixup AVI header...

Video stream:  899.945 kbit/s  (112493 bps)  size: 601941917 bytes 
5350.920 secs  133745 frames

Audio stream:  118.496 kbit/s  (14812 bps)  size: 79265136 bytes 
5351.400 secs
---

While encoding, there were some "duplicate 1 frame(s)!!!" messages.

Is there some option to avoid this?


Hubert



-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index