Recherche avancée

Médias (0)

Mot : - Tags -/upload

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (74)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • MediaSPIP Player : problèmes potentiels

    22 février 2011, par

    Le lecteur ne fonctionne pas sur Internet Explorer
    Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
    Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)

Sur d’autres sites (4480)

  • FFMPEG command on Android Jave Process does not fully execute

    8 novembre 2014, par user2491598

    The issue I am having is very strange. I have an FFMPEG executable binary library installed on my Android and I am trying to execute this command

    ffmpeg -loop 1 -i /storage/emulated/0/image.jpg -i /storage/emulated/0/input.mov -filter_complex '[0:v][1:v] overlay' -shortest /storage/emulated/0/output.mp4

    and my JAVA code looks like

    try {
               Runtime.getRuntime().exec("chmod 700 " + mFfmpegPath);
               cmd.add(mFfmpegPath);
               cmd.add("-loop");
               cmd.add("1");
               cmd.add("-i");
               cmd.add("/storage/emulated/0/image.jpg");
               cmd.add("-i");
               cmd.add("/storage/emulated/0/pizza.mov");
               cmd.add("-filter_complex");
               cmd.add("'[0:v][1:v] overlay'");
               cmd.add("-shortest");
               cmd.add("-vcodec");
               cmd.add("-libx264");
               cmd.add("-strict");
               cmd.add("experimental");
               cmd.add("/storage/emulated/0/output22.mp4");

               final ProcessBuilder pb = new ProcessBuilder(cmd);
               pb.redirectErrorStream();
               final Process p = pb.start();
               Log.i("FFMPEG","stdError= " + getSTD(p.getErrorStream()));
               p.waitFor();
               return run;
           } catch (IOException e1) {
               // TODO Auto-generated catch block
               e1.printStackTrace();
           } catch (InterruptedException e) {
               // TODO Auto-generated catch block
               e.printStackTrace();
           }

    For some reason I the execution does not fully finish and it stops. It does not even create an output file in my Android storage. Here is the log file from the process stream

    11-07 20:34:21.636: I/FFMPEG(6259): stdError= WARNING: linker: /data/data/za.jamie.androidffmpegcmdline/app_bin/ffmpeg has text relocations. This is wasting memory and is a security risk. Please fix.
    11-07 20:34:21.636: I/FFMPEG(6259): ffmpeg version n2.4.2 Copyright (c) 2000-2014 the FFmpeg developers
    11-07 20:34:21.636: I/FFMPEG(6259):   built on Nov  8 2014 00:21:33 with gcc 4.8 (GCC)
    11-07 20:34:21.636: I/FFMPEG(6259):   configuration: --target-os=linux --cross-prefix=/home/ubuntu/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/ubuntu/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-libass --enable-avcodec --enable-avformat --enable-swresample --enable-swscale --enable-postproc --enable-avfilter --enable-avresample --disable-libfreetype --enable-libfribidi --disable-fontconfig --enable-pthreads --disable-debug --disable-ffserver --enable-version3 --enable-hardcoded-tables --enable-ffplay --enable-ffprobe --enable-gpl --enable-yasm --disable-doc --disable-shared --enable-static --pkg-config=/home/ubuntu/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/ubuntu/ffmpeg-android/build/armeabi-v7a --extra-cflags='-I/home/ubuntu/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' --extra-ldflags='-L/home/ubuntu/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=
    11-07 20:34:21.636: I/FFMPEG(6259):   libavutil      54.  7.100 / 54.  7.100
    11-07 20:34:21.636: I/FFMPEG(6259):   libavcodec     56.  1.100 / 56.  1.100
    11-07 20:34:21.636: I/FFMPEG(6259):   libavformat    56.  4.101 / 56.  4.101
    11-07 20:34:21.636: I/FFMPEG(6259):   libavdevice    56.  0.100 / 56.  0.100
    11-07 20:34:21.636: I/FFMPEG(6259):   libavfilter     5.  1.100 /  5.  1.100
    11-07 20:34:21.636: I/FFMPEG(6259):   libavresample   2.  1.  0 /  2.  1.  0
    11-07 20:34:21.636: I/FFMPEG(6259):   libswscale      3.  0.100 /  3.  0.100
    11-07 20:34:21.636: I/FFMPEG(6259):   libswresample   1.  1.100 /  1.  1.100
    11-07 20:34:21.636: I/FFMPEG(6259):   libpostproc    53.  0.100 / 53.  0.100
    11-07 20:34:21.636: I/FFMPEG(6259): Input #0, image2, from '/storage/emulated/0/image.jpg':
    11-07 20:34:21.636: I/FFMPEG(6259):   Duration: 00:00:00.04, start: 0.000000, bitrate: 35211 kb/s
    11-07 20:34:21.636: I/FFMPEG(6259):     Stream #0:0: Video: mjpeg, yuvj420p(pc, bt470bg), 640x640 [SAR 1:1 DAR 1:1], 25 fps, 25 tbr, 25 tbn, 25 tbc
    11-07 20:34:21.636: I/FFMPEG(6259): Input #1, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/input.mov':
    11-07 20:34:21.636: I/FFMPEG(6259):   Metadata:
    11-07 20:34:21.636: I/FFMPEG(6259):     major_brand     : qt  
    11-07 20:34:21.636: I/FFMPEG(6259):     minor_version   : 537199360
    11-07 20:34:21.636: I/FFMPEG(6259):     compatible_brands: qt  
    11-07 20:34:21.636: I/FFMPEG(6259):     creation_time   : 2014-10-30 23:57:31
    11-07 20:34:21.636: I/FFMPEG(6259):     xmp             : <?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?>
    11-07 20:34:21.636: I/FFMPEG(6259):                     :
    11-07 20:34:21.636: I/FFMPEG(6259):                     :  
    11-07 20:34:21.636: I/FFMPEG(6259):                     :   FFMPEG(6259):                     :     xmlns:xmp="http://ns.adobe.com/xap/1.0/"
    11-07 20:34:21.636: I/FFMPEG(6259):                     :     xmlns:xmpDM="http://ns.adobe.com/xmp/1.0/DynamicMedia/"
    11-07 20:34:21.636: I/FFMPEG(6259):                     :     xmlns:stDim="http://ns.adobe.com/xap/1.0/sType/Dimensions#"
    11-07 20:34:21.636: I/FFMPEG(6259):                     :     xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/"
    11-07 20:34:21.636: I/FFMPEG(6259):                     :     xmlns:stEvt="http://ns.adobe.com/xap/1.0/sType/ResourceEvent#"
    11-07 20:34:21.636: I/FFMPEG(6259):                     :     xmlns:creatorAtom="http://ns.adobe.com/creatorAtom/1.0/"
    11-07 20:34:21.636: I/FFMPEG(6259):                     :     xmlns:dc="http://purl.org/dc/elements/1.1/"
    11-07 20:34:21.636: I/FFMPEG(6259):                     :    xmp:CreateDate="2014-10-30T16:57:31-07:00"
    11-07 20:34:21.636: I/FFMPEG(6259):                     :    xmp:ModifyDate="2014-10-30T15:57:57-07:00"
    11-07 20:34:21.636: I/FFMPEG(6259):                     :    xmp:CreatorTool="Adobe After Effects CC 2014 (Windows)"
    11-07 20:34:21.636: I/FFMPEG(6259):                     :    xmp:MetadataDate="2014-10-30T15:57:57-07:00"
    11-07 20:34:21.636: I/FFMPEG(6259):                     :    xmpDM:startTimeScale="30"
    11-07 20:34:21.636: I/FFMPEG(6259):                     :    xmpDM:startTimeSampleSize="1"
    11-07 20:34:21.636: I/FFMPEG(6259):                     :    xmpDM:videoFrameRate="30.000000"
    11-07 20:34:21.636: I/FFMPEG(6259):                     :    xmpDM:videoFieldOrder="Progressive"
    11-07 20:34:21.636: I/FFMPEG(6259):                     :    xmpDM:videoPixelAspectRatio="1/1"
    11-07 20:34:21.636: I/FFMPEG(6259):                     :    xmpDM:audioSampleRate="48000"
    11-07 20:34:21.636: I/FFMPEG(6259):                     :    xmpDM:audioSampleType="16Int"
    11-07 20:34:21.636: I/FFMPEG(6259):                     :    xmpDM:audioChannelType="Stereo"
    11-07 20:34:21.636: I/FFMPEG(6259):                     :    xmpMM:InstanceID="xmp.iid:b791d2dc-6759-ee45-b5a2-692ecba2c4fd"
    11-07 20:34:21.636: I/FFMPEG(6259):                     :    xmpMM:DocumentID="xmp.did:d3fde073-8716-144a-acbd-7676f27002a0"
    11-07 20:34:21.636: I/FFMPEG(6259):                     :    xmpMM:OriginalDocumentID="xmp.
    11-07 20:34:21.836: E/ViewRootImpl(6259): sendUserActionEvent() mView == null

    Please help :(

  • FFMPEG command on Android Jave Process does fully execute

    8 novembre 2014, par user2491598

    The issue I am having is very strange. I have an FFMPEG executable binary library installed on my Android and I am trying to execute this command

    ffmpeg -loop 1 -i /storage/emulated/0/image.jpg -i /storage/emulated/0/input.mov -filter_complex '[0:v][1:v] overlay' -shortest /storage/emulated/0/output.mp4

    and my JAVA code looks like

    try {
               Runtime.getRuntime().exec("chmod 700 " + mFfmpegPath);
               cmd.add(mFfmpegPath);
               cmd.add("-loop");
               cmd.add("1");
               cmd.add("-i");
               cmd.add("/storage/emulated/0/image.jpg");
               cmd.add("-i");
               cmd.add("/storage/emulated/0/pizza.mov");
               cmd.add("-filter_complex");
               cmd.add("'[0:v][1:v] overlay'");
               cmd.add("-shortest");
               cmd.add("-vcodec");
               cmd.add("-libx264");
               cmd.add("-strict");
               cmd.add("experimental");
               cmd.add("/storage/emulated/0/output22.mp4");

               final ProcessBuilder pb = new ProcessBuilder(cmd);
               pb.redirectErrorStream();
               ProcessRunnable run =  new ProcessRunnable(pb);
               final Process p = pb.start();
               Log.i("FFMPEG","stdError= " + getSTD(p.getErrorStream()));
               p.waitFor();
               return run;
           } catch (IOException e1) {
               // TODO Auto-generated catch block
               e1.printStackTrace();
           } catch (InterruptedException e) {
               // TODO Auto-generated catch block
               e.printStackTrace();
           }

    For some reason I the execution does not fully finish and it stops. It does not even create an output file in my Android storage. Here is the log file from the process stream

    11-07 20:34:21.636: I/FFMPEG(6259): stdError= WARNING: linker: /data/data/za.jamie.androidffmpegcmdline/app_bin/ffmpeg has text relocations. This is wasting memory and is a security risk. Please fix.
    11-07 20:34:21.636: I/FFMPEG(6259): ffmpeg version n2.4.2 Copyright (c) 2000-2014 the FFmpeg developers
    11-07 20:34:21.636: I/FFMPEG(6259):   built on Nov  8 2014 00:21:33 with gcc 4.8 (GCC)
    11-07 20:34:21.636: I/FFMPEG(6259):   configuration: --target-os=linux --cross-prefix=/home/ubuntu/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/ubuntu/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-libass --enable-avcodec --enable-avformat --enable-swresample --enable-swscale --enable-postproc --enable-avfilter --enable-avresample --disable-libfreetype --enable-libfribidi --disable-fontconfig --enable-pthreads --disable-debug --disable-ffserver --enable-version3 --enable-hardcoded-tables --enable-ffplay --enable-ffprobe --enable-gpl --enable-yasm --disable-doc --disable-shared --enable-static --pkg-config=/home/ubuntu/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/ubuntu/ffmpeg-android/build/armeabi-v7a --extra-cflags='-I/home/ubuntu/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' --extra-ldflags='-L/home/ubuntu/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=
    11-07 20:34:21.636: I/FFMPEG(6259):   libavutil      54.  7.100 / 54.  7.100
    11-07 20:34:21.636: I/FFMPEG(6259):   libavcodec     56.  1.100 / 56.  1.100
    11-07 20:34:21.636: I/FFMPEG(6259):   libavformat    56.  4.101 / 56.  4.101
    11-07 20:34:21.636: I/FFMPEG(6259):   libavdevice    56.  0.100 / 56.  0.100
    11-07 20:34:21.636: I/FFMPEG(6259):   libavfilter     5.  1.100 /  5.  1.100
    11-07 20:34:21.636: I/FFMPEG(6259):   libavresample   2.  1.  0 /  2.  1.  0
    11-07 20:34:21.636: I/FFMPEG(6259):   libswscale      3.  0.100 /  3.  0.100
    11-07 20:34:21.636: I/FFMPEG(6259):   libswresample   1.  1.100 /  1.  1.100
    11-07 20:34:21.636: I/FFMPEG(6259):   libpostproc    53.  0.100 / 53.  0.100
    11-07 20:34:21.636: I/FFMPEG(6259): Input #0, image2, from '/storage/emulated/0/image.jpg':
    11-07 20:34:21.636: I/FFMPEG(6259):   Duration: 00:00:00.04, start: 0.000000, bitrate: 35211 kb/s
    11-07 20:34:21.636: I/FFMPEG(6259):     Stream #0:0: Video: mjpeg, yuvj420p(pc, bt470bg), 640x640 [SAR 1:1 DAR 1:1], 25 fps, 25 tbr, 25 tbn, 25 tbc
    11-07 20:34:21.636: I/FFMPEG(6259): Input #1, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/input.mov':
    11-07 20:34:21.636: I/FFMPEG(6259):   Metadata:
    11-07 20:34:21.636: I/FFMPEG(6259):     major_brand     : qt  
    11-07 20:34:21.636: I/FFMPEG(6259):     minor_version   : 537199360
    11-07 20:34:21.636: I/FFMPEG(6259):     compatible_brands: qt  
    11-07 20:34:21.636: I/FFMPEG(6259):     creation_time   : 2014-10-30 23:57:31
    11-07 20:34:21.636: I/FFMPEG(6259):     xmp             : <?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?>
    11-07 20:34:21.636: I/FFMPEG(6259):                     :
    11-07 20:34:21.636: I/FFMPEG(6259):                     :  
    11-07 20:34:21.636: I/FFMPEG(6259):                     :   FFMPEG(6259):                     :     xmlns:xmp="http://ns.adobe.com/xap/1.0/"
    11-07 20:34:21.636: I/FFMPEG(6259):                     :     xmlns:xmpDM="http://ns.adobe.com/xmp/1.0/DynamicMedia/"
    11-07 20:34:21.636: I/FFMPEG(6259):                     :     xmlns:stDim="http://ns.adobe.com/xap/1.0/sType/Dimensions#"
    11-07 20:34:21.636: I/FFMPEG(6259):                     :     xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/"
    11-07 20:34:21.636: I/FFMPEG(6259):                     :     xmlns:stEvt="http://ns.adobe.com/xap/1.0/sType/ResourceEvent#"
    11-07 20:34:21.636: I/FFMPEG(6259):                     :     xmlns:creatorAtom="http://ns.adobe.com/creatorAtom/1.0/"
    11-07 20:34:21.636: I/FFMPEG(6259):                     :     xmlns:dc="http://purl.org/dc/elements/1.1/"
    11-07 20:34:21.636: I/FFMPEG(6259):                     :    xmp:CreateDate="2014-10-30T16:57:31-07:00"
    11-07 20:34:21.636: I/FFMPEG(6259):                     :    xmp:ModifyDate="2014-10-30T15:57:57-07:00"
    11-07 20:34:21.636: I/FFMPEG(6259):                     :    xmp:CreatorTool="Adobe After Effects CC 2014 (Windows)"
    11-07 20:34:21.636: I/FFMPEG(6259):                     :    xmp:MetadataDate="2014-10-30T15:57:57-07:00"
    11-07 20:34:21.636: I/FFMPEG(6259):                     :    xmpDM:startTimeScale="30"
    11-07 20:34:21.636: I/FFMPEG(6259):                     :    xmpDM:startTimeSampleSize="1"
    11-07 20:34:21.636: I/FFMPEG(6259):                     :    xmpDM:videoFrameRate="30.000000"
    11-07 20:34:21.636: I/FFMPEG(6259):                     :    xmpDM:videoFieldOrder="Progressive"
    11-07 20:34:21.636: I/FFMPEG(6259):                     :    xmpDM:videoPixelAspectRatio="1/1"
    11-07 20:34:21.636: I/FFMPEG(6259):                     :    xmpDM:audioSampleRate="48000"
    11-07 20:34:21.636: I/FFMPEG(6259):                     :    xmpDM:audioSampleType="16Int"
    11-07 20:34:21.636: I/FFMPEG(6259):                     :    xmpDM:audioChannelType="Stereo"
    11-07 20:34:21.636: I/FFMPEG(6259):                     :    xmpMM:InstanceID="xmp.iid:b791d2dc-6759-ee45-b5a2-692ecba2c4fd"
    11-07 20:34:21.636: I/FFMPEG(6259):                     :    xmpMM:DocumentID="xmp.did:d3fde073-8716-144a-acbd-7676f27002a0"
    11-07 20:34:21.636: I/FFMPEG(6259):                     :    xmpMM:OriginalDocumentID="xmp.
    11-07 20:34:21.836: E/ViewRootImpl(6259): sendUserActionEvent() mView == null

    Please help :(

  • Unable to install ffmpeg-php on Ubuntu 14.04

    29 septembre 2014, par Balaraman L

    I downloaded FFmpeg (version 2.2.3) and compiled with —disable-yasm and —enable-shared configuration and installed.

    I then downloaded ffmpeg-php extension from here - http://sourceforge.net/projects/ffmpeg-php/files/ffmpeg-php/0.6.0/

    I was able to phpize and configure successfully.

    phpize output :

    Configuring for:
    PHP Api Version:         20121113
    Zend Module Api No:      20121212
    Zend Extension Api No:   220121212

    php —version output :

    PHP 5.5.9-1ubuntu4.4 (cli) (built: Sep  4 2014 06:56:34)
    Copyright (c) 1997-2014 The PHP Group
    Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
       with Zend OPcache v7.0.3, Copyright (c) 1999-2014, by Zend Technologies

    But, when I try to make install my ffmpeg-php extension after successfully configuring, I am getting following error.

    Error log :

    /bin/bash /tmp/ffmpeg-php-0.6.0/libtool --mode=compile cc  -I. -I/tmp/ffmpeg-php-0.6.0 -DPHP_ATOM_INC -I/tmp/ffmpeg-php-0.6.0/include -I/tmp/ffmpeg-php-0.6.0/main -I/tmp/ffmpeg-php-0.6.0 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/usr/local/include/libavcodec/ -I/usr/local/include/libavformat/ -I/usr/local/include/libavutil/ -I/usr/local/include/libswscale/ -I/usr/local/include/libavfilter/ -I/usr/local/include/libavdevice/  -DHAVE_CONFIG_H  -g -O2 -Wall -fno-strict-aliasing   -c /tmp/ffmpeg-php-0.6.0/ffmpeg-php.c -o ffmpeg-php.lo
    libtool: compile:  cc -I. -I/tmp/ffmpeg-php-0.6.0 -DPHP_ATOM_INC -I/tmp/ffmpeg-php-0.6.0/include -I/tmp/ffmpeg-php-0.6.0/main -I/tmp/ffmpeg-php-0.6.0 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/usr/local/include/libavcodec/ -I/usr/local/include/libavformat/ -I/usr/local/include/libavutil/ -I/usr/local/include/libswscale/ -I/usr/local/include/libavfilter/ -I/usr/local/include/libavdevice/ -DHAVE_CONFIG_H -g -O2 -Wall -fno-strict-aliasing -c /tmp/ffmpeg-php-0.6.0/ffmpeg-php.c  -fPIC -DPIC -o .libs/ffmpeg-php.o
    In file included from /usr/include/x86_64-linux-gnu/sys/stat.h:105:0,
                    from /usr/include/php5/main/php_streams.h:28,
                    from /usr/include/php5/main/php.h:396,
                    from /tmp/ffmpeg-php-0.6.0/ffmpeg-php.c:40:
    /usr/include/x86_64-linux-gnu/bits/stat.h:91:21: error: field 'st_atim' has incomplete type
        struct timespec st_atim;  /* Time of last access.  */
                        ^
    /usr/include/x86_64-linux-gnu/bits/stat.h:92:21: error: field 'st_mtim' has incomplete type
        struct timespec st_mtim;  /* Time of last modification.  */
                        ^
    /usr/include/x86_64-linux-gnu/bits/stat.h:93:21: error: field 'st_ctim' has incomplete type
        struct timespec st_ctim;  /* Time of last status change.  */
                        ^
    /usr/include/x86_64-linux-gnu/bits/stat.h:152:21: error: field 'st_atim' has incomplete type
        struct timespec st_atim;  /* Time of last access.  */
                        ^
    /usr/include/x86_64-linux-gnu/bits/stat.h:153:21: error: field 'st_mtim' has incomplete type
        struct timespec st_mtim;  /* Time of last modification.  */
                        ^
    /usr/include/x86_64-linux-gnu/bits/stat.h:154:21: error: field 'st_ctim' has incomplete type
        struct timespec st_ctim;  /* Time of last status change.  */
                        ^
    In file included from /usr/include/php5/main/php_streams.h:28:0,
                    from /usr/include/php5/main/php.h:396,
                    from /tmp/ffmpeg-php-0.6.0/ffmpeg-php.c:40:
    /usr/include/x86_64-linux-gnu/sys/stat.h:365:31: error: array type has incomplete element type
            const struct timespec __times[2],
                                  ^
    /usr/include/x86_64-linux-gnu/sys/stat.h:372:54: error: array type has incomplete element type
    extern int futimens (int __fd, const struct timespec __times[2]) __THROW;
                                                         ^
    In file included from /usr/include/php5/main/php.h:402:0,
                    from /tmp/ffmpeg-php-0.6.0/ffmpeg-php.c:40:
    /usr/include/php5/TSRM/tsrm_virtual_cwd.h:218:2: error: unknown type name 'time_t'
     time_t                         expires;
     ^
    /usr/include/php5/TSRM/tsrm_virtual_cwd.h:246:86: error: unknown type name 'time_t'
    CWD_API realpath_cache_bucket* realpath_cache_lookup(const char *path, int path_len, time_t t TSRMLS_DC);
                                                                                         ^
    /tmp/ffmpeg-php-0.6.0/ffmpeg-php.c: In function 'zm_startup_ffmpeg':
    /tmp/ffmpeg-php-0.6.0/ffmpeg-php.c:94:5: warning: implicit declaration of function 'avcodec_init' [-Wimplicit-function-declaration]
        avcodec_init();
        ^
    make: *** [ffmpeg-php.lo] Error 1

    How can I solve this ? Or is there any other php library which can be used to extract all metadata of a video like bit rate, frame rate etc ?