
Recherche avancée
Médias (91)
-
Les Miserables
9 décembre 2019, par
Mis à jour : Décembre 2019
Langue : français
Type : Textuel
-
VideoHandle
8 novembre 2019, par
Mis à jour : Novembre 2019
Langue : français
Type : Video
-
Somos millones 1
21 juillet 2014, par
Mis à jour : Juin 2015
Langue : français
Type : Video
-
Un test - mauritanie
3 avril 2014, par
Mis à jour : Avril 2014
Langue : français
Type : Textuel
-
Pourquoi Obama lit il mes mails ?
4 février 2014, par
Mis à jour : Février 2014
Langue : français
-
IMG 0222
6 octobre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Image
Autres articles (73)
-
Encodage et transformation en formats lisibles sur Internet
10 avril 2011MediaSPIP transforme et ré-encode les documents mis en ligne afin de les rendre lisibles sur Internet et automatiquement utilisables sans intervention du créateur de contenu.
Les vidéos sont automatiquement encodées dans les formats supportés par HTML5 : MP4, Ogv et WebM. La version "MP4" est également utilisée pour le lecteur flash de secours nécessaire aux anciens navigateurs.
Les documents audios sont également ré-encodés dans les deux formats utilisables par HTML5 :MP3 et Ogg. La version "MP3" (...) -
Monitoring de fermes de MediaSPIP (et de SPIP tant qu’à faire)
31 mai 2013, parLorsque l’on gère plusieurs (voir plusieurs dizaines) de MediaSPIP sur la même installation, il peut être très pratique d’obtenir d’un coup d’oeil certaines informations.
Cet article a pour but de documenter les scripts de monitoring Munin développés avec l’aide d’Infini.
Ces scripts sont installés automatiquement par le script d’installation automatique si une installation de munin est détectée.
Description des scripts
Trois scripts Munin ont été développés :
1. mediaspip_medias
Un script de (...) -
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...)
Sur d’autres sites (13280)
-
What is a good/simple way to obtain a stream of song metadata from an online radio station ?
29 juin 2022, par espWhat is a good/simple way to obtain a stream of song metadata (artist names and song titles etc.) from an online radio station ? Just the metadata, not the data (media). On bash command-line for now, thinking of getting it to a database (eg MySQL) in future.


I have had success using FFMpeg to do this (simply
FFMpeg -i <streamurl></streamurl>
). However it only reports the song playing once - when it is run. If I specify an outputfile (e.g.-f null -
) then it continues to run but does not report any updates to the "now playing" metadata. If I do not specify an output file then, after reporting that metadata, it quits (which in my case is more useful !).

I can imagine one way round this would be to make a polling-loop, say every 10 seconds, only reporting when the metadata has changed (since the previous time). Does anyone have a battle-tested example ?


But is there a better (or cooler way) to achieve this ?


-
combine audio and video without delete original audio (overlap two audio sound simultaneous) ?
28 juin 2018, par MIGHTDUYI have this code but delete original audio ;IM trying to put background music
ffmpeg -i "music.m4a" -i OUTS.mkv -acodec copy -vcodec copy muxed.mp4
please help me
-
how to concentrate two audios in android in my way ?
14 mai 2020, par tohid noorihello guys i have selectActivity that u can select the audios after that u can merge them using ffmpeg library but i get error that said "no such file or directory" i thick the paths that use have problem 
this is my code below u can check it out .Then if u know how to get all music that exist in my storage ,tell me. I use this function below to get all music.



private void getMusic(){
 ContentResolver resolver = getContentResolver();
 Uri uri = MediaStore.Audio.Media.EXTERNAL_CONTENT_URI;
 Cursor cursor = resolver.query(uri,null,null,null,null);
 if(cursor != null && cursor.moveToFirst()){
 int songTitle = cursor.getColumnIndex(MediaStore.Audio.Media.TITLE);
 int data = cursor.getColumnIndex(MediaStore.Audio.Media.DATA);
 int artist =cursor.getColumnIndex(MediaStore.Audio.Media.ARTIST);
 int size =cursor.getColumnIndex(MediaStore.Audio.Media.SIZE);
 int duration =cursor.getColumnIndex(MediaStore.Audio.Media.DURATION);

 do {
 Music music = new Music();
 music.setSongName(cursor.getString(songTitle));
 music.setSongArtist(cursor.getString(artist));
 music.setSongDuration(cursor.getString(duration));
 music.setSongSize(cursor.getString(size));
 music.setSongPath(cursor.getString(data));
 music.setSongBitmap(getAlbumImage(cursor.getString(data)));
 musicArrayList.add(music);
 }while (cursor.moveToNext());
 }
}




Then at the function below i merge the selected audios.



public void OMG(final Context context,List<musicselecteddatabase> musicDbs) {
 String s = "";
 String s_index = "";
 String fileSize = "concat=n="+musicDbs.size()+":v=0:a=1[out] -map [out] "+ dir4.getPath();

 for (int i = 0; i < musicDbs.size(); i++) {

 s = s + " -i " + musicDbs.get(i).getSongPath();
 s_index = s_index + "[" + i + ":0]";

 }
 s = s.replaceFirst(" ","");
 String str_cmd = s + " -filter_complex " + s_index + fileSize ;
 String[] cmd = str_cmd.split(" ");
 FFmpeg ffmpeg = FFmpeg.getInstance(context);
 try {
 ffmpeg.loadBinary(new LoadBinaryResponseHandler() {
 @Override
 public void onStart() {
 }

 @Override
 public void onFailure() {
 }

 @Override
 public void onSuccess() {
 }

 @Override
 public void onFinish() {
 }
 });
 } catch (Exception e) {
 Toast.makeText(context, e.getMessage(), Toast.LENGTH_SHORT).show();
 }

 try {
 ffmpeg.execute(cmd, new ExecuteBinaryResponseHandler() {
 @Override
 public void onStart() {
 }

 @Override
 public void onProgress(String message) {
 Toast.makeText(context, message, Toast.LENGTH_SHORT).show();
 }

 @Override
 public void onFailure(String message) {
 Toast.makeText(context, message, Toast.LENGTH_SHORT).show();
 }

 @Override
 public void onSuccess(String message) {
 Toast.makeText(context, "Build has been successful", Toast.LENGTH_SHORT).show();
 }

 @Override
 public void onFinish() {

 }
 });
 } catch (Exception e) {
 Toast.makeText(context, e.getMessage(), Toast.LENGTH_SHORT).show();
 } finally {
 if (ffmpeg.isFFmpegCommandRunning()) {
 ffmpeg.killRunningProcesses();
 }
 }
}
</musicselecteddatabase>



at the end i tell u how to get all music path exist in my mobile whit the function getmusic() i get a path something like this :



/storage/72AD-2013/Music/music_name.mp3



but i need something like this "i mean the real path of file that music is exist :



/storage/emulated/0/music/music_name.mp3