Difference between revisions of "Transcoding notes"
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
15/01/2006 | 15/01/2006 | ||
− | + | ||
+ | == Combineren van een MOV file en een WAV file in een mpg == | ||
het WAV is een bewerkte soundtrack in Audacity. | het WAV is een bewerkte soundtrack in Audacity. | ||
− | peter@ubuntu:~$ ffmpeg -i /home/peter/editfilms/ot1edit1004.mov -i /home/peter/editfilms/ot1.wav /home/peter/editfilms/ot1edit2.mpg | + | |
− | ffmpeg version CVS, build 3276800, Copyright (c) 2000-2004 Fabrice Bellard | + | peter@ubuntu:~$ ffmpeg -i /home/peter/editfilms/ot1edit1004.mov -i /home/peter/editfilms/ot1.wav /home/peter/editfilms/ot1edit2.mpg |
− | + | ||
− | + | <nowiki>ffmpeg version CVS, build 3276800, Copyright (c) 2000-2004 Fabrice Bellard | |
+ | configuration: --build i486-linux-gnu --enable-gpl --enable-pp --enable-zlib --enable-vorbis --enable-libogg --enable-theora --enable-a52 --enable-dts --enable-dc1394 --enable-libgsm --disable-debug --prefix=/usr | ||
+ | built on Sep 29 2005 03:25:16, gcc: 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu8) | ||
Input #0, mov,mp4,m4a,3gp,3g2, from '/home/peter/editfilms/ot1edit1004.mov': | Input #0, mov,mp4,m4a,3gp,3g2, from '/home/peter/editfilms/ot1edit1004.mov': | ||
− | + | Duration: 00:08:30.8, start: 0.000000, bitrate: 30340 kb/s | |
− | + | Stream #0.0: Video: dvvideo, yuv420p, 720x576, 600.00 fps | |
− | + | Stream #0.1: Audio: pcm_s16be, 48000 Hz, stereo, 1536 kb/s | |
Input #1, wav, from '/home/peter/editfilms/ot1.wav': | Input #1, wav, from '/home/peter/editfilms/ot1.wav': | ||
− | + | Duration: 00:08:30.8, start: 0.000000, bitrate: 1536 kb/s | |
− | + | Stream #1.0: Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s | |
Output #0, mpeg, to '/home/peter/editfilms/ot1edit2.mpg': | Output #0, mpeg, to '/home/peter/editfilms/ot1edit2.mpg': | ||
− | + | Stream #0.0: Video: mpeg1video, yuv420p, 720x576, 60.00 fps, q=2-31, 200 kb/s | |
− | + | Stream #0.1: Audio: mp2, 48000 Hz, stereo, 64 kb/s | |
Stream mapping: | Stream mapping: | ||
− | + | Stream #0.0 -> #0.0 | |
− | + | Stream #0.1 -> #0.1 | |
Press [q] to stop encoding | Press [q] to stop encoding | ||
AC EOB marker is absent pos=646kB time=45.1 bitrate=1013.6kbits/s | AC EOB marker is absent pos=646kB time=45.1 bitrate=1013.6kbits/s | ||
Line 96: | Line 99: | ||
AC EOB marker is absent pos=65 | AC EOB marker is absent pos=65 | ||
frame=30650 q=0.0 Lsize= 59186kB time=510.8 bitrate= 949.2kbits/s | frame=30650 q=0.0 Lsize= 59186kB time=510.8 bitrate= 949.2kbits/s | ||
− | video:3538kB audio:3991kB global headers:0kB muxing overhead 686.144985% | + | video:3538kB audio:3991kB global headers:0kB muxing overhead 686.144985%</nowiki> |
− | resultaat: pixelated video met slecht geluid | + | |
+ | |||
+ | '''resultaat: pixelated video met slecht geluid | ||
vraag: wat is AC EOB marker is absent pos=70 | vraag: wat is AC EOB marker is absent pos=70 | ||
− | vraag: wat = q (q=0.0) | + | vraag: wat = q (q=0.0)''' |
15/01/2006 | 15/01/2006 | ||
− | + | == combineren mov en wav in een dv target mov == | |
− | peter@ubuntu:~$ ffmpeg -i /home/peter/editfilms/ot1edit1004.mov -i /home/peter/editfilms/ot1.wav -target pal-dv /home/peter/editfilms/ot1film.mov | + | peter@ubuntu:~$ ffmpeg -i /home/peter/editfilms/ot1edit1004.mov -i /home/peter/editfilms/ot1.wav -target pal-dv /home/peter/editfilms/ot1film.mov |
− | ffmpeg version CVS, build 3276800, Copyright (c) 2000-2004 Fabrice Bellard | + | |
+ | |||
+ | <nowiki>ffmpeg version CVS, build 3276800, Copyright (c) 2000-2004 Fabrice Bellard | ||
configuration: --build i486-linux-gnu --enable-gpl --enable-pp --enable-zlib --enable-vorbis --enable-libogg --enable-theora --enable-a52 --enable-dts --enable-dc1394 --enable-libgsm --disable-debug --prefix=/usr | configuration: --build i486-linux-gnu --enable-gpl --enable-pp --enable-zlib --enable-vorbis --enable-libogg --enable-theora --enable-a52 --enable-dts --enable-dc1394 --enable-libgsm --disable-debug --prefix=/usr | ||
built on Sep 29 2005 03:25:16, gcc: 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu8) | built on Sep 29 2005 03:25:16, gcc: 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu8) | ||
Line 197: | Line 204: | ||
frame=12772 q=0.0 Lsize= 1796062kB time=510.9 bitrate=28800.0kbits/s | frame=12772 q=0.0 Lsize= 1796062kB time=510.9 bitrate=28800.0kbits/s | ||
video:1796062kB audio:95790kB global headers:0kB muxing overhead -5.063291% | video:1796062kB audio:95790kB global headers:0kB muxing overhead -5.063291% | ||
− | resultaat: mov speelt niet in VLC/ cinelerra / kino | + | </nowiki> |
+ | |||
+ | '''resultaat: mov speelt niet in VLC/ cinelerra / kino | ||
na hernoemen in DV: speelt in VLC gepixelde kwaliteit A+V | na hernoemen in DV: speelt in VLC gepixelde kwaliteit A+V | ||
− | niet in cinelerra / kino | + | niet in cinelerra / kino''' |
15/1/2001 | 15/1/2001 | ||
− | + | == omzetten van een MOV in MPG == | |
− | ffmpeg zet wel een in Kino gecapturde mov om in een ander formaat (mpg) maar geen Mov die vanuit cinelerra gerenderd is | + | '''Probleem: ffmpeg zet wel een in Kino gecapturde mov om in een ander formaat (mpg) maar geen Mov die vanuit cinelerra gerenderd is''' |
− | ffmpeg fuse van audio en video | + | == ffmpeg fuse van audio en video == |
-video MPEG-4 | -video MPEG-4 | ||
-audio MP3 | -audio MP3 | ||
naar mpg | naar mpg | ||
− | + | ||
− | speelt in VLC | + | ffmpeg -i (videofile) -i (audiofile) (outputfile.mpg) |
+ | '''resultaat: speelt in VLC''' | ||
16/1/2005 | 16/1/2005 | ||
− | ''CINELERRA crasht op videorender DV settings'' | + | ''' probleem: CINELERRA crasht op videorender DV settings'' |
+ | niet opgelost''' | ||
21/1/2006 | 21/1/2006 | ||
− | CINELERRA export: | + | ''' CINELERRA export: |
fileformat Quicktime for linux | fileformat Quicktime for linux | ||
audio Mp3/ bitrate 256000 | audio Mp3/ bitrate 256000 | ||
video= DV | video= DV | ||
-> speelt in VLC | -> speelt in VLC | ||
− | -> probleem: kopieert niet naar schijf | + | -> probleem: kopieert niet naar schijf ''' |
13-2-06 | 13-2-06 | ||
− | + | == samengevoegde mpeg, bestaande uit MPEG-2 audio en MPEG-1 video == | |
− | cinelerra / render / MPEG Video, yuv 4:2:0, Generic MPEG2, Derivate MPEG1 (filename ot-portretTESTvideo) | + | cinelerra / render / MPEG Video, yuv 4:2:0, Generic MPEG2, Derivate MPEG1 (filename ot-portretTESTvideo) |
− | cinelerra / render / MPEG Audio, layer II, 320 kbs (filename ot-portretTESTaudio.mp2) | + | cinelerra / render / MPEG Audio, layer II, 320 kbs (filename ot-portretTESTaudio.mp2) |
− | ''daarna in ffmpeg samengevoegd '' | + | '''daarna in ffmpeg samengevoegd ''' |
− | ffmpeg -i /home/peter/editfilms/ot-portretTESTaudio.mp2 -i /home/peter/editfilms/ot-portretTESTvideo -s 320x240 /home/peter/editfilms/ot-portretTEST2.mpg | + | ffmpeg -i /home/peter/editfilms/ot-portretTESTaudio.mp2 -i /home/peter/editfilms/ot-portretTESTvideo -s 320x240 /home/peter/editfilms/ot-portretTEST2.mpg |
− | peter@ubuntu:~$ ffmpeg -i /home/peter/editfilms/ot-portretTESTaudio.mp2 -i /home/peter/editfilms/ot-portretTESTvideo -s 320x240 /home/peter/editfilms/ot-portretTEST2.mpg | + | <nowiki>peter@ubuntu:~$ ffmpeg -i /home/peter/editfilms/ot-portretTESTaudio.mp2 -i /home/peter/editfilms/ot-portretTESTvideo -s 320x240 /home/peter/editfilms/ot-portretTEST2.mpg |
ffmpeg version CVS, build 3276800, Copyright (c) 2000-2004 Fabrice Bellard | ffmpeg version CVS, build 3276800, Copyright (c) 2000-2004 Fabrice Bellard | ||
configuration: --build i486-linux-gnu --enable-gpl --enable-pp --enable-zlib --enable-vorbis --enable-libogg --enable-theora --enable-a52 --enable-dts --enable-dc1394 --enable-libgsm --disable-debug --prefix=/usr | configuration: --build i486-linux-gnu --enable-gpl --enable-pp --enable-zlib --enable-vorbis --enable-libogg --enable-theora --enable-a52 --enable-dts --enable-dc1394 --enable-libgsm --disable-debug --prefix=/usr | ||
Line 252: | Line 263: | ||
frame= 1639 q=0.0 Lsize= 2320kB time=65.5 bitrate= 290.1kbits/s | frame= 1639 q=0.0 Lsize= 2320kB time=65.5 bitrate= 290.1kbits/s | ||
video:1782kB audio:512kB global headers:0kB muxing overhead 1.130421% | video:1782kB audio:512kB global headers:0kB muxing overhead 1.130421% | ||
− | peter@ubuntu:~$ | + | peter@ubuntu:~$ </nowiki> |
− | + | == Deel van een film copieren == | |
− | |||
-ss seek to given time position in seconds | -ss seek to given time position in seconds | ||
-t duration | -t duration | ||
− | peter@ubuntu:~$ ffmpeg -ss 00:01:10 -i /home/peter/Desktop/vts_01_1.vob -t 00:01:03 -s 320x240 /home/peter/test11.mpg | + | peter@ubuntu:~$ ffmpeg -ss 00:01:10 -i /home/peter/Desktop/vts_01_1.vob -t 00:01:03 -s 320x240 /home/peter/test11.mpg |
+ | |||
+ | == Transcode MOV to Theora == | ||
− | |||
1.You have a somehow acquired QuickTime MOV file: "example.mov". | 1.You have a somehow acquired QuickTime MOV file: "example.mov". | ||
2.Dump YUV and WAV from MOV: | 2.Dump YUV and WAV from MOV: | ||
− | "mplayer -ao pcm -vo yuv4mpeg example.mov" | + | "mplayer -ao pcm -vo yuv4mpeg example.mov" |
− | => audiodump.wav, stream.yuv | + | |
+ | => audiodump.wav, stream.yuv | ||
+ | |||
3.Transcode to theora: | 3.Transcode to theora: | ||
− | "encoder_example -o example.ogg audiodump.wav stream.yuv" | + | "encoder_example -o example.ogg audiodump.wav stream.yuv" |
+ | |||
=> example.ogg | => example.ogg | ||
− | Create Annodex files | + | |
+ | == Create Annodex files == | ||
1.Write CMML file: "example.cmml" | 1.Write CMML file: "example.cmml" | ||
2.Encode Annodex: | 2.Encode Annodex: | ||
− | "anxenc example.cmml -o example.anx" | + | "anxenc example.cmml -o example.anx" |
=> example.anx | => example.anx |
Latest revision as of 10:17, 3 May 2006
15/01/2006
Contents
- 1 Combineren van een MOV file en een WAV file in een mpg
- 2 combineren mov en wav in een dv target mov
- 3 omzetten van een MOV in MPG
- 4 ffmpeg fuse van audio en video
- 5 samengevoegde mpeg, bestaande uit MPEG-2 audio en MPEG-1 video
- 6 Deel van een film copieren
- 7 Transcode MOV to Theora
- 8 Create Annodex files
Combineren van een MOV file en een WAV file in een mpg[edit]
het WAV is een bewerkte soundtrack in Audacity.
peter@ubuntu:~$ ffmpeg -i /home/peter/editfilms/ot1edit1004.mov -i /home/peter/editfilms/ot1.wav /home/peter/editfilms/ot1edit2.mpg
ffmpeg version CVS, build 3276800, Copyright (c) 2000-2004 Fabrice Bellard configuration: --build i486-linux-gnu --enable-gpl --enable-pp --enable-zlib --enable-vorbis --enable-libogg --enable-theora --enable-a52 --enable-dts --enable-dc1394 --enable-libgsm --disable-debug --prefix=/usr built on Sep 29 2005 03:25:16, gcc: 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu8) Input #0, mov,mp4,m4a,3gp,3g2, from '/home/peter/editfilms/ot1edit1004.mov': Duration: 00:08:30.8, start: 0.000000, bitrate: 30340 kb/s Stream #0.0: Video: dvvideo, yuv420p, 720x576, 600.00 fps Stream #0.1: Audio: pcm_s16be, 48000 Hz, stereo, 1536 kb/s Input #1, wav, from '/home/peter/editfilms/ot1.wav': Duration: 00:08:30.8, start: 0.000000, bitrate: 1536 kb/s Stream #1.0: Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s Output #0, mpeg, to '/home/peter/editfilms/ot1edit2.mpg': Stream #0.0: Video: mpeg1video, yuv420p, 720x576, 60.00 fps, q=2-31, 200 kb/s Stream #0.1: Audio: mp2, 48000 Hz, stereo, 64 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 Press [q] to stop encoding AC EOB marker is absent pos=646kB time=45.1 bitrate=1013.6kbits/s AC EOB marker is absent pos=64 AC EOB marker is absent pos=69 AC EOB marker is absent pos=66 AC EOB marker is absent pos=64 AC EOB marker is absent pos=65 AC EOB marker is absent pos=66 AC EOB marker is absent pos=64 AC EOB marker is absent pos=68 AC EOB marker is absent pos=64 AC EOB marker is absent pos=75 AC EOB marker is absent pos=64 AC EOB marker is absent pos=64 AC EOB marker is absent pos=64 AC EOB marker is absent pos=70 AC EOB marker is absent pos=65 AC EOB marker is absent pos=64 AC EOB marker is absent pos=64 AC EOB marker is absent pos=76 AC EOB marker is absent pos=64 AC EOB marker is absent pos=64 AC EOB marker is absent pos=64 AC EOB marker is absent pos=64 AC EOB marker is absent pos=66 AC EOB marker is absent pos=64 AC EOB marker is absent pos=64 AC EOB marker is absent pos=68 AC EOB marker is absent pos=64 AC EOB marker is absent pos=64 AC EOB marker is absent pos=75 AC EOB marker is absent pos=64 AC EOB marker is absent pos=64 AC EOB marker is absent pos=64 AC EOB marker is absent pos=66 AC EOB marker is absent pos=64 AC EOB marker is absent pos=65 AC EOB marker is absent pos=72 AC EOB marker is absent pos=69 AC EOB marker is absent pos=64 AC EOB marker is absent pos=69 AC EOB marker is absent pos=65 AC EOB marker is absent pos=64 AC EOB marker is absent pos=108 AC EOB marker is absent pos=64 AC EOB marker is absent pos=64 AC EOB marker is absent pos=64 AC EOB marker is absent pos=77 AC EOB marker is absent pos=65 AC EOB marker is absent pos=67 AC EOB marker is absent pos=68 AC EOB marker is absent pos=67 AC EOB marker is absent pos=67 AC EOB marker is absent pos=644kB time=203.8 bitrate= 952.9kbits/s AC EOB marker is absent pos=64 AC EOB marker is absent pos=65 AC EOB marker is absent pos=64 AC EOB marker is absent pos=64 AC EOB marker is absent pos=66 AC EOB marker is absent pos=64 AC EOB marker is absent pos=64 AC EOB marker is absent pos=70 AC EOB marker is absent pos=71 AC EOB marker is absent pos=71 AC EOB marker is absent pos=64 AC EOB marker is absent pos=65 AC EOB marker is absent pos=64 AC EOB marker is absent pos=64 AC EOB marker is absent pos=64 AC EOB marker is absent pos=64 AC EOB marker is absent pos=67 AC EOB marker is absent pos=64 AC EOB marker is absent pos=70 AC EOB marker is absent pos=64 AC EOB marker is absent pos=65 frame=30650 q=0.0 Lsize= 59186kB time=510.8 bitrate= 949.2kbits/s video:3538kB audio:3991kB global headers:0kB muxing overhead 686.144985%
resultaat: pixelated video met slecht geluid
vraag: wat is AC EOB marker is absent pos=70
vraag: wat = q (q=0.0)
15/01/2006
combineren mov en wav in een dv target mov[edit]
peter@ubuntu:~$ ffmpeg -i /home/peter/editfilms/ot1edit1004.mov -i /home/peter/editfilms/ot1.wav -target pal-dv /home/peter/editfilms/ot1film.mov
ffmpeg version CVS, build 3276800, Copyright (c) 2000-2004 Fabrice Bellard
configuration: --build i486-linux-gnu --enable-gpl --enable-pp --enable-zlib --enable-vorbis --enable-libogg --enable-theora --enable-a52 --enable-dts --enable-dc1394 --enable-libgsm --disable-debug --prefix=/usr
built on Sep 29 2005 03:25:16, gcc: 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu8)
Input #0, mov,mp4,m4a,3gp,3g2, from '/home/peter/editfilms/ot1edit1004.mov':
Duration: 00:08:30.8, start: 0.000000, bitrate: 30340 kb/s
Stream #0.0: Video: dvvideo, yuv420p, 720x576, 600.00 fps
Stream #0.1: Audio: pcm_s16be, 48000 Hz, stereo, 1536 kb/s
Input #1, wav, from '/home/peter/editfilms/ot1.wav':
Duration: 00:08:30.8, start: 0.000000, bitrate: 1536 kb/s
Stream #1.0: Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s
Output #0, dv, to '/home/peter/editfilms/ot1film.mov':
Stream #0.0: Video: dvvideo, yuv420p, 720x576, 25.00 fps, q=2-31, 200 kb/s
Stream #0.1: Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Press [q] to stop encoding
AC EOB marker is absent pos=643kB time=45.0 bitrate=28800.0kbits/s
AC EOB marker is absent pos=64
AC EOB marker is absent pos=69
AC EOB marker is absent pos=66
AC EOB marker is absent pos=64
AC EOB marker is absent pos=65
AC EOB marker is absent pos=66
AC EOB marker is absent pos=64
AC EOB marker is absent pos=68
AC EOB marker is absent pos=64
AC EOB marker is absent pos=75
AC EOB marker is absent pos=64
AC EOB marker is absent pos=64
AC EOB marker is absent pos=64
AC EOB marker is absent pos=70
AC EOB marker is absent pos=65
AC EOB marker is absent pos=64
AC EOB marker is absent pos=64
AC EOB marker is absent pos=76
AC EOB marker is absent pos=64
AC EOB marker is absent pos=64
AC EOB marker is absent pos=64
AC EOB marker is absent pos=64
AC EOB marker is absent pos=66
AC EOB marker is absent pos=64
AC EOB marker is absent pos=64
AC EOB marker is absent pos=68
AC EOB marker is absent pos=64
AC EOB marker is absent pos=64
AC EOB marker is absent pos=75
AC EOB marker is absent pos=64
AC EOB marker is absent pos=64
AC EOB marker is absent pos=64
AC EOB marker is absent pos=66
AC EOB marker is absent pos=64
AC EOB marker is absent pos=65
AC EOB marker is absent pos=72
AC EOB marker is absent pos=69
AC EOB marker is absent pos=64
AC EOB marker is absent pos=69
AC EOB marker is absent pos=65
AC EOB marker is absent pos=64
AC EOB marker is absent pos=108
AC EOB marker is absent pos=64
AC EOB marker is absent pos=64
AC EOB marker is absent pos=64
AC EOB marker is absent pos=77
AC EOB marker is absent pos=65
AC EOB marker is absent pos=67
AC EOB marker is absent pos=68
AC EOB marker is absent pos=67
AC EOB marker is absent pos=67
AC EOB marker is absent pos=648kB time=204.0 bitrate=28800.0kbits/s
AC EOB marker is absent pos=64
AC EOB marker is absent pos=65
AC EOB marker is absent pos=64
AC EOB marker is absent pos=64
AC EOB marker is absent pos=66
AC EOB marker is absent pos=64
AC EOB marker is absent pos=64
AC EOB marker is absent pos=70
AC EOB marker is absent pos=71
AC EOB marker is absent pos=71
AC EOB marker is absent pos=64
AC EOB marker is absent pos=65
AC EOB marker is absent pos=64
AC EOB marker is absent pos=64
AC EOB marker is absent pos=64
AC EOB marker is absent pos=64
AC EOB marker is absent pos=67
AC EOB marker is absent pos=64
AC EOB marker is absent pos=70
AC EOB marker is absent pos=64
AC EOB marker is absent pos=65
frame=12772 q=0.0 Lsize= 1796062kB time=510.9 bitrate=28800.0kbits/s
video:1796062kB audio:95790kB global headers:0kB muxing overhead -5.063291%
resultaat: mov speelt niet in VLC/ cinelerra / kino na hernoemen in DV: speelt in VLC gepixelde kwaliteit A+V niet in cinelerra / kino
15/1/2001
omzetten van een MOV in MPG[edit]
Probleem: ffmpeg zet wel een in Kino gecapturde mov om in een ander formaat (mpg) maar geen Mov die vanuit cinelerra gerenderd is
ffmpeg fuse van audio en video[edit]
-video MPEG-4 -audio MP3 naar mpg
ffmpeg -i (videofile) -i (audiofile) (outputfile.mpg)
resultaat: speelt in VLC
16/1/2005 ' probleem: CINELERRA crasht op videorender DV settings niet opgelost
21/1/2006 CINELERRA export: fileformat Quicktime for linux audio Mp3/ bitrate 256000 video= DV -> speelt in VLC -> probleem: kopieert niet naar schijf
13-2-06
samengevoegde mpeg, bestaande uit MPEG-2 audio en MPEG-1 video[edit]
cinelerra / render / MPEG Video, yuv 4:2:0, Generic MPEG2, Derivate MPEG1 (filename ot-portretTESTvideo) cinelerra / render / MPEG Audio, layer II, 320 kbs (filename ot-portretTESTaudio.mp2)
daarna in ffmpeg samengevoegd
ffmpeg -i /home/peter/editfilms/ot-portretTESTaudio.mp2 -i /home/peter/editfilms/ot-portretTESTvideo -s 320x240 /home/peter/editfilms/ot-portretTEST2.mpg
peter@ubuntu:~$ ffmpeg -i /home/peter/editfilms/ot-portretTESTaudio.mp2 -i /home/peter/editfilms/ot-portretTESTvideo -s 320x240 /home/peter/editfilms/ot-portretTEST2.mpg ffmpeg version CVS, build 3276800, Copyright (c) 2000-2004 Fabrice Bellard configuration: --build i486-linux-gnu --enable-gpl --enable-pp --enable-zlib --enable-vorbis --enable-libogg --enable-theora --enable-a52 --enable-dts --enable-dc1394 --enable-libgsm --disable-debug --prefix=/usr built on Sep 29 2005 03:25:16, gcc: 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu8) Input #0, mp3, from '/home/peter/editfilms/ot-portretTESTaudio.mp2': Duration: 00:01:05.5, start: 0.000000, bitrate: 320 kb/s Stream #0.0: Audio: mp2, 48000 Hz, stereo, 320 kb/s Input #1, mpegvideo, from '/home/peter/editfilms/ot-portretTESTvideo': Duration: 00:01:05.1, start: 0.000000, bitrate: 1000 kb/s Stream #1.0: Video: mpeg2video, yuv420p, 720x576, 25.00 fps, 1000 kb/s Output #0, mpeg, to '/home/peter/editfilms/ot-portretTEST2.mpg': Stream #0.0: Video: mpeg1video, yuv420p, 320x240, 25.00 fps, q=2-31, 200 kb/s Stream #0.1: Audio: mp2, 48000 Hz, stereo, 64 kb/s Stream mapping: Stream #1.0 -> #0.0 Stream #0.0 -> #0.1 Press [q] to stop encoding frame= 1639 q=0.0 Lsize= 2320kB time=65.5 bitrate= 290.1kbits/s video:1782kB audio:512kB global headers:0kB muxing overhead 1.130421% peter@ubuntu:~$
Deel van een film copieren[edit]
-ss seek to given time position in seconds -t duration
peter@ubuntu:~$ ffmpeg -ss 00:01:10 -i /home/peter/Desktop/vts_01_1.vob -t 00:01:03 -s 320x240 /home/peter/test11.mpg
Transcode MOV to Theora[edit]
1.You have a somehow acquired QuickTime MOV file: "example.mov". 2.Dump YUV and WAV from MOV:
"mplayer -ao pcm -vo yuv4mpeg example.mov"
=> audiodump.wav, stream.yuv
3.Transcode to theora:
"encoder_example -o example.ogg audiodump.wav stream.yuv"
=> example.ogg
Create Annodex files[edit]
1.Write CMML file: "example.cmml" 2.Encode Annodex:
"anxenc example.cmml -o example.anx"
=> example.anx