
Recherche avancée
Autres articles (77)
-
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 ;
-
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 (...) -
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)
Sur d’autres sites (14080)
-
How to put a video inside a frame and record whole thing as a video ?
7 octobre 2024, par crysisI have a video. I want to create a new video such that the video plays inside a frame similar to this screenshot. Loom recording does this. Most of the screen recorders do this.




This screenshot is of the video. This is done in most of the screen recorders. Here is what I'm thinking


- 

- render video on a canvas with the background.
- Play the video
- Use mediarecorder API to record a new video.








I don't have good understanding of frontend development. Is that how it is generally done or I need to use ffmpeg ? I would really appreciate any guidance here.


-
ffmpeg returned non-zero exit status. Check stdout Coldfusion
30 mars 2017, par Abdul RaufI have an coldfusion application. I am converting recorded video from mobile through ffmpeg and coldfusion. Here is the ffmpeg command which i am running.
ffmpegPath -i "inputfile" -vcodec libx264 -acodec aac "OutputFile"
Output file type is mp4. I want to convert my all videos to mp4 with h.264 and ACC sound. So that it will work on all platforms.
I am getting the following error :
java.io.IOException: ffmpeg returned non-zero exit status. Check stdout.
Here is the CF code that i am running.
<cfset resultlog="path\to\directory\testOuput_result.log">
<cfset errorlog="path\to\directory\testOuput_error.log">
<cfset results="structNew()">
<cfscript>
try {
runtime = createObject("java", "java.lang.Runtime").getRuntime();
command = 'ffmpegPath -i "inputfile" -vcodec libx264 -acodec aac "OutputFile"';
process = runtime.exec(#command#);
results.errorLogSuccess = processStream(process.getErrorStream(), errorLog);
results.resultLogSuccess = processStream(process.getInputStream(), resultLog);
results.exitCode = process.waitFor();
}
catch(exception e) {
results.status = e;
}
</cfscript>
<cffunction access="public" output="false" returntype="boolean" hint="Returns true if stream was successfully processed">
<cfargument type="any" required="true" hint="java.io.InputStream object">
<cfargument type="string" required="false" default="" hint="Full path to LogFile">
<cfset var="var" out="">
<cfset var="var" writer="">
<cfset var="var" reader="">
<cfset var="var" buffered="">
<cfset var="var" line="">
<cfset var="var" sendtofile="false">
<cfset var="var" errorfound="false">
<cfscript>
if ( len(trim(arguments.logPath)) ) {
out = createObject("java", "java.io.FileOutputStream").init(arguments.logPath);
writer = createObject("java", "java.io.PrintWriter").init(out);
sendToFile = true;
}
reader = createObject("java", "java.io.InputStreamReader").init(arguments.in);
buffered = createObject("java", "java.io.BufferedReader").init(reader);
line = buffered.readLine();
while ( IsDefined("line") ) {
if (sendToFile) {
writer.println(line);
}
line = buffered.readLine();
}
if (sendToFile) {
errorFound = writer.checkError();
writer.flush();
writer.close();
}
</cfscript>
<cfreturn>
</cfreturn></cfset></cfset></cfset></cfset></cfset></cfset></cfset></cfargument></cfargument></cffunction>
</cfset></cfset></cfset>I have also used different ffmpeg.exe but got same error. I have also used ffmpeg-cli-wrapper java wrapper in coldfusion. Still i got the same error. Can any one help me to sort out this issue.
-
C# FFmpeg Cannot process request because the process (11536) has exited
30 avril 2016, par Martin Mazza DawsonI’m trying to convert an .ogg file to .mp3. I am following this link to do so : How to call ffmpeg.exe to convert audio files on Windows Azure ?
I get the error message :
Cannot process request because the process (11536) has exited.
The ffmpeg.exe is in my root dir and it works when I convert the .ogg file to .mp3 in the command prompt, the
ogg_path
also has the correct bytes written to it when I check using debugging.
Can anyone tell me what I am doing wrong please ?[HttpPost]
public void ConvertFileToMp3(HttpPostedFileBase file)
{
string ogg_path = Server.MapPath("~/0477.ogg");
string mp3_path = Server.MapPath("~/0477.mp3");
using (var reader = new BinaryReader(file.InputStream))
{
System.IO.File.WriteAllBytes(ogg_path, reader.ReadBytes(file.ContentLength));
}
ProcessStartInfo psi = new ProcessStartInfo();
psi.FileName = Server.MapPath("~/ffmpeg.exe");
psi.Arguments = string.Format(@"-i ""{0}"" -y ""{1}""", ogg_path, mp3_path);
psi.CreateNoWindow = true;
psi.ErrorDialog = false;
psi.UseShellExecute = false;
psi.WindowStyle = ProcessWindowStyle.Hidden;
psi.RedirectStandardOutput = true;
psi.RedirectStandardInput = false;
psi.RedirectStandardError = true;
Process exeProcess = Process.Start(psi);
try
{
exeProcess.PriorityClass = ProcessPriorityClass.High; //Fails here
string outString = string.Empty;
exeProcess.OutputDataReceived += (s, e) => {
outString += e.Data;
};
exeProcess.BeginOutputReadLine();
string errString = exeProcess.StandardError.ReadToEnd();
Trace.WriteLine(outString);
Trace.TraceError(errString);
exeProcess.WaitForExit();
}
catch (Exception e)
{
Trace.TraceError(e.Message);
}
//do other stuff with file, cut for brevity
}