Recherche avancée

Médias (91)

Autres articles (49)

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

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

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

Sur d’autres sites (9075)

  • Manifest error pops up when trying to download certain videos for discord.py music bot

    30 novembre 2020, par bork

    I'm trying to make a discord music bot. I'm using youtube-dl to retrieve the info and ffmpeg to play the audio out. My bot has no problems downloading videos and everything is working fine. But when I tried downloading certain videos, this error popped up :

    


    [dash @ 0x7fe45a801200] Manifest too large: 65055
https://manifest.googlevideo.com/api/manifest/dash/expire/1606336104/ei/CGq-X4G6Htauz7sPrZuCsA8/ip/14.192.212.39/id/64a943d43b8f53eb/source/youtube/requiressl/yes/playback_host/r5---sn-h5mpn-30ae.googlevideo.com/mh/Go/mm/31%2C29/mn/sn-h5mpn-30ae%2Csn-30a7rn7l/ms/au%2Crdu/mv/m/mvi/5/pl/24/hfr/all/as/fmp4_audio_clear%2Cwebm_audio_clear%2Cwebm2_audio_clear%2Cfmp4_sd_hd_clear%2Cwebm2_sd_hd_clear/initcwndbps/533750/vprv/1/mt/1606314038/fvip/5/keepalive/yes/beids/23927369/itag/0/sparams/expire%2Cei%2Cip%2Cid%2Csource%2Crequiressl%2Chfr%2Cas%2Cvprv%2Citag/sig/AOq0QJ8wRQIhAOn6Br0QsuXc-3unfhYdzXVXcydzVWioIQlKvv2U4i3OAiB6ApoiqFoPvE3YKYGPbRiId_bHQYO8zsawGGPMidYGAA%3D%3D/lsparams/playback_host%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps/lsig/AG3C_xAwRQIhANmxfRNBI4wSJo6trsKkq8GinQ-ADMxgHRmelBwM-GEAAiAafey9YRrZz1h1S6PzV3u0S6IsZUKscGrrGP9Pofv2uQ%3D%3D: Invalid data found when processing input


    


    After trying to download other videos, which have no problem at all, I found out that the videos showing these errors have an extra step that downloads MPD manifest. I would try to download videos that are way larger and it would work, but it's just these certain videos, with the duration of about 7-10 minutes, that would have these errors. I'm really lost.

    


    This is my code for playing the videos in the voice channels :

    


    voice = get(client.voice_clients, guild = ctx.guild)
with YoutubeDL(ydl_opts) as ydl:
                info = ydl.extract_info(url[playlist], download = False)

URL = info['formats'][0]['url']
voice.play(FFmpegPCMAudio(URL, **FFMPEG_OPTIONS))


    


  • Can't load MPEG file with MSE

    11 juillet 2019, par Léandre

    Here is my problem : I want to reproduce this example of MSE use, but when I change the mp4 file, it doesn’t work. I have this error :

    Failed to execute 'endOfStream' on 'MediaSource': The MediaSource's readyState is not 'open'. at SourceBuffer.<anonymous></anonymous>

    I saw here that I needed to fragment my mp4 file, wich I did. Here is my mp4 file header :

    [ftyp] size=8+28
      major_brand = mp42
      minor_version = 0
      compatible_brand = isom
      compatible_brand = iso2
      compatible_brand = avc1
      compatible_brand = mp41
      compatible_brand = mp42
    [moov] size=8+3841
      [mvhd] size=12+96

    And this is the mp4 file header of the file demo : (this file works)

    [ftyp] size=8+20
      major_brand = mp42
      minor_version = 1
      compatible_brand = mp42
      compatible_brand = avc1
      compatible_brand = iso5
    [moov] size=8+1871
      [mvhd] size=12+96
         timescale = 1000
         duration = 60095

    Even when I change the minor value with MP4Box -brand mp42:1 fragmented-video.mp4, it doesn’t work.

    I also tried to separate video data and audio data ( view in FFMPEG H.264 encoding for HTML5 (and ultimately MPEG-DASH) ), but it didn’t solve the problem.

    (I tried on Chromium)

    If you have any ideas to solve this, it will be great !

    Thanks

  • Revision f45fe16684 : configure.sh : quote local variables fixes issue #711 specifying a multiword CC

    7 mars 2014, par James Zern

    Changed Paths :
     Modify /build/make/configure.sh



    configure.sh : quote local variables

    fixes issue #711

    specifying a multiword CC, e.g., CC='gcc -m32', would cause the failure
    under dash

    reported in
    https://bugs.gentoo.org/show_bug.cgi?id=498136

    patch by floppymaster at gmail dot com

    Change-Id : I2ba246f765646161538622739961ec0f6c2d8c2d