
Recherche avancée
Autres articles (53)
-
Modifier la date de publication
21 juin 2013, parComment changer la date de publication d’un média ?
Il faut au préalable rajouter un champ "Date de publication" dans le masque de formulaire adéquat :
Administrer > Configuration des masques de formulaires > Sélectionner "Un média"
Dans la rubrique "Champs à ajouter, cocher "Date de publication "
Cliquer en bas de la page sur Enregistrer -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...)
Sur d’autres sites (5155)
-
FFMpeg or other how to add dynamic text into video stream
17 février 2017, par FergusonI’am looking for a solution on how to add some dynamic text into the video stream. For example I have a underwater webcam (IP cam) and now I want to add information about measured temperature and salinity into video stream (as text). The final result must be a video stream with temp and salinity displayed in video.
For this project I’am using OrangePI pc with Armbian OS.
Can it be done with FFMpeg or is there some other option ?Regards
Ferguson -
Revision 15718 : En mode debug, forcer le Content-Type à HTML, ce que faisait implicitement ...
29 mai 2010, par esj@… — LogEn mode debug, forcer le Content-Type à HTML, ce que faisait implicitement les anciennes versions. Et ne pas non plus faire l’echo final.
-
FFmpeg - Crossfading inputs with a duration 1s creates an empty output
27 août 2021, par Sonia SeddikiI am trying to crossfade a silent input with a music to delay the moment when the music starts to play.


I built the command using
fluent-ffmpeg
so I could choose the duration of the silent input through my program. The duration of the crossfade is calculated according to the duration of the 2 inputs, and equals 0 if one of them is too short.

Below is an example of the resulting command :


ffmpeg -f lavfi -i anullsrc=r=44100 -i music.mp3 -y -filter_complex [0]atrim=duration=0.28[atrim_0];[atrim_0][1]acrossfade=d=0:c1=tri:c2=tri[final] -map [final] output.mp3



However, this command creates an empty output file when the duration of the silent input is inferior to 1 second, regardless of which music input is next. Using the same command with a trim duration > 1 second creates a valid output with the silence and the music.


I have tried to look through the FFmpeg debug report but couldn't really see what was wrong.


Below is an excerpt of the debug log report :


Input file #0 (anullsrc=r=44100):
 Input stream #0:0 (audio): 14 packets read (28672 bytes); 14 frames decoded (14336 samples);
 Total: 14 packets (28672 bytes) demuxed
Input file #1 (music.mp3):
 Input stream #1:0 (audio): 504 packets read (210651 bytes); 504 frames decoded (578372 samples);
 Total: 504 packets (210651 bytes) demuxed
Output file #0 (output.mp3):
 Output stream #0:0 (audio): 0 frames encoded (0 samples); 0 packets muxed (0 bytes);
 Total: 0 packets (0 bytes) muxed



Any idea what could cause this ?


PS : I am using FFmpeg 4.4, and the same command with FFmpeg 4.2 lead to a segmentation fault. Don't know if this can be of any help