Recherche avancée

Médias (91)

Autres articles (33)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

Sur d’autres sites (3518)

  • Ffmpeg it's not setting the correct variable names and hence throwing Unable to choose format

    9 novembre 2024, par Miguel Arrieche

    I'm trying to automate the subtitle addition to a folder with some videos so I wrote the following script :

    


    forfiles /p "C:\Users\titos\Resilio_Sync\4K_Video_Downloader\videoprocess" /m *.mp4 /C "cmd /c set filename=@fname & ffmpeg -i @file -vf subtitles="C:\Users\titos\Resilio_Sync\4K_Video_Downloader\videoprocess\@fname.srt" -f mp4 "C:\Users\titos\Resilio_Sync\4K_Video_Downloader\donesubs\@fname_srt.mp4""


    


    However, the script is throwing me the following error for each video :

    


    [AVFormatContext @ 0000020c20220680] Unable to choose an output format for 'Der'; use a standard extension for the filename or specify the format manually.
[out#0 @ 0000020c20220580] Error initializing the muxer for Der: Invalid argument
Error opening output file Der.
Error opening output files: Invalid argument


    


    In this case, "Der" is the second word of the video's title (And it does the same with each video where it throws the error with the second word). So I think it might be due to the videos containing spaces and ffmpeg not parsing it correctly ? But why is the second word that it gets and not the first one in that case ? And more importantly, what could I do to fix this issue ?

    


    I've honestly found some other threads that discuss similar issues, but quite frankly I'm still too newbie to understand any of the answers in order to adapt it to my script lol. I appreciate your help, thanks a lot in advance :)

    


  • how the packuswb instruction works ? (in low level bit operation)

    17 avril 2019, par MaikonNascimento

    Studying ffmpeg convertion from yuv to rgb , I came across the equation being implemented in assembly, yuv2rgb_template.c located in ffmpeg/libswscale/x86.

    I want to know how the instruction packuswb works ? Google says it :

    Converts 4 signed word integers from mm and 4 signed word integers from mm/m64 into 8 unsigned byte integers in mm using unsigned saturation.

       DEST[7:0] ← SaturateSignedWordToUnsignedByte DEST[15:0];
       DEST[15:8] ← SaturateSignedWordToUnsignedByte DEST[31:16];
       DEST[23:16] ← SaturateSignedWordToUnsignedByte DEST[47:32];
       DEST[31:24] ← SaturateSignedWordToUnsignedByte DEST[63:48];
       DEST[39:32] ← SaturateSignedWordToUnsignedByte SRC[15:0];
       DEST[47:40] ← SaturateSignedWordToUnsignedByte SRC[31:16];
       DEST[55:48] ← SaturateSignedWordToUnsignedByte SRC[47:32];
       DEST[63:56] ← SaturateSignedWordToUnsignedByte SRC[63:48];

    Since I dont know Assembly x86, it is even hard to simulate it or debug the current code.

    I want to know how they fit 16 bits in 8 bits ?

  • FFMPEG - Palettegen for animations is not working

    18 juillet 2018, par deanhodges

    I have a script taken from the correct answer at https://superuser.com/questions/1002562/convert-multiple-images-to-a-gif-with-cross-dissolve, but I am getting no results.

    Even copying the code word for word does not work for me.

    However, if I run $ffmpeg = shell_exec("ffmpeg -i images/image001.jpg -vf palettegen palette_test.png"); on a single image, it works fine. But because I need it for an animation, I need to create a pallete for all images.

    Unless of course, on each image in the GIF sequence I can load a new palette ?

    $q = "ffmpeg -f image2 -framerate 0.5 -i ../view/client/files/".$dir."/%*.jpg -i palettePro.png -lavfi paletteuse -y .." . $save_path . '/' . $filename . " -report";