
Recherche avancée
Autres articles (24)
-
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 -
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
-
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)
Sur d’autres sites (6932)
-
avcodec/videotoolboxenc : fix setting avctx color_range doesn't work
3 janvier 2024, par Zhao Zhili -
ffmpeg concat video doesn't work on phones
1er janvier 2015, par Виктор ПахомовI`m trying to concat my 2 videos (one of them a watermark video). I created a simple batch script.
SET PATH=%PATH%;D:\downloads\ffmpeg-20141226-git-7c210c4-win32-static\ffmpeg-20141226-git-7c210c4-win32-static\bin
DIR/B/O:N/S D:\videos > D:\filename.txt
for /f %%i in (D:\filename.txt) do (
ffmpeg -i %%i -c copy -acodec libvo_aacenc -vbsf:v h264_mp4toannexb -f mpegts %%i.ts
ffmpeg -i "concat:D:\videomark\copy.ts|%%i.ts" -c copy -acodec libvo_aacenc -b:v 256k -bufsize 256k -vbsf:v aac_adtstoasc D:\gdvideo\%%~ni.mp4
del /f /s /q D:\videos\*.ts
SLEEP 200
)The video works fine on a PC and doesn’t work on my phone (as an example nokiaX2).
What could be the problem ?
-
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