
Recherche avancée
Médias (1)
-
DJ Dolores - Oslodum 2004 (includes (cc) sample of “Oslodum” by Gilberto Gil)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (46)
-
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...) -
Other interesting software
13 avril 2011, parWe don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
We don’t know them, we didn’t try them, but you can take a peek.
Videopress
Website : http://videopress.com/
License : GNU/GPL v2
Source code : (...) -
Le plugin : Podcasts.
14 juillet 2010, parLe problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
Types de fichiers supportés dans les flux
Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)
Sur d’autres sites (5848)
-
Ffmpeg concat demuxer shifts video stream start time
9 octobre 2020, par cake_donkeySummary


Ffmpeg concat demuxer shifts video stream start time when invoked with
-c copy
option.

Reproduction


Given an
before.mp4
containing video and audio streams both withstart_time=0
andstart_pts=0
.

Given concat demuxer input file
concat.txt
with contents :

file before.mp4



Run command
ffmpeg -f concat -i concat.txt -c copy concat.mp4


Run command
ffprobe concat.mp4 -show_streams
and observe that video streamstart_time
andstart_pts
are now non-zero (in my tests, the magnitude of this shift is small, on the scale of 0 -> 0.022969).

This causes the processed video, when opened using QuickTime player on Mac, to initially display a blank frame, although the rest of the video plays normally. In the image linked below, the left is what we see when first opening
before.mp4
; the right is what we see when first openingconcat.mp4
:

https://i.stack.imgur.com/lWxgF.jpg


Note that this issue occurs when concat demuxer is used to concatenate multiple
mp4
files too. I used only one file above for ease of reproduction.

I understand that this issue may be dependent on the codecs used. Therefore, I've included the ffprobe output for
before.mp4
below :

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'before.mp4':
 Metadata:
 major_brand : isom
 minor_version : 512
 compatible_brands: isomiso2avc1mp41
 encoder : Lavf58.45.100
 Duration: 00:00:06.50, start: 0.000000, bitrate: 998 kb/s
 Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1024x768 [SAR 1:1 DAR 4:3], 865 kb/s, 50 fps, 50 tbr, 12800 tbn, 100 tbc (default)
 Metadata:
 handler_name : VideoHandler
 Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 126 kb/s (default)
 Metadata:
 handler_name : SoundHandler



What I would like to do


Invoke concat demuxer with
-c copy
(i.e. without reencoding) without unexpected adjustments to output video stream start time.

I have a limited understanding of audio and video codecs and containers, so any suggestions on why this issue might occur, whether or not it could be fixed by ffmpeg, or suggestions for any other workarounds would be greatly appreciated !


Workarounds I've tried


start_time
andstart_pts
are reset to 0 when the processed video is reencoded without any filters :ffmpeg -i concat.mp4 concat_reencoded.mp4
.

This issue is not present when concat demuxer is invoked without
-c copy
option.

However, both of the above are undesirable since reencoding degrades video quality, which I would like to avoid.


This issue is also not present if
before.mp4
is remuxed tobefore.mkv
viaffmpeg -i before.mp4 -c copy before.mkv
before being processed by concat demuxer. However, this causes a slight change in fps (e.g. 30 -> 29.96) which I also haven't figured out how to avoid without reencoding.

-
matroskaenc : add an option to put the index at the start of the file
30 avril 2013, par Anton Khirnov -
avfilter/f_loop : add time option, for loop start in seconds
14 mai 2023, par Paul B Mahol