Recherche avancée

Médias (91)

Autres articles (20)

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à 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) (...)

  • Les formats acceptés

    28 janvier 2010, par

    Les 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 (4167)

  • How to extract duration time of online videos listed in a text file

    22 août 2022, par Ginofalaci

    I need to check the duration of thousand of videos online. I m trying to get this from a text file containing the urls of the videos.

    


    I have those two commands that are working great with one url, but i don't find out how to get it work with a list within a file text.

    


    fmpeg -i My.url 2>&1 | grep "Duration"| cut -d ' ' -f 4 | sed s/,//


    


    or this :

    


    ffmpeg -i my.url 2>&1 | grep Duration | sed 's/Duration: \(.*\), start/\1/g'


    


    im trying :

    


    fmpeg -i listurls.txt 2>&1 | grep "Duration"| cut -d ' ' -f 4 | sed s/,//


    


    or this :

    


    ffmpeg -i listurls.txt 2>&1 | grep Duration | sed 's/Duration: \(.*\), start/\1/g'


    


    my file text is like this :

    


    myurl1.m3u8
    
myurl2.m3u8
    
myurl3.m3u8
    
myurl4.m3u8
    
myurl5.m3u8

    


    I've also tried :

    


    file 'myurl1.m3u8'
    
file 'myurl2.m3u8'
    
file 'myurl3.m3u8'
    
file 'myurl4.m3u8'
    
file 'myurl5.m3u8'

    


    but it doesn't work.

    


    Also some videos might not be online anymore, but still referenced, so it would give no result, but I would like if possible to have the result "0" than nothing, it will be much easier to use the results afterwards.

    


    (awk, sed, mediainfo, exiftool, any will be good, ) Thanks in advance.

    


  • Apply an FFMPEG overlay TWICE after some time

    22 juillet 2022, par Norb Batt

    I already made an image sliding into itself using the overlay filter, but after that first overlay, I want it to happen again during the same video.

    


    My script looks like

    


    ffmpeg -loop 1 -i IMAGE.jpg -filter_complex "[0][0]overlay=x='max(W-(w/2)*t,0)':y=0" -t 10 OUT.mp4


    



    


    I thought repeating the filter with a time delay would work, as in :

    


    ffmpeg -loop 1 -i IMAGE.jpg -filter_complex "[0][0]overlay=x='max(W-(w/2)*t,0)';[0][0]overlay=x='if(gte(t,2), max(W-(w/2)*(t-2),0), NAN)'" -t 10 OUT.mp4


    


    But the second filter does not happen.
What am I missing ?

    


  • How to extract video clip from larger video based on specific time and duration

    26 juillet 2022, par user19019404

    I have video clips that get created. Each video is recorded for 5 minutes and starts at a time e.g. 10:01:20 to 10:06:19 then the next video from 10:06:20 etc. These videos are recorded at a specific frame rate, be it 5 frames or 30 frames (its dependent on the platform making the recording). The net result is NOT a 5 minute video clip but might be a 2 minute video clip (where everyone moves very quickly in the view as a result of the frame rates). I cannot restrict a 1 to 1 recording as these are generated by external systems.

    


    I need to extract specific portions out of the video. For example I need to extract from 10:03:10 to 10:03:35 (25 seconds). This would equate to 10 seconds into the video up to 14 seconds into the video, in those 4 seconds of video, 25 real world seconds are displayed.

    


    My question is do you have any guidance as to how I can calculate that each second of recording actually means 10 or 12 seconds in real life, therefore go to this frame and record to this frame for example.

    


    I have been looking at cv2.CAP_PROP_FPS to get the video frame rates, CAP_PROP_POS_MSEC and CAP_PROP_FRAME_COUNT and believe the answer might lie there, but not sure.

    


    The thinking being if I work out the frame rate of the video, the total frames then I can divide the one by the other to get to how many frames make up real world seconds (this is where I fail). This way I can run from frame to frame as a result.

    


    Thank you