
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (54)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)
Sur d’autres sites (7925)
-
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>
-
Invalid data found when processing input for Streaming Discord Bot
4 mai 2022, par DimKewlI tried a variety of streaming links that were working in the past for the same code.
After refactoring and working on all possible solutions I could find on google
I always get the following error :


Invalid data found when processing input


My code snippet :


FFMPEG_OPTIONS = {
 "before_options": "-reconnect 1 -reconnect_streamed 1 -reconnect_delay_max 5",
 "options": "-vn -sn -dn"
}
@commands.command()
async def radio(self,ctx,url):
 await self.joinLogic(ctx)
 await self.playStreamOpus(ctx,url)

async def joinLogic(self, ctx):
 if ctx.author.voice is None:
 await ctx.send("Please join a voice channel!")
 else:
 voice_channel = ctx.author.voice.channel
 if ctx.voice_client is None:
 await voice_channel.connect()

async def playStreamOpus(self, ctx, url):
 source = await discord.FFmpegOpusAudio.from_probe(url, **self.FFMPEG_OPTIONS)
 ctx.voice_client.play(source)



What have I already tried :


- 

- Re-install all dependencies on pip.
- Tried the PCM instead of Opus.
- Different streaming URLs.
- More options in FFMPEG_Options to explicit that I need only audio.
- Made sure that my bot is joined in my channel and can reach other places in my code.












-
How to install avconv for youtube-dl
23 janvier 2016, par HashimUp till now, I’ve been using youtube-dl with
ffmpeg
. I’ve had a few problems doing so, which I posted about in another question, but for the most part, I managed to getffmpeg
set up without a hitch. After having problems converting certain file formats withffmpeg
, I was advised in that question to try and switch toavconv
to see whetherffmpeg
was indeed the problem, and basically help me troubleshoot, but despite trying for the last 3 hours, I’ve been unable to even getavconv
set up.So far, I’ve downloaded several of the releases for my Windows 7 x64 operating system from the libav website, each time copying the exact folder structure into the folder where my
youtube-dl.exe
is, and then making sure that location and thebin
folder is in the PATH environment variable. The folder structure looks like this :C:\Program Files (x86)\youtube-dl\usr\bin
, where bin contains avconv.exe and the rest of the files that it needs. Does anyone have any clue as to why this isn’t working for me ? It’s beyond me how something so critical to a program as popular as youtube-dl could be so hard and/or badly-documented to get set up.Thanks for any help in advance, it’s much appreciated.
EDIT : Something peculiar that I’ve noticed. When getting rid of all traces of
avconv
andffmpeg
, youtube-dl throws up the usual error of needing them to convert. But when just theavconv
folders are in the necessary places, youtube-dl recognises it asffmpeg
and starts processing the files as such.