
Recherche avancée
Médias (91)
-
Spitfire Parade - Crisis
15 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Wired NextMusic
14 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
-
Sintel MP4 Surround 5.1 Full
13 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (92)
-
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...) -
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...) -
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
Sur d’autres sites (13401)
-
Cut .mkv Video using ffmpeg without changing original bitrate
23 janvier 2021, par benito_hI accidently said an unappropriate swear word during an educational video (good start I know). So I would like to remove this section from the .mkv video. However I would like the video and audio bitrate and quality unchanged.


First, I tried cutting the video slightly after the relevant time stamp without reencoding it, using for example


ffmpeg -i input.mkv -ss 00:01:09.200 -c copy -t 4:11 output.mkv



but this way the first couple of seconds seem to get lost.


Is there a way to remove the relevant segment (01:08.800 to 01:09.200) while maintaining the same bitrate / quality for audio and video ? Since only formulas are shown, a slight out-of-sync wouldnt even matter.


-
ffmpeg extract keyframes from certain time ranges to filenames with timestamps from original video
17 mai 2023, par Display NameI have as input specific timestamps I'm interested in, and I wish to extract keyframes closest to them. I thus use
skip_frame nokey
and aselect='between(t,...,...)+between(t,...,...)+...'
where I add a few seconds around each time I'm interested in (enough so that at least one keyframe will fall in that range based on the input video I have, and then can manually delete if more than one came out in a given time range in my sequence). Chaining thebetween()
s lets me use a single command to extract all of these images in order to avoid seeking from the beginning of the video for each image, were I to use separate command per image. So this part works fine.

The problem is that I want the output image filenames to correspond to the timestamps, in seconds (or some decimal fraction of seconds like tenths or milliseconds) of the extracted frames with respect to the INPUT video. With older versions of ffmpeg, I used to be able for example to get output filenames being times in terms of tenths of a second with
-vsync 0 -r 10 -frame_pts true %05d.webp
but with recent versions, that results in the errorOne of -r/-fpsmax was specified together a non-CFR -vsync/-fps_mode. This is contradictory.
Replacing the deprecated-vsync
with-fps_mode
and one of the CFR values results in ffmpeg DUPLICATING frames to fulfill the specified-r
value which results in a huge number of output images. The way I am able to get just the set of keyframes I want and no duplications is to drop the-r
and use-fps_mode passthrough
, but then I lose the naming of the output files by their time in the original video. Searching around here and elsewhere on the web, I have tried things like settingsettb=...,setpts=...
and-copyts
but in the end couldn't get it to work.

As a complete example, the command

ffmpeg -skip_frame nokey -i "input.mp4" -vf "select='between(t,15,25)+between(t,40,50)+between(t,95,105)+between(t,120,130)+between(t,190,200)',scale='min(480,iw)':-2:flags=lanczos" -fps_mode passthrough -copyts -c:v libwebp -quality 75 -preset photo -frame_pts true %05d.webp
gives me the right set of output images, but not the filenames that would make it easy for me to quickly manually find frames corresponding to specific times in the original video.

-
ffmpeg : how to extract keyframes from certain time ranges into filenames with timestamps from the original video ?
18 mai 2023, par Display NameI have as input specific timestamps I'm interested in, and I wish to extract keyframes closest to them. I thus use
skip_frame nokey
and aselect='between(t,...,...)+between(t,...,...)+...'
where I add a few seconds around each time I'm interested in (enough so that at least one keyframe will fall in that range based on the input video I have, and then can manually delete if more than one came out in a given time range in my sequence). Chaining thebetween()
s lets me use a single command to extract all of these images in order to avoid seeking from the beginning of the video for each image, were I to use separate command per image. So this part works fine.

The problem is that I want the output image filenames to correspond to the timestamps, in seconds (or some decimal fraction of seconds like tenths or milliseconds) of the extracted frames with respect to the INPUT video. With older versions of ffmpeg, I used to be able for example to get output filenames being times in terms of tenths of a second with
-vsync 0 -r 10 -frame_pts true %05d.webp
but with recent versions, that results in the errorOne of -r/-fpsmax was specified together a non-CFR -vsync/-fps_mode. This is contradictory.
Replacing the deprecated-vsync
with-fps_mode
and one of the CFR values results in ffmpeg DUPLICATING frames to fulfill the specified-r
value which results in a huge number of output images. The way I am able to get just the set of keyframes I want and no duplications is to drop the-r
and use-fps_mode passthrough
, but then I lose the naming of the output files by their time in the original video. Searching around here and elsewhere on the web, I have tried things like settingsettb=...,setpts=...
and-copyts
but in the end couldn't get it to work.

As a complete example, the command

ffmpeg -skip_frame nokey -i "input.mp4" -vf "select='between(t,15,25)+between(t,40,50)+between(t,95,105)+between(t,120,130)+between(t,190,200)',scale='min(480,iw)':-2:flags=lanczos" -fps_mode passthrough -copyts -c:v libwebp -quality 75 -preset photo -frame_pts true %05d.webp
gives me the right set of output images, but not the filenames that would make it easy for me to quickly manually find frames corresponding to specific times in the original video.