
Recherche avancée
Autres articles (85)
-
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...)
Sur d’autres sites (15092)
-
C# Using NReco FFMpegConverter to take live video screenshots
21 novembre 2014, par Lance BloomI have an an application running as an Azure Web Role where I want to take screenshots of live RTSP video streams on a Wowza server. I am using the NReco FFMpegConverter wrapper. I am having issues with consistency. Sometimes the code doesn’t execute at all, sometimes it executes right away, sometimes it take 2-3 minutes for the screenshot to be created. I’ve tested this on static (not live) mp4 videos and everything is executed flawlessly (within 1-2 seconds).
Stream thumb1 = new System.IO.MemoryStream();
var ffMpeg = new NReco.VideoConverter.FFMpegConverter();
ffMpeg.GetVideoThumbnail("rtsp://99.99.99.99:1935/streamurl", thumb1);
//Code to upload file to blob storage
blob = testContainer.GetBlockBlobReference("test.jpg");
thumb1.Seek(0, SeekOrigin.Begin);
blob.Properties.ContentType = "image/jpg";
blob.UploadFromStream(s);The error I get during failed execution is "Output file #0 does not contain any stream". I am really curious why it takes 2-3 minutes to get an output screenshot sometimes, while other times only a few seconds. Looking for any advice on how to improve this approach and still use the C# NReco wrapper.
Thanks !
-
YouTube Live Broadcast silence detect
12 mai 2020, par MarkusI'm trying to monitor a YouTube live broadcast for silence to be able to restart ffmpeg broadcast. How would you achieve that without breaking the YouTube ToS ?



I tried with the YouTube API, but health.status is only supported for Live streams but not for broadcast.



I came up with the idea of youtube-dl, grabing the m3u8 and the run ffmpeg with silencedetect but now I'm somehow stuck.



Get the formats



youtube-dl --list-formats https://www.youtube.com/watch?v=BiHequcIiNw




Get the m3u8 manifest



youtube-dl -f 91 -g https://www.youtube.com/watch?v=BiHequcIiNw




Run ffprobe



ffprobe -v quiet -print_format json -show_streams https://manifest.googlevideo.com/api/manifest/hls_playlist/expire/1588936061/ei/Hem0Xp35EZLl1wLLhYaYCA/ip/2a02:1205:c6bb:4590:301f:6186:c624:f2ba/id/BiHequcIiNw.0/itag/91/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/goi/160/sgoap/gir%3Dyes%3Bitag%3D139/sgovp/gir%3Dyes%3Bitag%3D160/hls_chunk_host/r3---sn-nfpnnjvh-9and.googlevideo.com/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/13630/mh/GY/mm/44/mn/sn-nfpnnjvh-9and/ms/lva/mv/m/mvi/2/pl/48/dover/11/keepalive/yes/fexp/23882513/mt/1588914375/disable_polymer/true/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,goi,sgoap,sgovp,playlist_duration,manifest_duration,vprv,playlist_type/sig/AOq0QJ8wRgIhALApv3H2YEE2GLTXIyRxw8Fu8espLgRThUfhi97DIS6-AiEAsT_4bwAfsihK6zsrKgaxMYTemlAr8BXnBTwuhwe3aAE%3D/lsparams/hls_chunk_host,initcwndbps,mh,mm,mn,ms,mv,mvi,pl/lsig/AG3C_xAwRQIgRG3c1ww23Jokzk6vfAfeZlhwEanWG_9GmwRip81v65cCIQDg1Y9pXWS4bUjpKpZ90c3icp4slmAzhQJPn2gqW0UOeQ%3D%3D/playlist/index.m3u8




But I haven't found a difference in the json if the stream is up or down. Any hint how I could monitor the m3u8 if it's up or down ?


-
Getting issue in ffmpeg live stream using nodejs
23 février 2023, par Dharmraj Patidar

We are using node-rtsp-stream-jsmpeg library in rtsp live streaming using nodejs and we are face following error.


Error writing trailer of http://localhost:9007/s1: Broken pipe
frame= 3289 fps= 10 q=14.5 Lsize= 37663kB time=00:05:29.32 bitrate= 936.9kbits/s speed=1.01x

video:28938kB audio:6435kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead : 6.474919%
Conversion failed !