
Recherche avancée
Autres articles (64)
-
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
-
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 -
Demande de création d’un canal
12 mars 2010, parEn fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)
Sur d’autres sites (7148)
-
Live video streaming with node.js doen't work
10 juillet 2012, par Marcos LopesI have built an node.js server to stream an ffmpeg webm output to all listeners connected. But the video doesn't play. What i'm doing wrong ? What i need to implement to make an streaming server like an ffserver/icecast2 ?
Here is my ffmpeg command and output : http://pastebin.com/56BMrx7V
and here is my node.js app :
var http = require('http')
, listeners = [];
http.createServer(function(req, res) {
if (req.url === '/listen') {
listeners.push(res)
res.writeHead(200, {
'Content-Type': 'video/webm'
})
} else if (req.url === '/publish' && req.method === 'POST') {
req.on('data', function(data) {
listeners.forEach(function(listener) {
listener.write(data)
})
})
}
}).listen(3000);I really don't know anything about video encoding/streaming. Any article, tip, clue, etc. is welcome.
Thanks. -
Truly live streaming to Android/iPhone
4 juillet 2012, par TsaukpaetraI have spent quite a while (past week) trying this to little avail. However, what I want seems completely unheard of. So far, I have reviewed recommendations available through google, which include encoding a static file into multiple static files in different formats, creating a playlist that hosts static files in an m3u8 file (files which get added to the playlist as streaming continues).
I have also seen ideas involving rtmp, rtsp etc which are completely out of the question because of their incompatibility.
Ideally, I would have one webpage that would link to the stream (http://server/video.mp4) and/or show it in a webpage (via the video tag). With that in mind, the most likely format would be h264+aac in mp4 container.Unfortunately, (and probably because the file has no duration metadata) it does not work. I can use a desktop player (such as VLC) to open the stream and play it, but my iPhone and Android both give their respective "Can't be played" messages.
I don't think the problem is caused by the devices' ability to stream, for I have made a streaming shoutcast server work just fine (mp3 only).
Currently, the closest I have become is using the following setup on my win32 machine :
FFMPEG Command: : ffmpeg -f dshow -i video="Logitech Webcam 200":audio="Microphone (Webcam 200)" -b:v 180k -bt 240k -vcodec libx264 -tune zerolatency -profile:v baseline -preset ultrafast -r 10 -strict -2 -acodec aac -ac 2 -ar 48000 -ab 32k -f flv "udp ://127.0.0.1:1234"
VLC: : Stream from udp ://127.0.0.1:1234 to http:// :8080/video.mp4 (No Transcoding), basically just to convert the UDP stream into an http-accessible stream.
Any hints or suggestions would be warmly welcomed !
-
Http Live Streaming EXT-X-STREAM-INF, Calculating BANDWITH
26 juin 2012, par AgzamInitially I've tried to find possible ways to do HLS segmenting on other non-Mac platforms.
Segmenting videos for HLS involves the following steps :
1) Splitting the encoded video into segments
2) Creating playlist (.m3u8) file that simply contains list of segments for the current rendition, including duration in seconds for each segment
3) Creating a variant playlist that contains relative paths to all playlists of all renditions with the information about BANDWITH which according to HTTP Live streaming protocol is :
The value is a decimal-integer of bits per second. It MUST be an upper bound of the overall bitrate of each media segment (calculated to include container overhead) that appears or will appear in the Playlist.
Latest version of ffmpeg includes possibilities of splitting videos. However ffmpeg can’t create m3u8 files. Creating simple playlist not a problem. But creating variant playlist might be :
So variantplaylistcreator on Mac creates those, calculates somehow bitrates and puts value based on that into BANDWITH tag.
I’ve tried many different ways but yet I couldn’t get exactly the same numbers that variantplaylistcreator does, and at this point I can’t find any information how exactly it calculates those values and what algorithm it uses.
My numbers are close, but still slightly different.In theory it should not be a problem, but the point is - I don’t know that for sure.
Maybe the BANDWITH information should be precise for flawless video playing, maybe it doesn’t have to.Anyway I'm really curious how exactly variantplaylistcreator calculates them :