
Recherche avancée
Autres articles (74)
-
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
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" (...) -
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...)
Sur d’autres sites (8584)
-
aarch64 : vp9itxfm16 : Avoid .irp when it doesn’t save any lines
25 février 2017, par Martin Storsjö -
Save several .ts files in one container, while preserving direct http access
16 mars 2017, par SebastianBFor HLS-video-streaming I have several .ts files and a .m3u8 playlist-file on my ftp-server. The .m3u8 file links relative to these .ts files. Because I’m now implementing a more advanced data management on distributed servers and a hashed folder structure, it would be most convinient if these .ts files would stay at the same place in one kind of "container"(e.g. .mp4 ?).
Is there a way to save several .ts files in another file structure which is then still accessible for the video player directly via http? E.g. http://example.com/container.mp4:video1.ts and the next .ts file like http://example.com/container.mp4:video2.ts ?
Obviously this access should be possible without loading/unpacking the whole "container". Furthermore it would be even more convinient, if the .m3u8 file would be saved in this "container" as well.
-
C# Streaming from IP Camera and save to file in UWP Windows 10
2 mars 2017, par cahernanzI am developing an universal windows 10 App that must record from an ACTi ip camera, and recording to file. For the preview i used VLC.MediaElement and it works perfectly, but i need to record or save this continuous frames to video file. Anyone knows how saving it to file. Cameras streams using http protocol, not RTSP or anything else.
it doesnt mind if I use VLC of FFMPEG, but I can´t launch it from cmd.exe in UWP apps.
any ideas ?.
I used VLC.MediaElement this way. For the Preview there is no problem :
<mediaelement aretransportcontrolsenabled="True" autoplay="True" horizontalalignment="Left" height="204" margin="38,44,0,0" verticalalignment="Top" width="212"></mediaelement>But I think I can´t recod using it becausa probably is under developing.
My idea is creating something like that, but it doesnt work streaming continuously, just the first frame.
public async void StartRecording()
{
Windows.Storage.StorageFolder storageFolder = Windows.Storage.ApplicationData.Current.LocalFolder;
Debug.WriteLine(storageFolder.Path);
Windows.Storage.StorageFile sampleFileVid =
await storageFolder.CreateFileAsync(DateTime.Now.ToString("yyyyMMdd") + "File.avi",
Windows.Storage.CreationCollisionOption.OpenIfExists)
VLCPreview.Source = "http://Admin:123456@192.168.0.21:6021/cgi-bin/cmd/encoder?GET_STREAM";
try
{
HttpClientHandler aHandler = new HttpClientHandler();
aHandler.Credentials = new NetworkCredential("Admin", "123456");
aHandler.ClientCertificateOptions = ClientCertificateOption.Automatic;
HttpClient aClient = new HttpClient(aHandler);
aClient.DefaultRequestHeaders.ExpectContinue = false;
HttpResponseMessage response = await aClient.GetAsync("http://192.168.0.21:6021/cgi-bin/cmd/encoder?GET_STREAM", HttpCompletionOption.ResponseHeadersRead);//urlLinkToOnlineStream
var destinationFile = sampleFileVid;
var fileStream = await destinationFile.OpenAsync(FileAccessMode.ReadWrite);
Stream stream = await response.Content.ReadAsStreamAsync();
IInputStream inputStream = stream.AsInputStream();
ulong totalBytesRead = 0;
while (true)
{
// Read from the web.
IBuffer buffer = new Windows.Storage.Streams.Buffer(1024);
buffer = await inputStream.ReadAsync(buffer, buffer.Capacity, InputStreamOptions.None);
if (buffer.Length == 0)
{
break;
}
totalBytesRead += buffer.Length;
await fileStream.WriteAsync(buffer);
Debug.WriteLine("TotalBytesRead: {0:f}", totalBytesRead);
}
inputStream.Dispose();
fileStream.Dispose();
}
catch (Exception ex)
{
Debug.WriteLine("Excepción de vídeo en StartRecording: ", ex);
}
}I am trying to follow 3 strategies :
-
Record using appropiate c# code.
-
Launche vlc.exe or ffmpeg.exe (desktop apps) from my uwp app.
-
Using VLC.MediaElement to record.
I’d rather first or second option in order to manage correctly the resources of the computer, but there is no problem if it works, just custom the buffers.
Thanks in advance, remember it is an ip camera, not webcams, I can´t use captureElement.
-