
Recherche avancée
Autres articles (18)
-
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
-
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 (...) -
Les vidéos
21 avril 2011, parComme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)
Sur d’autres sites (3352)
-
How to speed up my video creating/encoding pipeline
23 septembre 2015, par user606521I am creating a video from 120 JPEG images and concatening it with intro video.
- video (and images) dimmensions : 960x540
- video/audio output format that I need : mp4 H.264, AAC
I am creating video from JPEG images using following command :
ffmpeg -f lavfi -i anullsrc -r 60 -i pipe:0 -y -acodec aac -strict experimental \
-shortest -movflags frag_keyframe+empty_moov -f mp4 video.mp4It creates 2 seconds (120 frames with 60FPS) mp4 video with "silence" (silent audio). video.mp4 size is 94KB. This process takes 1 second. (Note that I am passing images through pipe:0).
Next I concatenate it with existing intro.mp4 video (H.264, AAC, 931KB, lasts 6 seconds) using following command :
ffmpeg -i intro.mp4 -i video.mp4 -y \
-filter_complex "[0:0] [0:1] [1:0] [1:1] concat=n=2:v=1:a=1 [v] [a]" \
-map "[v]" -map "[a]" -acodec aac -strict experimental \
-movflags frag_keyframe+empty_moov -f mp4 final.mp4It creates final mp4 H.254, AAC video which lasts 2 + 6 = 8 seconds and it’s size 990KB. This process takes 3.5 seconds.
So the whole process takes 5.5 seconds on my Mac. I have to speed it up, especially concatening videos. I am not familiar with video encoding and video formats, but I thought that maybe creating first video in mp4 and then concatening it with another mp4 video is not efficient. Are there any other formats in which I could create video (and intro) that will be faster to create/concatenate so I could encode only final video as mp4 ?
For example I could create
video.<format></format>
, concatenate it withintro.<format></format>
and finally encode it asfinal.mp4
.Use case : I have to create videos in almost real time. 5.5 secs is ok on my Mac, but I have to execute my app on a weaker machine on which this process currently takes 3 + 15 = 18 seconds.
Also maybe there are some cool flags I could pass to ffmpeg to make it faster ?
-
avfilter/vsrc_mandelbrot : Fix speed regression
24 novembre 2015, par Michael Niedermayer -
ffmpeg android : change the speed of video and audio
2 octobre 2015, par JohnI am working on Android platform with ffmpeg, I’ve built the ffmpeg and run as ’run-time’ command for my android app.
I’ve tested some function like video trim, it’s working :
ffmpeg -i /sdcard/vpai/in.mp4 -ss 5 -t 5 -c:v copy -c:a copy /sdcard/vpai/out.mp4
merge video and audio, also working :
ffmpeg -i /sdcard/vpai/in.mp4 -i /sdcard/vpai/in.mp3 -c:v copy -c:a copy /sdcard/vpai/out1.mp4
But when I try to speed up the video, it’s not working, the command is :
ffmpeg -i /sdcard/vpai/in.mp4 -filter_complex '[0:v]setpts=0.5*PTS[v];[0:a]atempo=2.0[a]' -map '[v]' -map '[a]' /sdcard/vpai/output.mp4
I execute the exact same command on desktop, its working fine, but not working on the Android...
The error message :
Invalid stream specifier :"[v]".
Last message repeated 3 times
Stream map "[v]" matches no streams.Any one can help ?