
Recherche avancée
Médias (1)
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (102)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
Emballe Médias : Mettre en ligne simplement des documents
29 octobre 2010, parLe plugin emballe médias a été développé principalement pour la distribution mediaSPIP mais est également utilisé dans d’autres projets proches comme géodiversité par exemple. Plugins nécessaires et compatibles
Pour fonctionner ce plugin nécessite que d’autres plugins soient installés : CFG Saisies SPIP Bonux Diogène swfupload jqueryui
D’autres plugins peuvent être utilisés en complément afin d’améliorer ses capacités : Ancres douces Légendes photo_infos spipmotion (...)
Sur d’autres sites (13774)
-
How can I speed up live stream of screen capture with ffmpeg ?
15 octobre 2012, par PICyourBrainI am attempting to stream the desktop of one computer to another computer on an internal network. I am trying to use ffmpeg on the sending side and VLC on the receiving side. I am using screen-capture-recorder as the video input device. I have been trying the command :
ffmpeg -f dshow -i video="screen-capture-recorder" -f mpegts udp://host:port
With this command there is a 2-5 second delay on the receiving machine. I need to get the delay down to less than a second.Does anyone have any suggestions on how to reduce the delay ?
-
Live stream playing
20 décembre 2011, par John Smithwell, I can capture the incoming stream. Its produced by FFMpeg. The php code Im doing it with :
$address = '127.0.0.1';
$port = 1234;
$outfile = "output.flv";
$ofp = fopen($outfile, 'w');
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);
} while (true);so it produces good file, if I replay this it looks good. But I want to stream it on a site, if I just put a link to the .flv, it would play it from the beginning. How to make it real live ? Thanx in advance.
-
Build Live Audio Stream Player
5 décembre 2011, par KurtFor an internship project i've been trying to develop a simple audio player for audio live stream.
Currently i'm using a homemade three buffering (of 1/3 s each) solution played by QAudioOutput, which recall himself after finished his reading.
void VideoServer::getBuf(QBuffer * p_buf)
{
audio_chunk* ac = NULL;
std::vector v;
v.clear();
for (int i = 0; i < 20;)
{
ac = _audioPreviewSharedData->deQueueAudio();
if (ac)
{
v.insert(v.end(), ac->v_buf.begin(), ac->v_buf.end());
i++;
delete ac;
}
else
usleep(50000);
}
p_buf->close();
p_buf->setData((const char *)(&v[0]), v.size()*2);
p_buf->open(QIODevice::ReadOnly);
}-
void VideoServer::slot_launchAudioPreviewBuffering()
{
getBuf(_buf1);
getBuf(_buf2);
_state = 2;
connect(_audioPreviewTimer, SIGNAL(timeout()), this, SLOT(slot_audioPreviewBuffering()));
_audioPreviewTimer->start(0);
connect(_audioOut, SIGNAL(stateChanged(QAudio::State)), this, SLOT(finishedPlaying(QAudio::State)));
}-
void VideoServer::finishedPlaying(QAudio::State state)
{
if(state == QAudio::IdleState) {
slot_audioPreviewBuffering();
}
}-
void VideoServer::slot_audioPreviewBuffering()
{
switch (_state) {
case 0:
{
_audioOut->start(_buf2);
getBuf(_buf1);
_state = 1;
break;
}
case 1:
{
_audioOut->start(_buf3);
getBuf(_buf2);
_state = 2;
break;
}
case 2:
{
_audioOut->start(_buf1);
getBuf(_buf3);
_state = 0;
break;
}
}
}But i'm suffering of choppy sound (little interruption between audio chunk).
How to play this flux without interruption () and with a reasonable delay between audio and video (less 1s) ? Is there a best way ? Am i doing wrong ?
Thank you !