
Recherche avancée
Médias (1)
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (60)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
MediaSPIP Core : La Configuration
9 novembre 2010, parMediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...) -
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)
Sur d’autres sites (9632)
-
ffmpeg : concatinating files creates audio artefacts
28 octobre 2022, par LMLI'm currently trying to create a video out of multiple short video files. However, the final video always has audio artefacts, where it sounds like a short high pitch or echo at certain times during the audio. All the audio is a text-to-speech generated voice. No music. The artefacts appear sometimes more, sometimes less. But I would obviously prefer to have 0 of it.


My starting point is a long audio file (mono with audio codec "mp3" according to ffprobe). Within that file are a bunch of short pauses of 4-5 seconds. I detect the silences and create individual audio files from there. Afterwards I create an mp4 file with this audio and a still image. Up to this point, the audio is perfectly fine and sounds the exact same as in the original file.


After this I want to create the final video : each of the individual parts added into one long video. There is a transition between each file to mark the changing of image and audio. But even when skipping the transition and simply adding all of these clips that were generated the same way together, the artefacts are still present.


The commands I use to create the different files.


Create individual audio files :

.\ffmpeg.exe -y -hide_banner -i TTSAudio.mp3 -ss 359.944 -to 372.02479 -c copy partXY.mp3


Create individual video files by using a .png file as the video stream and the partXY.mp3 as the audio stream :

.\ffmpeg.exe -y -hide_banner -framerate 30 -loop 1 -i XY_full.png -i partXY.mp3 -c:v libx265 -c:a copy -shortest partXY.mp4


For concatenating the files :

.\ffmpeg.exe -y -hide_banner -i part000.mp4 -i part001.mp4 -i part002.mp4 -filter_complex "[0:v] [0:a] [1:v] [1:a] [2:v] [2:a] concat=n=3:v=1:a=1 [v] [a]" -map "[v]" -map "[a]" -c:v copy -c:a copy final_video.mp4


I've tried a lot of different things and codecs for the audio, without any luck. I use h265, as using h264 was causing weird video artefacts after uploading the file to YouTube.
I have tried reencoding, instead of copying (-c:a copy) at various stages, especially the final video. All without any luck.
I've used the different concatenation where you provide a list of files, which created a whole different set of problems.


I've managed to filter the artefacts out by using -af "lowpass=f=2800", but that changes the voice a lot. I was also not able to notice the pitch visually when opening the audio in audacity, for example.


Example :
https://soundcloud.com/thelml/sets/ffmpeg-audio-artefacts/s-LNr6UaMPgz9?si=f7b30e1e64bf4333ad055fa1fe21e9ec
Due to the files being so short, I seem to have to sometimes have to replay the bugged file to hear the artefact.


So my question is : how do I fix this, without using a lowpass that basically changes the whole voice ?


-
hw_base_encode : make recon_frames_ref optional
30 août 2024, par Lynnehw_base_encode : make recon_frames_ref optional
Vulkan supports some stupidly odd hardware, that unfortunately,
most modern GPUs happen to be.
The DPB images for encoders may be required to be preallocated
all at once, and rather than be individual frames, be layers of
a single frame.As the hw_base_encode code is written with the thought that either
the driver or the device itself supports sane image allocation,
Vulkan does not leave us with this option.So, in the case that the hardware does not support individual
frames to be used as DPBs, make the DBP frames context optional,
and let the subsystem manage this. -
Smooth scale animation in ffmpeg
3 août 2018, par MakesHow can I smooth the animations of scale ?
ffmpeg -i bg.mp4 -loop 1 -i blank.png -filter_complex "[1:v]drawtext=fontfile=ariblk.ttf:text=EXAMPLE:x=(main_w-text_w)/2:y=(main_h-max_glyph_a)/2:fontcolor=0xFFFFFF:fontsize=200:alpha=1[txt];[txt]sendcmd=f=data.cmd,scale=w=0:h=-1[txtscale];[0:v][txtscale]overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2:shortest=1" preview.mp4
Video resolution 1280 * 720 -> scale w = ’12.8 * X’, X - scale value (data from the After Effects)
data.cmd
0 scale w ' 12.8* 72 '; 0.040 scale w ' 12.8* 72.3944 '; 0.080 scale w ' 12.8* 72.7887 '; 0.120 scale w ' 12.8* 73.1831 '; 0.160 scale w ' 12.8* 73.5775 '; 0.200 scale w ' 12.8* 73.9718 '; 0.240 scale w ' 12.8* 74.3662 '; 0.280 scale w ' 12.8* 74.7606 '; 0.320 scale w ' 12.8* 75.1549 '; 0.360 scale w ' 12.8* 75.5493 '; 0.400 scale w ' 12.8* 75.9437 '; 0.440 scale w ' 12.8* 76.338 '; 0.480 scale w ' 12.8* 76.7324 '; 0.520 scale w ' 12.8* 77.1268 '; 0.560 scale w ' 12.8* 77.5211 '; 0.600 scale w ' 12.8* 77.9155 '; 0.640 scale w ' 12.8* 78.3099 '; 0.680 scale w ' 12.8* 78.7042 '; 0.720 scale w ' 12.8* 79.0986 '; 0.760 scale w ' 12.8* 79.493 '; 0.800 scale w ' 12.8* 79.8873 '; 0.840 scale w ' 12.8* 80.2817 '; 0.880 scale w ' 12.8* 80.6761 '; 0.920 scale w ' 12.8* 81.0704 '; 0.960 scale w ' 12.8* 81.4648 '; 1.000 scale w ' 12.8* 81.8592 '; 1.040 scale w ' 12.8* 82.2535 '; 1.080 scale w ' 12.8* 82.6479 '; 1.120 scale w ' 12.8* 83.0423 '; 1.160 scale w ' 12.8* 83.4366 '; 1.200 scale w ' 12.8* 83.831 '; 1.240 scale w ' 12.8* 84.2254 '; 1.280 scale w ' 12.8* 84.6197 '; 1.320 scale w ' 12.8* 85.0141 '; 1.360 scale w ' 12.8* 85.4085 '; 1.400 scale w ' 12.8* 85.8028 '; 1.440 scale w ' 12.8* 86.1972 '; 1.480 scale w ' 12.8* 86.5915 '; 1.520 scale w ' 12.8* 86.9859 '; 1.560 scale w ' 12.8* 87.3803 '; 1.600 scale w ' 12.8* 87.7746 '; 1.640 scale w ' 12.8* 88.169 '; 1.680 scale w ' 12.8* 88.5634 '; 1.720 scale w ' 12.8* 88.9577 '; 1.760 scale w ' 12.8* 89.3521 '; 1.800 scale w ' 12.8* 89.7465 '; 1.840 scale w ' 12.8* 90.1408 '; 1.880 scale w ' 12.8* 90.5352 '; 1.920 scale w ' 12.8* 90.9296 '; 1.960 scale w ' 12.8* 91.3239 '; 2.000 scale w ' 12.8* 91.7183 '; 2.040 scale w ' 12.8* 92.1127 '; 2.080 scale w ' 12.8* 92.507 '; 2.120 scale w ' 12.8* 92.9014 '; 2.160 scale w ' 12.8* 93.2958 '; 2.200 scale w ' 12.8* 93.6901 '; 2.240 scale w ' 12.8* 94.0845 '; 2.280 scale w ' 12.8* 94.4789 '; 2.320 scale w ' 12.8* 94.8732 '; 2.360 scale w ' 12.8* 95.2676 '; 2.400 scale w ' 12.8* 95.662 '; 2.440 scale w ' 12.8* 96.0563 '; 2.480 scale w ' 12.8* 96.4507 '; 2.520 scale w ' 12.8* 96.8451 '; 2.560 scale w ' 12.8* 97.2394 '; 2.600 scale w ' 12.8* 97.6338 '; 2.640 scale w ' 12.8* 98.0282 '; 2.680 scale w ' 12.8* 98.4225 '; 2.720 scale w ' 12.8* 98.8169 '; 2.760 scale w ' 12.8* 99.2113 '; 2.800 scale w ' 12.8* 99.6056 '; 2.840 scale w ' 12.8* 100 ';