Newest 'ffmpeg' Questions - Stack Overflow

http://stackoverflow.com/questions/tagged/ffmpeg

Les articles publiés sur le site

  • ERROR : libvpx decoder version must be >=0.9.1 [closed]

    22 novembre 2013, par Baseem Najjar

    Heyo! I'm trying to install ffmpeg on my server using the following tutorial: https://ffmpeg.org/trac/ffmpeg/wiki/UbuntuCompilationGuideLucid When I reach the ffmpeg part and run the ./configure command it gives the following error:

    ERROR: libvpx decoder version must be >=0.9.1
    

    I must mention that my server has Ubunto 10.10 64bit I'm a total newbie in linux so please take it into consideration :) Thanks a lot!

    Following LordNeckBeard solution, I got the following error after the checkinstall:

    root@348588:~/libvpx# sudo checkinstall --pkgname=libvpx --pkgversion="$(date +%Y%m%d%H%M)-git" --backup=no--default --deldoc=yes
    
    checkinstall 1.6.2, Copyright 2009 Felipe Eduardo Sanchez Diaz Duran
               This software is released under the GNU GPL.
    
    
    no--default is an invalid value for --backup
    
    Use --help or -h to get more information
    
  • creating FFMPEG-based android apps with BAMBUSER

    22 novembre 2013, par Blaze Tama

    First, im a beginner in FFMPEG so please bear with me.

    And more, my java is not a "master", and i only have a very little experience in C.

    I interested in bambuser's ffmpeg library but theres still some doubt in my mind :

    1. Dont they have any step by step tutorial? The only tutorial i found, which is good but not suitable for beginner is http://www.quora.com/What-are-the-steps-for-integrating-FFMPEG-on-Android#
    2. DO I HAVE TO CODE IN C? Sorry this might be a stupid question..but ehm i dont really understand what im doing and where im going...LOL What i mean is, can i just use FFMPEG syntax like -i, -vf and run it inside my apps like in the ubuntu's terminal?

    Im well aware that this question should not be suitable for SO, but i have no choice. I have tried to use many different lbraries, like GUARDIAN PROJECT (well, i have the UNSOLVED question here) but its not working like i hope.

    Thanks very much for your time, and your help. Please help me here, its alreay a month LOL :D

  • FFMPEG-PHP install error

    22 novembre 2013, par user2997305

    I have CENTOS 6.4 with all updates . Recently re-installated . And ISPManager installed. Whate else do I need?

    [root@xploid ffmpeg-php-0.6.0]# make
    /bin/sh /srv/build/ffmpeg-php-0.6.0/libtool --mode=compile cc  -I. -I/srv/build/ffmpeg-php-0.6.0 -DPHP_ATOM_INC -I/srv/build/ffmpeg-php-0.6.0/include -I/srv/build/ffmpeg-php-0.6.0/main -I/srv/build/ffmpeg-php-0.6.0 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/include/libavcodec/ -I/usr/include/libavformat/ -I/usr/include/libavutil/ -I/usr/include/libswscale/ -I/usr/include/libavfilter/ -I/usr/include/libavdevice/  -DHAVE_CONFIG_H  -g -O2 -Wall -fno-strict-aliasing   -c /srv/build/ffmpeg-php-0.6.0/ffmpeg-php.c -o ffmpeg-php.lo
    libtool: compile:  cc -I. -I/srv/build/ffmpeg-php-0.6.0 -DPHP_ATOM_INC -I/srv/build/ffmpeg-php-0.6.0/include -I/srv/build/ffmpeg-php-0.6.0/main -I/srv/build/ffmpeg-php-0.6.0 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/include/libavcodec/ -I/usr/include/libavformat/ -I/usr/include/libavutil/ -I/usr/include/libswscale/ -I/usr/include/libavfilter/ -I/usr/include/libavdevice/ -DHAVE_CONFIG_H -g -O2 -Wall -fno-strict-aliasing -c /srv/build/ffmpeg-php-0.6.0/ffmpeg-php.c  -fPIC -DPIC -o .libs/ffmpeg-php.o
    In file included from /usr/include/sys/stat.h:107,
                     from /usr/include/php/main/php_streams.h:28,
                     from /usr/include/php/main/php.h:405,
                     from /srv/build/ffmpeg-php-0.6.0/ffmpeg-php.c:40:
    /usr/include/bits/stat.h:91: error: field ‘st_atim’ has incomplete type
    /usr/include/bits/stat.h:92: error: field ‘st_mtim’ has incomplete type
    /usr/include/bits/stat.h:93: error: field ‘st_ctim’ has incomplete type
    /usr/include/bits/stat.h:152: error: field ‘st_atim’ has incomplete type
    /usr/include/bits/stat.h:153: error: field ‘st_mtim’ has incomplete type
    /usr/include/bits/stat.h:154: error: field ‘st_ctim’ has incomplete type
    In file included from /usr/include/php/main/php_streams.h:28,
                     from /usr/include/php/main/php.h:405,
                     from /srv/build/ffmpeg-php-0.6.0/ffmpeg-php.c:40:
    /usr/include/sys/stat.h:367: error: array type has incomplete element type
    /usr/include/sys/stat.h:374: error: array type has incomplete element type
    In file included from /usr/include/php/main/php.h:411,
                     from /srv/build/ffmpeg-php-0.6.0/ffmpeg-php.c:40:
    
    
    /usr/include/php/TSRM/tsrm_virtual_cwd.h:212: error: expected specifier-qualifier-list before ‘time_t’
    
    /usr/include/php/TSRM/tsrm_virtual_cwd.h:240: error: expected declaration specifiers or ‘...’ before ‘time_t’
    
    /srv/build/ffmpeg-php-0.6.0/ffmpeg-php.c: In function ‘zm_startup_ffmpeg’:
    /srv/build/ffmpeg-php-0.6.0/ffmpeg-php.c:94: warning: implicit declaration of function ‘avcodec_init’
    make: *** [ffmpeg-php.lo] Error 1**
    
  • Configuring PHPVideoToolkit library

    21 novembre 2013, par mrpotatohead

    I'm trying to set up PHPVideoToolkit to use for converting videos on a server and can't seem to get the documentation/examples working. After setting the basic configuration, as well as making some slight changes to even be able to see the documentation I'm getting the following error (among others):

    Declaration of PHPVideoToolkit\FfmpegProcess::getExecBuffer() should be compatible
    with that of PHPVideoToolkit\ProcessBuilder::getExecBuffer()
    

    and this one, several times:

    Undefined offset: 2
            [2] => /var/www/media_html/phpvideotoolkit-v2/src/PHPVideoToolkit/FfmpegParserAbstract.php
    

    After digging around for a little bit in various source files I realized I'm probably doing more harm than good changing stuff around and am probably doing something wrong. I'm stumped as to how to fix this so thanks in advance to anyone who knows how to.

  • When could fps be a guess and not exact value ?

    21 novembre 2013, par theateist

    I use libavcodec for video processing.

    The documentation of AVStream->r_frame_rate says

    Real base framerate of the stream.
    This is the lowest framerate with which all timestamps can be
    represented accurately (it is the least common multiple of all
    framerates in the stream). Note, this value is just a guess!
    

    I tried several mp4 and avi videos (with 25fps) and r_frame_rate always was as I expected 25. So, I want to understand why the documentation says that ...is just a guess! if I always get exact fps? When it does change?