
Recherche avancée
Autres articles (72)
-
Organiser par catégorie
17 mai 2013, parDans 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, parUtilité
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 (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (4591)
-
My MKV to MP4 converted video doesn't play in flex
24 mars 2015, par ketanI am stuck on one issue from last 1 day. I am using Adobe flex video display to play video for my site.
There is some converted video from MKV to MP4 using ffmpeg.
ffmpeg -i Test.mkv -vcodec copy -acodec copy Test.mp4
Now, i am trying to play that video from local it’s working fine. But when i upload that video on server and trying to play video. Then it will not work with flex
VideoDisplay
same will work in browser and HTML videoplayer and also works with JWPlayer.Other mp4 video which are not converted works very fine. Only converted Videos are not working in only flex VideoDisplay.
I am Just playing using.
And give path to
videoDisplay
like :videoDisp.source = Video_path;
My video file Video and Audio codec is as shown in below image :
Any help will be appreciate,
Thanks. -
My bot doesn't play any music when hosted on Heroku
25 août 2022, par Lucas SilvaI am creating a music command, working great locally but not on Heroku. I have the following buildpacks :



This is my code :


@commands.command(name="musga", help="coloque um url da musica que deseja reproduzir!")
async def play(self, ctx, arg):
 global vc
 
 try:
 voice_channel = ctx.author.voice.channel
 vc = await voice_channel.connect()
 except:
 print('[ERROR]') #debug

 if vc.is_playing():
 await ctx.send(f'{ctx.author.mention}, Já estou cantando.')

 else:
 with YoutubeDL(self.YDL_OPTIONS) as ydl:
 info = ydl.extract_info(arg, download=False)
 
 URL = info['formats'][0]['url']

 vc.play(discord.FFmpegPCMAudio(executable="ffmpeg", source = URL, **self.FFMPEG_OPTIONS))
 
 while vc.is_playing():
 await sleep(1)



And requirements.txt :


discord.py[voice]
PyNaCL
youtube_dl
ffmpeg



When using the command, my bot joins the channel but doesn't play the music and doesn't print any traceback.


-
How to play video using FFMPEG library in Android ?
3 mai 2015, par MacchiatoI was able to build
ffmpeg
library by using rock player build script.Now I have this
.so
file, how do I play video ? And I want to display this video inside a smallLinearLayout
in myActivity
.Is it possible ?
Update :
I know that it’s easy to play video usingVideoView
orMediaPlayer
+SurfaceView
. I just wanted to understand more aboutffmpeg
library and how to display the frames inside an AndroidActivity
.