
Recherche avancée
Médias (2)
-
Valkaama DVD Label
4 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Image
-
Podcasting Legal guide
16 mai 2011, par
Mis à jour : Mai 2011
Langue : English
Type : Texte
Autres articles (40)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
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 -
Contribute to documentation
13 avril 2011Documentation is vital to the development of improved technical capabilities.
MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
To contribute, register to the project users’ mailing (...)
Sur d’autres sites (8239)
-
I am trying add text and image over video using FFmpeg lib in androoid studio
21 juin 2019, par vikramI am using FFmpeg lib for add text over video and add image over video but could not get successful. I am testing this one in a real device.
I am have already tried 2 commands for add text and add image over video but could not get proper output
String command[]={"ffmpeg","-i",inputpath,"-vf", "drawtext="+"\""+"fontfile=/sdcard/retro.ttf: text='Test Text'"+"\"",outputpath};
String addimg[]={"ffmpeg","-i", inputpath,"-i", imagepath ,"-filter_complex", "[0:v][1:v] overlay=25:25:enable='between(t,0,10)'" ,"-pix_fmt", "yuv420p", "-c:a copy",outputpath};
public void LoadFFmpegLibrary()
{
if(ffmpeg==null)
{
ffmpeg = FFmpeg.getInstance(MainActivity.this);
try {
ffmpeg.loadBinary(new LoadBinaryResponseHandler() {
@Override
public void onStart() {
Log.e("ffmpeg","Start to load");
}
@Override
public void onFailure() {
Log.e("ffmpeg","failed to load");
}
@Override
public void onSuccess() {
Log.e("ffmpeg","load Successfully");
ExcuteFfmpefLibrabry(command);
// Toast.makeText(MainActivity.this,"Success",Toast.LENGTH_LONG).show();
}
@Override
public void onFinish() {
Log.e("ffmpeg","failed to load");
}
});
} catch (FFmpegNotSupportedException e) {
// Handle if FFmpeg is not supported by device
Log.e("ffmpeg",e.toString());
}
}
}
public void ExcuteFfmpefLibrabry(String command[])
{
ffmpeg = FFmpeg.getInstance(MainActivity.this);
try {
// to execute "ffmpeg -version" command you just need to pass "-version"
ffmpeg.execute(command, new ExecuteBinaryResponseHandler() {
@Override
public void onStart() {
Log.e("ffmpeg","Exaction Start");
}
@Override
public void onProgress(String message) {}
@Override
public void onFailure(String message) {
Log.e("ffmpeg","failed to Excute Command");
Log.e("ok",message);
}
@Override
public void onSuccess(String message) {
Log.e("ffmpeg","Video Edited Successfully");
Log.e("ok",message);
// ExcuteFfmpefLibrabry(tetxcommand);
Toast.makeText(MainActivity.this,"Success",Toast.LENGTH_LONG).show();
}
@Override
public void onFinish() {
}
});
} catch (FFmpegCommandAlreadyRunningException e) {
Log.e("ffmpeg",e.toString());
}
}Unable to find a suitable output format for ’ffmpeg’
ffmpeg : Invalid argumentI am getting an error --->
Unable to find a suitable output format for 'ffmpeg' ffmpeg: Invalid argument
-
command not working to find duration of the video file in android ?
25 octobre 2018, par Dinesh SI want to find duration of the video file. For this purpose i used the below command.
It is working file in Desktop. While running in android.It is showing error. I also attached error message . can anyone able to tell me why it is not working ?execFFmpegBinary("-i "+file.getAbsolutePath()+" 2>&1 | find \"Duration\"");
//Function used to run command
private static void execFFmpegBinary(final String command)
{
try
{
ffmpeg.execute(command, new ExecuteBinaryResponseHandler()
{
@Override
public void onFailure(String s)
{
Log.d(TAG, "FAILED with output : " + s);
}
@Override
public void onSuccess(String s)
{
Log.d(TAG, "SUCCESS with output : " + s);
}
@Override
public void onProgress(String s)
{
Log.d(TAG, "Started command : ffmpeg " + command);
Log.d(TAG, "progress : " + s);
}
@Override
public void onStart()
{
Log.d(TAG, "Started command : ffmpeg " + command);
}
@Override
public void onFinish()
{
Log.d(TAG, "Finished command : ffmpeg " + command);
}
});
}
catch (FFmpegCommandAlreadyRunningException e)
{
// do nothing for now
Log.i(TAG,"Command Already running");
}
}Error Message :
[NULL @ 0xac11acd0] Unable to find a suitable output format for '2>&1'
2>&1: Invalid argument -
Android, Splitting GIFs with FFMPEG doesnt work
19 mars 2019, par raddeeeI wanted to split animated gif files using FFmpeg-Android-Java, so I referenced this question Android, split gif to frames with ffmpeg
and wrote this code.String path = "/storage/emulated/0/Download/mothersday-toaster.gif";
String cmd[] = {"-i",path,"-vsync","0","/storage/emulated/0/Download/output$03d.png"};
try {
// to execute "ffmpeg -version" command you just need to pass "-version"
ffmpeg.execute(cmd, new ExecuteBinaryResponseHandler() {
@Override
public void onStart() {}
@Override
public void onProgress(String message) {}
@Override
public void onFailure(String message) {Log.d("Q", "failed to convert");}
@Override
public void onSuccess(String message) {}
@Override
public void onFinish() {}
});
} catch (FFmpegCommandAlreadyRunningException e) {
// Handle if FFmpeg is already running
}Although, It always gives me the "failed to convert" log. FFMPEG is already loaded. Is there something wrong with my code ?