Recherche avancée

Médias (91)

Autres articles (85)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • 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 (...)

Sur d’autres sites (10496)

  • running ffmpeg via nodejs error

    4 février 2017, par Greyhammer

    I’m trying to run ffmpeg from node, and I’m getting an error. Here is the code

    var exec = require('child_process').exec;

    var cmd = '/home/ubuntu/bin/ffmpeg -i /home/ubuntu/input.flv -s 640x480 -y -codec:a aac -b:a 44.1k -r 15 -b:v 1000k -codec:v h264 -f mp4 /home/ubuntu/output.mp4';

    exec(cmd, function(err, stdout, stderr) {
       if (err) console.log('err:\n' + err);
       if (stderr) console.log('stderr:\n' + stderr);
       console.log('stdout:\n' + stdout);
    });

    When I run this node script, I get the following errors :

    err:
    Error: Command failed: /home/ubuntu/bin/ffmpeg -i /home/ubuntu/input.flv -s 640x480 -y -codec:a aac -b:a 44.1k -r 15 -b:v 1000k -codec:v h264 -f mp4 /home/ubuntu/output.mp4
    ffmpeg version N-83323-g126e965 Copyright (c) 2000-2017 the FFmpeg developers
     built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
     configuration: --prefix=/home/ubuntu/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/home/ubuntu/ffmpeg_build/include --extra-ldflags=-L/home/ubuntu/ffmpeg_build/lib --bindir=/home/ubuntu/bin --enable-gpl --enable-libopus --enable-libvpx --enable-libvorbis --enable-libmp3lame --enable-libfdk-aac --enable-libx264 --enable-nonfree
     libavutil      55. 45.100 / 55. 45.100
     libavcodec     57. 75.100 / 57. 75.100
     libavformat    57. 66.101 / 57. 66.101
     libavdevice    57.  2.100 / 57.  2.100
     libavfilter     6. 72.100 /  6. 72.100
     libswscale      4.  3.101 /  4.  3.101
     libswresample   2.  4.100 /  2.  4.100
     libpostproc    54.  2.100 / 54.  2.100
    /home/ubuntu/input.flv: Invalid data found when processing input

    stderr:
    ffmpeg version N-83323-g126e965 Copyright (c) 2000-2017 the FFmpeg developers
     built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
     configuration: --prefix=/home/ubuntu/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/home/ubuntu/ffmpeg_build/include --extra-ldflags=-L/home/ubuntu/ffmpeg_build/lib --bindir=/home/ubuntu/bin --enable-gpl --enable-libopus --enable-libvpx --enable-libvorbis --enable-libmp3lame --enable-libfdk-aac --enable-libx264 --enable-nonfree
     libavutil      55. 45.100 / 55. 45.100
     libavcodec     57. 75.100 / 57. 75.100
     libavformat    57. 66.101 / 57. 66.101
     libavdevice    57.  2.100 / 57.  2.100
     libavfilter     6. 72.100 /  6. 72.100
     libswscale      4.  3.101 /  4.  3.101
     libswresample   2.  4.100 /  2.  4.100
     libpostproc    54.  2.100 / 54.  2.100
    /home/ubuntu/input.flv: Invalid data found when processing input

    stdout:

    But when I run

    /home/ubuntu/bin/ffmpeg -i /home/ubuntu/input.flv -s 640x480 -y -codec:a aac -b:a 44.1k -r 15 -b:v 1000k -codec:v h264 -f mp4 /home/ubuntu/output.mp4

    straight in the terminal, It works flawlessly. I think it has to do with how node runs the command but all my google searching has returned zero useful results. Any help is greatly appreciated.

  • ffmpeg won't recognize x265 options (solved)

    31 janvier 2017, par cdpp

    So basically trying to use ffmpeg’s built-in x265 library to process .VOB files through h.265codec.

    What I understood from the ffmpeg documentation was that :

    -c:v libx265 tells ffmpeg to use the h.265 codec for video streams

    -x265-params passes options to x265 encoder instead of ffmpeg

    But whenever try to run the command, ffmpeg doesn’t seem to recognize/pass the options to x265.

    It gives the error

    Unrecognized option '-y4m'.<br />
    Error splitting the argument list: Option not found

    What gives ?

    Here’s the command (edited spacing) :

    C:\ffmpeg (20170123-e371f03-win64-static)\bin>
      ffmpeg -i concat:'input1.VOB'\'input.VOB'
      -map 0:v -map 0:a -r 24000/1001 -f yuv4mpegpipe
      -c:v libx265 -x265-params
      --y4m --fps 24000/1001 -p veryslow --open-gop --bframes 16
      --b-p yramid --bitrate 2500 --rect --amp --aq-mode 3 --no-sao --qcomp 0.75
      --no-strong -intra-smoothing --psy-rd 1.6 --psy-rdoq 5.0 --rdoq-level 1
      --tu-inter-depth 4 --tu-intra-depth 4 --ctu 32 --max-tu-size 16 --pass 1
      --slow-firstpass --stats v. stats --sar 1 --range full 'E:\output.hevc'




    ffmpeg version N-83195-ge371f03 Copyright (c) 2000-2017 the FFmpeg developers
     built with gcc 5.4.0 (GCC)
     configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --e
    nable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --
    enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv
    --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-li
    bfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug -
    -enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enabl
    e-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-li
    bsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolam
    e --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx
    --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable
    -libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --ena
    ble-zlib
     libavutil      55. 44.100 / 55. 44.100
     libavcodec     57. 75.100 / 57. 75.100
     libavformat    57. 63.100 / 57. 63.100
     libavdevice    57.  2.100 / 57.  2.100
     libavfilter     6. 69.100 /  6. 69.100
     libswscale      4.  3.101 /  4.  3.101
     libswresample   2.  4.100 /  2.  4.100
     libpostproc    54.  2.100 / 54.  2.100
    Unrecognized option '-y4m'.
    Error splitting the argument list: Option not found

    Thanks in advance !

  • ffmpeg won't recognize x265 options

    1er février 2017, par cdpp

    I am trying to use ffmpeg’s built-in x265 library to process .VOB files through h.265codec.

    What I understood from the ffmpeg documentation was that :

    -c:v libx265 tells ffmpeg to use the h.265 codec for video streams

    -x265-params passes options to x265 encoder instead of ffmpeg

    But whenever try to run the command, ffmpeg doesn’t seem to recognize/pass the options to x265.

    It gives the error

    Unrecognized option '-y4m'.<br />
    Error splitting the argument list: Option not found

    Why is this ?

    Here’s the command (edited spacing) :

    C:\ffmpeg (20170123-e371f03-win64-static)\bin>
      ffmpeg -i concat:'input1.VOB'\'input.VOB'
      -map 0:v -map 0:a -r 24000/1001 -f yuv4mpegpipe
      -c:v libx265 -x265-params
      --y4m --fps 24000/1001 -p veryslow --open-gop --bframes 16
      --b-p yramid --bitrate 2500 --rect --amp --aq-mode 3 --no-sao --qcomp 0.75
      --no-strong -intra-smoothing --psy-rd 1.6 --psy-rdoq 5.0 --rdoq-level 1
      --tu-inter-depth 4 --tu-intra-depth 4 --ctu 32 --max-tu-size 16 --pass 1
      --slow-firstpass --stats v. stats --sar 1 --range full 'E:\output.hevc'




    ffmpeg version N-83195-ge371f03 Copyright (c) 2000-2017 the FFmpeg developers
     built with gcc 5.4.0 (GCC)
     configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --e
    nable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --
    enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv
    --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-li
    bfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug -
    -enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enabl
    e-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-li
    bsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolam
    e --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx
    --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable
    -libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --ena
    ble-zlib
     libavutil      55. 44.100 / 55. 44.100
     libavcodec     57. 75.100 / 57. 75.100
     libavformat    57. 63.100 / 57. 63.100
     libavdevice    57.  2.100 / 57.  2.100
     libavfilter     6. 69.100 /  6. 69.100
     libswscale      4.  3.101 /  4.  3.101
     libswresample   2.  4.100 /  2.  4.100
     libpostproc    54.  2.100 / 54.  2.100
    Unrecognized option '-y4m'.
    Error splitting the argument list: Option not found