Recherche avancée

Médias (91)

Autres articles (61)

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

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

Sur d’autres sites (9070)

  • I need assistance of making a automated script for ffmpeg [closed]

    18 décembre 2024, par user2614404

    Currently i use this script that GPT generated :

    


    ffmpeg -c:v av1_qsv -b:v 0 -global_quality 20 -preset veryslow -look_ahead 64 -c:a copy -c:s copy G:\1ARC-movies\A-View-to-a-kill.mkv -i Y:\media\Movies\A_VIEW_TO_A_KILL_t05.mkv

    


    But sadly GPT being gpt, it hallucinates answers, and none of it's deeper automation code scripts were working when it made the scripts for a .ps1 script file.

    


    And as i find most of the docs quite overwhelming, i need help to simplify what i need. As i learn best when i get explained what i currently try to do, and not every variable ffmpeg can do.

    


    what i want the script to do is :

    


    1 : convert movies with AV1_QSV with "veryslow", as that's apparently from what i've read up being the best it can do

    


    2 : Global quality as close to 50 as possible (smaller, the better), as 20-6 gave the same range of percentage of 97% VMAF score, 22 gave 95%, so 20 is the largest number i can go, as VMAF via NMKODER reported any higher number was sub 97%.

    


    3 : Give it a main folder for movies and shows to scan, and convert all the media in there to their respective subfolders to a designated output folder.

    


    2 : Automatic crop detection, as some crops it to a 21:9 ratio, others has very small letterboxes. As GPT's code for that attempt for some reason used cpu instead of arc's quicksync.

    


    As this will be ran from powershell, and it's to replace my plex library, by transcoding all movies and shows, starting with the least watched ones/shows that my family has seen, as then those will be unavailable for them until unraid 7 is out of beta to read intel arc for av1.

    


  • How to overlay frames before making a gif FFMPEG WEBM TO GIF

    10 février 2021, par AVID_FFMPEG

    I'm using windows batch to do some ffmpeg work

    


    Basically what I need to do is this

    


    Add an overlay every X frames (10 in this example, 1, 11 , 21 and so on) to a webm source to a gif.

    


    The how doesn't really matter as long as I keep the quality of my current palette/filter/dither usage

    


    Solution I found : I made a Video to png, overlay the png with batch for loop and make a gif

    


    Problem I encountered : Gif doesn't work with the overlayed pngs

    


    rem EXTRACTING
ffmpeg !time_range! -i "input.webm" -vsync 0 -vf "fps=20,scale=!size!" "output_%%03d.png" 


    


    the two %% is because you need to escape it in batch so ffmpeg sees "%03d"

    


    REM OVERLAYING
for %%i in (_*1.png) do (
ffmpeg -y -v error -i %%i -i %tmp_blank_frame% -filter_complex "overlay"  overlayed_%%~nxi
del %%i
)
REM REPLACING
rename "overlayed_*" "//////////*"


    


    It is not pretty by any means, but it works... somewhat.

    


    It does it's job of overlaying and renaming proprely, but when I recompile the frames into a gif with

    


    ffmpeg -y -framerate 20 -i "output_%%03d.png" -i "!palette!" -filter_complex "!filters! [v]; [v][1:v] paletteuse=dither=!dither!" "overlayedgif.gif"


    


    it just gives me an error "Error marking filters as finished" and does nothing.

    


    ffmpeg -y -framerate 20 -i "output_%%03d.png" -i "!palette!" "overlayedgif.gif"


    


    It makes the gif without the black frames (skips them) also terrible quality

    


    I am open to any suggestion. Pretty new to this whole ffmpeg and this is starting to be very complicated for me so there might be some code that I overlook or don't fully understand

    


    Important note IF I REMOVE THE OVERLAY/RENAME BLOCK MY SCRIPT WORKS WONDERS !!!

    


    EDIT : edited confusing variables im using in my script

    


  • vorbis : Use a local codebook variable

    3 mars 2015, par Luca Barbato
    vorbis : Use a local codebook variable
    

    Makes the code a little simpler.

    • [DH] libavcodec/vorbisdec.c