Commands, results, problems
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
- 9 cinelerra problemen
Combineren van een MOV file en een WAV file in een mpg
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
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
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
-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
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
-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
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
1.Write CMML file: "example.cmml" 2.Encode Annodex:
"anxenc example.cmml -o example.anx"
=> example.anx
cinelerra problemen
29/06/06
In 'settings': video- and audio playback is set to dv1394
result: cinelerra crashes.
peter@ubuntu:~$ cinelerra
Device1394Output::open path=/dev/dv1394: Is a directory signal_entry: got SIGSEGV my pid=23654 execution table size=75: VRender::run 0 VRender::run 0.1 VRender::run 0.2 vrender.C: process_buffer: 107 vrender.C: process_buffer: 114 vrender.C: get_colormodel: 222 vrender.C: get_colormodel: 225 vrender.C: process_buffer: 117 vrender.C: process_buffer: 122 file.C: file.C: 292 VRender::run 0.3 VRender::run 6 VRender::run 7 VRender::run 8 VRender::run 10 timebar.C: update: 381 timebar.C: update: 383 timebar.C: update: 386 timebar.C: update: 388 timebar.C: update: 390 timebar.C: update: 392 VRender::run 0 VRender::run 0.1 VRender::run 0.2 vrender.C: process_buffer: 107 vrender.C: process_buffer: 114 vrender.C: get_colormodel: 222 vrender.C: get_colormodel: 225 vrender.C: process_buffer: 117 vrender.C: process_buffer: 122 undostack.C: set_data: 633 undostack.C: set_data: 638 undostack.C: set_data: 654 undostack.C: set_data: 657 undostack.C: set_data: 661 undostack.C: apply_difference: 535 undostack.C: apply_difference: 584 undostack.C: set_data: 663 undostack.C: set_data: 701 undostack.C: apply_difference: 535 undostack.C: apply_difference: 584 undostack.C: set_data: 708 undostack.C: set_data: 739 undostack.C: set_data: 747 VRender::run 0.3 VRender::run 6 VRender::run 7 VRender::run 8 VRender::run 10 amodule.C: render: 139 amodule.C: render: 144 amodule.C: render: 168 amodule.C: render: 175 amodule.C: render: 182 module.C: update_transition: 218 module.C: update_transition: 224 module.C: update_transition: 234 amodule.C: render: 189 file.C: file.C: 292 VRender::run 0 VRender::run 0.1 VRender::run 0.2 vrender.C: process_buffer: 107 vrender.C: process_buffer: 114 vrender.C: get_colormodel: 222 vrender.C: get_colormodel: 225 vrender.C: get_colormodel: 229 vrender.C: get_colormodel: 231 vrender.C: get_colormodel: 244 vrender.C: get_colormodel: 246 vrender.C: get_colormodel: 253 vrender.C: process_buffer: 117 vrender.C: process_buffer: 122 VRender::run 0.3 VRender::run 0.4 signal_entry: lock table size=95 0x9219238 CWindowTool::output_lock CWindowTool::start_tool * 0x924e500 PlaybackEngine::start_lock PlaybackEngine::create_objects * 0x92191e0 CWindowTool::input_lock CWindowTool::run * 0x926d558 BC_Repeater::startup_lock BC_Repeater::initialize * 0x92de780 PlaybackEngine::start_lock PlaybackEngine::create_objects * 0x92fde10 TransportQue::output_lock PlaybackEngine::run * 0x93a5af0 BC_Repeater::startup_lock BC_Repeater::initialize * 0x8d599b0 BC_Repeater::startup_lock BC_Repeater::initialize * 0x8e0b698 BC_Repeater::startup_lock BC_Repeater::initialize * 0x8e28100 BC_Repeater::startup_lock BC_Repeater::initialize * 0x8d580f0 BC_Repeater::startup_lock BC_Repeater::initialize * 0x8d6a648 BC_Repeater::startup_lock BC_Repeater::initialize * 0x8d58e10 BC_Repeater::startup_lock BC_Repeater::initialize * 0x8cd4a50 BC_WindowBase::event_condition BC_WindowBase::get_event * 0x92fde10 TransportQue::output_lock PlaybackEngine::run 0x931ecc8 MainIndexes::input_lock MainIndexes::run 1 * 0x8d69358 BC_Repeater::startup_lock BC_Repeater::initialize * 0x91abf58 BC_WindowBase::event_condition BC_WindowBase::get_event * 0x92892f8 BC_WindowBase::event_condition BC_WindowBase::get_event * 0x931ecc8 MainIndexes::input_lock MainIndexes::run 1 0x90d1b10 BC_WindowBase::event_condition BC_WindowBase::get_event * 0x9320a28 BC_WindowBase::event_condition BC_WindowBase::get_event * 0x9320a28 BC_WindowBase::event_condition BC_WindowBase::get_event * 0x9320a28 BC_WindowBase::event_condition BC_WindowBase::get_event * 0x9320a28 BC_WindowBase::event_condition BC_WindowBase::get_event * 0x926eca8 BC_WindowBase::event_condition BC_WindowBase::get_event * 0x91abf58 BC_WindowBase::event_condition BC_WindowBase::get_event * 0x93a7048 BC_WindowBase::event_condition BC_WindowBase::get_event * 0x92892f8 BC_WindowBase::event_condition BC_WindowBase::get_event * 0x90d1b10 BC_WindowBase::event_condition BC_WindowBase::get_event * 0x90d1b10 BC_WindowBase::event_condition BC_WindowBase::get_event * 0x9320a28 BC_WindowBase::event_condition BC_WindowBase::get_event * 0x9320a28 BC_WindowBase::event_condition BC_WindowBase::get_event * 0x9320a28 BC_WindowBase::event_condition BC_WindowBase::get_event * 0x9320a28 BC_WindowBase::event_condition BC_WindowBase::get_event * 0x9320a28 BC_WindowBase::event_condition BC_WindowBase::get_event * 0x9320a28 BC_WindowBase::event_condition BC_WindowBase::get_event * 0x9320a28 BC_WindowBase::event_condition BC_WindowBase::get_event * 0x9320a28 BC_WindowBase::event_condition BC_WindowBase::get_event * 0x9320a28 BC_WindowBase::event_condition BC_WindowBase::get_event * 0x90d1b10 BC_WindowBase::event_condition BC_WindowBase::get_event * 0x9320a28 BC_WindowBase::event_condition BC_WindowBase::get_event * 0x9320a28 BC_WindowBase::event_condition BC_WindowBase::get_event * 0x9320a28 BC_WindowBase::event_condition BC_WindowBase::get_event * 0x9320a28 BC_WindowBase::event_condition BC_WindowBase::get_event * 0x90d1b10 BC_WindowBase::event_condition BC_WindowBase::get_event * 0x9320a28 BC_WindowBase::event_condition BC_WindowBase::get_event * 0x9320a28 BC_WindowBase::event_condition BC_WindowBase::get_event * 0x9320a28 BC_WindowBase::event_condition BC_WindowBase::get_event * 0x9320a28 BC_WindowBase::event_condition BC_WindowBase::get_event * 0x90d1b10 BC_WindowBase::event_condition BC_WindowBase::get_event * 0x9320a28 BC_WindowBase::event_condition BC_WindowBase::get_event * 0x9320a28 BC_WindowBase::event_condition BC_WindowBase::get_event * 0x9320a28 BC_WindowBase::event_condition BC_WindowBase::get_event * 0x9320a28 BC_WindowBase::event_condition BC_WindowBase::get_event * 0x90d1b10 BC_WindowBase::event_condition BC_WindowBase::get_event * 0x9320a28 BC_WindowBase::event_condition BC_WindowBase::get_event * 0x9248cb8 TransportQue::output_lock PlaybackEngine::run * 0x9320a28 BC_WindowBase::event_condition BC_WindowBase::get_event * 0x90d1b10 BC_WindowBase::event_condition BC_WindowBase::get_event * 0x9320a28 BC_WindowBase::event_condition BC_WindowBase::get_event * 0x92193f0 BC_WindowBase::event_condition BC_WindowBase::get_event * 0x90d1b10 BC_WindowBase::event_condition BC_WindowBase::get_event * 0x9320a28 BC_WindowBase::event_condition BC_WindowBase::get_event * 0x9320a28 BC_WindowBase::event_condition BC_WindowBase::get_event * 0x90d1b10 BC_WindowBase::event_condition BC_WindowBase::get_event * 0x926eca8 BC_WindowBase::event_condition BC_WindowBase::get_event 0x91abf58 BC_WindowBase::event_condition BC_WindowBase::get_event 0x93a7048 BC_WindowBase::event_condition BC_WindowBase::get_event 0x92892f8 BC_WindowBase::event_condition BC_WindowBase::get_event 0x90d1b10 BC_WindowBase::event_condition BC_WindowBase::get_event * 0x90d1b10 BC_WindowBase::event_condition BC_WindowBase::get_event * 0x9320a28 BC_WindowBase::event_condition BC_WindowBase::get_event * 0x90d1b10 BC_WindowBase::event_condition BC_WindowBase::get_event * 0x9320a28 BC_WindowBase::event_condition BC_WindowBase::get_event * 0x90d1b10 BC_WindowBase::event_condition BC_WindowBase::get_event * 0x90d1b10 BC_WindowBase::event_condition BC_WindowBase::get_event * 0x9320a28 BC_WindowBase::event_condition BC_WindowBase::get_event * 0x92193f0 BC_WindowBase::event_condition BC_WindowBase::get_event 0x90d1b10 BC_WindowBase::event_condition BC_WindowBase::get_event * 0x9320a28 BC_WindowBase::event_condition BC_WindowBase::get_event * 0x90d1b10 BC_WindowBase::event_condition BC_WindowBase::get_event 0x9320a28 BC_WindowBase::event_condition BC_WindowBase::get_event 0xae758cc8 RenderEngine::input_lock RenderEngine::arm_command * 0xae758dd0 RenderEngine::first_frame_lock RenderEngine::arm_command * 0xae758dd0 RenderEngine::first_frame_lock RenderEngine::arm_command * 0x924e450 PlaybackEngine::tracking_done PlaybackEngine::init_tracking * 0x93a5a98 BC_Repeater::pause_lock BC_Repeater::stop_repeating * 0xae738b00 AudioDevice::play_lock AudioDevice::run 1 0x926d878 Tracking::startup_lock Tracking::start_playback * 0xae73c240 CommonRender::start_lock CommonRender::start_command * 0xae73cfb0 CommonRender::start_lock CommonRender::start_command * 0x944e7c0 CICacheItem::item_lock CICache::check_out * 0x9248cb8 TransportQue::output_lock PlaybackEngine::run * 0x93a5a98 BC_Repeater::pause_lock BC_Repeater::run BC_Signals::dump_buffers: buffer table size=0 BC_Signals::delete_temps: deleting 0 temp files SigHandler::signal_handler total files=0
In settings: Audio set to ALSA:
probleem: Cinelerra crashes.
Known problem