
Recherche avancée
Médias (1)
-
Géodiversité
9 septembre 2011, par ,
Mis à jour : Août 2018
Langue : français
Type : Texte
Autres articles (34)
-
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 -
Librairies et binaires spécifiques au traitement vidéo et sonore
31 janvier 2010, parLes logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
Binaires complémentaires et facultatifs flvtool2 : (...) -
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 (4191)
-
Speed advantage in combining FFmpeg filters ?
4 mai 2020, par lach_codesI'm currently using five separate FFmpeg processes to do the following :



- 

- trim & crop Vid B
- scale Vid B to height of Vid A
- combine Vid B & Vid A
- add a fade-in/fade-out to Combined Vid
- add an overlay to fade in/out vid













I have them all set to ultrafast but it still takes a long time - about 40 seconds when each video is 10 seconds long.



I initially explored combining some of the filters but couldn't get it working in the timeframe I had available. I also wasn't sure if the time spent figuring out how to combine all the filters would pay off in a faster processing time.



Any thoughts/insights from you brilliant FFmpeg gurus ? Would this speed up processing, and if so, should I combine all the commands together or are there some I should combine and others I should leave separate ?



Here are my current commands, all of which are working :



// trimming 200ms off begining of vid B + cropping frame (note that I have previously retrieved dimensions and duration of both videos with ffprobe)
1. `ffmpeg -i vidB.mov -ss 200 -t ${vidB.duration} -async 1 -filter:v "crop=iw:${vidB.croppedHeight}:0:${vidB.offset}" -preset ultrafast -c:a copy croppedVidB.mov`

// scale Vid B up to Vid A's height
2. `ffmpeg -i croppedVidB.mov -vf scale=-2:${vidA.height} vidBScaled.mov`

// combine videos
3. `ffmpeg -i vidA.mov -i vidBScaled.mov -filter_complex "[0:v][1:v] hstack=inputs=2[v]; [0:a][1:a]amix[a]" -map "[v]" -map "[a]" -preset ultrafast -ac 2 combined.mov`

// add fade in & out
4. `ffmpeg -i combined.mov -sseof -1 -copyts -i combined.mov -filter_complex "[1]fade=out:0:30[t];[0][t]overlay,fade=in:0:30[v]; anullsrc,atrim=0:1[at];[0][at]acrossfade=d=1,afade=d=1[a]" -map "[v]" -map "[a]" -c:v libx264 -crf 22 -preset ultrafast -shortest fadeInOut.mov`

// add overlay
5. `ffmpeg -i fadeInOut.mov -i overlay.png -filter_complex overlay=W-w-10:H-h-10 -codec:a copy -preset ultrafast -async 1 overlay.mov`




Thanks in advance for your thoughts !


-
How to compile ffmpeg for an iphone application
27 décembre 2012, par SwatiI am trying to compile ffmpeg for my iphone app so that i can
convert amr file to mp3
I downloaded latest version of ffmpeg and tried to configure it via terminal on my mac.
but i couldn't succeed, it always shows numerous errors :
cannot find make command
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc is unable to create an executable file.
libavcodec.a file not found
libavfilter.a file not found
libavutil.a file not found
libswscale.a file not found
libavdevice.a file not found
libavformat.a file not found
libswresample.a file not foundi tried following links :
FFmpeg on iPhoneUsing FFMPEG library with iPhone SDK for video encoding
and many more...
could not fins step by step instructions..
Hope somebody can guide me with ffmpeg config -
iPhone video PHP upload. Windows to HTML5 tag
21 août 2012, par zeshinAs those of you with an iPhone know, the iCloud uploads all pictures and videos taken on the iPhone to the cloud and, thereafter, your home PC.
I am uploading videos to my web page through a PHP function, which are then displayed as embedded HTML5 videos with the tag. The problem I am running into is that videos taken on the iPhone in portrait are showing up on both my PC and website in landscape view.
Due to the fact that uploads come from multiple sources, I need a sever-side solution to recognize the orientation of the video and rotate it as needed.
Does anyone know of a way to accomplish this without using additional plugins such as ffmpeg ?