
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (111)
-
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...) -
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. -
Que fait exactement ce script ?
18 janvier 2011, parCe script est écrit en bash. Il est donc facilement utilisable sur n’importe quel serveur.
Il n’est compatible qu’avec une liste de distributions précises (voir Liste des distributions compatibles).
Installation de dépendances de MediaSPIP
Son rôle principal est d’installer l’ensemble des dépendances logicielles nécessaires coté serveur à savoir :
Les outils de base pour pouvoir installer le reste des dépendances Les outils de développements : build-essential (via APT depuis les dépôts officiels) ; (...)
Sur d’autres sites (10483)
-
ffmpeg channels don't work (PHP)
15 avril 2016, par Y.SaadI have a lot of channels with " ffmpeg " (4 channels) that start automatically, I create a code for show the first channel and after 5 seconds show the second .. Etc All things as right but I have a small problem the seconds channel doesn’t start automatically, I need to make stop to the first channel
Code for 4 channel work 100% but without function for show first channel and after 5 seconds show the second ... Etc
<?php
ffmpeg -i http://clay24.webhop.net:8000/live/mario/mario/13.ts -i http://clay24.webhop.net:8000/live/mario/mario/12.ts -i http://clay24.webhop.net:8000/live/mario/mario/10.ts -map 0 -c:a aac -b:a 64k -strict -2 -preset fast -crf 25 -vcodec libx264 -f flv rtmp://178.33.231.108:1989/mylive/1 -map 1 -c:a aac -b:a 64k -strict -2 -preset fast -crf 25 -vcodec libx264 -f flv rtmp://178.33.231.108:1989/mylive/21 -map 2 -c:a aac -b:a 64k -strict -2 -preset fast -crf 25 -vcodec libx264 -f flv rtmp://178.33.231.108:1989/mylive/24
?>the second code with functions
<?php
echo'
<code class="echappe-js"><script><br />
<br />
window.addEventListener("load", function() {<br />
<br />
var urls = iframes = [ "'; ffmpeg -i http://mygameravatar.zapto.org:43666/live/test1/test2/81.ts -c:a aac -b:a 64k -preset fast -crf 25 -vcodec libx264 -f flv rtmp://178.33.231.108:1989/mylive/2 <br />
echo '];<br />
<br />
var iframes = document.querySelectorAll("div");<br />
<br />
var n = 0;<br />
<br />
var interval = setInterval(function() {<br />
<br />
iframes[++n].src = urls[n - 1];<br />
iframes[n].style.display = "block";<br />
console.log(n);<br />
if (n === iframes.length -1) {<br />
clearInterval(interval);<br />
console.log("all iframes loaded")<br />
}<br />
<br />
}, 5000)<br />
<br />
})<br />
</script>’ ;ffmpeg -i http://mygameravatar.zapto.org:43666/live/test1/test2/297.ts -c:a aac -b:a 64k -preset fast -crf 25 -vcodec libx264 -f flv rtmp ://178.33.231.108:1989/mylive/1
echo ’
’ ;
?> -
rtpdec_jpeg : fix low contrast image on low quality setting
24 mars 2016, par Ico Doornekamprtpdec_jpeg : fix low contrast image on low quality setting
The problem is that the argument ’q’ is of the type uint8_t.
According to the JPEG standard, if 1 <= q <= 50, the scale factor
’S’ should be 5000 / Q. Because the create_default_qtables() reuses
the variable ’q’ to store the result of this calculation, for small
values of q < 19, q wil subsequently overflow and give wrong results
in the calculated quantization tables.Instead, use a new variable ’S’ (same name as in RFC2435) with the
proper range to store the result of the division.Signed-off-by : Martin Storsjö <martin@martin.st>
-
avformat/rtpdec_jpeg : fix low contrast image on low quality setting
24 mars 2016, par Ico Doornekampavformat/rtpdec_jpeg : fix low contrast image on low quality setting
Original mail and my own followup on ffmpeg-user earlier today :
I have a device sending out a MJPEG/RTP stream on a low quality setting.
Decoding and displaying the video with libavformat results in a washed
out, low contrast, greyish image. Playing the same stream with VLC results
in proper color representation.Screenshots for comparison :
http://zevv.nl/div/libav/shot-ffplay.jpg
http://zevv.nl/div/libav/shot-vlc.jpgA pcap capture of a few seconds of video and SDP file for playing the
stream are available athttp://zevv.nl/div/libav/mjpeg.pcap
http://zevv.nl/div/libav/mjpeg.sdpI believe the problem might be in the calculation of the quantization
tables in the function create_default_qtables(), the attached patch
solves the issue for me.The problem is that the argument ’q’ is of the type uint8_t. According to the
JPEG standard, if 1 <= q <= 50, the scale factor ’S’ should be 5000 / Q.
Because the create_default_qtables() reuses the variable ’q’ to store the
result of this calculation, for small values of q < 19, q wil subsequently
overflow and give wrong results in the calculated quantization tables. The
patch below uses a new variable ’S’ (same name as in RFC2435) with the proper
range to store the result of the division.Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>