FFMPEG: errore «Incorrect frame size»

1 risposta [Ultimo contenuto]
Ritratto di Rapido
Rapido
(Junior)
Offline
Junior
Iscritto: 29/03/2009
Messaggi: 34

Ho qualche problema con FFMPEG.
Il comando

ffmpeg -i a.mp4 -acodec libopencore_amrnb -ar 8000 -ac 1 -ab 12.2k -vcodec mpeg4 -s 320×240 a.3gp

su Debian 6.0.3, anzichè avviare la conversione, produce questo output:
$ ffmpeg -i a.mp4 -acodec libopencore_amrnb -ar 8000 -ac 1 -ab 12.2k -vcodec mpeg4 -s 320×240 a.3gp
FFmpeg version SVN-r0.5.4-4:0.5.4-1, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --extra-version=4:0.5.4-1 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libdirac --enable-libgsm --enable-libopenjpeg --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-libfaad --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 26 2011 22:50:57, gcc: 4.4.5
 
Seems stream 1 codec frame rate differs from container frame rate: 50.00 (50/1) -> 25.00 (25/1)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'a.mp4':
  Duration: 00:01:37.16, start: 0.000000, bitrate: 598 kb/s
    Stream #0.0(und): Audio: aac, 44100 Hz, stereo, s16
    Stream #0.1(und): Video: h264, yuv420p, 480x360, 25 tbr, 25 tbn, 50 tbc
Incorrect frame size
$ 

Come risolvo?
Se vi occorrono altri dati, fatemelo sapere.

S.O.: Debian 6.0.3
Il mio hardware. Portatile IBM ThinkPad.
CPU: Intel® Pentium® M processor 1.80GHz.
HD da 72 GB. RAM: 1 GB

Ritratto di mcortese
mcortese
(Moderatore)
Offline
Moderatore
Iscritto: 27/02/2009
Messaggi: 2918

Devi forzare l'uno o l'altro frame rate (50 o 25) con il parametro -r