
Recherche avancée
Autres articles (68)
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
Formulaire personnalisable
21 juin 2013, parCette page présente les champs disponibles dans le formulaire de publication d’un média et il indique les différents champs qu’on peut ajouter. Formulaire de création d’un Media
Dans le cas d’un document de type média, les champs proposés par défaut sont : Texte Activer/Désactiver le forum ( on peut désactiver l’invite au commentaire pour chaque article ) Licence Ajout/suppression d’auteurs Tags
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire. (...)
Sur d’autres sites (10828)
-
lavc/hashtable : create generic robin hood hash table
30 mai, par Emma Worley -
ffmpeg : record 1 hour segment, right on the hour, no/little frame lost [closed]
2 septembre 2024, par Jean-MichelI need to record 24/7 an incoming SRT stream into 1 hour chunks, starting right on the hour.
The start needs to be as close as XX:00:00.000 as possible and little to no frame lost between the recordings.


For now I am using a systemd service with that ExecStart command :


/usr/bin/ffmpeg -fflags +discardcorrupt -i 'srt://:4010?pkt_size=1316&mode=listener' -c copy -map 0:v:0 -map 0:a? -f segment -strftime 1 -segment_time 3600 -reset_timestamps 1 -segment_format ts '/somefolder/recording_%%d%%m%%Y_%%H%%M00.ts'



And using a crontab to restart the service on the hour to insure the next file properly starts at the expected time.


0 * * * * cd /etc/systemd/system && systemctl restart srt_recorder_4010.service



Unfortunately, the restart of the service takes 5 to 10 seconds and we are loosing that duration in the recorded file.
If I'm not using the crontab, I get 1 hour files but I have no control on the start time.


Any suggestion to get something more accurate ?
Could there be a way to combine ffmpeg internal ability to exactly segment 1 hour file but enforce to do it on the hour ?
Or externally, if there was a way to send a "next file" command (api, signal) to a perpetual running ffmpeg to change recording file ?


Thanks


-
Revision 2584a5e5e5 : Add cheap show-buffer operation Adds the ability to have the decoder show one o
3 octobre 2012, par John KoleszarChanged Paths :
Modify /vp9/decoder/vp9_decodframe.c
Modify /vp9/encoder/vp9_bitstream.c
Add cheap show-buffer operationAdds the ability to have the decoder show one of the existing reference
frames directly, without having to code it indirectly as a series of
skip blocks.Change-Id : Ib6c26c5f6a8709863cf304ab890db8559687d25e