
Recherche avancée
Médias (1)
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (70)
-
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
Gestion de la ferme
2 mars 2010, parLa ferme est gérée dans son ensemble par des "super admins".
Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
Dans un premier temps il utilise le plugin "Gestion de mutualisation"
Sur d’autres sites (10928)
-
arm : vp9itxfm : Avoid .irp when it doesn’t save any lines
4 février 2017, par Martin Storsjö -
FFmpeg - What muxer do i need to save an AAC audio stream
1er mars 2017, par David BarishevI’m developing Android application, and im using ffmpeg for conversion of files.
I want my binary file to be as slim as possible since i don’t have many input formats and output formats, and my operation is quite basic.And of course not to bloat the APK.In my program ffmpeg receives a file, and copys the audio stream (
-acodec copy
), the audio stream will always be aac (mp4a
). What i need is to save the stream to file.
My command looks like this :ffmpeg -i {Input} -vn -acodec copy output.aac
.What muxer do i need to for muxing aac to file ? I have tried
flv,mp3,mov
but i always get
Unable to find a suitable output format for 'output.aac'
, so these options are wrong.
I don’t need an encoder for stream copy btw.Side note : this command work flawlessly on full installation of ffmpeg , but I don’t know which muxer it uses. If there is a way to output the muxer it uses from regular ffmpeg run, it would work too.
-
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.
-