
Recherche avancée
Autres articles (39)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)
Sur d’autres sites (9795)
-
avformat/format : Stop reading data at EOF during probing
10 mai 2023, par Michael Niedermayer -
Ffmpeg Stop recording pipeline when one of sources fall [closed]
5 mai 2023, par Андрей БоярскийCan't find the exact way how to make ffmpeg automatically stop recording from RTSP-sources when one of one of them fall.


I have made two ffmpeg pipelines :


- 

ffmpeg -thread_queue_size 4096 -rtsp_transport tcp -use_wallclock_as_timestamps 1 -i ... -rtsp_transport tcp -thread_queue_size 4096 -use_wallclock_as_timestamps 1 -i ... -map_metadata 0 -c copy -map 0:1 -map 1:0 -shortest presenter.mkv -map_metadata 1 -map 1 -c copy -shortest presentation.mkv
ffmpeg -thread_queue_size 4096 -rtsp_transport tcp -use_wallclock_as_timestamps 1 -timeout 5 -xerror -i ... -rtsp_transport tcp -thread_queue_size 4096 -use_wallclock_as_timestamps 1 -timeout 5 -xerror -i ... -map_metadata 0 -c copy -map 0:1 -map 1:0 presenter.mkv -map_metadata 1 -map 1 -c copy presentation.mkv






In the first pipeline when one of sources fall, streams in result file stop at the point of time where the source fall, but the pipeline keeps working until it stopped manually, so the other result file have bigger length.
In th second one when one of sources fall, pipeline stops with error, but it don't write duration correctly, so it seemed like file have endless duration.


-
mpegts : stop analyzing when pmt for all programs have been found
15 décembre 2013, par Joakim Platempegts : stop analyzing when pmt for all programs have been found
This disables NOHEADER after finding PMT for all programs to
avoid find_stream_info always exhausting probe size for mpegts.This is very important for live streams since read speed
will be limited. rtsp, udp and any protocol streaming a live
mpegts will have dramatically faster startup time.Note, lack of codec parameters for streams can still cause
the full probe size to be exhausted.Signed-off-by : Michael Niedermayer <michaelni@gmx.at>