Recherche avancée

Médias (1)

Mot : - Tags -/livre électronique

Autres articles (45)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

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

  • ffmpeg with single input, double output to piped output

    29 mars 2023, par Laurier

    I'm trying to stream chunks of a remote video file into ffmpeg, create MP4 and MP3 split files from the original one, and send those chunks back for immediate upload via piping to s3 cp.

    


    What I'd like to do is essentially combine these 2 commands into 1 :

    


    aws s3 cp s3://bucket/file.mp4 - | ffmpeg -i - -f matroska output.mkv | aws s3 cp - s3://bucket
aws s3 cp s3://bucket/file.mp4 - | ffmpeg -i - -f output.mp3 | aws s3 cp - s3://bucket


    


    I tried different variants of the following :

    


    aws s3 cp s3://bucket/file.mp4 - | ffmpeg -i - -f matroska output.mkv -f mp3 output.mp3 | aws s3 cp - s3://bucket


    


    But I'm not sure how to split the multiple outputs into 2 aws cp commands running in parallel

    


  • Saving individual frames of multiple m3u8 streams

    10 décembre 2023, par Toprak

    I have a list of multiple m3u8 stream URLs. I want to grab individual live frames of these streams and save them locally. I managed to do this with openCv however, the number of streams is around 20, even though I wrote the code using parallel processing and multithreading, some streams wait too long to download the new frames.

    


    Is there a better way or faster module that I can use ? Theoretically it shouldn't be this hard because I can open each stream in browser and the client side player can stream it. I feel like maybe ffmpeg is a solution, but I couldn't find a way to download and save each frame from a stream link by ffmpeg, with a unique name so. it doesn't update all the time.

    


    Edit :
I attempted to this issue with ffmpeg as well, using multithreading , but probably because each time they want to grab a frame, they need to connect, this is slower.

    


    ffmpeg -i url.m3u8 -vframes 1 -q:v 2 output.jpg

    


  • Make VP9 encoding faster with the best possible quality without picture freezing

    24 décembre 2017, par kostya572

    I am using this code to combine 2 files together (overlay file over original file) :

    ffmpeg -r 60 \
           -i originalfile.webm -i overlayfile.mov \
           -filter_complex " \
               [0:v]setpts=PTS-STARTPTS[base]; \
               [1:v]setpts=PTS-STARTPTS+0.5/TB, \
                    format=yuva420p,colorchannelmixer=aa=0.7[overlay]; \
                [base][overlay]overlay=x=(W-w)/2:y=0[v]" -map "[v]" -map 0:a -c:a copy -c:v libvpx-vp9 -lossless 1 -threads 4 -quality realtime -speed 8 -tile-columns 6 -frame-parallel 1 -vsync 1 -shortest resultfile.webm

    Encoding speed is not bad and quality output also, but after some time video picture could freeze for several seconds, then again it plays ok and then again could freeze.

    How could I optimize this code to make fast speed with the highest possible quality as original file without picture freezing ?

    Thank you