
Recherche avancée
Autres articles (61)
-
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 -
Les vidéos
21 avril 2011, parComme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...) -
Utilisation et configuration du script
19 janvier 2011, parInformations spécifiques à la distribution Debian
Si vous utilisez cette distribution, vous devrez activer les dépôts "debian-multimedia" comme expliqué ici :
Depuis la version 0.3.1 du script, le dépôt peut être automatiquement activé à la suite d’une question.
Récupération du script
Le script d’installation peut être récupéré de deux manières différentes.
Via svn en utilisant la commande pour récupérer le code source à jour :
svn co (...)
Sur d’autres sites (6924)
-
Trying to stream H264 with Janus Gateway to web browser
15 mars 2021, par sibrownI have installed Janus-Gateway using the very comprehensive install instructions on an Ubuntu 18.04LTS machine.
I have configured the streaming config file (janus.plugin.streaming.jcfg) with :



gstreamer-sample: {
 type = "rtp"
 id = 1
 description = "H.264 live stream coming from gstreamer"
 audio = false
 video = true
 videoport = 5004
 videopt = 96
 videortpmap = "H264/90000"
 videofmtp = "profile-level-id=42e01f;packetization-mode=1"
}




(I didn't change the name because that required least changes to other files.)



Having then started the server, I then take a pre-encoded stream and send that to the server with ffmpeg :



ffmpeg -i udp://127.0.0.1:9034 -c:v copy -an -f rtp rtp://127.0.0.1:5004?pkt_size=1300




Opening up the demo webpage the server comes with, I go to streaming demos, and choose the "gstreamer" demo and click start. The right hand half of the screen produces a spinning circle, but tells me that it is receiving data at the appropriate rate for the stream I'm sending. So if it's receiving the stream, why isn't it playing it ?



Cheers,
Simon


-
ffmpeg usb Web cam recording terminates randomly before set duration
16 mars 2018, par pomptondriveThe output of this script is just fine ; it’s pretty much what I want. But it seems to terminate randomly. My next step will be to try this on another computer to see if the issue persists.
My configuration :
Dell Precision laptop, m4400
2x Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz
Linux Mint 18.3 Sylvia
Kernel : Linux 4.4.0-116-generic (x86_64)
Card : NVIDIA G96GLM [Quadro FX 770M]
ffmpeg version 2.8.11-0ubuntu0.16.04.1
USB Camera-B4.09.24.1 Sony Playstation EyeAnd this is the script that I’m running - the last time it recorded for about three hours and forty-five minutes, before that it was about 55 minutes ; once it ran five and a half hours :
#!/bin/bash
echo "This is a shell script to make a timelapse video."
ffmpeg \
-f v4l2 -input_format yuyv422 -video_size 640x480 -framerate 5 -t 09:00:00 -i /dev/video0 \
-vf "select=not(mod(n\,5)),setpts=N/(60*TB),fps=60, drawtext=fontfile=/usr/share/fonts/truetype/dejavu/DejaVuSansMono.ttf:text='%{localtime\:%T}':x=20:y=20:fontcolor=white" \
-c:v libx264 -preset superfast -crf 23 -pix_fmt yuv422p -g 15 -keyint_min 15 \
-f mpegts /media/dkm/OneTB/Video/Timelapse_$(date +%Y-%m-%d_%H.%M.%S).tsAny suggestions would be appreciated. Thanks !
-
avutil/mem : remove av_realloc / av_malloc incompatibility warning
21 avril 2015, par Michael Niedermayeravutil/mem : remove av_realloc / av_malloc incompatibility warning
memalign() is not guranteed to be compatible with free() or realloc()
and for platforms in this category we have —enable-memalign-hack
(which should be enabled automatically if such system is detected)
Trying to somehow half support systems that can free() memalign memory
but not reallocate it seems not worth the amount of work needed to
keep 2 then incompatible allocation systems and ensure their
seperation. That is unless this would affect a major platform
on which we want to avoid the memalign hack codeThe warnings also cause wasted time and effort as people try
to maintain a separation that does not exist currently.Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>