Recherche avancée

Médias (1)

Mot : - Tags -/publicité

Autres articles (82)

  • Diogene : création de masques spécifiques de formulaires d’édition de contenus

    26 octobre 2010, par

    Diogene est un des plugins ? SPIP activé par défaut (extension) lors de l’initialisation de MediaSPIP.
    A quoi sert ce plugin
    Création de masques de formulaires
    Le plugin Diogène permet de créer des masques de formulaires spécifiques par secteur sur les trois objets spécifiques SPIP que sont : les articles ; les rubriques ; les sites
    Il permet ainsi de définir en fonction d’un secteur particulier, un masque de formulaire par objet, ajoutant ou enlevant ainsi des champs afin de rendre le formulaire (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, 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 (...)

  • Utilisation et configuration du script

    19 janvier 2011, par

    Informations spécifiques à la distribution Debian
    Si vous utilisez cette distribution, vous devrez activer les dépôts "debian-multimedia" comme expliqué ici :
    Depuis la version 0.3.1 du script, le dépôt peut être automatiquement activé à la suite d’une question.
    Récupération du script
    Le script d’installation peut être récupéré de deux manières différentes.
    Via svn en utilisant la commande pour récupérer le code source à jour :
    svn co (...)

Sur d’autres sites (9396)

  • Laravel FFMpeg encoding failed [on hold]

    18 février 2019, par Diego Fernández

    I’m using Laravel FFMpeg to encode videos and create thumbnails, but none of them are working. Whenever I try to create a thumbnail or encode a video I get following error :

    ffmpeg failed to execute command '/usr/local/bin/ffmpeg' '-y' '-i' '/home/diego/dynamic4/bg/storage/app/public/activity/4942/cLCbKyLiGqbOb0M5JDtvNXUdzSxFGj9ts6sDZb4D.mp4' '-threads' '12' '-vcodec' 'libx264' '-acodec' 'libfaac' '-b:v' '1000k' '-refs' '6' '-coder' '1' '-sc_threshold' '40' '-flags' '+loop' '-me_range' '16' '-subq' '7' '-i_qfactor' '0.71' '-qcomp' '0.6' '-qdiff' '4' '-trellis' '1' '-b:a' '128k' '-pass' '1' '-passlogfile' '/tmp/ffmpeg-passes5c6378517cace4u1cg/pass-5c6378517cb33' '/home/diego/dynamic4/bg/storage/app/public/1234.mp4'

    If I check that error on console I get this :

    ffmpeg failed to execute command '/usr/local/bin/ffmpeg' '-y' '-i' '/home/diego/dynamic4/bg/storage/app/public/activity/4942/cLCbKyLiGqbOb0M5JDtvNXUdzSxFGj9ts6sDZb4D.mp4' '-threads' '12' '-vcodec' 'libx264' '-acodec' 'libfaac' '-b:v' '1000k' '-refs' '6' '-coder' '1' '-sc_threshold' '40' '-flags' '+loop' '-me_range' '16' '-subq' '7' '-i_qfactor' '0.71' '-qcomp' '0.6' '-qdiff' '4' '-trellis' '1' '-b:a' '128k' '-pass' '1' '-passlogfile' '/tmp/ffmpeg-passes5c6377a214b41rk6ao/pass-5c6377a214b7b' '/tmp/laravel-ffmpegObuaI1.mp4'
    ffmpeg version 4.1-1~18.04.york1 Copyright (c) 2000-2018 the FFmpeg developers
     built with gcc 7 (Ubuntu 7.3.0-27ubuntu1~18.04)
     configuration: --prefix=/usr --extra-version='1~18.04.york1' --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-nonfree --enable-libfdk-aac --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
     libavutil      56. 22.100 / 56. 22.100
     libavcodec     58. 35.100 / 58. 35.100
     libavformat    58. 20.100 / 58. 20.100
     libavdevice    58.  5.100 / 58.  5.100
     libavfilter     7. 40.101 /  7. 40.101
     libavresample   4.  0.  0 /  4.  0.  0
     libswscale      5.  3.100 /  5.  3.100
     libswresample   3.  3.100 /  3.  3.100
     libpostproc    55.  3.100 / 55.  3.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/diego/dynamic4/bg/storage/app/public/activity/4942/cLCbKyLiGqbOb0M5JDtvNXUdzSxFGj9ts6sDZb4D.mp4':
     Metadata:
       major_brand     : mp42
       minor_version   : 1
       compatible_brands: mp41mp42isom
       creation_time   : 2018-10-22T15:38:46.000000Z
     Duration: 00:00:58.36, start: 0.000000, bitrate: 1400 kb/s
       Stream #0:0(und): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p(tv, bt709), 848x480, 1334 kb/s, 30.01 fps, 30 tbr, 600 tbn, 1200 tbc (default)
       Metadata:
         creation_time   : 2018-10-22T15:38:46.000000Z
         handler_name    : Core Media Video
       Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 62 kb/s (default)
       Metadata:
         creation_time   : 2018-10-22T15:38:46.000000Z
         handler_name    : Core Media Audio
    [NULL @ 0x55fecc7a0280] Unable to find a suitable output format for 'failed'
    failed: Invalid argument

    I have checked permissions and everything looks ok. I have also checked the video I’m trying to encode exists. It does, and apparently it get properly loaded. It seems to fail when trying to save encoded file.
    I spent one day doing research, I tried with different audio & video encoding, different routes and filesystems, but I couldn’t make it work.
    I have also tried to check that passlogfile (/tmp/ffmpeg-passes5c6377a214b41rk6ao/pass-5c6377a214b7b) but as it gets stored under /tmp I can’t gain access to it.

    This is the code I’m using to encode videos in my controller :

    $folder = 'activity/4942';
    $filename = 'cLCbKyLiGqbOb0M5JDtvNXUdzSxFGj9ts6sDZb4D.mp4';
    $new_filename = 'storage/activity/4942/1234.mp4';
    $format = new FFMpeg\Format\Video\X264();
    $video = FFMpeg::fromDisk('public')->open($folder . '/' . $filename);
    $video->export()->toDisk('public')->inFormat($format)->save($new_filename);

    I have debugged that piece of code and video seems to get loaded properly. It crashes when tries to save the final video, in last lane of code.

    This is the configuration in filesystems.php :

       'disks' => [

           'local' => [
               'driver' => 'local',
               'root' => storage_path('app'),
           ],

           'public' => [
               'driver' => 'local',
               'root' => storage_path('app/public'),
               'visibility' => 'public',
           ],

       ],

    Any help much appreciated, thanks !

  • avcodec/nvenc : add high bit depth encoding for HEVC

    19 avril 2024, par Diego Felix de Souza
    avcodec/nvenc : add high bit depth encoding for HEVC
    

    Adding 10-bit encoding support for HEVC if the input is 8-bit. In
    case of 8-bit input content, NVENC performs an internal CUDA 8 to
    10-bit conversion of the input prior to encoding. Currently, only
    AV1 supports encoding 8-bit content as 10-bit.

    Signed-off-by : Diego Felix de Souza <ddesouza@nvidia.com>
    Signed-off-by : Timo Rothenpieler <timo@rothenpieler.org>

    • [DH] libavcodec/nvenc.c
    • [DH] libavcodec/nvenc_hevc.c
  • w32pthreads : always use Vista+ API, drop XP support

    21 décembre 2017, par wm4
    w32pthreads : always use Vista+ API, drop XP support
    

    This removes the XP compatibility code, and switches entirely to SRW
    locks, which are available starting at Windows Vista.

    This removes CRITICAL_SECTION use, which allows us to add
    PTHREAD_MUTEX_INITIALIZER, which will be useful later.

    Windows XP is hereby not a supported build target anymore.

    Signed-off-by : Diego Biurrun <diego@biurrun.de>

    • [DBH] Changelog
    • [DBH] compat/w32pthreads.h
    • [DBH] configure
    • [DBH] libavcodec/pthread_frame.c
    • [DBH] libavcodec/pthread_slice.c
    • [DBH] libavfilter/pthread.c