
Recherche avancée
Médias (16)
-
#7 Ambience
16 octobre 2011, par
Mis à jour : Juin 2015
Langue : English
Type : Audio
-
#6 Teaser Music
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#5 End Title
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#3 The Safest Place
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#4 Emo Creates
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#2 Typewriter Dance
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
Autres articles (35)
-
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 -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...) -
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...)
Sur d’autres sites (6890)
-
Merging 2 videos using JavaCV, second video has no sound
28 juillet 2022, par rosu alinThis is the code I use :



public void stopRecording() throws Exception, com.googlecode.javacv.FrameRecorder.Exception {

 runAudioThread = false;

 if (recorder != null && recording) {
 recording = false;
 Log.v(LOG_TAG, "Finishing recording, calling stop and release on recorder");
 try {
 recorder.stop();
 recorder.release();
 } catch (FFmpegFrameRecorder.Exception e) {
 e.printStackTrace();
 }

 }
 Log.i(LOG_TAG, "filename = " + ffmpeg_link);
 if (i > 0) {
 Log.i(LOG_TAG, "!!!!!!!!!WILL CONCATENATE");
 FrameGrabber grabber1 = new FFmpegFrameGrabber(pathStart + "/JavaCV/stream0.mp4");
 grabber1.start();
 Log.i(LOG_TAG, "graber1.start");
 FrameGrabber grabber2 = new FFmpegFrameGrabber(pathStart + "/JavaCV/stream1.mp4");
 grabber2.start();
 Log.i(LOG_TAG, "graber2.start");
 FrameRecorder recorder2 = new FFmpegFrameRecorder(pathStart + "/JavaCV/output.mp4", grabber1.getImageWidth(), grabber1.getImageHeight(), grabber1.getAudioChannels());
 recorder2.setFrameRate(grabber1.getFrameRate());
 recorder2.setSampleFormat(grabber1.getSampleFormat());
 recorder2.setSampleRate(grabber1.getSampleRate());
 Log.i(LOG_TAG, "Recorder.start");
 recorder2.start();
 Frame frame;
 int j = 0;
 while ((frame = grabber1.grabFrame()) != null) {
 j++;
 recorder2.record(frame);
 Log.i(LOG_TAG, "while1 nr:" + j + "Frame number: " + grabber1.getFrameNumber());
 }
 Log.i(LOG_TAG, "after while1");
 while ((frame = grabber2.grabFrame()) != null) {
 recorder2.record(frame);
 Log.i(LOG_TAG, "while2");
 }
 Log.i(LOG_TAG, "Recorder.stop");
 recorder2.stop();
 grabber2.stop();
 grabber1.stop();
 Log.i(LOG_TAG, "end concatenate");
 }
 i++;
 ffmpeg_link = pathStart + "/JavaCV/stream" + i + ".mp4";
 Log.i(LOG_TAG, "next filename = " + ffmpeg_link);
}




It works great, it manages to merge the videos, the only issue I have is that it does not have sound for the second video. How can i put the audiochannel on the second video also ?


-
ffmpeg final video no audio when combining images + video clips that have sound
14 juillet 2022, par Cabdi CilmI am using pytube to merge some downloaded clips and it downloads the clips with audio in the final folder, however when it combines the 2 clips together, there is no audio.


config.IMG_WIDTH = None
final_clip = concatenate(clips, method="compose")
ffmpeg_write_video(
 final_clip,
 os.path.join(os.path.dirname(__file__), "final", "final_vid.mp4"),
 fps=60,
 codec="h264_amf",
 bitrate="8000k",
 logger="bar" if config.LOADING_BAR == "Y" else None,
 threads=5,
 ffmpeg_params=[
 "-tile-columns",
 "6",
 "-frame-parallel",
 "0",
 "-auto-alt-ref",
 "1",
 "-lag-in-frames",
 "25",
 "-g",
 "128",
 "-pix_fmt",
 "yuv420p",
 "-row-mt",
 "1",
 ],
)



-
Merging/concatenating video and keeping sound in R using AV package
30 juin 2022, par Jack CornwallI am trying to merge/concatenate multiple videos with sound sequentially into one video using only R, (I don't want to work with ffmpeg in the command line as the rest of the project doesn't require it and I would rather not bring it in at this stage).


My code looks like the following :


dir<-"C:/Users/Admin/Documents/r_programs/"

videos<-c(
 paste0(dir,"video_1.mp4"),
 paste0(dir,"video_2.mp4"),
 paste0(dir,"video_3.mp4")
)

#encoding
av_encode_video(
 videos,
 output=paste0(dir,"output.mp4"),
 framerate=30,
 vfilter="null",
 codec="libx264rgb",
 audio=videos,
 verbose=TRUE
)



It almost works, the output file is an mp4 containing the 3 videos sequentially one after the other, but the audio present is only from the first of the 3 video and then it cuts off.


It doesn't really matter what the videos are. I have recreated this issue with the videos I was using or even 3 randomly downloaded 1080p 30fps videos from YouTube.


Any help is appreciated & thank you in advance.