
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 (44)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
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 a better visual interface
13 avril 2011MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.
Sur d’autres sites (6565)
-
Extract individual frames as a buffer from a video
30 août 2022, par mgoI'm trying to process a video using tensorflow in node.js (i.e. on the server - I don't have a web page). I need to process each frame in the video individually. I see some people are using ffmpeg to generate individual image files from the video but that seems wasteful as it creates files on the filesystem. I would prefer to grab each frame as a base64 string in memory. I've got this working using OpenCV4Node but am wondering if there are any lighter weight solutions. Is anyone already doing this ? Any help would be appreciated :-)


-
How to split a video into individual encoded frames ?
23 mai 2015, par AsikSource video is H264 in an mp4 container, I’m trying to split it into individual encoded frames. I tried with the following command line :
ffmpeg -i "input.mp4" -f image2 "%d.h264"
But that creates jpegs with the extension "h264", rather than actual H.264 frames.
-
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