
Recherche avancée
Médias (1)
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (51)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)
Sur d’autres sites (8018)
-
how to merge a mp3 file into a mp4 file with low framerate(0.5) using FFmpeg wrapped in javacv
21 février 2016, par hychanbbThe video is with no sound only image and frame rate is 0.5, i want to merge a mp3 file into it, but it seem not work at all. Below it the code
File folder = Environment.getExternalStorageDirectory();
String path = folder.getAbsolutePath() + "/DCIM/Camera";
long millis = System.currentTimeMillis();
videoPath = path + "/" + "test_sham_"+millis+".3gp";
try {
//audio grabber
FrameGrabber grabber2 = new FFmpegFrameGrabber(folder.getAbsolutePath()+"/Samsung/Music/Over_the_horizon.mp3");
//video grabber
FrameGrabber grabber1 = new FFmpegFrameGrabber(path+"/20140527_133034.jpg");
grabber1.start();
grabber2.start();
recorder = new FFmpegFrameRecorder(path
+ "/" + "test_sham_"+millis+".3gp", grabber1.getImageWidth(), grabber1.getImageHeight(),2);
recorder.setVideoCodec(avcodec.AV_CODEC_ID_MPEG4);
recorder.setFormat("3gp");
recorder.setFrameRate(frameRate);
recorder.setSampleRate(grabber2.getSampleRate());
recorder.setVideoBitrate(30);
startTime = System.currentTimeMillis();
recorder.start();
Frame frame1, frame2 = null;
while ((frame1 = grabber1.grabFrame()) != null ||
(frame2 = grabber2.grabFrame()) != null) {
recorder.record(frame1);
recorder.record(frame2);
}
recorder.stop();
grabber1.stop();
grabber2.stop();
System.out.println("Total Time:- " + recorder.getTimestamp());
} catch (Exception e) {
e.printStackTrace();
}I do the above and find out that the video contains no sound. Anyone knows how to deal with the framerate problem...
-
Revision db8e731b8d : Add vpx_dsp_common.h file Move the clamp functions to vpx_dsp_common.h file. Cl
15 juillet 2015, par Jingning HanChanged Paths :
Modify /vp9/common/vp9_common.h
Modify /vp9/common/vp9_loopfilter_filters.c
Modify /vpx_dsp/vpx_dsp.mk
Add /vpx_dsp/vpx_dsp_common.h
Add vpx_dsp_common.h fileMove the clamp functions to vpx_dsp_common.h file. Clear out the
dependency of vp9_loopfilter_filters.c on vp9_common.h file.Change-Id : I9c4b928bcd7f597106b5aa96354356d3775a3431
-
Unable to create audio file from mp4 file with ffmpeg
21 octobre 2020, par DevLoverUmarI'm unable to create single channel audio file with ffmpeg from an mp4 file, with the following python code


command_line = "ffmpeg -i "+full_file_path+" -ac 1 -ar 16000 -vn "+full_file_path[:-4]+".wav" 
args = shlex.split(command_line)



Here is the media info of my mp4 file


from pydub.utils import mediainfo
print(mediainfo(full_file_path))






Output


'index' : '0', 'codec_name' : 'h264', 'codec_long_name' : 'H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10', 'profile' : 'High', 'codec_type' : 'video', 'codec_time_base' : '1/48', 'codec_tag_string' : 'avc1', 'codec_tag' : '0x31637661', 'width' : '1920', 'height' : '1080', 'coded_width' : '1920', 'coded_height' : '1088', 'has_b_frames' : '2', 'sample_aspect_ratio' : '1:1', 'display_aspect_ratio' : '16:9', 'pix_fmt' : 'yuv420p', 'level' : '40', 'color_range' : 'unknown', 'color_space' : 'unknown', 'color_transfer' : 'unknown', 'color_primaries' : 'unknown', 'chroma_location' : 'left', 'field_order' : 'unknown', 'timecode' : 'N/A', 'refs' : '1', 'is_avc' : 'true', 'nal_length_size' : '4', 'id' : 'N/A', 'r_frame_rate' : '24/1', 'avg_frame_rate' : '24/1', 'time_base' : '1/12288', 'start_pts' : '0', 'start_time' : '0.000000', 'duration_ts' : '107520', 'duration' : '8.750000', 'bit_rate' : '1036420', 'max_bit_rate' : 'N/A', 'bits_per_raw_sample' : '8', 'nb_frames' : '210', 'nb_read_frames' : 'N/A', 'nb_read_packets' : 'N/A', 'DISPOSITION' : 'default' : '1', 'dub' : '0', 'original' : '0', 'comment' : '0', 'lyrics' : '0', 'karaoke' : '0', 'forced' : '0', 'hearing_impaired' : '0', 'visual_impaired' : '0', 'clean_effects' : '0', 'attached_pic' : '0', 'timed_thumbnails' : '0', 'TAG' : 'language' : 'und', 'handler_name' : 'VideoHandler', 'major_brand' : 'isom', 'minor_version' : '512', 'compatible_brands' : 'isomiso2avc1mp41', 'encoder' : 'Lavf58.26.101', 'filename' : './sample_dataset_FaceForensic/fake/abc.mp4', 'nb_streams' : '1', 'nb_programs' : '0', 'format_name' : 'mov,mp4,m4a,3gp,3g2,mj2', 'format_long_name' : 'QuickTime / MOV', 'size' : '1133585', 'probe_score' : '100'