mr_manny
11-15-2009, 01:43 AM
I updated my ffmpeg script on my Linux box that served me well during my e71 days...love the new resolution :)
source file info:
$ file TEST.HDTV.XviD.avi
TEST.HDTV.XviD.avi: RIFF (little-endian) data, AVI, 624 x 352, 23.98 fps, video: XviD, audio: MPEG-1 Layer 3 (stereo, 48000 Hz)
encode script example:
$ cat testscript.sh
#!/bin/sh
ffmpeg -y -i $1 -acodec libfaac -ab 160k -s 720x480 -aspect 16:9 -vcodec libx264 -b 500k \
-qcomp 0.6 -qmin 16 -qmax 51 -qdiff 4 -flags +loop -cmp +chroma -subq 7 -refs 6 -g 300 \
-keyint_min 25 -rc_eq 'blurCplx^(1-qComp)' -sc_threshold 40 -me_range 12 -i_qfactor 0.71 \
-directpred 3 outputTEST.mp4
exit
syntax:
./testscript.sh TEST.HDTV.XviD.avi
720x480 works like a charm...wish I could say the same for 848x480 :(
Tried a few variations, unfortunately I'm experiencing some pretty bad pixelation during playback of higher res. output mp4 files...
I understand ffmpeg is available for windows...your mileage may vary :p
manny
source file info:
$ file TEST.HDTV.XviD.avi
TEST.HDTV.XviD.avi: RIFF (little-endian) data, AVI, 624 x 352, 23.98 fps, video: XviD, audio: MPEG-1 Layer 3 (stereo, 48000 Hz)
encode script example:
$ cat testscript.sh
#!/bin/sh
ffmpeg -y -i $1 -acodec libfaac -ab 160k -s 720x480 -aspect 16:9 -vcodec libx264 -b 500k \
-qcomp 0.6 -qmin 16 -qmax 51 -qdiff 4 -flags +loop -cmp +chroma -subq 7 -refs 6 -g 300 \
-keyint_min 25 -rc_eq 'blurCplx^(1-qComp)' -sc_threshold 40 -me_range 12 -i_qfactor 0.71 \
-directpred 3 outputTEST.mp4
exit
syntax:
./testscript.sh TEST.HDTV.XviD.avi
720x480 works like a charm...wish I could say the same for 848x480 :(
Tried a few variations, unfortunately I'm experiencing some pretty bad pixelation during playback of higher res. output mp4 files...
I understand ffmpeg is available for windows...your mileage may vary :p
manny