
Recherche avancée
Autres articles (31)
-
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 (...) -
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 -
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
Sur d’autres sites (5551)
-
Revision 2de7cbe980 : Add second ref frame check back in rdcost hist Update best_inter_rd and best_in
3 novembre 2013, par Jingning HanChanged Paths :
Modify /vp9/encoder/vp9_rdopt.c
Add second ref frame check back in rdcost histUpdate best_inter_rd and best_inter_ref_frame only in single ref
frame case.Change-Id : Id56825b231a62d6852bd83811410c05a7569f715
-
Adjusting video length to fit audio length in FFmpeg
8 avril 2015, par SpreadysThis has been driving me mad !
I have video.avi, a raw uncompressed video with a duration of 6mins
I have audio.wav, a raw uncompressed audio with a duration of 9minsI need to mux these together, but map the timing information from the audio.
Using Vsync 2 I would hope that video frames get duplicated in order to do this.My current (failed) attempt is
ffmpeg -i video.avi -i audio.wav
c:v rawvideo -c:a copy
vsync 2 -map 0:0,1:0 -map 1:0,1:0
newvideo.aviMy understanding is that the -map first designates what file:stream, and this is followed by the file:stream to be used for timing information.
I have attempted all my usual research methods in an attempt to avoid asking but it is still resulting in the avi container holding two streams with the video length unchanged.
If anyone can shed some light on my errors, I would be very grateful....or if you need further info - please ask !Thanks
DavidAny guidance on what other information may promote some suggestions to where i’m going wrong also appreciated.
Thanks -
Why is the ffmpeg `-vsync passthrough` option not extracting the same number of frames as shown in the printed info ?
3 juin 2022, par aininjaI am using ffmpeg to extract all the frames in a video. To get the timestamps of each frame, I'm using the
-vf showinfo
filter and matching the frame numbers. The problem is that sometimes the number of frames shown in the info doesn't match up with the number of frames extracted. Why could this be happening ? Is there some default output option that I need to change to avoid this ? Is this non-deterministic behavior a bug ?

The commands used to extract and inspect the frames are :


$ mkdir frames
$ ffmpeg -i video.mp4 -f image2 -vf showinfo -vsync passthrough -q:v 1 frames/%05d.jpg 2> info.txt
$ NUM_FRAMES_INFO=$(cat info.txt | grep pts_time | wc -l)
$ NUM_FRAMES_JPGS=$(ls frames/*.jpg | wc -l)
$ echo ${NUM_FRAMES_INFO} ?= ${NUM_FRAMES_JPGS}



For most videos, this produces the correct outputs all the time. For some videos, however, there is a mismatch occasionally. Also worth mentioning is that MP4 videos are the only ones used and tested. These videos generally only had a single video stream in them.