[FFmpeg-user] Could not parse framerate '25'

Harninder Rai harninder.rai at freescale.com
Thu Dec 19 11:49:56 CET 2013


> > [video4linux2,v4l2  <at>  0x11148da0] Could not parse framerate '25'.
> 
> This indicates a compilation problem (or a problem with sscanf), did you
> run make fate on your target?


I just ran make fate but it gave errors (as expectedly I suppose, since I cross-compiled ffmpeg from x86 machine for ppc)
Please correct if my understanding is wrong

> 
> I suspect you can just omit -r 25 but as said it imo indicates that
> something is very wrong.

Omitting -r 25 gives me the following

[root at P1024RDB shm]# ./ffmpeg -f v4l2 -s 640x480 -i /dev/video0 out.avi
ffmpeg version N-59017-g551a679 Copyright (c) 2000-2013 the FFmpeg developers
  built on Dec 19 2013 13:39:43 with gcc 4.5.1 (Sourcery G++ Lite 2010.09-55)
  configuration: --arch=ppc --enable-cross-compile --cc=/data_nmg/toolchain/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/bin/powerpc-linux-gnu-gcc --extra-cflags=-mno-altivec --target-os=linux --disable-altivec --disable-asm --disable-yasm --cpu=e500v2 --extra-cflags=-msoft-float --disable-mipsfpu
  libavutil      52. 58.100 / 52. 58.100
  libavcodec     55. 45.101 / 55. 45.101
  libavformat    55. 22.100 / 55. 22.100
  libavdevice    55.  5.102 / 55.  5.102
  libavfilter     3. 92.100 /  3. 92.100
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.104 /  0. 17.104
Input #0, video4linux2,v4l2, from '/dev/video0':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422(GBR), 640x480, 2147483 kb/s, 0k fps, 0k tbr, 0k tbn, 0k tbc
[swscaler @ 0x11142e20] 0x0 -> 0x0 is invalid scaling dimension
[auto-inserted scaler 0 @ 0x1113dfd0] Failed to configure output pad on auto-inserted scaler 0
Error opening filters!


More information about the ffmpeg-user mailing list