
Recherche avancée
Médias (1)
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
Autres articles (54)
-
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...) -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
De l’upload à la vidéo finale [version standalone]
31 janvier 2010, parLe chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
Upload et récupération d’informations de la vidéo source
Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)
Sur d’autres sites (5908)
-
ffmpeg how to determine the size of the image and stretch the video to fit it ?
11 décembre 2020, par АртемI want to automatically detect the size of the image and stretch the video to fit it.

I have images of different sizes.

There is a video with a green background one size.

I remove the chromakey and overlay the image.

But I have a problem, my video is of a different size.

Me need to automatically expand or contract it to the size of the image.

@echo off
setlocal EnableDelayedExpansion
color a
set a=Your_files\*.jpg
set aa=Your_files\*.mp4
set b="Result\%%~na.mp4"
set c=ffmpeg
set f=-filter_complex "[1:v]chromakey=0x00D700:0.1:0.3[ckout];[0:v][ckout]overlay=(W-w)/1:(H-h)/1[o]" -map [o] -map 1:a -c:a copy
for %%s in (%aa%) do !set aud="%%s"!
for %%a in (%a%) do (%c% -y -i "%%a" -i %aud% %f% %b%)
exit



Help me please


Bad idea.. Images can be of different formats. (there will be distortion)




Me only one thing comes to my mind.

Separately resize the image.

Separately resize the video.

And then work with them...



-
How to draw - dynamic - "safe areas" in ffplay
16 juin 2023, par F.O.R.A.R.T.we need to preview videos with overlayed so-called "safe areas" according to this EBU document : SAFE AREAS FOR 16:9 TELEVISION PRODUCTION.


Here's the scheme for 1080p resolution :
1080p Safe Areas


Those consist of three different "zones", each with the same percentage size-to-the-edge of the video frame for any resolution :


- 

- Action Safe Area (GREEN box) : 3.5%
- Graphics Safe Area (RED box) : 5%
- 4:3 Safe Area (GREY box) : 16.25%








It should be easily achieveable using the drawbox command, but how can be dynamically adapted to any video resolution ?


-
how to change ffmpeg xstack background color
17 août 2021, par Abdelsalam ElTamawyI creating a 2x2 grid of videos but only had 3 videos. So I created an xstack of these 3 videos. The bottom right corner does not get a video. This causes it to be left to FFmpeg default colour.


Here is the command I use to create the video mosaic :


ffmpeg -i TEST.mkv -i TEST.mkv -i TEST.mkv -filter_complex "
[0:v] scale=960x540 [a0];
[1:v] scale=960x540 [a1];
[2:v] scale=960x540 [a2];
[a0][a1][a2] xstack=inputs=3:layout=0_0|0_h0|w0_0[out]"
 -map "[out]" -f matroska - | ffplay -





How can I make the green corner black or any other colour ?


I'm using FFmpeg version 4.4