
Recherche avancée
Médias (29)
-
#7 Ambience
16 octobre 2011, par
Mis à jour : Juin 2015
Langue : English
Type : Audio
-
#6 Teaser Music
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#5 End Title
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#3 The Safest Place
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#4 Emo Creates
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#2 Typewriter Dance
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
Autres articles (107)
-
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...) -
La gestion des forums
3 novembre 2011, parSi les forums sont activés sur le site, les administrateurs ont la possibilité de les gérer depuis l’interface d’administration ou depuis l’article même dans le bloc de modification de l’article qui se trouve dans la navigation de la page.
Accès à l’interface de modération des messages
Lorsqu’il est identifié sur le site, l’administrateur peut procéder de deux manières pour gérer les forums.
S’il souhaite modifier (modérer, déclarer comme SPAM un message) les forums d’un article particulier, il a à sa (...) -
Monitoring de fermes de MediaSPIP (et de SPIP tant qu’à faire)
31 mai 2013, parLorsque l’on gère plusieurs (voir plusieurs dizaines) de MediaSPIP sur la même installation, il peut être très pratique d’obtenir d’un coup d’oeil certaines informations.
Cet article a pour but de documenter les scripts de monitoring Munin développés avec l’aide d’Infini.
Ces scripts sont installés automatiquement par le script d’installation automatique si une installation de munin est détectée.
Description des scripts
Trois scripts Munin ont été développés :
1. mediaspip_medias
Un script de (...)
Sur d’autres sites (9216)
-
Manage mutiple OS commands across apis (need to start stop on user request)
30 mai 2023, par NitinThe scenario is I have to start
n
number of rtsp camera stream usingffmpeg
command. The user has option to start number of streams and can form tiler, so he can see many streaming cameras similar to (NVR live view).

I can start and stop stream using
os/exec
command withcontext
andffmpeg
streaming command with it (which start's stream).

My question is is "how can I cancel a particular stream based on user's request" (in Python I can kill OS process using process ID). Is there any way to stop/start particular stream, any references will be helpful.


-
stop ffmpeg stream at specific time of the day
28 juillet 2022, par drake7This stream will stop after
3600
seconds with the-t
option.

Is it possible to stop the stream at a certain time of the day, e.g. at 1:00 A.M. using
ffmpeg
only ?

ffmpeg -f dshow -i video="Virtual-Camera" -preset ultrafast -vcodec libx264 -tune zerolatency -b 900k \
-f mpegts -t 3600 udp://10.1.0.102:1234



The Docs are very clear about the syntax for Time duration.


So something like
-t (1+1)
doesn't work. It is not evaluated to-t 2
.

I think Expression Evaluation doesn't help either because it seems to be only valid in filters.


A simple bash solution to stop at
01:00 AM
would be :

# Set time to stop
# maximum value is 23:59:59
# use `offset_tomorrow` to set a time tomorrow
time_to_stop="23:59:59"

# remaining seconds until 1 AM
offset_tomorrow=3601

# calculate time difference between maximum time and now and add offset in seconds.
# add 1 hour and 1 minute to get the remaining seconds until 1 AM.
seconds_to_stop=$((`date -d$time_to_stop '+%s'`-`date '+%s'` + $offset_tomorrow))

ffmpeg -f dshow -i video="Virtual-Camera" -preset ultrafast -vcodec libx264 -tune zerolatency -b 900k \
-f mpegts -t $seconds_to_stop udp://10.1.0.102:1234



-
How can I make ffmpeg stop when it encounters a corrupt packet ?
26 juillet 2022, par As12419how can I make ffmpeg stop when it encounters a corrupt packet ? Thanks in advance


Example : [mpegts @ 0000026eabff7c40] Packet corrupt (stream = 0, dts = 1805890264)