
Recherche avancée
Médias (1)
-
SWFUpload Process
6 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
Autres articles (61)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
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 -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)
Sur d’autres sites (11725)
-
Speeding up videocomposing in pymovie
10 février 2024, par rawlungI'm trying to resize videos similarly to what this api provides
https://creatomate.com/docs/json/quick-start/blur-video-background
I accomplished the result more or less but the problem is it takes ages to render out.
I'm a total beginner when it comes to video processing and for the life of me i can't figure out how to speed it up. When the rendering is running python only uses CPU at about 20% utilization.


from moviepy.editor import VideoFileClip, concatenate_videoclips,CompositeVideoClipimport datetimefrom skimage.filters import gaussian

def _blur(image):
 return gaussian(image.astype(float), sigma=25,preserve_range=True,channel_axis=-1)

def blurVideos(filenames):
 clips = [VideoFileClip(c) for c in filenames]
 overlay_clips = [VideoFileClip((c), has_mask=True) for c in filenames]
 overlay = concatenate_videoclips(overlay_clips,"chain")
 output = concatenate_videoclips(clips, method="chain")
 print("Bluring video")
 blured_output = output.fl_image( _blur )
 print("Done")
 print("Resizing video")
 resized_output = blured_output.resize((1920,1080))
 print("Done")
 composited_output = CompositeVideoClip([resized_output.without_audio(),overlay.set_position("center","center")])
 composited_output.write_videofile(f"output/out_{datetime.datetime.today().strftime('%Y-%m-%d')}.mp4",fps=20,threads=16,codec="h264_nvenc",preset="fast")



I've tried to use GPU accelerated codecs like h264_nvenc, I've tried to modify ffmpeg arguments under the hood of moviepy to use cuda also no succses
What can i do to speed this up ?


-
How do I extract video layers from an AVI ?
14 janvier 2018, par PhilosophistryI have a Fujifilm FinePix Real 3D W3, and it creates something Fujifilm calls 3D-AVI files. There are pograms to split these 3D-AVI files into separate left-and-right movies, but they involve using GUI-based software on Windows.
I would rather use a command-line tool like ffmpeg, so that I can automate the process. Does anybody have any suggestions on how to go about doing this ?
I’ve heard on forums that the 3D-AVI file is simply left and right AVIs on two video layers. I couldn’t see anything in the ffmpeg docs on how to extract these layers.
-
How to use ffmpeg in uwp ?
22 avril 2022, par MrLI developed a software with electron. It needs ffmpeg, but when I package it into appx, I won't be able to use ffmpeg.


let FFmpegPath = path.resolve(AppPath, "FFmpeg");
let FFMPEGPATH = path.resolve(FFmpegPath, "ffmpeg");
let FFPROBEPATH = path.resolve(FFmpegPath, "ffprobe");
let FFoption_V = '"'+FFPROBEPATH+'"' + " -i " +'"'+ path.normalize(PATH)+'"' + " -show_streams -select_streams v -of json";
EXEC_V = C_PRO.execSync(FFoption_V);



This is the information I found, but it doesn't seem to work for electron :https://docs.microsoft.com/en-us/windows/apps/desktop/modernize/desktop-to-uwp-extensions


<package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10">
 ...
 <capabilities>
 
 </capabilities>
 <applications>
 <application>
 <extensions>
 
 
 
 
 
 
 </extensions>
 </application>
 </applications>
</package>