Recherche avancée

Médias (3)

Mot : - Tags -/image

Autres articles (82)

  • 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

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

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

Sur d’autres sites (10147)

  • Get mime type for MediaSource.isTypeSupported

    6 mars 2016, par Guig

    How do I get the Mime type I need to pass to MediaSource.isTypeSupported with ffprobe/ffmpeg ?

    For instance, on my computer, that returns true :

    MediaSource.isTypeSupported('video/mp4; codecs="avc1.64000d,mp4a.40.2"')

    while that doesn’t

    MediaSource.isTypeSupported('video/mp4')

    I’m not sure how to get what would correspond to the avc1.64000d,mp4a.40.2 part for a given video. Here is a larger list of what this part may look like.

    ffprobe -show_streams -i video.mp4 returns a number of interesting informations, including

    codec_type=video
    codec_time_base=1/40
    codec_tag_string=avc1
    codec_tag=0x31637661

    and

    codec_type=audio
    codec_time_base=1/48000
    codec_tag_string=mp4a
    codec_tag=0x6134706d

    I’m not sure I should go with 'video/mp4; codecs="avc1.0x31637661,mp4a.0x6134706d"' since this returns false and I don’t know if it’s because it’s not the excepted argument or because the video is indeed not supported.

  • Get mime type for MediaSource.isTypeSupported

    11 mars 2024, par Guig

    How do I get the Mime type I need to pass to MediaSource.isTypeSupported with ffprobe/ffmpeg ?

    



    For instance, on my computer, that returns true :

    



    MediaSource.isTypeSupported('video/mp4; codecs="avc1.64000d,mp4a.40.2"')


    



    while that doesn't

    



    MediaSource.isTypeSupported('video/mp4')


    



    I'm not sure how to get what would correspond to the avc1.64000d,mp4a.40.2 part for a given video. Here is a larger list of what this part may look like.

    



    ffprobe -show_streams -i video.mp4 returns a number of interesting informations, including

    



    codec_type=video
codec_time_base=1/40
codec_tag_string=avc1
codec_tag=0x31637661 


    



    and

    



    codec_type=audio
codec_time_base=1/48000
codec_tag_string=mp4a
codec_tag=0x6134706d


    



    I'm not sure I should go with 'video/mp4; codecs="avc1.0x31637661,mp4a.0x6134706d"' since this returns false and I don't know if it's because it's not the excepted argument or because the video is indeed not supported.

    


  • hls : skip to next segment if the current is unavailable

    16 avril 2015, par wm4
    hls : skip to next segment if the current is unavailable
    

    Apparently, some live streams can delete segments too early, maybe
    because the client is too far behind. In this case, it’s better to skip
    the segment, instead of returning EOF. (Yes, the HLS demuxer actually
    returns AVERROR_EOF if opening the segment returns a 404 HTTP error.)

    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavformat/hls.c