Recherche avancée

Médias (91)

Autres articles (102)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • L’agrémenter visuellement

    10 avril 2011

    MediaSPIP est basé sur un système de thèmes et de squelettes. Les squelettes définissent le placement des informations dans la page, définissant un usage spécifique de la plateforme, et les thèmes l’habillage graphique général.
    Chacun peut proposer un nouveau thème graphique ou un squelette et le mettre à disposition de la communauté.

  • Possibilité de déploiement en ferme

    12 avril 2011, par

    MediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
    Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)

Sur d’autres sites (8135)

  • How to grab specific segments of M3U8 via ffmpeg ?

    30 juillet 2020, par Lysander Cox

    I recently asked baout how I could download segments of an online m3u8 file, and someone pointed out that this could be accomplished via ffmpeg :

    


    ffmpeg -i [LINK] -codec copy [OUTPUT FILE] #downloads only audio segments;
ffmpeg -i [LINK] -bsf:a aac_adtstoasc -vcodec copy -c copy -crf 50 [OUTPUT] #downloads audio and video segments


    


    For those who aren't familiar, m3u8 is formatted kinda of like a "playlist", with an m3u8 file pointing to a bunch of smaller "segments" which are pieced together to form the whole of the video. As a result, it's completely possible to halt the above commands partway through their execution and still produce a watchable video (i.e. one that will be interpreted correctly by video editors).

    


    I'm wondering if there's a built-in method with ffmpeg that allows me to grab segments N-M of a given m3u8. If there are methods outside of ffmpeg, feel free to mention them as well. Thanks for the help.

    


  • ffmpeg video stream to app c# [on hold]

    3 septembre 2014, par Alexey Medvedev

    I am trying to make a video mixer for online broadcasts. To do this, I use ffmpeg and C #. I had a problem with the transfer of the video stream from ffmpeg to my program. I would like to receive a stream of ffmpeg using network protocols (e.g. TCP, UDP or others) or capturing if from ffplay window, but I don`t how I can do it. Can you give me some ideas ?

    For example, I have command for ffmpeg : "ffmpeg -i video1.mp4 -f mpegts udp:127.0.0.1:5000" or same command with other output formats or network protocols. How i can read video stream from the port and convert it to Bitmap ?
    I need to send video stream from my program from computer A to my program to computer B. I write program on C#. I dont know how I can compress video which I must send between my computers and I decided to use Ffmpeg. Now, I can streaming video from my program in computer A to ffmpeg and compress it with parameters which I need.
    On second computer I can read this steam using ffmpeg or ffplay, but I don`t know how I can get this stream into my program.
    1) How can I get this stream in my program ? Which libraries can you recommend me ?
    2) Do you know any libraries which can compress video, instead of using ffmpeg ?

  • Using ffmpeg with Python3 subprocess to convert multiple PNGs to a video

    17 décembre 2016, par ylnor

    I am using Python3, subprocess and ffmpeg to convert multiple PNG images into a single video.

    I have 400 PNG numbered as "00001.png".

    This call for one single specific image to a a one-frame-video works :

    subprocess.call(["ffmpeg","-y","-r","24","-i", "00300.png","-vcodec","mpeg4", "-qscale","5", "-r", "24", "video.mp4"])

    However, when I try some methods seen online for calling all of my images formated as "#####.png" using "%05d.png" as below, it does not work anymore :

    subprocess.call(["ffmpeg","-y","-r","24","-i", "%05d.png","-vcodec","mpeg4", "-qscale","5", "-r", "24", "video.mp4"])

    I receive the error : "%05d.png: No such file or directory".

    I have the feelling that the above syntax is proper to Python2 and not working on my python3 but can’t find the correct python3 syntax anywhere.

    Thanks in advance for your help