Re: ffmpeg command line for compressing DV to MPEG1
For the NTSC captures, the size is 360x240. I've created a script in
videoraid:/home/holger/compress_ntsc.sh that has the command line like
this:
#!/bin/bash -x
FILE=$1
nice ffmpeg -i $FILE -s 360x240 -vcodec mpeg1video -b 300 -g 48 -ac 1
-ab 64 -ar 32000 $FILE-364kbs.mpeg
There are 3 videos in /home/holger, I'm now running ls *.avi | xargs
-n1 ./compress_ntsc.sh
So in about an hour, there'll be 3 hopefully decent videos to upload. Holger!
:)
cheers,
martin
On 7/10/05, Herman Robak <herman@skolelinux.no> wrote:
> ffmpeg -i dv-video.avi -s 384x288 -vcodec mpeg1video -b 300 -g 48 -ac 1 -ab 64 -ar 32000 364kbs-video.mpeg
>
> -s : Scale to this size (scale to exactly half height, and get deinterlaceing for free)
> -vcodec : Video codec. mpeg1video implies mp2 sound.
> -b : Video bitrate. 300 kb/s is enough where there is little movement.
> -g : Distance between keyframes. With little movement, fewer keyframes are good.
> -ac : Number of channels. We are only recording one channel.
> -ab : Audio bitrate in kb/s. 64 kbits is OK for one-channel speech.
> -ar : The audio sample rate. Lower sample rate reduces compression artifacts.
>
> --
> Herman Robak
>
>
> --
> To unsubscribe, send mail to debconf5-video-unsubscribe@lists.debconf.org.
>
--
To unsubscribe, send mail to debconf5-video-unsubscribe@lists.debconf.org.
Reply to: