Recherche avancée

Médias (91)

Autres articles (75)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

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

Sur d’autres sites (10547)

  • yt-dlp how to download a specific video using timestamps, and limiting the download resolution ?

    30 septembre 2023, par ignacM

    I am running a python program to download a video, this is the command I use :

    


    command = ['powershell.exe ffmpeg',
                   '-ss', str(start),
                   '-i', '$(yt-dlp',
                   '-f', 'bestvideo[ext=webm]',

                   '-g', '"%s")' % (url_base + video_identifier),
                   '-t', str(end - start),
                   '-c:v', 'libx264', '-c:a', 'copy', '%s' % output_filename]

command = ' '.join(command)
output = subprocess.check_output(command, shell=True, stderr=subprocess.STDOUT)


    


    This prints something like
powershell.exe ffmpeg -ss 10 -i $(yt-dlp -f bestvideo[ext=webm] -g "https://www.youtube.com/watch?v=Z15erfLqNKo") -t 10 -c:v libx264 -c:a copy C :\Users...\video.mp4

    


    This works perfectly fine. However, I tried to download a video that had very high resolution (4K) and I want to limit the resolution when downloading. I have found that placing [height<=1080] as so should work :

    &#xA;

    powershell.exe ffmpeg -ss 10 -i $(yt-dlp -f bestvideo[ext=webm][height<=1080] -g "https://www.youtube.com/watch?v=Z15erfLqNKo") -t 10 -c:v libx264 -c:a copy C :\Users...\video.mp4

    &#xA;

    However this does not work for me and gives me the error :&#xA;Error command "" returned non-zero exit status 1.&#xA;Output : b'The system cannot find the file specified.\r\n'

    &#xA;

    I also have noticed that only limiting the resolution does not work for me either :

    &#xA;

    powershell.exe ffmpeg -ss 10 -i $(yt-dlp -f bestvideo[height<=1080] -g "https://www.youtube.com/watch?v=Z15erfLqNKo") -t 10 -c:v libx264 -c:a copy C :\Users...\video.mp4

    &#xA;

    Actually, placing [height<=1080] after bestvideo never works, no matter what I do.

    &#xA;

    What could be the problem ? Or what command can I run to achieve both tasks (limit resolution and download specific timeframe (not whole video and cutting it)) ?

    &#xA;

  • FFMPEG - speed up/slow down video, add jitter etc

    27 septembre 2019, par Darrell

    I’m trying to put together a Windows script that will process short videos in a folder.
    The videos will be shot at a high frame rate 60+ fps and be about 4-5 secs long.

    Basically I am looking to make various style clips, using fast/slow effects, back and forth etc.
    So, the script might process a video, make it start normal speed, then slow motion. Next video might be normal speed, slomo, normal speed slomo. Next video might be forwards,back, forwards back, slomo.

    See example : (this is a compliation, I’m looking at processing individual videos in a folder.)

    http://www.youtube.com/watch?v=K03IBQZu8SQ

    I’m guessing there is no way to do this, other than splitting a clip using FFMPEG, processing the bits, then merging back together ? I can’t seem to find a way to do it as one clip.

  • ffmpeg convert vp9 video to mp4

    6 mai 2017, par Sulli

    I am using this command

    ffmpeg -i $youtubeUrl -strict -2 -c copy output.mp4

    (with $youtubeUrl generated by youtube-dl) to download this youtube video : https://www.youtube.com/watch?v=wnCJhq-JOck

    I can’t play the downloaded video though on Ubuntu or Windows (for a problem of vp09 codec) and I have to convert the video to webm and then back to mp4 to be able to play it :

    ffmpeg -i output.mp4 -vcodec libvpx-vp9 -strict experimental output_2.webm
    ffmpeg -i output_2.webm -strict 2 output_3.mp4

    This happens only with some youtube videos, not all of them.

    Is there a way to download all youtube videos in a readable format with only one command line, without having to convert to webm ?