
Recherche avancée
Autres articles (66)
-
Gestion des droits de création et d’édition des objets
8 février 2011, parPar défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;
-
Dépôt de média et thèmes par FTP
31 mai 2013, parL’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...) -
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
Sur d’autres sites (12147)
-
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;
} -
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
-
avformat/daudenc : force 2000 sample packet size with a bsf
3 mars 2024, par Marton Balintavformat/daudenc : force 2000 sample packet size with a bsf
The samples I found all have 2000 sample packets, and by forcing the packet
size with a bsf we could automagically make muxing work for packets containing
more than 3640 samples.Signed-off-by : Marton Balint <cus@passwd.hu>