2009-02-20, 08:20 AM
After countless trial-and-error I'v finally managed to get a fairly good conversion of recorded analog TV-shows using FFMPEG. I'v given up MENCODER since it works for most of my recordings but not all. The quality of the resulting -avi file is, as far as I can see, good, but the conversion is slow.
Evan with my new AMD64-X2-6000+ cpu it takes more than an hour to convert a 45 min show. Tha commandlines looks as follows:
"C:\Programfiler\devnz\gbpvr\Third Party\FFmpeg\ffmpeg.exe" -i "%~dpn1.mpg" -threads 2 -an -s 768x576 -pass 1 -vcodec h264 -b 1200k -flags +loop -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -me epzs -subq 1 -trellis 0 -refs 1 -bf 16 -b_strategy 1 -coder 1 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -bt 142282 -rc_eq "blurCplx^(1-qComp)" -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 "%~dpn1.avi"
"C:\Programfiler\devnz\gbpvr\Third Party\FFmpeg\ffmpeg.exe" -i "%~dpn1.mpg" -threads 2 -s 768x576 -pass 2 -vcodec h264 -b 1200k -flags +loop -cmp +chroma -partitions +parti8x8+parti4x4+partp8x8+partp4x4+partb8x8 -me umh -subq 7 -trellis 1 -refs 6 -bf 16 -directpred 3 -b_strategy 1 -bidir_refine 1 -coder 1 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -bt 142282 -rc_eq "blurCplx^(1-qComp)" -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -acodec mp3 -ar 44100 -ab 128k -y "%~dpn1.avi"
Is there a way to reduce the processing time without reducing quality or increasing the file size too much (the converted size is now about 30% of original size)?
Evan with my new AMD64-X2-6000+ cpu it takes more than an hour to convert a 45 min show. Tha commandlines looks as follows:
"C:\Programfiler\devnz\gbpvr\Third Party\FFmpeg\ffmpeg.exe" -i "%~dpn1.mpg" -threads 2 -an -s 768x576 -pass 1 -vcodec h264 -b 1200k -flags +loop -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -me epzs -subq 1 -trellis 0 -refs 1 -bf 16 -b_strategy 1 -coder 1 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -bt 142282 -rc_eq "blurCplx^(1-qComp)" -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 "%~dpn1.avi"
"C:\Programfiler\devnz\gbpvr\Third Party\FFmpeg\ffmpeg.exe" -i "%~dpn1.mpg" -threads 2 -s 768x576 -pass 2 -vcodec h264 -b 1200k -flags +loop -cmp +chroma -partitions +parti8x8+parti4x4+partp8x8+partp4x4+partb8x8 -me umh -subq 7 -trellis 1 -refs 6 -bf 16 -directpred 3 -b_strategy 1 -bidir_refine 1 -coder 1 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -bt 142282 -rc_eq "blurCplx^(1-qComp)" -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -acodec mp3 -ar 44100 -ab 128k -y "%~dpn1.avi"
Is there a way to reduce the processing time without reducing quality or increasing the file size too much (the converted size is now about 30% of original size)?
"I'd rather have a bottle in front of me than a frontal lobotomy"