Recherche avancée

Médias (91)

Autres articles (28)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

  • Que fait exactement ce script ?

    18 janvier 2011, par

    Ce script est écrit en bash. Il est donc facilement utilisable sur n’importe quel serveur.
    Il n’est compatible qu’avec une liste de distributions précises (voir Liste des distributions compatibles).
    Installation de dépendances de MediaSPIP
    Son rôle principal est d’installer l’ensemble des dépendances logicielles nécessaires coté serveur à savoir :
    Les outils de base pour pouvoir installer le reste des dépendances Les outils de développements : build-essential (via APT depuis les dépôts officiels) ; (...)

  • Encodage et transformation en formats lisibles sur Internet

    10 avril 2011

    MediaSPIP transforme et ré-encode les documents mis en ligne afin de les rendre lisibles sur Internet et automatiquement utilisables sans intervention du créateur de contenu.
    Les vidéos sont automatiquement encodées dans les formats supportés par HTML5 : MP4, Ogv et WebM. La version "MP4" est également utilisée pour le lecteur flash de secours nécessaire aux anciens navigateurs.
    Les documents audios sont également ré-encodés dans les deux formats utilisables par HTML5 :MP3 et Ogg. La version "MP3" (...)

Sur d’autres sites (3723)

  • Android FFmpeg reports "file protocol not found"

    27 avril 2017, par Abdul Mateen

    I am trying to convert sequence images to video using ffmpeg command in android.
    I have build ffmpeg for android and put ffmpeg binary file in /data/local folder.
    I am running ffmpeg command using Runtime.getruntime.execute("mycommand") in Android.

    Stucture of mycommand is like this

    "/data/local/ffmpeg -r 40 qscale 2 -i /mnt/sdcard/images/img%d.jpg /mnt/sdcard/images/finalvideo.mp4"

    mycommand contains the path of a folder where I placed all my sequence images. Running this command gives me error "protocol not found".

    Also I read that file protocol is default in ffmpeg documentation.

    How can I run such commands ?

    The Error I am getting after running simple command like ffmpeg -i /mnt/sdcard/vid.mp4

    ffmpeg version 0.11.1.git Copyright (c) 2000-2012 the FFmpeg developers
    built on Sep 26 2012 11:58:35 with gcc 4.4.3 (GCC)
    configuration: --target-os=linux --prefix=/home/esteves/android-ffmpeg --enable-cross-compile --enable-runtime-cpudetect --disable-asm --arch=arm --cc=/home/esteves/android-ndk/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc --cross-prefix=/home/esteves/android-ndk/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi- --disable-stripping --nm=/home/esteves/android-ndk/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-nm --sysroot=/home/esteves/android-ndk/platforms/android-8/arch-arm --enable-nonfree --enable-version3 --disable-everything --enable-gpl --disable-doc --enable-avresample --enable-demuxer=amr --enable-demuxer=aac --enable-demuxer=rawvideo --enable-demuxer=rtsp --enable-muxer=rtsp --enable-muxer=flv --enable-muxer=mpegts --enable-muxer=mp4 --enable-demuxer=rtp --enable-demuxer=rtp --disable-ffplay --disable-ffserver --enable-ffmpeg --disable-ffprobe --enable-libx264 --enable-encoder=libx264   libavutil      51. 72.100 / 51. 72.100
    libavcodec     54. 55.100 / 54. 55.100
    libavformat    54. 25.105 / 54. 25.105
    libswscale      2.  1.101 /  2.  1.101
    error of main   libswresample   0. 15.100 /  0. 15.100
    error of main   libpostproc    52.  0.100 / 52.  0.100
    /mnt/sdcard/vid.mp4: Protocol not found
  • Bambuser ffmpeg - "arm-linux-androideabi-gcc is unable to create an executable file."

    14 avril 2014, par Chaitanya Chandurkar

    I know this may be possible duplicate of some questions. but answers for those threads are not helping me.

    I am trying to compile ffmpeg library for android using Bambuser's ffmpeg.
    I downloaded Archive for client versions 1.3.7 to 1.6.0. from bambuser.

    I followed instruction given in REAME.
    While running ./build.sh i came across following error

    arm-linux-androideabi-gcc is unable to create an executable file.
    C compiler test failed.

    If you think configure made a mistake, make sure you are using the latest
    version from SVN.  If the latest version fails, report the problem to the
    ffmpeg-user@mplayerhq.hu mailing list or IRC #ffmpeg on irc.freenode.net.
    Include the log file "config.log" produced by configure as this will help
    solving the problem.

    Here are last few lines of config.log of ffmpeg

    mktemp is /bin/mktemp
    check_ld
    check_cc
    BEGIN /tmp/ffconf.qflVj27Q.c
       1   int main(void){ return 0; }
    END /tmp/ffconf.qflVj27Q.c
    arm-linux-androideabi-gcc --sysroot=/home/chaitanya/android/android-ndk-r5b/platforms/android-8/arch-arm -c -o /tmp/ffconf.gc6um0Ki.o /tmp/ffconf.qflVj27Q.c
    arm-linux-androideabi-gcc: error trying to exec 'cc1': execvp: No such file or directory
    C compiler test failed.

    in tmp i do not find any relative folder or file as per config.log says "ffconf.qflVj27Q.c".

    I am doing this on
    1. Ubuntu 11.10
    2. OpenJDK 6
    3. android-ndk-r5b

    NOte :
    I only have API-10 Installed in eclipse. (if it matters :D)

    What could be the solution for this ?

  • Echoprint-codegen perpetual "error" :"could not decode" from shell_exec

    16 janvier 2016, par sid405

    I am trying to run codegen from popen (shell_exec creates the same scenario) in php in my Mac lion MAMP box as follows :

    $handle = popen('echoprint-codegen "/Applications/MAMP/htdocs/projectx/codegen/2.mp3" 10 30', 'r')

    echo "'$handle'; " . gettype($handle) . "\n";
    $read = fread($handle, 2096);
    echo $read;
    pclose($handle);

    But i am perpetually met with

    "error":"could not decode", "tag":0, "metadata":{"filename":"/Applications/MAMP/htdocs/projectx/codegen/2.mp3"}}

    No matter how i format the cmd inside the handle, with various variations of single and dbl quotes i still get the same thing.

    codegen is in the path and so is ffmpeg.

    Here’s the kicker. Codegen works fine from command line and so does the php script with the popen() or the shell_exec().

    From browser it won’t work.

    Any ideas ?

    Thank you in advance