Re: XviD-users Digest, Vol 14, Issue 5
Santhosh <[email protected]> Fri, 2 Apr 2004 08:56:23 +0530 (IST)
| Newsgroups | gmane.comp.video.xvid.user |
|---|---|
| Message-ID | <[email protected]> |
> Example: encoding a 100-minute video with 128k audio to fit a 700 mb CD: > > duration = 100 * 60 = 6000 sec > final size = 700 * 1024 * 1024 * 8 = 5 872 025 600 bits > audio bitrate = 128 * 1000 = 128 000 bits/sec > total bitrate = 5 872 025 600 bits / 6000 sec = 978 671 bits/sec > video bitrate = 978 671 bits/sec - 128 000 bits/sec = 850 671 bits/sec > video kbitrate = 850 671 bits/sec / 1000 bits/kbit = 851 kbit/sec > fudged video kbitrate = 851 kbit/sec * 0.99 = 842 kbit/sec > > so you would use bitrate=842 in your -xvidencopts. Thanks a lot for the detailed information. I am able to encode vob files now. But I have a small problem. In the video files that I have encoded, video and audio are out of sync. The command I used is given below: cat *.vob | mencoder -o title2.avi -oac mp3lame -ovc xvid -xvidencopts bitrate=840:pass=1:me_quality=6 -vop scale=640:360 -sws 2 - Please tell what should I do, to the get the audio-video sync.