
Recherche avancée
Autres articles (73)
-
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 (5074)
-
Play ogg file using ffplay / ffmpeg on .NET
12 juillet 2021, par RchrdI'm trying to play an Ogg file in VB.NET using
ffplay.exe
but I don't know exactly how.
This is my code :

Private Sub ButtonIR_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ButtonIR.Click
 If IsNotNothing(TextBoxSource.text) Then
 TextBoxDETALLES.Clear()
 Try
 Dim CONVERSOR As New Process

 CONVERSOR.StartInfo.FileName = "C:\ffplay.exe"
 CONVERSOR.StartInfo.Arguments = TextBoxSource.Text 
 CONVERSOR.StartInfo.UseShellExecute = False 
 CONVERSOR.StartInfo.RedirectStandardOutput = True 
 CONVERSOR.StartInfo.RedirectStandardError = True 
 CONVERSOR.StartInfo.CreateNoWindow = True 

 CONVERSOR.Start() 

 While Not CONVERSOR.StandardError.EndOfStream
 TextBoxDETALLES.AppendText(CONVERSOR.StandardError.ReadLine & vbCrLf) 

 Application.DoEvents()
 End While

 MsgBox("HECHO") 
 Catch ex As Exception
 MsgBox(ex.Message)
 End Try
 Else
 MsgBox("Error")
 End If
End Sub



I'm not trying to convert it, I'm trying to play it.


-
Why does my linux ffmpeg output file require running it back through ffmpeg to play on windows
13 septembre 2020, par Sean MillerI am using the following to screen capture a Raspberry Pi display :


/usr/bin/ffmpeg -v quiet -f lavfi -i anullsrc -f x11grab -framerate 30 -video_size 720x480 -i :0.0 -f flv -b:v 1M /home/pi/usbdrv/myfile.avi"



I stop screen capturing by hitting the letter q and ffmpeg exits without error.


I can play it back with mplayer in Linux.


However, when I try to play it back on Windows with the old media player or its newer movie player, they reports it is corrupted. I tried mp4 and mkv fromats as well.


If I run it back through ffmpeg to encode it to a new file, it will play.


Any thoughts why Windows will not play it without running it back through ffmpeg again ?


Thanks,
Sean


-
discord.py bot doesn't play music
29 août 2022, par bon hoI'm making music bot with discord.py, but bot doesn't play music. The code doesn't send error message.


my code :


@tree.command(name="play", description="play music")
async def playmusic(interaction:Interaction,url_title:str,playfirst:bool=False):
 await interaction.response.send_message("I'm looking for music!!")
 guild=str(interaction.guild.id)
 try:
 queue[guild]
 except KeyError:
 queue[guild]=[]
 if interaction.user.voice is None:
 await interaction.edit_original_response(content="you must join any voice channel")
 else:
 voice_client: discord.VoiceClient = discord.utils.get(client.voice_clients, guild=interaction.guild)
 if voice_client == None:
 await interaction.user.voice.channel.connect()
 voice_client: discord.VoiceClient = discord.utils.get(client.voice_clients, guild=interaction.guild)
 player = await YTDLSource.from_url(url_title, loop=None)
 if playfirst and len(queue[guild])>1:
 queue[guild].insert(1,player)
 else:
 queue[guild].append(player)
 if not voice_client.is_playing():
 voice_client.play(player,after=None)
 await interaction.edit_original_response(content=f"{player.title} playing!!")
 else:
 await interaction.edit_original_response(content=f"{player.title} enqueued!")
 await asyncio.sleep(7)
 await interaction.delete_original_response()



output :


[INFO ] discord.player: ffmpeg process 12 successfully terminated with return code of -11.



What should I do ?


version :


discord.py 2.0.0 python 3.10.6