Recherche avancée

Médias (91)

Autres articles (81)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

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

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

Sur d’autres sites (8984)

  • fftools/ffmpeg : replace MATCH_PER_STREAM_OPT(.., str, ..) with a function

    6 août 2024, par Anton Khirnov
    fftools/ffmpeg : replace MATCH_PER_STREAM_OPT(.., str, ..) with a function
    

    This has multiple advantages :
    * The macro has multiple parameters that often have similar or identical
    values, yet very different meanings (one is the name of the
    OptionsContext member where the parsed options are stored, the other
    the name of the variable into which the result is written) ; this
    change makes each of these explicit.

    * The macro returns on failure, which may cause leaks - this was the
    reason for adding MATCH_PER_STREAM_OPT_CLEAN(), also ost_add()
    currently leaks encoder_opts. The new function returns failure to its
    caller, which decides how to deal with it. While that adds a lot of
    error checks/forwards for now, those will be reduced in following
    commits.

    * new code is type- and const- correct

    Invocations of MATCH_PER_STREAM_OPT() with other types will be converted
    in following commits.

    • [DH] fftools/cmdutils.c
    • [DH] fftools/cmdutils.h
    • [DH] fftools/ffmpeg.h
    • [DH] fftools/ffmpeg_demux.c
    • [DH] fftools/ffmpeg_mux.h
    • [DH] fftools/ffmpeg_mux_init.c
    • [DH] fftools/ffmpeg_opt.c
  • How to use hardware accelearation with ffmpeg

    25 avril 2014, par ixSci

    I need to have ffmpeg decode my video(e.g. h264) using hardware acceleration. I’m using the usual way of decoding frames : read packet -> decode frame. And I’d like to have ffmpeg speed up decoding. So I’ve built it with --enable-vaapi and --enable-hwaccel=h264. But I don’t really know what should I do next. I’ve tried to use avcodec_find_decoder_by_name("h264_vaapi") but it returns nullptr.
    Anyway, I might want to use others API and not just VA API. How one is supposed to speed up ffmpeg decoding ?

    P.S. I didn’t find any examples on Internet which uses ffmpeg with hwaccel.

  • Problems getting real width and height of videos

    1er mai 2022, par Eduardo

    I'm having a problem when I upload videos. The thing is that I record my videos with my cellphone in vertical way and when I download them to my computer or pass them through whatsapp they still look vertical, I can still watch them in vertical way as I recorded them, but when I try to upload them on my website using PHP and FFMPEG I always get horizontal resolutions.

    


    I use this command to get the width of my videos :

    


    $width = $video_attributes['width'] ;

    


    The variable $video_attributes is an array that comes from a FFMPEG function that returns an array with the data related to the video.

    


    Somebody could help me out with some ideas about what I'm doing wrong ?

    


    I need to get the vertical resolution so my videos will be displayed in vertical containers in my website.

    


    Thanks in advance :)