
Recherche avancée
Autres articles (97)
-
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
Gestion des droits de création et d’édition des objets
8 février 2011, parPar défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;
-
Dépôt de média et thèmes par FTP
31 mai 2013, parL’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)
Sur d’autres sites (9398)
-
Extract specific frames of youtube video without downloading video
22 janvier 2023, par Kashish AroraI need to extract specific frames of an online video to work on an algorithm but I don't want to download the whole video because that would make it highly inefficient.


For starters, I tried working with youtube videos. I can download whole of the video using
youtube-dl
in this way :

ydl_opts = {'outtmpl': r'OUTPUT_DIRECTORY_HERE',}
with youtube_dl.YoutubeDL(ydl_opts) as ydl:
 ydl.download([url])



And then I can capture individual frames.


I need to avoid downloading the whole video. After some research, I have found that
ffmpeg
might help me do this. I found no way to download just the frames so if this is not possible, the second option is that I can download specific portions of the video. One such example in linux is here but I couldn't find any solution for python.

What is a good way to download just the frames, or portions of videos (in python) without downloading the entire thing ?


-
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.
-
Merging 2 videos with overlay causes async problems
3 novembre 2014, par GnagyI’m using following FFMPEG command to merge 2 MKV inputs with the overlay parameter.
The result should be one output with input1 on top of input2.
In the process, the output should be webm.
Both inputs are of the same length (with a margin of a second).ffmpeg -i input1.mkv -i input2.mkv -y -filter_complex [0:v]select=1, setpts=PTS-STARTPTS, scale=400:300, pad=400:600 [top]; [1:v]select=1, setpts=PTS-STARTPTS, scale=400:300 [bottom]; [top][bottom] overlay=0:300 [out]; [0:a:0][1:a:0] amerge=inputs=2 [a]; [a] asetpts=PTS-STARTPTS [a] -map [a] -c:v libvpx -crf 10 -b:v 360K -q:v 7 -c:a libvorbis -b:a 32k -map [out] output.webm
This command does what it’s supposed to do.
However, the 2 videos are not totally in sync.
The input1 on the top plays decently while the input2 on the bottom has black frames, slows down or speeds up and causes the audio and video to be out of sync.
To rule out the individual quality of the inputs, we switched the position of the videos and the top video always plays decently.
How can we fix this ?