
Recherche avancée
Autres articles (35)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
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 -
Le plugin : Podcasts.
14 juillet 2010, parLe problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
Types de fichiers supportés dans les flux
Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)
Sur d’autres sites (3129)
-
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)) ?


-
avformat/format : Print debug info when probe score is increased due to mime type
25 février 2016, par Michael Niedermayer -
apk size is increased due to armeabi file having .so files.How to decrease it ?
17 juin 2016, par user3746018I have developed an application using JNI. When I am using JNI Native libraries it will automatically generate .so files, because of these files my application size will increase.
Could anyone suggest how to decrease the size of these .so files ?