
Recherche avancée
Médias (3)
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
Autres articles (48)
-
Qu’est ce qu’un éditorial
21 juin 2013, parEcrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
Vous pouvez personnaliser le formulaire de création d’un éditorial.
Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...) -
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs
12 avril 2011, parLa manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.
Sur d’autres sites (8069)
-
Save continuous RTSP stream to 5-10 minute long mp4 files
20 janvier 2017, par Ruslan SharipovHow can I keep the flow (protocol rtsp, codec h264) in file (container mp4) ? That is, on inputting an endless stream (with CCTV camera), and the output files in mp4 format size of 5-10 minutes of recording time.
OS : debian, ubuntu
Software : vlc, ffmpeg (avconv)Currently this scheme is used :
cvlc rtsp://admin:admin@10.1.1.1:554/ch1-s1 --sout=file/ts:stream.ts
ffmpeg -i stream.ts -vcodec copy -f mp4 stream.mp4But it can not record video continuously (between restarts vlc loses about 10 seconds of live video).
-
Save continuous RTSP stream to 5-10 minute long mp4 files
5 mai 2023, par Ruslan SharipovHow can I keep the flow (protocol rtsp, codec h264) in file (container mp4) ? That is, on inputting an endless stream (with CCTV camera), and the output files in mp4 format size of 5-10 minutes of recording time.



OS : debian, ubuntu
Software : vlc, ffmpeg (avconv)



Currently this scheme is used :



cvlc rtsp://admin:admin@10.1.1.1:554/ch1-s1 --sout=file/ts:stream.ts
ffmpeg -i stream.ts -vcodec copy -f mp4 stream.mp4




But it can not record video continuously (between restarts vlc loses about 10 seconds of live video).


-
.bat script : loop over files and save command to variable
29 septembre 2020, par Rolf vd HGooddday,


I want to shorten a folder of movies to cut the last part of it. To do that I use ffmpeg & ffprobe.
The time to be cut off is 5.52 seconds.
If I want to do that, first I have to get the time of the movie and then (the second command in the loop), I have to subtract the 5.52 seconds.


For now I have the following but I can't get it right :


mkdir outputsss
for %%a in ("FOLDER\*.mp4") do (
 ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 "FOLDER\%%~na.mp4"
 ffmpeg -i "FOLDER\%%~na.mp4" -t 18.6 -c copy output.mp4
)
pause



In the above code example the "ffprobe" calculates the time of the movie.
The "ffmpeg" renders the movie again for 18.6 seconds. But the time should be calculated by subtract 5.52 seconds from the "ffprobe" result.


Can anyone help me please on how to do this ?