
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (80)
-
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 -
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 (...) -
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 (...)
Sur d’autres sites (14673)
-
Cutting the stream on local date time when scheduled
19 juin 2017, par FearhunterI am using a ffmpeg slice commando in my C# code. For example : I scheduled a stream from 12pm till 3 pm. In my if statement I use a condition to compare the local datetime with the time of now.
DateTime systemDate = DateTime.Now;
DateTime compareDate = DateTime.Today;
private Process SliceStream(string url)
{
if (systemDate < compareDate)
{
return Process.Start(new ProcessStartInfo
{
FileName = "ffmpeg.exe",
Arguments = $"-i \"{url}\"-acodec aac -strict -2 -vcodec libx264 -hls_wrap 100 -f hls -hls_time 20 C:/var/1.m3u8 ",
UseShellExecute = false,
RedirectStandardOutput = true
});
}
else
{
Thread.Sleep(100);
return null;
}
}The problem is it doesn’t work when my time on my computer is for example 12pm and he is not cutting the stream.
What am I doing wrong ?
-
arm : use a local label instead of the function symbol in ff_prefetch_arm
20 juillet 2015, par Janne Grunauarm : use a local label instead of the function symbol in ff_prefetch_arm
Avoids a relocation which might end out of range for thumb2.
Reported-By : Ludovic Fauvet <etix@videolan.org>
Bug-Id : https://bugs.webkit.org/show_bug.cgi?id=137022
CC : libav-stable@libav.org -
How to prevent overwriting fifo while playing local file with ffmpeg ?
21 juillet 2013, par frankishI use av_read_frame() to read and push frames to fifo. In another thread, I read from this fifo. So, reading and writing does not interfere that much.
However, I found out that when playing from a local file, audio suddenly skips to somewhere else.. I tried to open recorded file with VLC player and it worked. So the file(recording) is not broken.
I tried (just to see if it works) the following and it works but it has other problems.
...
if(localFile){
while(av_fifo_size(fifoPlayback)>2000000){
pthread_mutex_unlock(&fifoPlaybackMutex);
usleep(1000000);
pthread_mutex_lock(&fifoPlaybackMutex);
// Waiting before writing to fifo, it's not empty enough");
}
}
av_fifo_generic_write(fifoPlayback,...)Since the above block at least does not skip, I think my problem is really overwriting on the fifo. But how should I correctly manage this situation ?