http://crazedmuleproductions.blogspot.com/
Kokeilin yhtä sivuilta löytyvää valmista skriptiä. DigiTV (mpg) muutetaan MPG4:ksi, näppärää.
asmok@ubuntu:/var/lib/mythtv/recordings$
ffmpeg -i 1145_20080206211200.mpg -f mov -vcodec mpeg4 -qscale 7 -s 320x180 -r 29.97 -aspect 16:9 -acodec aac -ac 2 -ab 128 ~/testi.movFFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al.
configuration: --enable-gpl --enable-pp --enable-swscaler --enable-pthreads --enable-libvorbis --enable-libtheora --enable-libogg --enable-libgsm --enable-dc1394 --disable-debug --enable-libmp3lame --enable-libfaadbin --enable-libfaad --enable-libfaac --enable-xvid --enable-x264 --enable-liba52 --enable-amr_nb --enable-amr_wb --enable-shared --prefix=/usr
libavutil version: 1d.49.3.0
libavcodec version: 1d.51.38.0
libavformat version: 1d.51.10.0
built on Dec 20 2007 21:25:50, gcc: 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
Input #0, mpegts, from '1145_20080206211200.mpg':
Duration: 00:39:03.1, start: 38657.071600, bitrate: 3709 kb/s
Stream #0.0[0x204]: Video: mpeg2video, yuv420p, 720x576, 8400 kb/s, 25.00 fps(r)
Stream #0.1[0x2b2](eng): Audio: mp2, 48000 Hz, stereo, 224 kb/s
Stream #0.2[0xfbb](fin): Subtitle: dvbsub
Output #0, mov, to '/home/asmok/testi.mov':
Stream #0.0: Video: mpeg4, yuv420p, 320x180, q=2-31, 200 kb/s, 29.97 fps(c)
Stream #0.1: Audio: aac, 48000 Hz, stereo, 0 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Press [q] to stop encoding
frame= 8453 q=7.0 Lsize= 11086kB time=281.6 bitrate= 322.5kbits/s
video:7149kB audio:2206kB global headers:0kB muxing overhead 18.492458%
asmok@ubuntu:/var/lib/mythtv/recordings$ cd
asmok@ubuntu:~$ file testi.mov
testi.mov: ISO Media, Apple QuickTime movieasmok@ubuntu:~$
Ystävällisin terveisin Asmo Koskinen.