Recherche avancée

Médias (0)

Mot : - Tags -/images

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (12)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

  • Taille des images et des logos définissables

    9 février 2011, par

    Dans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
    Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...)

  • Configuration spécifique d’Apache

    4 février 2011, par

    Modules spécifiques
    Pour la configuration d’Apache, il est conseillé d’activer certains modules non spécifiques à MediaSPIP, mais permettant d’améliorer les performances : mod_deflate et mod_headers pour compresser automatiquement via Apache les pages. Cf ce tutoriel ; mode_expires pour gérer correctement l’expiration des hits. Cf ce tutoriel ;
    Il est également conseillé d’ajouter la prise en charge par apache du mime-type pour les fichiers WebM comme indiqué dans ce tutoriel.
    Création d’un (...)

Sur d’autres sites (3680)

  • Extract motion vectors from x265 (HVEC) encoded video with ffmepg/libavcodec ?

    16 novembre 2017, par John Allard

    I know that one can extract the motion vectors from an h264 encoded via by first setting the flag

    av_dict_set(&opts, "flags2", "+export_mvs", 0);

    then you can query the side-data for the motion vectors by doing this

    sd = av_frame_get_side_data(frame, AV_FRAME_DATA_MOTION_VECTORS);

    When I looked online to see if you can do something similar with HVEC encoded videos, I wasn’t able to find any information. All I found was this by the definition of "AV_FRAME_DATA_MOTION_VECTORS"

    Motion vectors exported by some codecs (on demand through the
    export_mvs flag set in the libavcodec AVCodecContext flags2 option).

    The data is the AVMotionVector struct defined in
    libavutil/motion_vector.h.

    but there was no information on exactly which codecs export this motion vector information. How would I go about finding this out ?

  • Extract motion vectors from x265 (HEVC) encoded video with ffmpeg/libavcodec ?

    28 mars 2018, par John Allard

    I know that one can extract the motion vectors from an h264 encoded via by first setting the flag

    av_dict_set(&opts, "flags2", "+export_mvs", 0);

    then you can query the side-data for the motion vectors by doing this

    sd = av_frame_get_side_data(frame, AV_FRAME_DATA_MOTION_VECTORS);

    When I looked online to see if you can do something similar with HEVC encoded videos, I wasn’t able to find any information. All I found was this by the definition of "AV_FRAME_DATA_MOTION_VECTORS"

    Motion vectors exported by some codecs (on demand through the
    export_mvs flag set in the libavcodec AVCodecContext flags2 option).

    The data is the AVMotionVector struct defined in
    libavutil/motion_vector.h.

    but there was no information on exactly which codecs export this motion vector information. How would I go about finding this out ?

  • ffmpeg stream saving in python3

    25 novembre 2016, par b9703

    im trying to write a python script (for Windows OS) that can call on ffmpeg to recieve and save a live stream for later viewing. The initial call (subprocess.Popen(ARGS)) works as intended (start the stream saving) however i cant figure out how to programmatically end the process in a way that allows ffmpeg to finish its work. manually i can just press ’q’ or ’Ctrl-C’ and ffmpeg will produce a playable file.

    command = ['ffmpeg', '-i',
           url,
           '-acodec', 'copy',
           '-vcodec', 'copy',
           destination]

    recording = Popen(command)

    i have tried using recording.terminate() which didn’t work. I’ve also tried (although i’m pretty sure i did it wrong) using recording.communicate(b’q’) to send a message to the process. All solutions i’ve found online have failed in the same way (file is unreadable). I really dont know much about the subprocces module or about the intricacies of processes so i may be missing something obvious. I just want to end the ffmpeg process in a non-abrupt manner.