Recherche avancée

Médias (2)

Mot : - Tags -/map

Autres articles (50)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

Sur d’autres sites (9268)

  • Speeding Up H.264 Frame Loader

    9 avril 2021, par user14607943

    I have a set of videos, that are about 15 seconds each, in H.264 format. I'm currently using skvideo.io.vread to ingest and process these. Specifically, I'm looking to extract x frames per second, where for example x=1. Current, I have :

    


    import skvideo
gen = skvideo.io.vreader('video.mp4', outputdict={'-r':'1'})

for f in gen:
   "do stuff with frames"


    


    I'm running a Python Flask service with multiple workers, which accepts requests with video inputs. Unfortunately, due to high QPS, I'm having super high CPU usage, and I was hoping to find a faster way of ingesting the frames from these videos.

    


      

    1. Can the above code be optimized in any way to speed up the frame extraction. I think FFMPEG is already subsampling the frames upon loading, but I'm not entirely sure. I'm willing to compromise on the exact logic of how the frames are extracted, so long as I'm roughly getting 1-2 frames per second of video. I saw this question, and am actively exploring whether the CPU optimizations are enabled for FFMPEG.

      


    2. 


    3. Is there an alternative to skvideo that can potentially be faster, and possibly work better in my service ?

      


    4. 


    


  • How can I cut segments of audio/video while keeping the other track intact in ffmpeg ?

    8 novembre 2022, par limejellodragon

    I am a newer user to ffmpeg, but I have a slightly complicated use case for it. I need to be able to cut multiple sections out of a video and/or multiple sections out of the audio, with the actual length of the video and audio files remaining intact (e.g. the audio would cut out but the video continues, or the video continues but the audio cuts out). I have been slowly learning about complex filtergraphs, but a little help would be VERY much appreciated.

    


    this is currently my super basic "test script" to see if I can get it to work (in it's actual use case, the timestamps will be variables in a python program)

    


        ffmpeg -i bdt.mkv -filter_complex 
    [0:v]trim=start=10.0:end=15.0,setpts=PTS-STARTPTS[0v];
    [0:a]atrim=start=10.0:end=15.0,asetpts=PTS-STARTPTS[0a];
    [0:v]trim=start=65.0:end=70.0,setpts=PTS-STARTPTS[1v];
    [0:a]atrim=start=65.0:end=70.0,asetpts=PTS-STARTPTS[1a];[0v][0a][1v]
    [1a]concat=n=2:v=1:a=1[outv][outa] -map [outv] -map [outa] out.mp4


    


  • Revision 1eb6e683f2 : Add superframe support for frame parallel decoding. A superframe is a bunch of

    13 juin 2014, par hkuang

    Changed Paths :
     Modify /vp9/vp9_dx_iface.c



    Add superframe support for frame parallel decoding.

    A superframe is a bunch of frames that bundled as one frame. It is mostly
    used to combine one or more non-displayable frames and one displayable frame.

    For frame parallel decoding, libvpx decoder will only support decoding one
    normal frame or a super frame with superframe index.

    If an application pass a superframe without superframe index or a chunk
    of displayable frames without superframe index to libvpx decoder, libvpx
    will not decode it in frame parallel mode. But libvpx decoder still could
    decode it in serial mode.

    Change-Id : I04c9f2c828373d64e880a8c7bcade5307015ce35