[MEncoder-users] Backup policies
Ross Clement
rossclement at gmail.com
Tue Nov 13 07:52:10 CET 2007
On Nov 13, 2007 2:05 AM, Michael Rozdoba <mroz at ukgateway.net> wrote:>
> If space is an issue & you don't dislike h264's destruction of noise (or
> care to generate & re add it on subsequent decoding), x264. That's my
> choice at any rate.
Thanks. I am having a look at this now.
Here's what I have so far. It seems to produce quite good quality
clips even at say 3000Kb/s. Though I don't have a PSNR measurement as
for some reason vcodec=x264 nor vcodec=h264 works with lavc for me.
I'm using -ovc x264. Note that I'm playing around with creating
quicktime compatible files as well. I won't apply the scale filter
when backing up, and will use a higher bitrate. I'm also going to add
in more "quality" parameters such as trellis.
#!/bin/bash
mencoder "$1" -of rawaudio -ovc copy -oac faac -faacopts
br=192:mpeg=4:object=2 -channels 2 -srate 48000 -o "$1.aac"
mencoder -of rawvideo -ovc x264 -oac copy -x264encopts
bframes=1:bitrate=3000 "$1" -vf scale=-10:-1,harddup -o "$1.264"
MP4Box -add "$1.264" -new "$2"
MP4Box -add "$1.aac" "$2"
More information about the MEncoder-users
mailing list