Recherche avancée

Médias (1)

Mot : - Tags -/ticket

Autres articles (65)

Sur d’autres sites (13495)

  • Move all files from a folder EXCEPT those still in use (by other processes like ffmpeg)

    9 janvier 2019, par juzzle

    I am cleaning up a series of MP4 files using FFMPEG. I want to create a simple bat file script which moves the completed files (which are those which have a duration value), not the stubs of files in progress. This is the basic structure :

    set SourcePath=C:\Source Folder
    pushd %SourcePath%
    move *.MP4 C:\Finished Folder

    What options are available to use in the MOVE command to supress the moving of those files still in use by FFMPEG ?

    I did consider Robocopy’s /minage or /minlad option for this, but the minimimum incremenent is DAYS, not seconds.

  • Install ffmpeg-php on CentOS

    29 janvier 2013, par Sergio

    I'm trying to install ffmpeg-php on server (CentOS) but after the "make" command I get an error :

     from /usr/local/src/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
     In file included from /usr/local/include/php/main/php_streams.h:28,
                from /usr/local/include/php/main/php.h:400,
                from /usr/local/src/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/local/include/php/main/php.h:406,
                from /usr/local/src/ffmpeg-php-0.6.0/ffmpeg-php.c:40:



    /usr/local/include/php/TSRM/tsrm_virtual_cwd.h:218: error: expected specifier-qualifier-list before 'time_t'
    /usr/local/include/php/TSRM/tsrm_virtual_cwd.h:246: error: expected declaration specifiers or '...' before 'time_t'
    /usr/local/src/ffmpeg-php-0.6.0/ffmpeg-php.c: In function 'zm_startup_ffmpeg':
    /usr/local/src/ffmpeg-php-0.6.0/ffmpeg-php.c:94: warning: implicit declaration of function 'avcodec_init'
    make: *** [ffmpeg-php.lo] Error 1

    The ffmpeg was installed successfully as well as mplayer and mencoder.

    ffpeg :

    configuration: --enable-gpl --enable-libmp3lame --enable-libtheora --enable-libvo-aacenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-version3
    libavutil      51. 73.101 / 51. 73.101
    libavcodec     54. 56.100 / 54. 56.100
    libavformat    54. 27.101 / 54. 27.101
    libavdevice    54.  2.100 / 54.  2.100
    libavfilter     3. 16.104 /  3. 16.104
    libswscale      2.  1.101 /  2.  1.101
    libswresample   0. 15.100 /  0. 15.100
    libpostproc    52.  0.100 / 52.  0.100

    Any help ?

  • Install ffmpeg-php on CentOS

    29 janvier 2021, par Sergio

    I'm trying to install ffmpeg-php on server (CentOS) but after the "make" command I get an error :

    



      from /usr/local/src/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
  In file included from /usr/local/include/php/main/php_streams.h:28,
             from /usr/local/include/php/main/php.h:400,
             from /usr/local/src/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/local/include/php/main/php.h:406,
             from /usr/local/src/ffmpeg-php-0.6.0/ffmpeg-php.c:40:



/usr/local/include/php/TSRM/tsrm_virtual_cwd.h:218: error: expected specifier-qualifier-list before 'time_t'
/usr/local/include/php/TSRM/tsrm_virtual_cwd.h:246: error: expected declaration specifiers or '...' before 'time_t'
/usr/local/src/ffmpeg-php-0.6.0/ffmpeg-php.c: In function 'zm_startup_ffmpeg':
/usr/local/src/ffmpeg-php-0.6.0/ffmpeg-php.c:94: warning: implicit declaration of function 'avcodec_init'
make: *** [ffmpeg-php.lo] Error 1


    



    The ffmpeg was installed successfully as well as mplayer and mencoder.

    



    ffpeg :

    



     configuration: --enable-gpl --enable-libmp3lame --enable-libtheora --enable-libvo-aacenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-version3
 libavutil      51. 73.101 / 51. 73.101
 libavcodec     54. 56.100 / 54. 56.100
 libavformat    54. 27.101 / 54. 27.101
 libavdevice    54.  2.100 / 54.  2.100
 libavfilter     3. 16.104 /  3. 16.104
 libswscale      2.  1.101 /  2.  1.101
 libswresample   0. 15.100 /  0. 15.100
 libpostproc    52.  0.100 / 52.  0.100


    



    Any help ?