Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (25)

  • 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

  • D’autres logiciels intéressants

    12 avril 2011, par

    On ne revendique pas d’être les seuls à faire ce que l’on fait ... et on ne revendique surtout pas d’être les meilleurs non plus ... Ce que l’on fait, on essaie juste de le faire bien, et de mieux en mieux...
    La liste suivante correspond à des logiciels qui tendent peu ou prou à faire comme MediaSPIP ou que MediaSPIP tente peu ou prou à faire pareil, peu importe ...
    On ne les connais pas, on ne les a pas essayé, mais vous pouvez peut être y jeter un coup d’oeil.
    Videopress
    Site Internet : (...)

  • Contribute to translation

    13 avril 2011

    You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
    To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
    MediaSPIP is currently available in French and English (...)

Sur d’autres sites (5867)

  • Video created in FFMPEG on YouTube doesn't work

    10 mars 2023, par Mark

    There is a problem when working with FFMPEG and then uploading to YouTube.

    


    I have a video that is 4:15 long (255 seconds). When I create such a video in Adobe Premiere and upload it to YouTube, everything is fine. The problem occurs when I create such a video in FFMPEG. Before the HD versions are processed (>= 1080p) the video works fine, but when the HD versions appear, its duration on the scrollbar becomes 4:00 (240 seconds). If you go to the end of the video at 4:00, it continues to play for another 15 seconds.

    


    Here is an example of such a video clip : https://youtu.be/G_tMctEklM4

    


    Screenshot : https://i.stack.imgur.com/HxWs5.png

    


    I would be grateful for your help.

    


    UPD

    


    I think I figured out what the problem was.

    


    I took 5 video files of 25 seconds each and merged them. The resulting file is 125 seconds long, I uploaded it to YouTube - everything is fine. Then I tried to build my project - again, problems. Apparently, the problem is that I merged 42 files : 2 files for 20 seconds and 40 files for 5-6 seconds. These are not integers, here are some of the files :

    


    06.143000, 05.983000, 06.488000, 06.018000, 05.809000

    


    So, I understand FFMPEG rounds them down to integer number, and due to the fact that there are a lot of such files - 42, so there is a shift of 15-20 seconds (about 0.5 seconds from each file). But what to do with it I still do not understand.

    


    Related topic : https://www.reddit.com/r/ffmpeg/comments/e1o3hv/ffconcat_filter_with_millisecond_precision_how/f8qvztl/

    


    and this (???) : ffmpeg - avoid duration approximation of generated files

    


  • Discord.py rewrite play audio from youtube into voice chat

    23 avril 2021, par John Henry 5

    I'm trying to get a bot that can join a voice chat on command and then play some audio extracted from a youtube video. I don't know how to do this and all the code that I've gotten does not seem to work. Does anyone know how to do this ?

    


    @client.command() async def play(ctx):
   channel = ctx.message.author.voice.channel
   voice_client = await channel.connect()

   opts = {'format': 'bestaudio'}
   FFMPEG_OPTIONS = {'before_options': '-reconnect 1 -reconnect_streamed 1 - 
   reconnect_delay_max 5', 'options': '-vn'}

   with youtube_dl.YoutubeDL(opts) as ydl:
      song_info = ydl.extract_info('video', download=False)
      URL = song_info['formats'][0]['url']
   
   voice_client.play(FFmpegPCMAudio(URL, **FFMPEG_OPTIONS))


    


  • Set the filename downloaded via youtube-dl to a variable [closed]

    22 septembre 2020, par Jim Jamil

    This is the current script, it's a Windows batch file that prompts for a Youtube url and then downloads the best audio in m4a. It's basically cobbled together and uses aria2 to manage the download.

    


    @echo off
SETLOCAL ENABLEDELAYEDEXPANSION
(set /p var1="Url? " && youtube-dl -f bestaudio[ext=m4a] --external-downloader aria2c --external-downloader-args "-j 16 -s 16 -x 16 -k 5M" --restrict-filenames -o "%%(title)s.%%(ext)s" --add-metadata --embed-thumbnail !Var1!)
ENDLOCAL
pause


    


    After asking for the url, I want to also prompt the user to input the start and end times to trim the audio, which would be done by ffmpeg post download.

    


    Something like :

    


    ffmpeg -i file.m4a -ss 00:00:20 -to 00:00:40 -c copy file-2.m4a


    


    Based on this : https://unix.stackexchange.com/questions/182602/trim-audio-file-using-start-and-stop-times/302469#302469

    


    The beginning and end times would need to be variables set by user input in 00:00:00 format, but not sure how to add the ffmpeg post-processing at the end or how it would all fit together. I want to add this trimming feature to remove some of the preamble on podcasts and get straight to the guest part of the show.

    


    The --embed-thumbnail is optional, and won't work anyway unless Atomic Parsley is present. FFmpeg often has trouble with Album Art anyway so I usually just use -vn on the final output file.