ffmpeg version problem with raspberry pi2

Hi,
I'm using RPi2 for my Repetier-Server. All working fine but I'm not able to use timelape.

I know ffmpeg versione on Rpi is old so I downloaded ffmpeg from website.

I try to compile it but I receive an error on option "concat" which is unavailable.

I only enable option --enable-gpl --enable-libx264. There is any other option I need to activate?

Can you provide the full configure options I need to apply to build the right ffmpeg version.

I downloaded last one on ffmpeg website which newer than 1.1 required.

Thanks in advance

Rosario

Comments

  • The error log  is:

    unknown input format: 'concat'


  • Hi,

    I'm adding new info.

    I tryed ffmpeg command in a separate shell with debug loglevel.

    It seems a ffmpeg error:
     /usr/local/bin/ffmpeg -loglevel debug -f concat -i /var/lib/Repetier-Server/printer/MicroRos/timelapse/20160801T195346_SmartRos_CuboAngolox4/input.txt -c:v libx264 -threads 1 -r 30 -pix_fmt yuv420p -profile:v baseline -level 3.0 -movflags +faststart -b:v 1000k -y /var/lib/Repetier-Server/printer/MicroRos/timelapse/20160801T195346_SmartRos_CuboAngolox4/video.mp4 > /tmp/ReptierServer-Timelapse-CreateVideo.log 2>&1
    Bus Error

    I have a log file ReptierServer-Timelapse-CreateVideo.log which contains all ffmpeg logging info.
    How can I attach it on forum?

    Can you help to solve issue?
  • The concat command is why you need a recent version.

    I'm not totally sure, but I think the latest release already can use avlib as replacement and this is included in pi linux distro. If not next release will be able to use it.
  • Hi,

    As mentioned before  I'm using latest ffmpeg version (3.x) downloaded from relative website (not the raspbian one which 0.8).

    ffmpeg version N-80981-gacca56d Copyright (c) 2000-2016 the FFmpeg developers
    built with gcc 4.6 (Debian 4.6.3-14+rpi1)
    configuration: --enable-gpl --enable-libx264
    libavutil      55. 28.100 / 55. 28.100
    libavcodec     57. 50.100 / 57. 50.100
    libavformat    57. 41.100 / 57. 41.100
    libavdevice    57.  0.102 / 57.  0.102
    libavfilter     6. 47.100 /  6. 47.100
    libswscale      4.  1.100 /  4.  1.100
    libswresample   2.  1.100 /  2.  1.100
    libpostproc    54.  0.100 / 54.  0.100


  • I checked again ffmpeg version.
    As aspected, for raspbian ffmpeg version (old one which is 0.8) I raceived the "unknown input format: concat" error.

    With latest ffmpeg versione compiled directly on rpi2 it seems go to the end but all video are of 48byte. When I try to see them videoplayer goes in error for format non supported.

    Looking on logs I see Bus Error previously metioned.

    I'm trying to compile ffmpeg with various option to find if I'm in trouble with it.

    Now a question. How do you installed latest ffmpeg on rpi2? installeing a package or compiling it?
    If compiling, can you show all options I need to put in configure command.

    Thanks in advance

    Rosario
  • I never compiled myself. I downloaded 1.x for wheezy once and for Jessie I used a image from a friend who said he compiled with
    ./configure --enable-nonfree --enable-gpl --enable-libx264
    apart from this I now simply use avlib on pi as it is part of jessie.
Sign In or Register to comment.