Recherche avancée

Médias (0)

Mot : - Tags -/auteurs

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

Autres articles (76)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

  • Menus personnalisés

    14 novembre 2010, par

    MediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
    Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
    Menus créés à l’initialisation du site
    Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)

Sur d’autres sites (13454)

  • why ffmpeg muxingoverhead:unknown ?

    17 mai 2021, par 전재현

    i put on mac terminal ffmpeg -video_size 1280x1344 -r 25 -pix_fmt yuv420p -i /usr/local/bin/yuvdata.yuv image%d.png

    


    the result is always video:121123kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead : unknown

    


    how to solve this problem ??
Help me please

    


  • Php-ffmpeg “Unknown encoder libfaac” on Windows

    6 mars 2016, par Dev

    I am using laravel 4.2.

    I am working on a project in that user can upload a video and I need to transcode it that it can be played over all kind of devices.

    For transcoding I have added php-ffmpeg package from git hub in my project. According to the instructions I have downloaded ffmpeg package from http://ffmpeg.zeranoe.com/builds and set the ffmpeg.exe’s path into the environment variable Path.

    Now, I tried code below to transcode an uploaded video :

    $ffmpeg = FFMpeg\FFMpeg::create();
    $video = $ffmpeg->open($video_path);
    $format = new FFMpeg\Format\Video\X264();
    $format->setKiloBitrate(1000)
           ->setAudioChannels(2)
           ->setAudioKiloBitrate(256);
    $video->save($format, public_path().$path.$save_filename);

    But it gives error as below :

    [ERROR] ffmpeg version N-70767-gd24af70 Copyright (c) 2000-2015 the FFmpeg developers
    [ERROR]   built with gcc 4.9.2 (GCC)
    [ERROR]   configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --enable-decklink --enable-zlib
    [ERROR]   libavutil      54. 20.100 / 54. 20.100
    [ERROR]   libavcodec     56. 28.100 / 56. 28.100
    [ERROR]   libavformat    56. 25.101 / 56. 25.101
    [ERROR]   libavdevice    56.  4.100 / 56.  4.100
    [ERROR]   libavfilter     5. 12.100 /  5. 12.100
    [ERROR]   libswscale      3.  1.101 /  3.  1.101
    [ERROR]   libswresample   1.  1.100 /  1.  1.100
    [ERROR]   libpostproc    53.  3.100 / 53.  3.100
    [ERROR]
    [ERROR] Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'http://localhost/ohvideo-ftp/public/temp/5ZPlIuU1AIgz8RR4p0bs.mp4':
    [ERROR]   Metadata:
    [ERROR]     major_brand     : mp42
    [ERROR]     minor_version   : 0
    [ERROR]     compatible_brands: mp42mp41isomavc1
    [ERROR]     creation_time   : 2013-11-09 00:29:52
    [ERROR]   Duration: 00:00:30.12, start: 0.000000, bitrate: 417 kb/s
    [ERROR]     Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 320x240 [SAR 1:1 DAR 4:3], 381 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)
    [ERROR]     Metadata:
    [ERROR]       creation_time   : 2013-11-09 00:29:52
    [ERROR]       handler_name    : L-SMASH Video Handler
    [ERROR]       encoder         : AVC Coding
    [ERROR]     Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 32 kb/s (default)
    [ERROR]     Metadata:
    [ERROR]       creation_time   : 2013-11-09 00:29:52
    [ERROR]       handler_name    : L-SMASH Audio Handler
    [ERROR] Unknown encoder 'libfaac'
    [ERROR]
    {"error":{"type":"FFMpeg\\Exception\\RuntimeException","message":"Encoding failed","file":"F:\\wamp\\www\\ohvideo-ftp\\vendor\\php-ffmpeg\\php-ffmpeg\\src\\FFMpeg\\Media\\Video.php","line":168}}

    After searching alot, I found a link for the solution here, with note that

    Zeranoe’s ffmpeg does not contain libfaac support due to that encoder
    requiring —enable-nonfree which would result in a non-redistributable
    build.

    I don’t get the solution. Can anybody help me to overcome this ?

    Edit : (working code as below)

    I have created a CustomVideo class the same like class FFMpeg\Format\Video\X264() as below :

    class CustomVideo extends FFMpeg\Format\Video\DefaultVideo
    {
       /** @var boolean */
       private $bframesSupport = true;

       public function __construct($audioCodec = 'libmp3lame', $videoCodec = 'libx264')
       {
           $this
               ->setAudioCodec($audioCodec)
               ->setVideoCodec($videoCodec);
       }

       /**
        * {@inheritDoc}
        */
       public function supportBFrames()
       {
           return $this->bframesSupport;
       }

       /**
        * @param $support
        *
        * @return X264
        */
       public function setBFramesSupport($support)
       {
           $this->bframesSupport = $support;

           return $this;
       }

       /**
        * {@inheritDoc}
        */
       public function getAvailableAudioCodecs()
       {
           return array('libmp3lame');
       }

       /**
        * {@inheritDoc}
        */
       public function getAvailableVideoCodecs()
       {
           return array('libx264');
       }

       /**
        * {@inheritDoc}
        */
       public function getPasses()
       {
           return 2;
       }

       /**
        * @return int
        */
       public function getModulus()
       {
           return 2;
       }
    }

    and updated the code to transcode video as below :

    $ffmpeg = FFMpeg\FFMpeg::create();
    $video = $ffmpeg->open($video_path);
    $format = new CustomVideo();
    $format->setKiloBitrate(1000)
          ->setAudioChannels(2)
          ->setAudioKiloBitrate(256);

    $video->save($format, public_path().$path.$save_filename);

    It has solved the Unknown encoder libfaac error.

  • avcodec/adpcm_psx : ignore unknown flag bits

    3 mai 2021, par Zane van Iperen
    avcodec/adpcm_psx : ignore unknown flag bits
    

    As per documentation.

    Signed-off-by : Zane van Iperen <zane@zanevaniperen.com>

    • [DH] libavcodec/adpcm.c