
Recherche avancée
Autres articles (79)
-
Organiser par catégorie
17 mai 2013, parDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...) -
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...) -
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 (7271)
-
Pre-Transcoding live streams before Re-stream them to wowza Streaming Engine [on hold]
14 décembre 2017, par Ninjai’am using ffmpeg on other device to get live feed from cam and convert them to multi bitrate outputs localy and stream them to a remote wowza to achieve adaptive bitrate content for users with optimized resources i have succeeded to transcode to one specifique bitrate locally using this line
ffmpeg -re -i cuted.mp4 -c:v libx264 -profile:v baseline -level:v 1.2 -r 12 -g 96 -vb 110000 -s 212x120 -c:a libvo_aacenc -ab 40000 -ar 22050 -ac 1 -f rtsp -muxdelay 0.1 rtsp://*****:*****@***.168.*0.*0:1935/live/myStream
but i need at least 4 resolutions support i’ve tried to lunched twice at the same time with diffrent resolutions but in wowza engine manager => incoming streams i got one stream input, i appreciate any suggestion
-
How to convert live video stream to mp4 format stream using FFmpeg API [on hold]
27 avril 2017, par krishUsing FFmpeg API :ConvertLiveMediaTask
ConvertLiveMedia(Stream inputStream, string inputFormat, Stream outputStream, string outputFormat, ConvertSettings settings) ;
Requirement : want to convert video file from any format to mp4 format and conversion should happen on fly using ConvertLiveMedia API
Please help me for this problem, I googled so many times i didnt get a solution for this.
Here is my code
const int megabyte = 1024 * 1024;
static string theFilename = @"F:\BackUp\Short video clip-nature.avi";
static string[] VideoExtension = { ".ac3", ".aiff", ".alaw", ".asf", ".ast", ".mp4", ".au", ".avi", ".caf"};
static void Main(string[] args)
{
ChunkedData(theFilename, 0);
}
private static void ChunkedData(string theFilename, long whereToStartReading = 0)
{
string extension = System.IO.Path.GetExtension(theFilename);
Stream chunkStream = new MemoryStream();
if (VideoExtension.Any(Vi => extension.Contains(Vi)))
{
FileStream fileStram = new FileStream(theFilename, FileMode.Open, FileAccess.Read);
using (fileStram)
{
byte[] buffer = new byte[megabyte];
fileStram.Seek(whereToStartReading, SeekOrigin.Begin);
int bytesRead = fileStram.Read(buffer, 0, megabyte);
while (bytesRead > 0)
{
// Here i receive and implement
chunkStream = StreamData(buffer, bytesRead, extension);
bytesRead = fileStram.Read(buffer, 0, megabyte);
}
}
}
}
private static Stream StreamData(byte[] buffer, int bytesRead, string formate)
{
// Have no idea what to give for ConvertSettings, i simply pass a object
ConvertSettings settings = new ConvertSettings();
var ffmpeg = new FFMpegConverter();
Stream inputStream = new MemoryStream(buffer);
Stream outputStream = new MemoryStream();
try
{
// Here im getting outputStream capacity = 0, length = 0, position =0.
var task = ffmpeg.ConvertLiveMedia(inputStream, formate, outputStream, Format.mp4, settings );
task.Start();
}
catch (Exception ex)
{
Console.WriteLine(ex.ToString());
}
return outputStream;
} -
Live webcam stream to mjpeg file [on hold]
20 mars 2018, par neph94I am looking for a way for ffmpeg or any other alternative to be able to continuously stream data to an mjpeg (or any other) file. There would be a size limitation to it. When exceeded oldest frames would just be removed to make space.
Basically, what I am looking is ffserver with an option to stream locally to a file without serving it on an HTTP server.