
Recherche avancée
Autres articles (80)
-
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 ;
-
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
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
Sur d’autres sites (15193)
-
Using FFMPEG via command line in android
30 décembre 2012, par user1662334I want to use FFMPEG via COMMAND LINE in my android application.For this purpose :
- I have cross-compiled the ffmpeg lib and got the libffmpeg.so
- I have stored libffmpeg.so and the ffmpeg exectable in files directory of the my project.
This is the code i am using :
public class FFMPEGActivity extends Activity
Process p;
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
String[] cmd =new String[4];
cmd[0]="/data/data/com.example.ffmpegnew/files/libffmpeg";
cmd[1]="-i";
cmd[2]="mnt/sdcard/music/baba.mp4";
cmd[3]="mnt/sdcard/music/outfile.mp4";
p = Runtime.getRuntime().exec(cmd,null, new File("/data/data/com.example.ffmpegnew/files"));
}
catch(Exception e)
{
System.out.println("exception"+e);
}
}This is the exception i am getting :
09-17 13:47:01.679: I/System.out(3752): exceptionjava.io.IOException: Error running exec(). Command: [/data/data/com.example.ffmpegnew/files/libffmpeg.so, -i, mnt/sdcard/music/baba.mp4, mnt/sdcard/music/outfile.mp4] Working Directory: /data/data/com.example.ffmpegnew/files Environment: null
Please tell me how to solve this problem.Thanks in advance.
-
FFmpeg works on command line but not working on PHP script [on hold]
6 août 2014, par burakcakirelHere is the screenshot to compare the results of command line output and PHP script output.
http://screencast.com/t/e8Cdmr6aQ
It works when ffmpeg command runs on command line, but it doesn’t work when using
exec()
command in php script. Any solution ?Also, the following screenshot shows that all about ffmpeg on the server :
http://screencast.com/t/N9TnOORJkx
I’ve tried
/opt/mct/bin/ffmpeg and /usr/local/bin/ffmpeg.
Nothing works on php script.safe_mode => OFF
FFmpeg paths => 755EDIT : FFmpeg command already exists in the screenshot. Anyway here are the commands which none of them don’t work :
/root/bin/ffmpeg -y -i Intro1.mp4 -strict -2 -s 640x480 Intro1_mp4.mp4 2>&1
/opt/mct/bin/ffmpeg -y -i Intro1.mp4 -strict -2 -s 640x480 Intro1_mp4.mp4 2>&1
/usr/local/bin/ffmpeg -y -i Intro1.mp4 -strict -2 -s 640x480 Intro1_mp4.mp4 2>&1 -
fftools/ffmpeg : drop mistakenly added empty line
9 mars 2022, par Anton Khirnov