
Recherche avancée
Autres articles (112)
-
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 ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
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
Sur d’autres sites (6089)
-
ffmpeg replace audio with filter complex start and end time [closed]
3 juin 2020, par a4n6cI have this code that I found on one of the posts in StackOverflow and I tested it and it works however the only slight problem I need fixing on this.



ffmpeg -y -i "C:\Users\test\Desktop\vidz\New folder (2)\target\vaastav song .mp4" -i "C:\Users\test\Desktop\vidz\New folder (2)\target\2.mp3" -filter_complex "[0:a]atrim=start=0:05,asetpts=PTS-STARTPTS[aud1];[1:a]atrim=0:09,afade=t=out:st=57:d=3,asetpts=PTS-STARTPTS[aud2]; [aud2][aud1]concat=n=2:v=0:a=1[aout]" -map 0:v -map "[aout]" -c:v copy -c:a libmp3lame "C:\Users\test\Desktop\vidz\New folder (2)\target\output1.mp4"




were you see the end-time [1:a]atrim=0:09 works ok does what i need it to do but the start time is not working accordingly as it starts playing the mp3 on the start of the video even when i set the time too atrim=start=0:05.


-
Revision 16783 : use stream.time_base for subtitles to keep time from input if possible, ...
14 janvier 2010, par j — Loguse stream.time_base for subtitles to keep time from input if possible, patch by ogg.k
-
FFmpeg for marking time video based on a reference date
29 décembre 2018, par Denio MarizI am trying to mark a timestamp in a video using
drawtext
filter.
FFmpeg easily marks timestamps based onlocaltime
,gmtime
or evenPTS
. However, I want to assign a reference time (start time) for the timestamp in order to represent the time the video was recorded (not encoded).Reading the documentation, I found that option
basetime
can be used for this purpose. However it seems that is not working or I am missing something.The command line I am using is :
ffmpeg -y -i input.mp4 -filter_complex drawtext="fontfile=/tmp/UbuntuMono-B.ttf: fontsize=36: fontcolor=yellow: box=1: boxcolor=black@0.4: text='Wall Clock Time\: %{gmtime\:%Y-%m-%d %T}': basetime=1456007118" output.mp4
By using
basetime=1456007118
, it was expected the start time was set to ’02/20/2016 20:25:18’ since 1456007118 is the UTC time for that time and date :date -d '02/20/2016 20:25:18' +"%s" # format MM/DD/AAAA hh:mm:ss
1456007118However, no error is issued by FFmpeg and the video is marked with current GMT, ignoring
basetime
option.Any hint ?
Thanks.Complete information about FFmpeg version and output is :
ffmpeg -y -i /home/denio/Videos/Interstellar_2014_Trailer_4_5.1-1080p-HDTN.mp4 -filter_complex drawtext="fontfile=/tmp/UbuntuMono-B.ttf: fontsize=36: fontcolor=yellow: box=1: boxcolor=black@0.4: text='Wall Clock Time\: %{gmtime\:%Y-%m-%d %T}': basetime=1470226363" /tmp/x.mp4
ffmpeg version 3.1.1 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 5.3.1 (Ubuntu 5.3.1-14ubuntu2.1) 20160413
configuration: --enable-libxavs --enable-bzlib --enable-libfaac --enable-libfreetype --enable-libfontconfig --enable-libmp3lame --enable-libschroedinger --enable-libspeex --enable-libvorbis --enable-libx264 --enable-libx265 --enable-libxvid --enable-zlib --enable-x11grab --enable-static --enable-pthreads --enable-gpl --enable-nonfree --enable-version3 --disable-ffserver --enable-libgsm --enable-librtmp --enable-libvpx --enable-libschroedinger --enable-libopencore-amrnb --enable-libopenjpeg
libavutil 55. 28.100 / 55. 28.100
libavcodec 57. 48.101 / 57. 48.101
libavformat 57. 41.100 / 57. 41.100
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 47.100 / 6. 47.100
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 1.100 / 2. 1.100
libpostproc 54. 0.100 / 54. 0.100
...
...