Díky moc. Tvá rada zdá se, že bude fungovat. Bohužel u mě zdá se nefunguje tak, jak by měla. Terminál se pokusí, spustí, ale nakonec neuspěje. Tohle je výsledek jeho snažení:
pastaguy@Pastapot2:~$ ./cmv_create.py video.avi video.cmv
FFmpeg version SVN-r0.5.1-4:0.5.1-1ubuntu1, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration: --extra-version=4:0.5.1-1ubuntu1 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --disable-stripping --disable-vhook --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --enable-shared --disable-static
libavutil 49.15. 0 / 49.15. 0
libavcodec 52.20. 1 / 52.20. 1
libavformat 52.31. 0 / 52.31. 0
libavdevice 52. 1. 0 / 52. 1. 0
libavfilter 0. 4. 0 / 0. 4. 0
libswscale 0. 7. 1 / 0. 7. 1
libpostproc 51. 2. 0 / 51. 2. 0
built on Mar 4 2010 12:35:30, gcc: 4.4.3
[NULL @ 0x8603570]Invalid and inefficient vfw-avi packed B frames detected
Seems stream 0 codec frame rate differs from container frame rate: 30000.00 (30000/1) -> 25.00 (25/1)
Input #0, avi, from 'video.avi':
Duration: 00:08:04.04, start: 0.000000, bitrate: 1006 kb/s
Stream #0.0: Video: mpeg4, yuv420p, 640x480 [PAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 30k tbc
Stream #0.1: Audio: mp3, 48000 Hz, stereo, s16, 128 kb/s
Output #0, image2, to '.tmp/frame%06d.jpeg':
Stream #0.0: Video: mjpeg, yuvj420p, 320x192 [PAR 4:5 DAR 4:3], q=2-31, 200 kb/s, 90k tbn, 25 tbc
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop encoding
[mpeg4 @ 0x8603570]Invalid and inefficient vfw-avi packed B frames detected
frame=12101 fps= 9 q=24.8 Lsize= -0kB time=484.04 bitrate= -0.0kbits/s
video:45293kB audio:0kB global headers:0kB muxing overhead -100.000047%
chunk 10
chunk 20
chunk 30
chunk 40
chunk 50
chunk 60
chunk 70
chunk 80
chunk 90
chunk 100
chunk 110
chunk 120