
Recherche avancée
Médias (2)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (104)
-
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 (...) -
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 (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)
Sur d’autres sites (8716)
-
How to convert mp4 to mp3 in Android Java ?
16 août 2023, par AkshitI have the mp4 link of a video but don't have a link for the mp3 version of that mp4 video. So is there any way that I can convert that mp4 video to mp3 in Android ? I saw some resources but nothing works for me. I have two ways in which I believe this can be achieved


- 

- Convert the mp4 link to mp3 directly. (Not Sure if this is achievable)
- Download the mp4 on the device with the help of a link and then use some code to convert that mp4 to mp3.






I also tried some solutions which are available online


https://github.com/tanersener/mobile-ffmpeg


I tried the above library to achieve the final goal. But got :
Async command execution failed with returnCode=1
.

This error in the code I am using is :


private class Mp4ToMp3ConverterTask extends AsyncTask {
 @Override
 protected String doInBackground(String... params) {
 String mp4FilePath = params[0];
 String mp3OutputPath = Environment.getExternalStorageDirectory().getAbsolutePath() + "/output.mp3";

 String[] ffmpegCommand = {"-i", mp4FilePath, "-vn", "-ar", "44100", "-ac", "2", "-b:a", "192k", mp3OutputPath};


 Config.enableStatisticsCallback(new StatisticsCallback() {
 public void apply(Statistics newStatistics) {
 Log.d("Dekh", String.format("frame: %d, time: %d", newStatistics.getVideoFrameNumber(), newStatistics.getTime()));
 }
 });

 long executionIdd = FFmpeg.executeAsync(ffmpegCommand, new ExecuteCallback() {
 @Override
 public void apply(final long executionId, final int returnCode) {
 if (returnCode == RETURN_CODE_SUCCESS) {
 Log.i("Dekh", "Async command execution completed successfully.");
 } else if (returnCode == RETURN_CODE_CANCEL) {
 Log.i("Dekh", "Async command execution cancelled by user.");
 } else {
 Log.i("Dekh", String.format("Async command execution failed with returnCode=%d.", returnCode));
 }
 }
 });

 FFmpeg.cancel(executionIdd);

 return mp3OutputPath;
 }
}



Solution number 2 which I used is :




But I got an error here also :
Failed to instantiate extractor
.

And another error is :java.io.FileNotFoundException: open failed: EISDIR (Is a directory)


I tried the online available solution to solve these errors but nothing worked. Such as granting write permission. Providing a valid location to save the output.


But nothing works so far. Please help me on this. Thank you.


-
ffmpeg set data stream codec tag when copying
19 mars 2021, par user972014I use
ffmpeg
to copy a data stream from one file to the other using-c copy


The problem is that it causes the output file to have no codec tag string. How can I set it ?


The name of the original stream was :


Stream #0:3(eng): Data: none (gpmd / 0x646D7067), 96 kb/s (default)
 Metadata:
 creation_time : 2020-09-08 16:35:49
 handler_name : GoPro MET



While for the output file I get it is :


Stream #0:2[0x102]: Data: bin_data ([6][0][0][0] / 0x0006)



I'm using a commandline similar to that :


ffmpeg -i video.mp4 -map 0:3 -c copy -metadata:s:d codec_tag=xxxx -vcodec libx264 converted4.ts



I also tried handler=... handler_name=...


-
Remove error when running ffmpeg in Windows script to shrink MP3 file
19 octobre 2022, par K7AAYI use a script to downsize audiobook files.

The original audiobook file was concatenated from multiple MP3 files into one MP3 file.

The script (in Windows) relies on ffmpeg (version git-2020-06-26-7447045) and contains

FOR %%A IN (dir *.mp3) DO ffmpeg -i "%%A" -c:a libmp3lame -q:a 8 "_%%A"



However, this error message appears :




deprecated pixel format used, make sure you did set range correctly

[mp3 @ 000001f026d56400] Frame rate very high for a muxer not efficiently supporting it.

Please consider specifying a lower framerate, a different muxer or -vsync 2



How do I modify the script for greater efficiency and remove that error message ?