Recherche avancée

Médias (1)

Mot : - Tags -/musée

Autres articles (85)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

Sur d’autres sites (15689)

  • Why does my linux ffmpeg output file require running it back through ffmpeg to play on windows

    13 septembre 2020, par Sean Miller

    I 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

    


  • Play ogg file using ffplay / ffmpeg on .NET

    12 juillet 2021, par Rchrd

    I'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.

    


  • Discord.py music bot doesn't play next song in queue

    10 mai 2019, par Lewis H

    This is my code for the bot I’m trying to create, it plays the music fine.

    ytdl_options = {
       'format': 'bestaudio/best',
       'restrictfilenames': True,
       'noplaylist': True,
       'nocheckcertificate': True,
       'quiet':True,
       'ignoreerrors': False,
       'logtostderr': False,
       'no_warnings': True,
       'default_search': 'auto',
       'source_address': '0.0.0.0' # using ipv4 since ipv6 addresses causes issues sometimes
       }


           # ffmpeg options
    ffmpeg_options= {
       'options': '-vn'
       }



    @bot.command()
    async def play(ctx, url:str = None):
       queue = {}

       channel = ctx.author.voice.channel    
       if ctx.voice_client is not None:  
           await ctx.voice_client.move_to(channel)
       elif ctx.author.voice and ctx.author.voice.channel:      
           await channel.connect()

       if not url:
           await ctx.send("Try adding a URL. e.g. !play https://youtube.com/watch?v=XXXXXXXXX")

       if ctx.voice_client is not None:
           vc = ctx.voice_client #vc = voice client, retrieving it
           ytdl = youtube_dl.YoutubeDL(ytdl_options)


           loop = asyncio.get_event_loop()
           data = await loop.run_in_executor(None, lambda: ytdl.extract_info(url))

           if 'entries' in data:
               data = data['entries'][0]
           svr_id = ctx.guild.id
           if svr_id in queue:
               queue[svr_id].append(data)

           else:
               queue[svr_id] = [data]
           await ctx.send(data.get('title') + " added to queue")

           source = ytdl.prepare_filename(queue[svr_id][0])
           def pop_queue():
               if queue[svr_id] != []:
                   queue[svr_id].pop(0)
                   data = queue[svr_id][0]
               else:
                   vc.stop()

           if not vc.is_playing():
               vc.play(discord.FFmpegPCMAudio(source, **ffmpeg_options), after=lambda: pop_queue())

    The next song downloads and queues it fine, but once the first song finishes, it doesn’t play the next one. I can’t figure out how to make it play after the first song has commenced. I have the after= set to remove the top item of the queue, but how do I get it to play again ? Thanks