Hey, thank's Ivan, Thank's Phil
I will try this script.
=)
On 7/25/07, Phil Ehrens <[EMAIL PROTECTED]> wrote:
Ivan Kowalenko wrote:
>
> On Jul 4, 2007, at 15.54, Henrique Doiche wrote:
>
> >Hello every one....
> >I'm new in transcoding, and i have a question.
> >I'm old user, Slackware ...
> >I trying to Deripping a Brazilian U2 Show(avi).
> >This file have 1,3GB and it's have been encoded with Divx.
> >I use avitovob script, and it's work's very well, but the output
> >mpeg file have 4.6GB, and i can't burn a simple layer DVD 4.4.....
> >My question is.
> >It's possible specify a output "-o" size ???
>
Maybe this will help:
#!/bin/sh
#
# Pass this script a list of input filenames
# on the command line.
#
cat > ffmpeg.cfg <<_EOF
[mpeg2video]
mbd = 2
trell = 1
nr = 30
vqcomp = 0.7
vqblur = 0.3
_EOF
[ ! -z "$1" ] && files="$@";
for arg in $files ;
do
# strip the .avi, .mkv, .mov, or .ogm file extension
file=`echo $arg | sed -e 's/\.[amo][vkpgo][iv4m]$//'`
ext=`echo $arg | sed -e 's/^.*\.//'`
rm -f stream.yuv
transcode --nice 20 \
--print_status 500 \
-x mplayer,mplayer \
-Z 720x480 \
--zoom_filter Mitchell \
-j -16,-32,-16,-32 \
-y ffmpeg \
--import_asr 2 \
--export_asr 2 \
--export_fps 29.970,4 \
--export_prof dvd-ntsc \
-o $file \
-w 3000 \
-m $file.ac3 \
-R 1,ffmpeg.log \
-i $arg
rm -f stream.yuv *.m2v *.ac3
transcode --nice 20 \
--print_status 500 \
-x mplayer,mplayer \
-Z 720x480 \
--zoom_filter Mitchell \
-j -16,-32,-16,-32 \
-y ffmpeg \
--import_asr 2 \
--export_asr 2 \
--export_fps 29.970,4 \
--export_prof dvd-ntsc \
-o $file \
-w 3000 \
-m $file.ac3 \
-R 2,ffmpeg.log \
-i $arg
mplex -f 8 -o "$file.mpg" "$file.m2v" "$file.ac3"
rm -f stream.yuv *.m2v *.ac3
done
--
Henrique Doiche J. Campos