
Recherche avancée
Médias (1)
-
1 000 000 (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
Autres articles (74)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
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 ;
Sur d’autres sites (11278)
-
libavfilter/x86/vf_convolution : fix sobel swap issue on WIN64
14 novembre 2022, par Wang, Bin -
lavc/vvc_ps : Correct NoOutputBeforeRecoveryFlag of IDR
11 mars 2024, par Fei Wang -
Cannot run program "/data/user/0/com.athkar.musliem/files/ffmpeg" : error=2, No such file or directory
3 avril 2021, par gejivi2011I am trying to make a video with an audio and single image, but have the error that on the title, I am using android studio with FFmpeg :
I need to make that video with just one image and one mp3 file


The error was :


Exception while trying to run: [Ljava.lang.String;@b6e12b4
java.io.IOException: Cannot run program "/data/user/0/com.athkar.musliem/files/ffmpeg": 
error=2, No such file or directory

Caused by: java.io.IOException: error=2, No such file or directory



1- this code to get the save directory


String root = Environment.getExternalStorageDirectory().toString();
 myDir = new File(root);



2- The image uri :


imageUri = Uri.parse("android.resource://com.athkar.musliem/drawable/" + R.drawable.test_image);



3- to select mp3 file :


public void openMp3Selector() {
 Intent intent;
 intent = new Intent();
 intent.setAction(Intent.ACTION_GET_CONTENT);
 intent.setType("audio/*");
 startActivityForResult(Intent.createChooser(intent, "Select mp3"), REQ_CODE_PICK_SOUNDFILE);
}

 @Override
public void onActivityResult(int requestCode, int resultCode, Intent data) {
 super.onActivityResult(requestCode, resultCode, data);
 if (requestCode == REQ_CODE_PICK_SOUNDFILE && resultCode == Activity.RESULT_OK) {
 if ((data != null) && (data.getData() != null)) {
 audioFileUri = data.getData();
 }
 }
}



4- finally FFmpeg code :


fFmpeg = FFmpeg.getInstance(VideoMakerActivity.this);
 String[] strArr = new String[]{"-y", "-r", imageUri.getPath(), "-i", imageUri.getPath(), "-vcodec", "libx264", "-r", "2", "-pix_fmt", "yuv420p", "-preset", "ultrafast", audioFileUri.getPath()};
 try {
 fFmpeg.execute(strArr, new ExecuteBinaryResponseHandler() {
 @Override
 public void onSuccess(String message) {
 super.onSuccess(message);
 Log.e("MAS", "onSuccess");
 }

 @Override
 public void onProgress(String message) {
 super.onProgress(message);
 Log.e("MAS", "onProgress");

 }

 @Override
 public void onFailure(String message) {
 super.onFailure(message);
 Log.e("MAS", "onFailure");

 }

 @Override
 public void onStart() {
 super.onStart();
 Log.e("MAS", "onStart");

 }

 @Override
 public void onFinish() {
 super.onFinish();
 Log.e("MAS", "onFinish");

 }
 });
 } catch (FFmpegCommandAlreadyRunningException e) {
 e.printStackTrace();
 }