
Recherche avancée
Autres articles (91)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
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 -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (16689)
-
Non stop stream to rtmp with FFMPEG
13 février 2020, par Надежда ПеременI want to stream to RTMP with FFMPEG. I need to dynamically change next play file, for that i use web urls for my localhost.
I have PHP file located : http://127.0.0.1/mp3.php
$file = '1.mp3';
$mime_type = "audio/mpeg, audio/x-mpeg, audio/x-mpeg-3, audio/mpeg3";
if(file_exists($file)){
header('Content-type: {$mime_type}');
header('Content-length: ' . filesize($file));
header('Content-Disposition: filename="' . $file);
header('X-Pad: avoid browser bug');
header('Cache-Control: no-cache');
readfile($file);
}else{
header("HTTP/1.0 404 Not Found");
}And i run ffmpeg with this command line :
ffmpeg -re -stream_loop -1 -i logo.png -stream_loop -1 -i http://127.0.0.1/mp3.php -ab 320k -c:v libx264 -f flv "rtmp://ms......."
This works, but it playing only once time and FFMPEG returns an error :
Seek to start failed
http://127.0.0.1/mp3.php: Function not implementedHow can i fix it ?
-
C# ffmpeg not working
24 février 2018, par ViViI am trying to convert an mp3 file into a flac file using ffmpeg for c#.
I downloaded theffmpeg.exe
and placed it inside thebin/debug
folder of my project.My input folder is
testmp3
and output folder istestmp3OUTPUT
. These folders are located within the debug folder itself. testmp3 folder got mp3 files.This is the code I am using :
string inputfile = @"..\\testmp3\\349.mp3";
string outputfile = @"..\\testmp3OUTPUT\\349.flac";
Process myProcess = new Process();
ProcessStartInfo p = new ProcessStartInfo();
string sArgs = string.Format(" -i {0} -f wav - | neroAacEnc -ignorelength -q 0.5 -if - -of {1}", inputfile, outputfile);
p.FileName = "ffmpeg.exe";
p.CreateNoWindow = true;
p.RedirectStandardOutput = true;
//p.WindowStyle = ProcessWindowStyle.Normal
p.UseShellExecute = false;
p.Arguments = sArgs;
myProcess.StartInfo = p;
myProcess.Start();
myProcess.WaitForExit();
//Write details about call
myProcess.StandardOutput.ReadToEnd(); -
fate : Use the correct, local path to samples for opus reference files
12 juillet 2014, par Martin Storsjö