Recherche avancée

Médias (91)

Autres articles (28)

  • 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

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

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

Sur d’autres sites (6219)

  • ffmpeg merge audio and video streams on the fly

    19 décembre 2022, par Kiko

    I'm trying to get a stream from Youtube and stream it via HTTP, but I have to use separate audio and video streams to get good quality. I don't know how to merge the streams on the fly with ffmpeg. (I'm using pytube)

    


    I know I can do this by saving the streams, then merging them, and then streaming the output, but I would like to do it on the fly. This is my current code (which uses the old progressive streams) :

    


    yt = YouTube(f"https://www.youtube.com/watch?v={url}")
video = yt.streams.filter(file_extension='mp4', progressive=True).first()
async def stream(response):
    for chunk in pytube_request.stream(video.url):
        await response.write(chunk)
return ResponseStream(stream, content_type="audio/mp4")


    


  • yt-dlp and ffmpeg CLI : dynamically naming output file using ${}

    14 juin 2022, par garson

    I'm trying to dynamically name the output created by running yt-dlp and piping to ffmpeg for further processing. Ideally I'd also like to preserve other metadata from the Youtube in the output mp4 file.

    


    What I have tried (working example)

    


    yt-dlp "https://www.youtube.com/watch?v=PtkqwslbLY8" -o - | /
ffmpeg -i - -vcodec libx264 -crf 23 -preset fast -profile:v /
baseline -level 3 -refs 6 -vf "scale=640:-1,pad=iw:480:0:(oh-ih)/2,/
format=yuv420p" -acodec copy ${%(title)s}out.mp4


    


    What the current result is

    


    However, this just creates a file called out.mp4, without anything of the earlier video title in the file name.

    


    What I want the result to be

    


    I want the result to be a file called something like Jupiter_101_National_Geographicout.mp4 (based on the title of the Youtube Video).

    


  • php streaming video : can tmp file be accessed before move_uploaded_file ?

    5 août 2019, par Jintor

    My question is about accessing file while they are being uploaded to the server.

    Can I perform "live" video streaming but BEFORE move_uploaded_file ???

    because move_uploaded_file have to wait until the video is completely finished.

    <?php
    // Can I access tmp before move_uploaded_file ?
    move_uploaded_file('tmp_name','new_location');

    Is there a way to access the tmp file during upload and perform ffmpeg ?

    I was considering upload by chunk via xhr request... but it seems .mp4 from a mobile don’t necessarily apply a fast start...

    how live streaming services companies do it ?


    **** More clarifications :
    Live streaming. Example User X take his phone and want to go live, he hit a button "stream yourself" than the camera starts recording and while uploading, the server begins to save it to the server and other users like Y, Z, A, B begin to watch while X is still begin live