
Recherche avancée
Autres articles (42)
-
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...) -
Les images
15 mai 2013 -
Mediabox : ouvrir les images dans l’espace maximal pour l’utilisateur
8 février 2011, parLa visualisation des images est restreinte par la largeur accordée par le design du site (dépendant du thème utilisé). Elles sont donc visibles sous un format réduit. Afin de profiter de l’ensemble de la place disponible sur l’écran de l’utilisateur, il est possible d’ajouter une fonctionnalité d’affichage de l’image dans une boite multimedia apparaissant au dessus du reste du contenu.
Pour ce faire il est nécessaire d’installer le plugin "Mediabox".
Configuration de la boite multimédia
Dès (...)
Sur d’autres sites (6800)
-
Android Merging two or more videos from the List to a single synchronised video
18 août 2017, par Alok Kumar VermaI’ve an activity which has the certain videos inside my recyclerview. I’ve one button which takes you to the next activity which has the VideoView.
Now the main task is to merge the videos to single synchronous video and that video file will be played in the video View.The mapping is like -> EditVideoActivity.java (List of Videos in recyclerview) -> Processing the video merging into one -> saving somewhere -> the merged video getting played.
I’ve researched on several sites about this and came to know that two things are available for this, these are :
1. FFMPEG
2. MP4Parser
Now I’ve followed some questions on StackOverflow about this :
- FFMPEG Usage getting problem in Orientation : This doesn’t serve my motive. As this guy has used some coding.
- Mp4Parser : They have moved their site to Github but I got 504 gateway timeout so no guidance for that.
Developer Android has MediaCodec and I went there it was quiet complex
I’m sending out the data in string format or i must say the video path in array format to other activity and is working fine.
I’ve done some homework what I did is just in media player I appended the videos. But I have to merge the videos and then it has to be played inside the videoplayer.
1. When the button is clicked it merges the videos and saves it in a storage specified
The same videos is now played in videoplayer
EditVideo.java from where the data is passed from the press of the button
audioButton.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
//the position of the video
videoPosition = selectedVideo;
if(videoPosition != null){
Intent intent = new Intent(EditVideoActivity.this, AudioActivity.class);
intent.putExtra("videoData",videoPosition);
Log.e("VIDEO_SENT_DATA=======", videoPosition);
startActivity(intent);
}else
Toast.makeText(EditVideoActivity.this,"You have not selected any video",Toast.LENGTH_LONG)
.show();
}
});from here the data is getting passed, I’m working on how to merge the videos with the press of the above button
And PreviewActivity.java is the page where the videoView is there to be played (the merged files)
I’ve done this : Appending the videos in onCreate()
//getting the passed value from the previous activity
Bundle extras = getIntent().getExtras();
final ArrayList<string> videoReceived = extras.getStringArrayList("videos");
Log.e("VIDEO_RECEIVED",videoReceived.toString());
mVideoPlayer.setVideoPath(String.valueOf(videoReceived.get(0)));
mMediaController = new MediaController(this);
mMediaController.setMediaPlayer(mVideoPlayer);
mVideoPlayer.setMediaController(mMediaController);
mVideoPlayer.setBackgroundColor(Color.TRANSPARENT);
mVideoPlayer.requestFocus();
mVideoPlayer.start();
Log.e("VIDEO_SIZE===",String.valueOf(videoReceived.size()));
mVideoPlayer.setOnCompletionListener(new MediaPlayer.OnCompletionListener() {
@Override
public void onCompletion(MediaPlayer mediaPlayer) {
if( currentIndex < videoReceived.size()){
String uri = String.valueOf(videoReceived.get(currentIndex));
mVideoPlayer.setVideoPath(uri);
mVideoPlayer.start();
currentIndex++;
}
}
});
</string> -
Anomalie #2749 (Fermé) : Problème de cookie
21 mars 2013, par guytarr °il y a bien http://forum.spip.net/fr_248457.html mais rien trouvé dans forum ou sur les listes de "récent".
-
Anomalie #4272 : Vignettes considérée comme orphelins lors de la suppression des documents inutilisés
11 février 2019, par Fabrice VéronneauDiscussions sur le forum à ce sujet
https://forum.spip.net/fr_271022.html
https://forum.spip.net/fr_270796.html?debut_forums=%40270837#forum270837