
Recherche avancée
Médias (3)
-
The Slip - Artworks
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
-
Podcasting Legal guide
16 mai 2011, par
Mis à jour : Mai 2011
Langue : English
Type : Texte
-
Creativecommons informational flyer
16 mai 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (42)
-
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 (...) -
Librairies et binaires spécifiques au traitement vidéo et sonore
31 janvier 2010, parLes logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
Binaires complémentaires et facultatifs flvtool2 : (...) -
Menus personnalisés
14 novembre 2010, parMediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
Menus créés à l’initialisation du site
Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)
Sur d’autres sites (6215)
-
controlling the speed of the hls play list, generated by ffmpeg
27 mars 2024, par tamirgI have a ffmpeg process which the input is an rtsp stream, and the output is a m3u8 play list.


when i simply watches the rtsp input stream, the play speed is correct and everything works fine.
but when i play the created HLS playlist, it seems to play in a much faster speed.


The way i create the ffmpeg process :


_SEGMENT_FILE_FORMAT = 'output%d.ts'
output_dir_path = "C:\\Tempdir"


source = ffmpeg.input(
 'rtsp://myrtspserveraddress',
 rtsp_transport='tcp',
 fflags='nobuffer', 
 flags='low_delay' 
)

pipe = source.output(
 os.path.join(output_dir_path, _SEGMENT_FILE_FORMAT),
 **dict(vcodec='copy', video_bitrate='1000k'),
 copyts=None,
 f='segment', 
 segment_list_flags='live',
 segment_time=10,
 segment_list_size=20, 
 segment_wrap=20,

 segment_format='mpegts',
 segment_list=os.path.join(output_dir_path, "test_file"),
 segment_list_type='m3u8',
)



Which seems to create a list of "10 seconds" files, but the actual data in those files, is pretty much a 30 seconds video which simply plays much faster.


What exactly controls the "play speed" of the video, and how can i know why it plays faster, and control it so the play speed would be the actual speed matching the RTSP stream ?


-
Revision 195061feda : Fix rectangular partition check in speed 1 Make encoder skip rectangular partit
30 septembre 2013, par Jingning HanChanged Paths :
Modify /vp9/encoder/vp9_encodeframe.c
Fix rectangular partition check in speed 1Make encoder skip rectangular partition check in speed 1 and above,
when early termination was triggered in partition split.
Thanks Guillaume (gmartres@) for catching this issue.This change makes bus_cif at 2000kbps speed 1 runtime goes down from
25612ms to 23438ms (about 9% speed-up), at the expense of -0.235%
performance down.Change-Id : I98613fad081a261d30d5fa206f934ca70601c180
-
how to speed up video and add watermark using ffmpeg
30 octobre 2017, par 1234567How can we speed up video and add watermark using ffmpeg
for speed up video we have this command
ffmpeg -i input.mp4 -filter_complex "[0:v]setpts=0.5*PTS[v];[0:a]atempo=2.0[a]" -map "[v]" -map "[a]" output.mp4
for water mark we use
"-y", "-i", j, "-i", image1, "-i", image2, "-i", image3, "-filter_complex",
"[0:v][1:v] overlay=0:0:enable='between(t,1,2)'[tmp];" +
"[tmp][2:v] overlay=0:0:enable='between(t,5,7)'[tmp];"+
"[tmp][3:v] overlay=0:0:enable='between(t,9,11)'",
"-c:v","libx264", "-preset", "ultrafast", out;how can we merge bot commands I have various commands
like this""-y", "-i", j, "-i", image2, "-i", image2, "-i", image2, "-filter_complex",
"[0:v]setpts=0.5*PTS[v];[0:a]atempo=2.0[a]" +
"[1:v] overlay=0:0:enable='between(t,1,2)'[tmp];" +
"[tmp][2:v] overlay=0:0:enable='between(t,5,7)'[tmp];"+
"[tmp][3:v] overlay=0:0:enable='between(t,9,11)'",
"-map", "[v]", "-map", "[a]", "-b:v", "2097k", "-r", "60", "-vcodec", "mpeg4",
"-preset", "ultrafast", out"how can we speed video and add watermark
the error that i get is
[AVFilterGraph @ 0xac59c530] No output pad can be associated to link label '1:v'.
Error initializing complex filters.