
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (108)
-
Librairies et logiciels spécifiques aux médias
10 décembre 2010, parPour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...) -
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 (...) -
Taille des images et des logos définissables
9 février 2011, parDans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...)
Sur d’autres sites (9894)
-
How To Extract First Non-Corrupted Video Frame Using FFMPEG
30 avril 2021, par macuseronlineI am trying to extract the first frames from a series of videos as single JPEG files, and for the most part this command works well :


ffmpeg -hide_banner -loglevel warning -ss 1 -i $file -vframes 1 -f image2 "$name.jpg"



The problem I am running into is, some of the videos' first frames are corrupted and FFMPEG is not only reporting the error in Terminal, but is also saving that bad frame as the single JPEG.


Since the entire video is otherwise fine, or at least certainly contains some frames that are good, I am looking to have FFMPEG keep trying further frames until it finds one that is not corrupted and save that one as the single JPEG. I thought about writing code that would re-try the command after adding an x value (say 100) to the -ss switch until it processes the file without an error, but was hoping maybe FFMPEG has a native method by which to do this that would avoid the extra code.


Any help with this would be appreciated !


-
doc/developer : Document relationship between git accounts and MAINTAINERS
16 novembre 2024, par Michael Niedermayer -
Cross-fading transition without duration reduction using ffmpeg
8 janvier 2020, par ArlienI want to concat two videos with a cross-fade transition in-between but (obviously) the total video lose a little time. However because my code also works with the audio, I really need to keep the same duration.
How could I do it ? Here’s my code for the fade but obviously the edited video lasts 0.5s less than the total of the two durations.
To be clear : I need to use cross-fading transition without reducing the duration of the video.
ffmpeg -i sample1.mp4 -i sample2.mp4 -filter_complex "color=black:1280x720:d=19.5[base]; [0:v]setpts=PTS-STARTPTS[v0]; [1:v]format=yuva420p,fade=in:st=0:d=0.5:alpha=1,setpts=PTS-STARTPTS+(9.5/TB)[v1]; [base][v0]overlay[tmp]; [tmp][v1]overlay,format=yuv420p[fv]; [0:a][1:a]acrossfade=d=0.5[fa]" -map [fv] -map [fa] outputwithfade.mp4
I thought about maybe slowing down the clips during the fade but I don’t really know how to do it. Anyone :) ?