This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
tutorial:standalone_mpeg-4_players [2010/04/17 06:36] j.m |
tutorial:standalone_mpeg-4_players [2012/11/11 08:51] (current) |
||
|---|---|---|---|
| Line 38: | Line 38: | ||
| ===== GMC and Qpel ===== | ===== GMC and Qpel ===== | ||
| - | Xvid and libavcodec MPEG-4 can use more complete [[http://en.wikipedia.org/wiki/Global_Motion_Compensation|GMC]] (Global Motion Compensation) and [[http://en.wikipedia.org/wiki/Qpel|Qpel]] (Quarter pixel) models than the DivX codec. | + | Xvid and libavcodec MPEG-4 can use more complete [[http://en.wikipedia.org/wiki/Global_motion_compensation|GMC]] (Global Motion Compensation) and [[http://en.wikipedia.org/wiki/Qpel|Qpel]] (Quarter pixel) models than the DivX codec. |
| With those, you are screwed and need to re-encode the video. That means dual-pass encoding to keep the same size. | With those, you are screwed and need to re-encode the video. That means dual-pass encoding to keep the same size. | ||
| Line 52: | Line 52: | ||
| export SRC=/tmp/fma2 | export SRC=/tmp/fma2 | ||
| export TGT=/tmp/fma3 | export TGT=/tmp/fma3 | ||
| - | perl foreach.pl $SRC/*.avi "avidemux2 | + | perl foreach.pl $SRC/*.avi "avidemux2 \ |
| - | --force-unpack --load $SRC/%f | + | --force-unpack --load $SRC/%f \ |
| - | --audio-map --video-process --video-codec xvid4 | + | --audio-map --video-process --video-codec xvid4 \ |
| - | --video-conf follow=1000 --save $ TGT/fixed_%f | + | --video-conf follow=1000 --save $ TGT/fixed_%f \ |
| --quit" | --quit" | ||
| </code> | </code> | ||