
Recherche avancée
Autres articles (46)
-
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
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 (...) -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)
Sur d’autres sites (9981)
-
FFMPEG : Create timestamp based on actual creation time
2 juillet 2022, par Peder WesselDesired outcome


Add overlay with timestamp for each frame of a video based on the original creation time for the video. E.g. starting at 2022-03-26T15:51:49.000000Z and a second later in the video present 2022-03-26T15:51.50.000000Z


Approach


Creation_time stored in the file already, e.g. when running
ffmpeg -i input.mov"
it presentscreation_time : 2022-03-26T15:51:49.000000Z
.

Adding overlay with timestamp to video :

ffmpeg -i input.mov -filter_complex "drawtext=text='%{pts\:gmtime\:1507046400\:%d-%m-%Y %T}': x=100 : y=100: box=1" -c:a copy output.mp4


Challenge/ help needed


Need to replace the
gmtime\:1507046400
with the actualcreation_time
. How does one do it ?

Sources


- 

- Overlay : https://superuser.com/questions/1013753/how-can-i-overlay-the-captured-timestamp-onto-a-video-using-ffmpeg-in-yyyy-mm-dd
- Creation_time :
FFMPEG - Get creation and/or modification date






-
How to Use Web Analytics to Improve SEO
5 janvier 2022, par erin — Analytics Tips -
Silenced parts are removed when converting from .mka into .wav using ffmpeg
29 mars 2022, par Test AccountI am trying to convert .mka audio into .wva. But the duration is changed from 26s to 14s and also the silenced parts in the .mka audio are removed.


The media informations of input and output are given below.


Input Audio (test.mka) :


Input #0, matroska,webm, from 'test.mka':
 Metadata:
 encoder : GStreamer matroskamux version 1.16.2
 creation_time : 2022-03-25T18:35:04.000000Z
 Duration: 00:00:27.07, start: 177.258000, bitrate: 23 kb/s
 Stream #0:0(eng): Audio: opus, 48000 Hz, stereo, fltp (default)
 Metadata:
 title : Audio



Output Audio(output.wav) :


Input #0, wav, from 'output.wav':
 Metadata:
 encoder : Lavf59.20.101
 Duration: 00:00:14.30, bitrate: 1536 kb/s
 Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, 2 
 channels, s16, 1536 kb/s



Silenced parts should not be removed and durations should be same.