Recherche avancée

Médias (91)

Autres articles (95)

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

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

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

Sur d’autres sites (6667)

  • FFmpeg. avcodec_find_encoder(AV_CODEC_ID_H264) return false

    14 juillet 2016, par Иван Чванов

    The problem : I can not connect the h264 codec for encoding and decoding of frames.


    Description :

    I downloaded from here ffmpeg library https://ffmpeg.zeranoe.com/builds/, version dev.

    Connect it to your project QT :

    extern "C"
    {
       #include
       #include
       #include
       #include
       #include
    }
        
    #pragma comment (lib, "avcodec.lib")
    #pragma comment (lib, "avformat.lib")
    #pragma comment (lib, "swscale.lib")
    #pragma comment (lib, "avutil.lib")

    Next prescribe av_register_all(); to include all codecs.

    Next, call the function : avcodec_find_encoder(AV_CODEC_ID_H264), returns false.

    In the ReadMe file, the library said that it was collected with —enable-libx264 and —enable-gpl compile the keys including h264 codec that is supposed to be.

    If the call : avcodec_find_encoder(AV_CODEC_ID_MPEG1VIDEO), it returns an object AVCodec, as it should.

    I use the MinGW compiler. OC Windows 7.

    How can I resolve or work around the problem ? Compile the library itself has not yet obtained. I understand you to connect sources and "poking" them, that too is meaningless.


    ** Once again, I will describe my problem : **

    I need to encode the codec h264 (can VP9) individual frames in one program, and then decode them in another program. You can use other libraries. The language C ++. It is necessary to use interframe compression codec, rather than simply pressed apart frames.

    Sorry for my english.

    Ideas. Advice. Suggestions.

  • FFmpeg. avcodec_find_encoder(AV_CODEC_ID_H264) return false

    14 juillet 2016, par Иван Чванов

    The problem : I can not connect the h264 codec for encoding and decoding of frames.


    Description :

    I downloaded from here ffmpeg library https://ffmpeg.zeranoe.com/builds/, version dev.

    Connect it to your project QT :

    extern "C"
    {
       #include
       #include
       #include
       #include
       #include
    }
        
    #pragma comment (lib, "avcodec.lib")
    #pragma comment (lib, "avformat.lib")
    #pragma comment (lib, "swscale.lib")
    #pragma comment (lib, "avutil.lib")

    Next prescribe av_register_all(); to include all codecs.

    Next, call the function : avcodec_find_encoder(AV_CODEC_ID_H264), returns false.

    In the ReadMe file, the library said that it was collected with —enable-libx264 and —enable-gpl compile the keys including h264 codec that is supposed to be.

    If the call : avcodec_find_encoder(AV_CODEC_ID_MPEG1VIDEO), it returns an object AVCodec, as it should.

    I use the MinGW compiler. OC Windows 7.

    How can I resolve or work around the problem ? Compile the library itself has not yet obtained. I understand you to connect sources and "poking" them, that too is meaningless.


    ** Once again, I will describe my problem : **

    I need to encode the codec h264 (can VP9) individual frames in one program, and then decode them in another program. You can use other libraries. The language C ++. It is necessary to use interframe compression codec, rather than simply pressed apart frames.

    Sorry for my english.

    Ideas. Advice. Suggestions.

  • Encoding failed while adding watermark using ffmpeg in Laravel

    16 décembre 2020, par Ruturajsinh

    I'm getting an error while adding a watermark on the video in Laravel.
I'm using this protonemedia/laravel-ffmpeg package and I got reference code from here stackoverflow answer. I'm using the code from the first answer. If I do not add a watermark then it's working fine, but when I add a watermark I got an error.

    


    


    FFMpeg\Exception\RuntimeException : Encoding failed in file E :\xampp\htdocs\Learn\video-demo\vendor\php-ffmpeg\php-ffmpeg\src\FFMpeg\Media\AbstractVideo.php on line 106

    


    


    I'm using PNG image and MP4 video and I'm using first time this type of package so I don't know how to fix that and I didn't find any right solution.

    


    Please help me to fix that.
Thanks and also sorry for bad English.

    


    My watermark function :

    


    public function postVideo(Request $request)
{
    $video_file = $request->file('file');

    $ffmpeg = FFMpeg\FFMpeg::create();
    $video = $ffmpeg->open($video_file);

    
    $watermark = public_path()."/app_logo.png";
    $reqExtension = "mp4";

    if (!empty($watermark))
    {
        $video->filters()
              ->watermark($watermark, array(
                    'position' => 'bottom',
                    'top' => 25,
                    'right' => 50,
                ));
    }
    $format = new FFMpeg\Format\Video\X264();
    $format->setAudioCodec("libmp3lame");
    

    $randomFileName = rand().".$reqExtension";
    $saveLocation = public_path(). '/watermark/'.$randomFileName;
    $video->save($format,$saveLocation);

    if (file_exists($saveLocation))
        return "http://localhost:8000/video/$randomFileName";
    else
        return "http://localhost:8000/test/thumb/404.png";
    
}