Recherche avancée

Médias (91)

Autres articles (111)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

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

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

Sur d’autres sites (7358)

  • I can no longer convert an mp4 video that is downloaded from YouTube to .wav file using ffmpeg [closed]

    25 juillet 2024, par user3288051

    I can no longer convert an mp4 video that is downloaded from YouTube to .wav file using ffmpeg.

    


    Here is the command I am using :

    


    video_name = "my_video_file"
dir_name = "experiment/john_doe/"

command = f'ffmpeg -i {dir_name}{video_name}.mp4 -ab 160k -ar 44100 -vn {dir_name}{video_name}.wav'

try:
    subprocess.check_call(command, shell=True)
except Exception as ex:
    print("Error: " + str(ex))


    


    Unfortunately, I get the following error :

    


    


    Output #0, wav, to 'experiment/john_doe/my_video_file.wav' : [out#0/wav
@ 0x1526131c0] Output file does not contain any stream Error opening
output file experiment/john_doe/James_Murphy2.wav. Error opening
output files : Invalid argument Error : Command 'ffmpeg -i
experiment/john_doe/my_video_file.mp4 -ab 192k -ac 2
experiment/john_doe/my_video_file.wav' returned non-zero exit status
234.

    


    


    Did YouTube change its codec ?

    


    Here is my video file in case you would like to give it a try. I downloaded it from my own YouTube channel (my own video).

    


    I would appreciate your help.

    


  • FFMPEG Subtitle Burning - Make Them Look Like Youtube Captions

    21 septembre 2016, par Spencer

    I want to burn subtitles into videos and make them look as close to the YouTube captions as possible. I’ve gotten pretty close with the following :

    ffmpeg -i VIDEOFILE.mkv -vf subtitles="f=SUBSFILE.vtt:force_style='FontName=Arial,FontSize=14,OutlineColour=&H55000000,BorderStyle=3,WrapStyle=2'" -y ENCODED-WITH-SUBS.mp4

    1. The major thing I want to fix in the above command is that when there are multiple lines, the backgrounds overlap.

    enter image description here

    If you look at captions on YouTube there is always a nice small amount of space between the backgrounds.

    enter image description here

    2. The second thing I’d like to do is make the corners of the backgrounds rounded if possible.

    I’ve looked through the documentation but I’m hoping I missed something. Thanks for any suggestions !

  • add thumbnail and metadata to mp3 file on converting using youtube-dl by python script

    18 septembre 2015, par arun pal

    I want to add metadata as well as thumbnail image to my mp3 file. How to do that , can anybody help me ?

    from __future__ import unicode_literals
    import youtube_dl

    n="cwHzy7ftLyI"

    ydl_opts = {
       'format': 'bestaudio/best',

       'verbose':True,

       'postprocessors': [{
           'key': 'FFmpegExtractAudio',
           'preferredcodec': 'mp3',
           'preferredquality': '192',
           }],
           'addmetadata':True,
           'embedthumbnail':True,
           'writethumbnail':True,
       }
    with youtube_dl.YoutubeDL(ydl_opts) as ydl:
       ydl.add_default_info_extractors()
       ydl.download(['http://www.youtube.com/watch?v='+n])