[[encoding]]
 

Encoding

Testing

transcode -H 10 -a 0 -T 4,-1,1 -x dvd,null -i \/mnt\/video\/StarTrek\/STTNG_S6\/D1 -w 1773,50 -A -N 0x2000 -f 25 -R 1 -y xvid,null -o dev/null
transcode -H 10 -a 0 -T 4,-1,1 -x dvd -i \/mnt\/video\/StarTrek\/STTNG_S6\/D1 -w 1773,50 -A -N 0x2000 -f 25 -R 2 -y xvid -o /home/paul/dvdrip-data/STTNG_S6_D1/avi/004/STTNG_S6_D1-004.avi --print_status 25 
$1=/usr/local/video/vts_01_1.vob 
$2=/usr/local/video/vts_01_2.vob
$3=STTNG_S02_E09.avi
CROP=$(mplayer -ss 20 -frames 100 -vo null -ao null -vf cropdetect $1 2>&1 | tee -a /tmp/cropdetect.out > /dev/null && tail -6 /tmp/cropdetect.out | grep CROP -m 1 | cut -f2 -d"(" | cut -f1 -d")")
cat $1 $2 | nice mencoder -o /dev/null -nosound -ovc xvid -xvidencopts pass=1 -
cat $1 $2 | nice mencoder -o $3 -aid 129 -alang en -oac copy -ovc xvid -xvidencopts pass=2:bitrate=1800 $CROP -

Attempt 1

sttng_s2e9.avi    (561481008,536M)
cat /usr/local/video/vts_01_1.vob /usr/local/video/vts_01_2.vob | nice -+19 mencoder -o /dev/null -nosound -ovc xvid -xvidencopts pass=1 -
cat /usr/local/video/vts_01_1.vob /usr/local/video/vts_01_2.vob | nice -+19 mencoder -o sttng_s2e9.avi -aid 129 -oac copy -ovc xvid -xvidencopts pass=2:bitrate=1800 -

Video stream: 1262.564 kbit/s  (157820 B/s)  size: 413142474 bytes  2617.800 secs  65439 frames
Audio stream:  448.000 kbit/s  (55999 B/s)  size: 146605312 bytes  2617.952 secs

Attempt 2

sttng_s2e9b.avi    (526706784,503M)
cat /usr/local/video/vts_01_1.vob /usr/local/video/vts_01_2.vob | nice -+19 mencoder -o /dev/null -nosound -ovc xvid -xvidencopts pass=1 -
cat /usr/local/video/vts_01_1.vob /usr/local/video/vts_01_2.vob | nice -n 9 mencoder -o sttng_s2e9b.avi -aid 129 -oac copy -ovc xvid -xvidencopts pass=2:bitrate=1800 -vf crop=704:576:10:0 -


~30 Mins to do pass2

Video stream: 1156.293 kbit/s  (144536 B/s)  size: 378367926 bytes  2617.800 secs  65439 frames
Audio stream:  448.000 kbit/s  (55999 B/s)  size: 146605312 bytes  2617.952 secs

cropdetect

mplayer -ss 100 -frames 50 -vo null -ao null -vf cropdetect /mnt/usb/bulkcopy/Season\ 2/Disk\ 3/vts_01_2.vob 2>&1 | tee -a /tmp/cropdetect.out > /dev/null

Attempt 3

sttng_s2e9c.avi    (526706784,503M)x264
cat /usr/local/video/vts_01_1.vob /usr/local/video/vts_01_2.vob | nice -+19 mencoder -o /dev/null -nosound -ovc xvid -xvidencopts pass=1 -
cat /usr/local/video/vts_01_1.vob /usr/local/video/vts_01_2.vob | nice -n 9 mencoder -o sttng_s2e9c.avi -aid 129 -oac copy -ovc xvid -xvidencopts pass=2:bitrate=1400 -vf crop=704:576:10:0 -

~30 Mins to do pass2

Video stream: 1156.293 kbit/s  (144536 B/s)  size: 378367926 bytes  2617.800 secs  65439 frames
Audio stream:  448.000 kbit/s  (55999 B/s)  size: 146605312 bytes  2617.952 secs

Attempt 4

Convert to H.264 (Main Profile, 2 pass)

cat /usr/local/video/vts_01_1.vob /usr/local/video/vts_01_2.vob | nice -n 9 mencoder -ovc x264 -x264encopts pass=1 -nosound  -o /dev/null -
cat /usr/local/video/vts_01_1.vob /usr/local/video/vts_01_2.vob | nice -n 9 mencoder -ovc x264 -x264encopts bitrate=1800:pass=2 -oac copy -aid 129 -o sttng_s2e9d.avi -


Started at 2:11 - 3:54
Video stream: 1799.813 kbit/s  (224976 B/s)  size: 588934848 bytes  2617.760 secs  65439 frames
Audio stream:  192.000 kbit/s  (23999 B/s)  size: 62807040 bytes  2616.960 secs

Pass2 restarted at 8:14 with aid set to en this time (pass2 only)
Video stream: 1799.786 kbit/s  (224973 B/s)  size: 588934848 bytes  2617.800 secs  65439 frames
Audio stream:  448.000 kbit/s  (55999 B/s)  size: 146605312 bytes  2617.952 secs
size: 737273314,704M   time for pass2: 1Hr 3 Mins

Attempt 5

Convert to H.264 (High Profile, 2 pass)

mencoder -ovc x264 -x264encopts pass=1:8x8dct:i8x8 -nosound  -o <output file> <input file>
mencoder -ovc x264 -x264encopts bitrate=1000:pass=2:8x8dct:i8x8 -oac copy -o <output file> <input file>

REF: http://f0rked.com/projects/simplerip

encoding.txt · Last modified: 2011/03/04 00:55 by 127.0.0.1
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 4.0 International
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki