Przy mniejszych filmach jest dobrze ale przy większych filmikach jest już probleem:
Could not write header for output file #0 (incorrect codec parameters ?)
Kod
DiskStation> /usr/syno/bin/ffmpeg -i c.avi -f flv -vcodec flv c.flv
FFmpeg version SVN-r20167-snapshot, Copyright (c) 2000-2009 Fabrice Bellard, et al.
built on May 8 2010 00:09:44 with gcc 4.2.1
configuration: --arch=i686 --cross-prefix=/usr/local/i686-linux-gnu/bin/i686-linux-gnu- --extra-cflags= --enable-cross-compile --enable-shared --disable-static --disable-network --disable-devices --disable-filters --disable-swscale-alpha --disable-altivec --disable-ffserver --disable-ffplay --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --enable-optimizations --disable-armvfp --disable-armv5te
libavutil 50. 3. 0 / 50. 3. 0
libavcodec 52.36. 0 / 52.36. 0
libavformat 52.39. 0 / 52.39. 0
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0. 7. 1 / 0. 7. 1
[NULL @ 0x8072710]Invalid and inefficient vfw-avi packed B frames detected
Input #0, avi, from 'c.avi':
Duration: 01:39:54.24, start: 0.000000, bitrate: 979 kb/s
Stream #0.0: Video: mpeg4, yuv420p, 640x272 [PAR 1:1 DAR 40:17], 25 tbr, 25 tbn, 25 tbc
Stream #0.1: Audio: mp3, 48000 Hz, 2 channels, s16, 123 kb/s
File 'c.flv' already exists. Overwrite ? [y/N] y
[libmp3lame @ 0x8074fa0]flv does not support that sample rate, choose from (44100, 22050, 11025).
Output #0, flv, to 'c.flv':
Stream #0.0: Video: flv, yuv420p, 640x272 [PAR 1:1 DAR 40:17], q=2-31, 512 kb/s, 1k tbn, 30 tbc
Stream #0.1: Audio: libmp3lame, 48000 Hz, 2 channels, s16, 64 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Could not write header for output file #0 (incorrect codec parameters ?)
FFmpeg version SVN-r20167-snapshot, Copyright (c) 2000-2009 Fabrice Bellard, et al.
built on May 8 2010 00:09:44 with gcc 4.2.1
configuration: --arch=i686 --cross-prefix=/usr/local/i686-linux-gnu/bin/i686-linux-gnu- --extra-cflags= --enable-cross-compile --enable-shared --disable-static --disable-network --disable-devices --disable-filters --disable-swscale-alpha --disable-altivec --disable-ffserver --disable-ffplay --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --enable-optimizations --disable-armvfp --disable-armv5te
libavutil 50. 3. 0 / 50. 3. 0
libavcodec 52.36. 0 / 52.36. 0
libavformat 52.39. 0 / 52.39. 0
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0. 7. 1 / 0. 7. 1
[NULL @ 0x8072710]Invalid and inefficient vfw-avi packed B frames detected
Input #0, avi, from 'c.avi':
Duration: 01:39:54.24, start: 0.000000, bitrate: 979 kb/s
Stream #0.0: Video: mpeg4, yuv420p, 640x272 [PAR 1:1 DAR 40:17], 25 tbr, 25 tbn, 25 tbc
Stream #0.1: Audio: mp3, 48000 Hz, 2 channels, s16, 123 kb/s
File 'c.flv' already exists. Overwrite ? [y/N] y
[libmp3lame @ 0x8074fa0]flv does not support that sample rate, choose from (44100, 22050, 11025).
Output #0, flv, to 'c.flv':
Stream #0.0: Video: flv, yuv420p, 640x272 [PAR 1:1 DAR 40:17], q=2-31, 512 kb/s, 1k tbn, 30 tbc
Stream #0.1: Audio: libmp3lame, 48000 Hz, 2 channels, s16, 64 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Could not write header for output file #0 (incorrect codec parameters ?)
Ma ktoś może większe doświadczenie i mi pomoże z tym?