Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (45)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • Qu’est ce qu’un éditorial

    21 juin 2013, par

    Ecrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
    Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
    Vous pouvez personnaliser le formulaire de création d’un éditorial.
    Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (6928)

  • 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";