Recherche avancée

Médias (91)

Autres articles (63)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • 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 (...)

  • 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) (...)

Sur d’autres sites (6173)

  • PYTHON How to cut a fragment from video by giving start frame and end frame or exact timestamps in float ?

    12 décembre 2022, par cxnt

    I'm trying to cut out a fragment from video with the given start and end frames indexes or theirs timestamps (preferably frame indexes). So far I've found this Q but it takes floats and convert them to integers hence the output video has inaccurate frames

    


    this is a sample of what I've tried which gives me inaccurate output video

    


    def extract_fragment(input_path, output_path):
    start_time = 3.453453
    end_time = 6.8768678

    ffmpeg_extract_subclip(
        filename=input_path,
        t1=start_time,
        t2=end_time,
        targetname=output_path,
    )


    


  • Extremely slow FFMPEG encoding

    26 juin 2018, par Constantly Confused

    I’m currently converting m3u8 file formats to MP4 using FFMPEG on the command in Linux. Everything goes well until I hit much larger length videos.

    During my testing, I’ve found that everything up to 8 hours long converts perfectly, however when I try to encode a 25 hour video the process keeps continuing with no sign of stopping ; my command is ffmpeg -ss <start time="time"> -i https://.m3u8 -to 30 -c copy -bsf:a aac_adtstoasc vodstore/27728846260661.mp4</start>.

    I’ve checked that the start time and link parameters are correct, and all time ranges are within the video length bounds.

    Note I am only cutting a 30s length of video.

    It confuses me because it blasts through 8 hour videos in a matter of seconds, but this has not completed in over the 2 hours I’ve have it running.

    Thanks for any help !

  • Can I cut at keyframes using ffmpeg ?

    23 septembre 2022, par Eng. M.Hamdy

    I am using this command

    &#xA;

    ffmpeg -start_at_zero -copyts -ss <start time="time"> -t <duration> -i <srcfile> -c copy <dstfile>&#xA;</dstfile></srcfile></duration></start>

    &#xA;

    to fast cut a part of the mp4 video. I got the keyframes so that I choose the <start time="time"></start> to be of one of them. I thought this will give me an accurate output video starting exactly at that keyframe, but this doesn't happen.&#xA;How can I achieve this (fast and accurate cut at the keyframe) ?&#xA;In another words : How ffmpeg decides where to start cutting ? I thought it uses the neatest keyframe.

    &#xA;

    And another question :&#xA;How can I encode a portion of the mp4 with exact same video and audio options ? I don't know those options. I just want to keep the output as the original video. The cut in this second case can be at any frame (not always a keyframe).&#xA;Thanks.

    &#xA;