
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (42)
-
Demande de création d’un canal
12 mars 2010, parEn fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...) -
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 -
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 (7943)
-
Creating a transparent video out of an input video
28 juillet 2021, par poldownI'm trying to create a video with a transparent background out of an input video (with the same dimensions, etc.). I tried several strategies (using the
chromakey
filter and others) and none worked... I got this far :

ffmpeg -i input.mp4 -filter_complex "color=color=black@0.0,format=yuva420p[bg],[bg][0:v]scale2ref[bg][0v],[bg]drawbox=x=10:y=10:w=100:h=100:color=pink@0.5;[0v]nullsink" -c:v qtrle -an "alpha.mov"



- 

- creating a video stream with transparency, and setting a transparent background (black@0.0)
- scaling the transparent video according to the input video
- [for testing purposes : drawing a box over the transparent video. I omitted the part in which I embed subtitles onto the video, for simplicity's sake]
- discarding the input video stream
- removing the audio stream












It basically works, but the processing never ends - I can't manage to limit the output video length so it'll match the input video's length...
I've tried using the
-shortest
option anywhere in the command - with no success.

-
how to pass user input variable to ffmpeg in windows batch file
7 décembre 2018, par lalaReffering to Answer here (Closest Search) i have in a batch file code(below). I tried every possible way to pass line1 value to text and it simply didn’t worked. clearly hardcoding text in ffmpeg line works. Any Ideas or Guideline.
set /p dtp="DRAG A File:"
set /p line1 = "Enter Top Text:"
set /p line2 = "Enter Bottom Text:"
ffmpeg -i %dtp% -filter_complex "[0:v]pad=iw:ih+100:0:(oh-ih)/2:color=white, drawtext=text='%%line1%%':fontfile=Mosk Bold 700.ttf:fontsize=24:fontcolor=black:x=(w-tw)/2:y=(50-th)/2, drawtext=text=`%line2%`:fontfile=Mosk Bold 700.ttf:fontsize=24:fontcolor=black:x=(w-tw)/2:y=h-25-(th/2)" %dtp%_tweaked.mp4 -
sh file imagemagick modification
16 avril 2013, par LoveI have an .sh script that generate thumbnail sprites' images from video. The below codes in the script will output the image similar this : http://s1-www.ltvimg.com/cdn/farfuture/7NO-FuBvaWJK_v34cJrAmHi6L3ywPn1YtImQNzXgTic/mtime:1362848979/sites/default/files/tooltipthumbs-sprite.jpg
For now, the dimension of each thumbnail is 108x60, maximum 25 thumbnails(5x5) per image and per image dimension is 540x300. The thumbnail is capture every second of the video, which mean if i have a 75 seconds of video, it will output 75 thumbnails with 3 images.
What i need now, i want the script generate only 1 image per video. Which mean 75 thumbnails all in 1 image. What i need to change on the below codes to make this works ?
mogrify -verbose -resize 108x60 -gravity center -quality 100 -background black
-extent 108x60 MONTAGE*.png
numimages=`ls -1 *.png | wc -l | cut -d " " -f1`
montage -verbose MONTAGE*.png -geometry +0+0 -tile 5x5 -quality 100 -background
black "$basename"-%04d.jpg
mogrify -verbose -resize 540x300 -gravity north -extent 540x300 -quality 100
-background black "$basename"-*.jpg