
Recherche avancée
Autres articles (90)
-
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 (...) -
Configuration spécifique pour PHP5
4 février 2011, parPHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
Modules spécifiques
Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...) -
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.
Sur d’autres sites (8829)
-
Get mime type for MediaSource.isTypeSupported
11 mars 2024, par GuigHow do I get the Mime type I need to pass to
MediaSource.isTypeSupported
with ffprobe/ffmpeg ?


For instance, on my computer, that returns
true
:


MediaSource.isTypeSupported('video/mp4; codecs="avc1.64000d,mp4a.40.2"')




while that doesn't



MediaSource.isTypeSupported('video/mp4')




I'm not sure how to get what would correspond to the
avc1.64000d,mp4a.40.2
part for a given video. Here is a larger list of what this part may look like.


ffprobe -show_streams -i video.mp4
returns a number of interesting informations, including


codec_type=video
codec_time_base=1/40
codec_tag_string=avc1
codec_tag=0x31637661 




and



codec_type=audio
codec_time_base=1/48000
codec_tag_string=mp4a
codec_tag=0x6134706d




I'm not sure I should go with
'video/mp4; codecs="avc1.0x31637661,mp4a.0x6134706d"'
since this returnsfalse
and I don't know if it's because it's not the excepted argument or because the video is indeed not supported.

-
hls : skip to next segment if the current is unavailable
16 avril 2015, par wm4hls : skip to next segment if the current is unavailable
Apparently, some live streams can delete segments too early, maybe
because the client is too far behind. In this case, it’s better to skip
the segment, instead of returning EOF. (Yes, the HLS demuxer actually
returns AVERROR_EOF if opening the segment returns a 404 HTTP error.)Signed-off-by : Michael Niedermayer <michaelni@gmx.at>
-
How to decode RTSP h264 stream from IP camera using C# and EMGUCV ?
9 janvier 2020, par xor31fourI am trying to access a H.264 stream on an IP camera within my LAN via EmguCV Video Capture. There is an RTSP URL containing the h.264 stream and an HTTP URL that transmits MJPEG.
The goal is to perform perform some EmguCV video processing operations on a live stream in as close to real-time as possible.
I have a bandwidth limitation of 10Mbps.
The problem is that Emgu.CV is unable to open the rtsp(h264) stream but perfectly capable of opening the http(mjpeg) stream..
I can’t use the mjpeg stream as it consumes too much bandwidth and I drastically lose picture quality and fps.
I need to access the h.264 stream in order to meet my bandwidth requirements
Here is the code that I use to check whether the capture has been created :
string MJPEG_URL = "http://192.168.0.11:35271/image1"; //returns true
string RTSP_URL = "rtsp://192.168.0.11/stream1.sdp"; //returns false
_cam1 = new VideoCapture(RTSP_URL, VideoCapture.API.Any);
var flag = _cam1.IsOpened;
Console.WriteLine(flag);RTSP_URL returns false. But when I enter the exact same URL in VLC Player, or if I use VLCSharp library to access the stream it works.
Any suggestions ?