Re: [CinCV] Throttling bit-rate while rendering?

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Sandip Bhattacharya
Date:  
To: cinelerra
Subject: Re: [CinCV] Throttling bit-rate while rendering?
John Detwiler wrote:

> (5) Then reduce the bit-rate (to, say, 2000kb/s):
>     ffmpeg -i foo.mpg -pass 1 -passlogfile foo-log -target ntsc-dvd -b
> 2000k foo-output_pass1.mpg
>     ffmpeg -i foo.mpg -pass 2 -passlogfile foo-log -target ntsc-dvd -b
> 2000k foo-output_pass2.mpg


You are spending un-necessary time in pass 1. That output is thrown
away. So you might as well specify the output as /dev/null. Also, the
purpose of that pass is just to create the logfile for the video. So you
can disable audio in that pass using -an.

For syncing audio, use the option "-async 1" in the second pass and see
if it makes any difference.

ffmpeg -i foo.mpg -pass 1 -passlogfile foo-log -target ntsc-dvd \
-b 2000k -an -y /dev/null

ffmpeg -i foo.mpg -pass 2 -passlogfile foo-log -target ntsc-dvd \
-b 2000k -async 1 -y output.mpg

- Sandip


_______________________________________________
Cinelerra mailing list
Cinelerra@???
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra