
Recherche avancée
Autres articles (101)
-
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 -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)
Sur d’autres sites (11626)
-
Evolution #2210 : en cas d’erreur système (SQL etc), renvoyer un status http 500
25 octobre 2014, par cedric -Et r21704 preparatoire
-
ffmpeg : Streaming mpeg1 Video over HTTP Server
23 juillet 2014, par user36685I ma trying to stream an mpg video over an http server using ffmepg. I initiate the ffserver and run the following command at the client :
ffmpeg -i http://localhost:10212/Stream.mpg -y Sample.mpg
I also tried the following but it did not also work :
ffmpeg -i http://localhost:10212/Stream.mpg -b 2.6M -aspect "1280:720" -r 29 -g 29 -keyint_min 58 -ab 320000 -ar 48000 -ac 2 -f mpeg "Sample.mpg" -vstats_file stats.txt
But the Sample.mpg file is far less qualtiy and much smaller than the 480p.mpg file. I want the exact same 480p.mpg file with the same file size, bit rate, ratio, fps etc.
My config file is as follow :
<stream>
File "/home/david/Documents/Video/Streaming/480p.mpg"
format mpeg
ACL allow 127.0.0.1
ACL allow 192.168.1.0 192.168.1.255
</stream> -
FFmpeg does not successfully send http request to server
20 octobre 2019, par e-lyI’m trying to output data from ffmpeg to my webserver, but it simply does not work when I use my domain. It works as expected when I use localhost but not when I use my domain.
I’ve tried multiple things such as changing from a subdomain to a subdirectory using nginx, and like I said— it works when I use localhost but not when I use my domain. When I ran
-v trace
the logs told me that the connection was successful but the server did not receive anything, yet when I visited the same url in my browser I got a response.ffmpeg command :
'-v', 'trace',
'-f', 'x11grab',
'-s', '720x480',
'-r', '30',
'-i', ':100',
'-an',
'-c:v', 'mpeg1video',
'-q:v', '12',
'-bf', '0',
'-f', 'mpegts',
'http://stream.domain.com/'Nginx rule :
server {
listen 80;
server_name stream.domain.com;
location / {
proxy_pass http://localhost:9000/;
}
}Nodejs code :
app.post('/', (req, res) => {
console.log('Post received', req.url, req.ip)
res.sendStatus(200)
})I expect the console of the node process to let me know that a post has been received (for debugging purposes)
Instead, nothing is received.
However usinghttp://localhost:9000/
instead ofhttp://stream.domain.com/
works as expected