Recherche avancée

Médias (0)

Mot : - Tags -/utilisateurs

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

Autres articles (89)

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

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

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

  • Error in av_write_frame when streaming over network (libavformat of ffmpeg)

    4 décembre 2014, par user4324788

    I have been using the ffmpeg libraries (libavcodec, libavformat, etc.) in my C# application to encode buffer data retrieved from my camera/microphone (using DirectShow.Net) and stream it over the network to a destination IP address using MPEG-TS and UDP.

    I communicate with the C++ libraries of ffmpeg through a C# wrapper (.dll) which I call with DllImport. I send the raw video and audio buffer data from C# to the C++ libraries for the purpose of encoding, muxing, and streaming.

    The encoding and streaming works perfectly, however I sometimes seem to encounter a problem with the “av_write_frame” function which is used to write the encoded packet to the output media. After a seemingly random period of time, the following line produces an error ("oc" being the AVFormatContext and "pkt" being the AVPacket) :

    av_write_frame(oc, &pkt)

    One of two errors occurs :

    • An I/O error is returned (return value -5).
    • A ’System.AccessViolationException’ (Attempted to read or write protected memory. This is often an indication that other memory is corrupt.) is thrown.

    This error sometimes occurs after a few minutes of streaming, other times after a much longer period (up to 20 minutes). Also, this error occurs at both video and audio encoding/writing, so I haven’t been able to pinpoint the exact reason behind this problem. Unfortunately it always results in my application either crashing or the streaming to stop working.

    I have tried catching the AccessViolationException, which sometimes allows the application to continue for a little longer, but eventually it ends up exiting without any warning.
    In case of the I/O error, I can reset my application, but eventually it still crashes.

    Any help with fixing this issue would be greatly appreciated !

    Thank you very much in advance.

  • Laravel FFMPEG Error Encoding Failed using Laravel Queue in Docker

    6 mars 2020, par Shahid Mushtaq

    I am running my laravel application on docker container.

    i am using ffmpeg build https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz

    i can confirm that ffmpeg and ffprobe are installed.

    when i submit video to my application it is passed to a queue which is responsible to converts two version
    one is 720,1280 and other is 640, 360

    what is happening at the moment . i am successfully able to convert uploaded file into 720,1280 but when it comes to convert 640,360 it throws Encoding Failed error.

    i have switched conversion pattern like first i m trying to convert 640,360 then trying to convert 720,1280 . what have i noticed is that first conversion happens successfully , exception is always thrown at second conversion

    here is my code sample

    $format ->setKiloBitrate($bit_rate) ->setAudioChannels(2)->setAudioKiloBitrate(128);
    $seven_twenty = new Dimension(1280, 720);
    $video->filters()->resize($seven_twenty)->synchronize();
    $video->save($format, $this -> Video['destination'].'-720-1281.mp4');

    $format ->setKiloBitrate($bit_rate) -> setAudioChannels(2) -> setAudioKiloBitrate(128);
    $three_sixty = new Dimension(640, 360);
    $video->filters()->resize($three_sixty)->synchronize();
    $video->save($format, $this -> Video['destination'].'-360-640.mp4');

    can some one please help me on this.

    thanks.

  • Android native runtime fails to load symbols even though they are actually found in the loaded .so files

    25 octobre 2017, par Gopinath

    I have compiled ffmpeg v3.4 using NDK v15.2 and I’m creating a wrapper lib called ffmpeg-jni.

    static {
       try {
           System.loadLibrary("avutil");
           System.loadLibrary("avcodec");
           System.loadLibrary("avformat");
           System.loadLibrary("swscale");
           System.loadLibrary("avfilter");
           System.loadLibrary("ffmpeg-jni"); // Exception here line#101
           loadedLibraries = true;
       } catch (Throwable e) {
           e.printStackTrace();
       }
    }

    Below is the exception thrown when loading my wrapper library.

    10-24 11:12:13.819 21499-21499/com.myeglu.android.canary.staging W/System.err: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "av_register_all" referenced by "/data/app/com.myeglu.android.canary.staging-2/lib/arm/libffmpeg-jni.so"...

    But, to my surprise, this function is defined in libavformat.so, which loaded successfully ; This is clear from the nm tool outputthat the av_register_all() function is defined (T) in libavformat.so

    Here is a link of all the pre-built libraries that are troubling to make peace at runtime. (There are a few other libraries as well apart from the ffmpeg libs)

    https://drive.google.com/drive/folders/0B20ExoMyOP_UeDhNdmwzc2tjR3M?usp=sharing

    Somebody help me understand what I could be missing in this case. Thanks for your time.