
Recherche avancée
Autres articles (51)
-
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...) -
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...) -
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)
Sur d’autres sites (6408)
-
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 ?