
Recherche avancée
Autres articles (97)
-
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
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 (...)
Sur d’autres sites (10412)
-
fatal Error Issues - jhotovy's version of android-ffmpeg-x264 - github.com/jhotovy/android-ffmpeg.git
3 août 2012, par user1545779The following is the output for issuing
init-submodules.sh
. I keep receiving thiserror:fatal error:
Unable to checkout '15e02184e136e47ecff01bf56aca
The49d8e2646fb4' in submodule path 'Project/jni/ffmpeg'<br />Has anyone run jhotovy's version of halfninja's code successfully so far ? Any help in resolving this issue will be greatly appreciated
My screen output :
gipsyblues@android-general:~/android-ffmpeg$ ./init-submodules.sh <br />
ls: cannot access ./jni/ffmpeg/*: No such file or directory<br />
Submodule 'ffmpeg' (git://git.videolan.org/ffmpeg.git) registered for path Project/jni /ffmpeg'<br />
Submodule 'x264' (git://git.videolan.org/x264.git) registered for path 'Project/jni /x264'<br />
user.name=xxxxxxx <br />
user.email=yyyyyyy <br />
core.repositoryformatversion=0<br />
core.filemode=true<br />
core.bare=false<br />
core.logallrefupdates=true<br />
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*<br />
remote.origin.url=git://github.com/jhotovy/android-ffmpeg.git
branch.master.remote=origin<br />
branch.master.merge=refs/heads/master<br />
submodule.ffmpeg.url=git://git.videolan.org/ffmpeg.git<br />
submodule.x264.url=git://git.videolan.org/x264.git<br />
Initialized empty Git repository in /home/gipsyblues/android-ffmpeg/Project/jni/ffmpeg /.git/<br />
remote: Counting objects: 237417, done.<br />
remote: Compressing objects: 100% (57251/57251), done.<br />
remote: Total 237417 (delta 186957), reused 228690 (delta 179782)<br />
Receiving objects: 100% (237417/237417), 59.89 MiB | 5.22 MiB/s, done.<br />
Resolving deltas: 100% (186957/186957), done.<br />
fatal: reference is not a tree: 15e02184e136e47ecff01bf56aca49d8e2646fb4<br />
Unable to checkout '15e02184e136e47ecff01bf56aca49d8e2646fb4' in submodule path 'Project/jni/ffmpeg'<br />
gipsyblues@android-general:~/android-ffmpeg$ <br />I have successfully run the original halfninja version which is also at
githuib.com/halfninja/android-ffmpeg-x264.<
br> I have searched all over the Internet and i am not finding any reference to this issue. Anyone had any success with that implementation -
Android : Not able to merge two audio files using ffmpeg Android
29 mars 2019, par Asif SbI am trying to merge two wav audio files into one using FFMPEG library.
Here is the command I used for merging two audio files.
String s = "ffmpeg -i "+recordFile+" -i "+audioFromVideo+" -filter_complex amix=inputs=3:duration=first:dropout_transition=3 "+finalAudio;
Below is my audio merger code :
public void mergeMediaFiles(Context context,String[] cmd) {
FFmpeg ffmpeg = FFmpeg.getInstance(context);
try {
try {
//Load the binary
ffmpeg.loadBinary(new LoadBinaryResponseHandler() {
@Override
public void onStart() {
}
@Override
public void onFailure() {
}
@Override
public void onSuccess() {
}
@Override
public void onFinish() {
}
});
} catch (FFmpegNotSupportedException e) {
// Handle if FFmpeg is not supported by device
}
// to execute "ffmpeg -version" command you just need to pass "-version"
ffmpeg.execute(cmd, new ExecuteBinaryResponseHandler() {
@Override
public void onStart() {
Log.d("ttt", "onStart:merge ");
}
@Override
public void onProgress(String message) {
Log.d("ttt", "onProgress: merge");
}
@Override
public void onFailure(String message) {
Log.d("ttt", "onFailure: stock down");
}
@Override
public void onSuccess(String message) {
Log.d("ttt", "onSuccess: stock up");
File file= new File(finalAudio);
if (file.exists()) {
Log.d(TAG, "onPostExecute: mila bhai");
startPlaying(file.getPath());
}
}
@Override
public void onFinish() {
Log.d("ttt", "onFinish: merge ");
}
});
} catch (FFmpegCommandAlreadyRunningException e) {
//
}
}
}When I try to run this code. It always triggers failure callback.
I just wanted to understand what is the issue with the command and merger code ? -
android : Getting erro after use of FFmpeg android Library. error:Working Directory : null Environment : null
19 février 2016, par Ravi VGHLI have try to make video in reverse that for i have use to FFmpeg But i am not getting proper result from FFmpeg. now i am using this library that use to FFmpeg and gradle in compile to
compile 'com.github.hiteshsondhi88.libffmpeg:FFmpegAndroid:0.2.5'
library. But there is one more problem when i execute any command that time i got errorWorking Directory: null Environment: null
i have to declare permission in manifest file and code execute time also check file exist or not. kindly check my code and how to fix it ? please share your some helpful suggestions. Thanks in advance.MyCode
if (videoFile.exists()) {
String vidInput = videoFile.getAbsolutePath();
String cmd = "-i " + vidInput + " -map_metadata:s:a 0:g " + vidoutpath;
FFmpeg fFmpeg = FFmpeg.getInstance(getApplicationContext());
fFmpeg.execute(cmd, new FFmpegExecuteResponseHandler() {
@Override
public void onSuccess(String message) {
Toast.makeText(getApplicationContext(), "Success", Toast.LENGTH_SHORT).show();
}
@Override
public void onProgress(String message) {
}
@Override
public void onFailure(String message) {
Toast.makeText(getApplicationContext(), message, Toast.LENGTH_SHORT).show();
}
@Override
public void onStart() {
}
@Override
public void onFinish() {
}
});
}Above code in when i pass only
-version
command that time also get same problem.Manifest File in uses Permission
LogCat Error
Exception while trying to run: /data/data/com.videotest/files/ffmpeg -i /storage/emulated/0/frameCount.mp4 -map_metadata:s:a 0:g /storage/emulated/0/frameCountRev.mp4
java.io.IOException: Error running exec(). Command: [/data/data/com.videotest/files/ffmpeg, -i, /storage/emulated/0/frameCount.mp4, -map_metadata:s:a, 0:g, /storage/emulated/0/frameCountRev.mp4] Working Directory: null Environment: null
at java.lang.ProcessManager.exec(ProcessManager.java:211)
at java.lang.Runtime.exec(Runtime.java:173)
at java.lang.Runtime.exec(Runtime.java:246)
at java.lang.Runtime.exec(Runtime.java:189)
at com.github.hiteshsondhi88.libffmpeg.ShellCommand.run(ShellCommand.java:10)
at com.github.hiteshsondhi88.libffmpeg.FFmpegExecuteAsyncTask.doInBackground(FFmpegExecuteAsyncTask.java:38)
at com.github.hiteshsondhi88.libffmpeg.FFmpegExecuteAsyncTask.doInBackground(FFmpegExecuteAsyncTask.java:10)
at android.os.AsyncTask$2.call(AsyncTask.java:288)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:818)
Caused by: java.io.IOException: No such file or directory at java.lang.ProcessManager.exec(Native Method)
at java.lang.ProcessManager.exec(ProcessManager.java:209)