
Recherche avancée
Autres articles (53)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
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 ;
-
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 (6561)
-
Adding audio at specific time of the video
21 septembre 2018, par Sergio BruccoleriI want to add an audio file at a specific time of the video, without completely replacing the original video audio stream (just at the specific time, for the whole duration of the replacement audio).
I have this command below :
ffmpeg -y -i video.mp4 -itsoffset 00:00:07 -i audio.mp3 -map 0:0 -map 1:0 -c:v copy -async 1 out.mp4
but this command replaces the entire audio stream of the video with the content of the second input
The expected result is :
-
The video plays as normal with the original audio
-
Once timestamp 00:00:07 is reached, the new ’replaced’ audio streams
play. - Once the new audio streams stops the original audio continues
playing.
Anyone that can help me solving this issue ? I’ve been trying with atrim without any result, but probably I am doing something wrong.
-
-
How to put date and time in filename ? (FFmpeg)
3 novembre 2017, par lysHow to put data and time in an output file name generated from a video cut using ffmpeg ? I’ve tried some code combinations that did not work.
This code works to cut the video but not the date and time :
ffmpeg -s start -i input.mp4 -c copy -t 60 -strftime 1 -segment_format mp4 part_video% Y-% m-% d_% H-% M-% S.mp4
I have an example working for my videos 24/7 and one for the "photos", but they are not applicable to the video.
Example videos 24/7 :
ffmpeg -f dshow -i video = camera -c: v libx264 -f segment -strftime 1 -segment_time 24:00:00 -segment_format mp4 -segment_format_options movflags = empty_moov my_video% Y-% m-% d_% H-% M- % S.mp4
Example of photos :
ffmpeg -f dshow -i video = camera -qscale: v 1 -t 1 -strftime 1 -segment_format jpeg photo% Y-% m-% d-% M-% S.jpeg
Does anyone have an idea how to solve it ?
-
How to make TIME subtitles(.srt, .smi etc) with frame unit
3 septembre 2019, par kylesongI want to create a Python script that make subtitle (a ticking timecode).
I have an h.264 binary file that has timestamp in each frame. so I want to parse this timestamp and make the subtitle with it.
Here’s what I’ve tried with ffmpeg below.
ffmpeg -y -i video.avi -vf "drawtext=fontfile=C:\Windows\Fonts\consolab.ttf: fontsize=12:fontcolor=yellow: box=1:boxcolor=black@0.4: text='TIME\: %{pts\:gmtime\:1561939200}':x=(w-tw)/2:y=(h-th)/2" test.avi
Output
.avi
is okay with the timestamp, but, I needed to re-encode the source video file which takes a lot of time.
So, I want to use a different way, which is creating subtitles.Question is, is there any way to make subtitle with frame time ? or useful info to fill me in ?
The current result :
The expected result :