Recherche avancée

Médias (0)

Mot : - Tags -/objet éditorial

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

Autres articles (73)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

Sur d’autres sites (4630)

  • avcodec/dovi_rpu : strip container in separate step

    23 mars 2024, par Niklas Haas
    avcodec/dovi_rpu : strip container in separate step
    

    This ensures that `gb` in the following section is fully byte-aligned,
    points at the start of the actual RPU, and ends on the CRC terminator.

    This is important for both calculation of the CRC, as well as dovi
    extension block parsing (which aligns to byte boundaries in various
    places).

    • [DH] libavcodec/dovi_rpu.c
    • [DH] libavcodec/dovi_rpu.h
  • movenc : Fix conversion of the first frame for extradata-less H264/HEVC

    21 mai 2020, par Martin Storsjö
    movenc : Fix conversion of the first frame for extradata-less H264/HEVC
    

    Move the copying of the frame to vos_data further up in the function,
    so that when writing the actual frame data for the first frame, it's
    clear that the stream really is in annex b format, for the cases where
    we create extradata from the first frame.

    Alternatively - we could invert the checks for bitstream format. If
    extradata is missing, we can't pretend that the bitstream is in
    mp4 form, because we can't even know the NAL unit length prefix size
    in that case.

    Also avoid creating extradata for AVC intra. If the track tag is
    an AVC intra tag, don't copy the frame into vos_data - this matches
    other existing cases of how vos_data and TAG_IS_AVCI interact in
    other places.

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DH] libavformat/movenc.c
  • Invalid data found when processing input for Streaming Discord Bot

    4 mai 2022, par DimKewl

    I tried a variety of streaming links that were working in the past for the same code.&#xA;After refactoring and working on all possible solutions I could find on google&#xA;I always get the following error :

    &#xA;

    Invalid data found when processing input

    &#xA;

    My code snippet :

    &#xA;

     FFMPEG_OPTIONS = {&#xA;    "before_options": "-reconnect 1 -reconnect_streamed 1 -reconnect_delay_max 5",&#xA;    "options": "-vn -sn -dn"&#xA;}&#xA;@commands.command()&#xA;async def radio(self,ctx,url):&#xA;    await self.joinLogic(ctx)&#xA;    await self.playStreamOpus(ctx,url)&#xA;&#xA;async def joinLogic(self, ctx):&#xA;    if ctx.author.voice is None:&#xA;        await ctx.send("Please join a voice channel!")&#xA;    else:&#xA;        voice_channel = ctx.author.voice.channel&#xA;        if ctx.voice_client is None:&#xA;            await voice_channel.connect()&#xA;&#xA;async def playStreamOpus(self, ctx, url):&#xA;    source = await discord.FFmpegOpusAudio.from_probe(url, **self.FFMPEG_OPTIONS)&#xA;    ctx.voice_client.play(source)&#xA;

    &#xA;

    What have I already tried :

    &#xA;

      &#xA;
    • Re-install all dependencies on pip.
    • &#xA;

    • Tried the PCM instead of Opus.
    • &#xA;

    • Different streaming URLs.
    • &#xA;

    • More options in FFMPEG_Options to explicit that I need only audio.
    • &#xA;

    • Made sure that my bot is joined in my channel and can reach other places in my code.
    • &#xA;

    &#xA;