Recherche avancée

Médias (1)

Mot : - Tags -/ticket

Autres articles (66)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • MediaSPIP Player : problèmes potentiels

    22 février 2011, par

    Le lecteur ne fonctionne pas sur Internet Explorer
    Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
    Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

Sur d’autres sites (14702)

  • 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 !

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

    


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