
Recherche avancée
Autres articles (77)
-
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 -
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
-
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)
Sur d’autres sites (5382)
-
fftools/ffmpeg_opt : move deprecated options to the end of the list
15 décembre 2023, par Anton Khirnov -
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> -
How to specify unordered image list ?
8 juin 2023, par JonaI'm trying to figure out how to specify a specific list of images to be converted into a video. I do know that we can do something like :



ffmpeg -i image_04%d.png




That would pick all the images from the folder that match the sequence. However in my case the image files are no necessarily in the order as its name implies. The reason is that the order is kept on a database and the file names are essentially the database row id.



How could I specify the correct input sequence ? I'm essentially calling ffmpeg from code and not from the command line. So any changes ideas to the code are also welcomed.



Thanks !