
Recherche avancée
Autres articles (112)
-
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 (...) -
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
Sur d’autres sites (13095)
-
Color spot in FFmpeg output
2 juin 2022, par Fabian GarciaI work in a company that serves multimedia content to different clients and one of these requests that the videos contain the following specifications :


- 

- Codec : H264 High@4.0
- Mode : CBR 1 pass
- Window Buffer : 5 secs
- Frame Rate : 29.97/23.97
- Key Frame Interval : 2 secs
- Bitrate : 4000 Kbps
- Size : 1920x1080
- Window Buffer : 5 secs
- GOP : closed
- GOP size : fixed (no scene change detection)
- Window Buffer : 5 secs
- B Frames : As needed


























For the above, i build following script :


ffmpeg -hide_banner -nostats -loglevel error -y
-init_hw_device cuda=cuda -hwaccel cuda -hwaccel_device cuda
-i 'video_source.mxf' -filter_hw_device cuda
-filter_complex '[0:v]format=nv12,hwupload,yadif_cuda,scale_cuda=1920:1080[v0]'
-map '[v0]' -c:v h264_nvenc -rc cbr -b:v 4M -bufsize 8M -x264-params "keyint=60:min-keyint=48:no-scenecut" -r '30000/1001' -profile:v high -level:v 4
-map 0:1 -c:a libfdk_aac -b:a 96k -ar 44100 -ac 2 -sample_fmt s16
'output.mp4'



The inconvenience is that the generated output presents some color spots in the scene changes (it's a fade) as can be seen in the attached image.


I could notice that in the output video, the time does not match the input precisely, the output is a few milliseconds ahead, I think that the color spot corresponds to the image that should be shown at that moment in the original video.


Can you see something wrong in script ? Or maybe some concept that i don't know is causing a conflict with the output (This is my first time using ffmpeg).


Thank for your help !




-
ffmpeg -vg -filtercomplex, create gif with color kway and limited fps
3 février 2020, par danielI need to create a gif file with color key (greenscreen) with 10FPS and specified size. I try to combine -vg and -filter_complex :
ffmpeg -i testdatei-c.avi -vf "fps=10,scale=320:-1:flags=lanczos" -filter_complex "[0:v]chromakey=0xFFFFFF,split[v0][v1];[v0]palettegen[p];[v1][p]paletteuse" output.gif
I get the error :
Filtergraph 'fps=10,scale=320:-1:flags=lanczos' was specified through the -vf/-af/-filter option for output stream 0:0, which is fed from a complex filtergraph.
-vf/-af/-filter and -filter_complex cannot be used together for the same stream. -
ffmpeg alters color scheme when converting images to a video
12 février 2019, par Flo RyanI am trying to convert a sequence of png images to a video. Unfortunately the video though playing exactly what i want alters the colors.
The command used to convert the images :
ffmpeg -framerate 30 -pattern_type glob -i ’*.png’ -c:v libx264 -profile:v high -crf 20 -pix_fmt yuv420p out.mp4
The colors as displayed in the video.
How can I circumvent this altering of the colors ?
EDIT
I found the answer as posted below.