
Recherche avancée
Autres articles (63)
-
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. -
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 -
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...)
Sur d’autres sites (7561)
-
Video as live wallpaper [closed]
11 mai 2013, par user1957355I was trying to set this enter link description here compile app on my device, but then i hate test this, show error in application and close. Why ?
Sorry for my english :L -
Live streaming doesnt work
13 février 2013, par John SmithIm using FFmpeg to capture my screen :
ffmpeg -f dshow -i video="UScreenCapture" -r 5 -s 640x480 -acodec libmp3lame -ac 1 -vcodec mpeg 4 -vtag divx -q 10 -f mpegts tcp://127.0.0.1:1234
so let it stream to somewhere. The accepter script :
error_reporting(E_ALL); /* Allow the script to hang around waiting for connections. */
set_time_limit(30); /* Turn on implicit output flushing so we see what we're getting as it comes in. */
ob_implicit_flush();
$address = '127.0.0.1';
$port = 1234;
$outfile = dirname(__FILE__)."/output.flv";
$ofp = fopen($outfile, 'wb');
if (($sock = socket_create(AF_INET, SOCK_STREAM, SOL_TCP)) === false) { echo "socket_create() failed: reason: " . socket_strerror(socket_last_error()) . "\n"; sleep (5); die; }
if (socket_bind($sock, $address, $port) === false) { echo "socket_bind() failed: reason: " . socket_strerror(socket_last_error($sock)) . "\n"; sleep (5); die; }
if (socket_listen($sock, 5) === false) { echo "socket_listen() failed: reason: " . socket_strerror(socket_last_error($sock)) . "\n"; sleep (5); die; }
if (($msgsock = socket_accept($sock)) === false) { echo "socket_accept() failed: reason: " . socket_strerror(socket_last_error($sock)) . "\n"; sleep (5); break; }
do {
$a = '';
socket_recv ($msgsock, $a, 65536, MSG_WAITALL);
fwrite ($ofp, $a);
//echo strlen($a)."\r\n";
} while (true);it seems to save the stuff to the disk OK. Now here comes the html :
I dont really know how to do this, but based on an example :
<video src="/output.flv"></video>
but it doesnt do anything. And if I want to stream the live incoming stuff, then whats the matter ?
-
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.