
Recherche avancée
Médias (1)
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (52)
-
Gestion générale des documents
13 mai 2011, parMédiaSPIP ne modifie jamais le document original mis en ligne.
Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...) -
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette 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. -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...)
Sur d’autres sites (6412)
-
Splitting multiple videos into shorter based on frame count
15 décembre 2022, par LEstvsI can cut the video based on seconds, for example, I can cut the video from second 0 to second 10 and from second 10 to second 20. But I need to cut the video from frame 0 to frame 250 and from frame 250 to frame 500 because of some error due the counting of second. Does anyone has any idea about this ?


Here is the code I use to cut based on seconds :


required_video_file = "H8.avi"

with open("Z:/temp/Letícia/Videos/teste/times.txt") as f:
 times = f.readlines()

times = [x.strip() for x in times] 

for time in times:
 starttime = int(time.split('-')[0])
 endtime = int(time.split("-")[1])
 ffmpeg_extract_subclip(required_video_file, starttime, endtime, targetname=str(times.index(time)+1)+".avi")



-
Splitting multiple videos into shorter ones at once
6 juin 2022, par detach429I am trying to split my videos into multiple shorter ones, I've managed to make it work for one video, code is given below, but I have multiple videos saved in a folder and I want the code to go through all of them at once, so I don't have to manually change paths for every video, can anyone help ?


required_video_file = 'Videos/Logitech/LogiCapture/1_stresni.mp4'

with open("times.txt") as f:
 times = f.readlines()

times = [x.strip() for x in times] 

for time in times:
 starttime = int(time.split('-')[0])
 endtime = int(time.split("-")[1])
 ffmpeg_extract_subclip(required_video_file, starttime, endtime, targetname=str(times.index(time)+1)+".mp4")```




-
avfilter/vf_blend_vulkan : add multiply blend mode
12 janvier 2022, par Wu Jianhuaavfilter/vf_blend_vulkan : add multiply blend mode
Use the commands below to test : (href : https://trac.ffmpeg.org/wiki/Blend)
I. make an image for test
ffmpeg -f lavfi -i color=s=256x256,geq=r='H-1-Y':g='H-1-Y':b='H-1-Y' -frames 1 \y -pix_fmt yuv420p test.jpg
II. blend in sw
ffmpeg -i test.jpg -vf "split[a][b] ;[b]transpose[b] ;[a][b]blend=all_mode=multiply,\
pseudocolor=preset=turbo" -y multiply_sw.jpgIII. blend in vulkan
ffmpeg -init_hw_device vulkan -i test.jpg -vf "split[a][b] ;[b]transpose[b] ;\
[a]hwupload[a] ;[b]hwupload[b] ;[a][b]blend_vulkan=all_mode=multiply,hwdownload,\
format=yuv420p,pseudocolor=preset=turbo" -y multiply_vulkan.jpgSigned-off-by : Wu Jianhua <jianhua.wu@intel.com>