[Ffmpeg-devel] Re: Degradation of x264 encoding in my build of ffmpeg

Laine Lee llee
Mon Dec 26 07:05:32 CET 2005


On 12/25/05 4:54 PM, "William Ross" <william.ross at lineone.net> wrote:

> Laine Lee <laine.lee <at> utsa.edu> writes:
> 

>> The command  is this:

> 
> Instead of -f yuv4mpegpipe use -f rawvideo
> That works for me within a script like so:
> 
> #!/bin/tcsh
> foreach input (*.avi)
> set base="$input:r"
> ffmpeg -i "$input" -f rawvideo -r 25 -s 368x208 - | x264 -B 225 --fps 25 -m 4
> --me hex --level 1.3 --no-cabac --vbv-maxrate 768 --vbv-bufsize 2000 -p 1
> --stats "${base}.log" -o "${base} pass 1.264" - 368x208
> rm "${base} pass 1.264"
> ffmpeg -i "$input" -f rawvideo -r 25 -s 368x208 - | x264 -B 225 --fps 25 -m 4
> --me hex --level 1.3 --no-cabac --vbv-maxrate 768 --vbv-bufsize 2000 -p 2
> --stats "${base}.log" -o "${base}.264" - 368x208
> rm "${base}.log"
> 
> mp4creator -c "${base}.264" -rate=25 "${base}.mp4"
> 
> ffmpeg -i "$input" -f wav -ar 32000 -ac 1 - | faac -b 32 -c 32000 --mpeg-vers
> 4 
> -o "${base}.aac" -
> mp4creator -c "${base}.aac" -aac-profile=4 "${base}.mp4"
> end
> 
> This script creates 2 pass ipod compatible mp4's in 16:9 ratio.
> 
> Hope that helps,
> 
> William
> 

Thanks very much, William. I already got another reply with a basic
correction for my problem, but your answer is very useful, too. You wouldn't
have any tips concerning my shared library build question, would you? Thanks
again.

-- 
Laine






More information about the ffmpeg-devel mailing list