Recherche avancée

Médias (3)

Mot : - Tags -/image

Autres articles (80)

  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

Sur d’autres sites (14961)

  • 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])