
Recherche avancée
Médias (2)
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
Autres articles (100)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
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. -
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
Sur d’autres sites (10140)
-
How to capture screenshots from a video clip 50 minutes into the clip and do it fast ?
3 janvier 2015, par MintOk it seems that whenever I tell ffmpeg to take a screen cap half way though the clip (clip can be as long as 10 hours) it uses 100% of 1 cpu core and takes ages… whereas if I let it do a frame at the start it goes real quick, as if it scans though the video to get to the middle instead of just jumping to it !
Here is the code im currently using :
ffmpeg -y -itsoffset -“500" -i “clipname.mov" -vcodec png -vframes 1 -an -f rawvideo “clipScreenshot001.png”
This can take several minutes.
These are HD videos too, 720p/1080p and allot of the time they are raw unedited clips (e.g. very long).
So I was hoping for some better software that will make screen captures from video much faster (has to be linux and scriptable).
-
FFMPEG change videos size
16 juillet 2022, par Rittari771How do i change a video that is 1920x1080 to 1080x1920, and then "shrink" it so that it fills only half of the 1080x1920 screen size ?
here is what i mean :




needs to be changed to


1080x1920 that covers 50% of screen space only


-
MoviePy Is Able To Print Video Duration But When Performing Edit It Cannot Find Duration ? | Python
10 avril 2021, par PythonProgrammerI have been troubled by this issue when I am making a video downloader.
The Code Below :


videoclip = VideoFileClip(fr'{directory}\audio\{yt.title}.mp4')

 duration = videoclip.duration

 print(duration)

 audioclip = videoclip.audio
 audioclip.write_audiofile(fr"{directory}\{yt.title}.mp3")
 audioclip.close()
 videoclip.close()



Output :


145
MoviePy error: failed to read the duration of file C:\Users\achut\Desktop\Movies\audio\Winning With Half A Heart | Minecraft Skywars.mp4.
Here are the file infos returned by ffmpeg:

ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers
 built with gcc 9.2.1 (GCC) 20200122
 configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
 libavutil 56. 31.100 / 56. 31.100
 libavcodec 58. 54.100 / 58. 54.100
 libavformat 58. 29.100 / 58. 29.100
 libavdevice 58. 8.100 / 58. 8.100
 libavfilter 7. 57.100 / 7. 57.100
 libswscale 5. 5.100 / 5. 5.100
 libswresample 3. 5.100 / 3. 5.100
 libpostproc 55. 5.100 / 55. 5.100
C:\Users\achut\Desktop\Movies\audio\Winning With Half A Heart | Minecraft Skywars.mp4: Invalid argument



For some odd reason it is able to print the video duration but apparently cannot find it when I am trying to save the audio from the video as a separate file.


Thanks for the help ! I am using latest version of moviepy and its dependencies, I just installed it today.