
Recherche avancée
Médias (1)
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
Autres articles (54)
-
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 -
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
Automated installation script of MediaSPIP
25 avril 2011, parTo overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
The documentation of the use of this installation script is available here.
The code of this (...)
Sur d’autres sites (10397)
-
Video Processing in background with work manager using ffmpeg
24 novembre 2020, par Naseer AttariThe problem comes when during the video processing user closes the application himself from the task manager then its processing stops.


I am working on video file processing in android using
FFMpeg
, which is working perfectly but when I do close the application during processing from task manager then video processing has stopped working even I added all the work in work manager.

@Override 
public Result doWork() {
 shellCommand = new ShellCommand();
 ffmpegBinary = new String[] {
 FileUtils.getFFmpeg(context).getAbsolutePath()
 };
 command = concatenate(ffmpegBinary, command);
 CommandResult commandResult = getCommandResult(command);
 if (command`enter code here`Result.success) {
 onSuccess(videoPath);
 } else {
 onFailure(videoPath);
 }
 }
 //getCommandResult
 private CommandResult getCommandResult(String[] command) {
 try {
 process = shellCommand.run(command, null);
 
 if (process == null) {
 return CommandResult.getDummyFailureResponse();
 }
 checkAndUpdateProcess();
 return CommandResult.getOutputFromProcess(process);
 } catch(Exception e) {} finally {
 Util.destroyProcess(process);
 }
 return CommandResult.getDummyFailureResponse();
 }



As far as I can tell, when the application closes from the background then the parent process destroys it and is destroying all of its sub-process too,
FFMpeg
is using the android process to execute the command and check the video file status during video processing.

Looking forward to hear from you.
Thanks


-
Android Video Processing in background with work manager using ffmpeg
27 juin 2019, par Naseer AttariThe problem comes when during the video processing user closes the application himself from the task manager then its processing stops.
I am working on video file processing in android using FFMpeg, which is working perfectly but when I do close the application during processing from task manager then video processing has stopped working even I added all the work in work manager.
@Override
public Result doWork() {
shellCommand = new ShellCommand();
ffmpegBinary = new String[] {
FileUtils.getFFmpeg(context).getAbsolutePath()
};
command = concatenate(ffmpegBinary, command);
CommandResult commandResult = getCommandResult(command);
if (command`enter code here`Result.success) {
onSuccess(videoPath);
} else {
onFailure(videoPath);
}
}
//getCommandResult
private CommandResult getCommandResult(String[] command) {
try {
process = shellCommand.run(command, null);
if (process == null) {
return CommandResult.getDummyFailureResponse();
}
checkAndUpdateProcess();
return CommandResult.getOutputFromProcess(process);
} catch(Exception e) {} finally {
Util.destroyProcess(process);
}`enter code here`
return CommandResult.getDummyFailureResponse();
}As far as I can tell, when the application closes from the background then the parent process destroys it and is destroying all of its sub-process too, FFMpeg is using the android process to execute the command and check the video file status during video processing.
Looking forward to hear from you.
Thanks -
Sometimes ffmpeg crashes and the process still on task manager in windows
23 février 2018, par parsaI’m using ffmpeg for transcoding my videos on my servers.
Some times ffmpeg carshes in transode during, and that process stalled on task manager and it used ram,but not consumed cpu(it seems ffmpeg crashed).
1- Is there any solution for knowing that how can I manage this process on my servers ?
2- Must be handle that from web server side or can I manage it from ffmpeg side ?
I mean, ffmpeg has there any property for when transcoding take a long time,that stops.
Or Can I handle this from server side(iis recycling stops the process in run time transcoding, i don’t want to use that, maybe I’m wrong, just help me).
What is the best solution ?
I used this code for example :
ffmpeg -i kata.mp4 -filter_complex
[0:v]drawtext=fontfile=OpenSansRegular.ttf:text=localhost/Parsa:fontcolor
=white:r=25:box=1:boxcolor=black@0.3:boxborderw=3:fontsize=15:x=15:y=(h-text_h-
15)[v];[v]split=4[s0][s1][s2][s3];[s0]scale=hd720[v0];[s1]scale=hd480[v1];
[s2]scale=nhd[v2];[s3]scale=cga[v3] -map [v0] -map [v1] -map [v2] -map [v3] -map
a? -c:v libx264 -c:a aac -f tee -g 48 -threads 0 "
[select='v\:0,a':f=hls:hls_list_size=0]../video/720p/out.m3u8|
[select='v\:1,a':f=hls:hls_list_size=0]../video/480p/out.m3u8|
[select='v\:2,a':f=hls:hls_list_size=0]../video/360p/out.m3u8|
[select='v\:3,a':f=hls:hls_list_size=0]../video/200p/out.m3u8"