Recherche avancée

Médias (91)

Autres articles (87)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (12547)

  • Youtube dl for python : set mp3 last modif date date

    24 janvier 2021, par Vladimir Tarasov

    I'm using Youtube-dl (and ffmpeg) in a python project.

    


    The problem I have is that, on download, the downloaded file takes as default the youtube's release date of the video instead of the download date.

    


    My youtube-dl options

    


    ydl_opts = {
    'format': 'bestaudio/best',
    'outtmpl': path + urlToTitleYT(link) + '.mp3',
    'postprocessors': [{
        'key': 'FFmpegExtractAudio',
        'preferredcodec': 'mp3',
        'preferredquality': '320',
    }],
}


    


    Which opt could i use in order to change the file last modification date to the download date ?
(Or do i have to edit it manually ?)

    


  • Streaming windows desktop to Youtube with ffmpeg [closed]

    23 mai 2021, par rarahim

    I've been spending days trying to stream my live desktop to Youtube using ffmpeg. There are too many questions and answers on SO about this topic but none really works for me, or perhaps because working with ffmpeg is non-trivial task with it's never ending list of available options.

    


    So far, what sort of works for me is using the following (which is a mixture of what was gathered from various sources) :

    


    


    ffmpeg -threads:v 2 -threads:a 8 -filter_threads 2 -thread_queue_size
5096 -f dshow -i video="screen-capture-recorder" -f dshow -i
audio="Stereo Mix (Realtek High Definition Audio)" -pix_fmt yuv420p
-c:v libx264 -qp:v 19 -profile:v high -rc:v cbr_ld_hq -level:v 4.2 -r:v 60 -g:v 120 -bf:v 3 -refs:v 16 -f flv rtmp ://a.rtmp.youtube.com/live2/KEY

    


    


    My questions are :

    


      

    1. how do i only stream video ? i do not want to stream audio, simply removing '-f dshow -i audio="Stereo Mix (Realtek High Definition Audio)"' causes it to fail

      


    2. 


    3. after a while, ffmpeg starts to hog my memory causing my system to slow down terribly, what causes this and how can i fix it ?

      


    4. 


    5. my video feed when viewed from Youtube keeps buffering rather frequently, how can this be fixed/improved ?

      


    6. 


    


    Thanks.

    


    UPDATE :
I've managed to somewhat figure out a workaround for these issues. Not sure if these are the right solutions but they work for now.

    


      

    1. Youtube apparently requires streams to have audio component. So instead of just removing the audio device form the options, i had to put in "-f lavfi -i anullsrc" to use null audio device.

      


    2. 


    3. The memory hog issue was improved by adding "-framerate 10" and "-r 10" to the input and output options, this reduces target frame rate to 10fps.

      


    4. 


    5. The overall stream performance seem to be indirectly improved by doing the above actions.

      


    6. 


    


    So finally the working simplified version of my ffmpeg command is :

    


    


    ffmpeg -framerate 10 -f dshow -i video="screen-capture-recorder" -f
lavfi -i anullsrc -vcodec libx264 -preset:v ultrafast -pix_fmt yuv420p
-f flv -r 10 rtmp ://a.rtmp.youtube.com/live2/KEY

    


    


    I'm updating here in case it might be useful to someone at some point in the future.

    


  • How to ffprobe YouTube videos

    3 juillet 2020, par nicholas

    How can I get duration, width and height of YouTube video using FFprobe ?

    


    I tried

    


    ffprobe -i https://www.youtube.com/watch?v=YkgkThdzX-8 -v quiet -print_format json -show_streams -hide_banner


    


    but it returns an empty json