
Recherche avancée
Autres articles (80)
-
Use, discuss, criticize
13 avril 2011, parTalk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
A discussion list is available for all exchanges between users. -
MediaSPIP Player : problèmes potentiels
22 février 2011, parLe 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, (...) -
Publier sur MédiaSpip
13 juin 2013Puis-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
Sur d’autres sites (12595)
-
yt-dlp how to download a specific video using timestamps, and limiting the download resolution ?
30 septembre 2023, par ignacMI 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 :


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


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


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


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


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


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)) ?


-
FFMPEG - speed up/slow down video, add jitter etc
27 septembre 2019, par DarrellI’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 SulliI 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.mp4This 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 ?