Recherche avancée

Médias (16)

Mot : - Tags -/mp3

Autres articles (54)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

Sur d’autres sites (2247)

  • Libvpx unknown encoder with php exec

    5 juin 2016, par Justin Tullock

    I have centos7 with ffmpeg compiled with libvpx. I can run

    ffmpeg -i gif.gif -c:v libvpx -crf 12 -b:v 500K webm.webm

    which works perfectly but when I try the same command with php exec() it returns this :

    {array(16) { [0]=> string(66) "ffmpeg version 2.6.8 Copyright (c) 2000-2016
    the FFmpeg developers" [1]=> string(55) " built with gcc 4.8.5 (GCC)
    20150623 (Red Hat 4.8.5-4)" [2]=> string(1053) " configuration: --
    refix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --
    incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --
    arch=x86_64 --optflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -
    fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-
    switches -m64 -mtune=generic' --enable-bzlib --disable-crystalhd --enable-
    gnutls --enable-ladspa --enable-libass --enable-libcdio --enable-libdc1394 -
    -enable-libfaac --enable-nonfree --enable-libfdk-aac --enable-nonfree --
    disable-indev=jack --enable-libfreetype --enable-libgsm --enable-libmp3lame
    --enable-openal --enable-libopenjpeg --enable-libopus --enable-libpulse --
    enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora
    --enable-libvorbis --enable-libv4l2 --enable-libx264 --enable-libx265 --
    enable-libxvid --enable-x11grab --enable-avfilter --enable-avresample --
    enable-postproc --enable-pthreads --disable-static --enable-shared --enable-
    gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-
    runtime-cpudetect" [3]=> string(40) " libavutil 54. 20.100 / 54. 20.100"
    [4]=> string(40) " libavcodec 56. 26.100 / 56. 26.100" [5]=> string(40) "
    libavformat 56. 25.101 / 56. 25.101" [6]=> string(40) " libavdevice 56.
    4.100 / 56. 4.100" [7]=> string(40) " libavfilter 5. 11.102 / 5. 11.102"
    [8]=> string(40) " libavresample 2. 1. 0 / 2. 1. 0" [9]=> string(40) "
    libswscale 3. 1.101 / 3. 1.101" [10]=> string(40) " libswresample 1. 1.100 /
    1. 1.100" [11]=> string(40) " libpostproc 53. 3.100 / 53. 3.100" [12]=>
    string(30) "Input #0, gif, from 'gif.gif':" [13]=> string(29) " Duration:
    N/A, bitrate: N/A" [14]=> string(76) " Stream #0:0: Video: gif, bgra,
    563x307, 25 fps, 25 tbr, 100 tbn, 100 tbc" [15]=> string(24) "Unknown
    encoder 'libvpx'" } int(1)

    ffmpeg -v returns this

    ffmpeg version N-80161-g7e0623b Copyright (c) 2000-2016 the FFmpeg developers
     built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-4)
     configuration: --enable-libvpx
     libavutil      55. 24.100 / 55. 24.100
     libavcodec     57. 44.100 / 57. 44.100
     libavformat    57. 37.101 / 57. 37.101
     libavdevice    57.  0.101 / 57.  0.101
     libavfilter     6. 46.100 /  6. 46.100
     libswscale      4.  1.100 /  4.  1.100
     libswresample   2.  0.101 /  2.  0.101

    What am I missing ?

  • x264 Building error - Android

    21 avril 2016, par Jay Parikh

    I am using this repository to build ffmpeg static library which includes x264,libpng and others, please
    visit this link https://github.com/writingminds/ffmpeg-android

    i am using windows 7 as host and ubuntu 15.10 (_64) as guest os using VMware Workstation 12
    and
    Android-ndk-r11b-linux-x86_64

    i do have Prebuilt libraries , but now i want it without PIE support

    i am getting this error in config.log in x264 folder while building
    through

    ./android_build.sh

    here is the log :

    x264 configure script
    Command line options: "--cross-prefix=/mnt/hgfs/uShare/ffmpeg-android/toolchain-android/bin/arm-linux
    /mnt/hgfs/uShare/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi-gcc

    checking whether /mnt/hgfs/uShare/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi-gcc

    --sysroot=/mnt/hgfs/uShare/ffmpeg-android/toolchain-android/sysroot works... no

    Failed commandline was:

    --sysroot=/mnt/hgfs/uShare/ffmpeg-android/toolchain-android/sysroot conftest.c  -Wall -I. -I$(SRCPATH) --sysroot=/mnt/hgfs/uShare/ffmpeg-android/toolchain-android/sysroot    --sysroot=/mnt/hgfs/uShare/ffmpeg-android/toolchain-android/sysroot -lm -o conftest

    /mnt/hgfs/uShare/ffmpeg-android/toolchain-android/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld: fatal error:

    conftest: Input/output error

    Failed program was:

    int main (void) {  return 0; }

    DIED: No working C compiler found.

    ushare is my shared folder between windows and ubuntu

    I have spend almost a week ,trying to solve every error i get.
    these errors are like never ending , 1 solution give 10 more errors
    i have researched a LOT for this library

    thanks a lot in advance.

    Also i thought that x264 library might have poroblem ,so i tried to disable it
    but next library "libpng" also had Same log Error

    i think problem is in Input/output error (obviously)
    this line in log kind of confuses me (those /../../)

    /mnt/hgfs/uShare/ffmpeg-android/toolchain-android/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld : fatal error :

    its like two folder overlaping address...

    thanks a lot in advance.
    please don’t go harsh on me ,its my first time,all thanks to this thing...

  • How to setup ffmpeg for CentOS release 6.5 server

    23 juillet 2015, par hitesh

    I need to create a screen shot from video,

    I have followed this tutorial to do the intial setup in window 8, php 5.3

    1) I downloaded the ffmpeg from here -[
    http://ffmpeg.zeranoe.com/builds/ ] for 64 bit operating system.

    2) I followed the https://www.youtube.com/watch?v=gU49GiWGGAI , video and did all configuration successfully and phpinfo() shows that ffmpeg has been installed.

    3) Then I tried this to find out whether it is working or not,

    It worked successfully

    4) Next I followed this video tutorial here and thumbnails were created successfully.

    below is my code

    /**
    * FFMPEG-PHP Test Script
    *
    * Special thanks to http://www.sajithmr.me/ffmpeg-sample-code for this code example!
    * See the tutorial at http://myownhomeserver.com on how to install ffmpeg-php.
    */
    error_reporting(1);
    error_reporting(E_ALL ^ E_NOTICE);
    // Check if the ffmpeg-php extension is loaded first
    extension_loaded('ffmpeg') or die('Error in loading ffmpeg');

    // Determine the full path for our video
    $vid = realpath('./videos/myvideo.mp4');
    $videosize = filesize($vid);
    $remoteVideo = 'http://video-js.zencoder.com/oceans-clip.mp4';

    //ffmpeg

    $ffmpeg = dirname(__FILE__) . "\\ffmpeg\\bin\\ffmpeg";
    $imageFile = "1.png";
    $image2 = "2.png";
    $size = "120x90";
    $getfromsecond = 7;
    $cmd = "$ffmpeg -i $vid -an -ss $getfromsecond -s $size $imageFile";
    $cmd2 = "$ffmpeg -i $remoteVideo -an -ss $getfromsecond -s $size $image2";
    if(!shell_exec($cmd)){
       echo "Thumbnail created";
    }else{
       echo "Error Creating thumbnail";
    }

    if(!shell_exec($cmd2)){
       echo "Thumbnail for remote url was created";
    }else{
       echo "Error Creating thumbnail for remote url ";
    }

     OUTPUT
       Thumbnail created
       Thumbnail for remote url was created

    Now above code works as expected in my local, in window machine , I need to do it in my server environment(Linux server) with php 5.5. How do I do the configuration for ffmpeg in CentOS release 6.5 server with php 5.5.

    I have followed this tutorial to install it in server

    1.http://supportlobby.com/blog/ffmpeg-installation-on-centos-6-5/

    2.http://tecadmin.net/install-ffmpeg-on-linux/

    OUTPUT IN CONSOLE

    [root@BRANDWEB01D ~]# ffmpeg -version
    ffmpeg version 2.2.1
    built on Apr 13 2014 13:00:18 with gcc 4.4.6 (GCC) 20120305 (Red Hat 4.4.6-4)
    configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --enable-runtime-cpudetect --enable-gpl --enable-version3 --enable-postproc --enable-avfilter --enable-pthreads --enable-x11grab --enable-vdpau --disable-avisynth --enable-frei0r --enable-libopencv --enable-libdc1394 --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --disable-stripping
    libavutil      52. 66.100 / 52. 66.100
    libavcodec     55. 52.102 / 55. 52.102
    libavformat    55. 33.100 / 55. 33.100
    libavdevice    55. 10.100 / 55. 10.100
    libavfilter     4.  2.100 /  4.  2.100
    libswscale      2.  5.102 /  2.  5.102
    libswresample   0. 18.100 /  0. 18.100
    libpostproc    52.  3.100 / 52.  3.100
    [root@BRANDWEB01D ~]# which ffmpeg
    /usr/bin/ffmpeg
    [root@BRANDWEB01D ~]# ffmpeg -formats
    ffmpeg version 2.2.1 Copyright (coffee) 2000-2014 the FFmpeg developers
     built on Apr 13 2014 13:00:18 with gcc 4.4.6 (GCC) 20120305 (Red Hat 4.4.6-4)
     configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --enable-runtime-cpudetect --enable-gpl --enable-version3 --enable-postproc --enable-avfilter --enable-pthreads --enable-x11grab --enable-vdpau --disable-avisynth --enable-frei0r --enable-libopencv --enable-libdc1394 --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --disable-stripping
     libavutil      52. 66.100 / 52. 66.100
     libavcodec     55. 52.102 / 55. 52.102
     libavformat    55. 33.100 / 55. 33.100
     libavdevice    55. 10.100 / 55. 10.100
     libavfilter     4.  2.100 /  4.  2.100
     libswscale      2.  5.102 /  2.  5.102
     libswresample   0. 18.100 /  0. 18.100
     libpostproc    52.  3.100 / 52.  3.100
    File formats:
    D. = Demuxing supported
    .E = Muxing supported

    But in server when I open my php file I am getting this error Error in loading ffmpeg

    Also I have checked phpinfo(), It shows ffmpeg installed in my local but not in server.

    What else I need to do to configure ffmpeg in Cent Os 6.5 php 5.5.