Recherche avancée

Médias (91)

Autres articles (109)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

Sur d’autres sites (11907)

  • "FFmpeg was not found, spotdl can't continue" even though its installed using sudo apt-get install spotdl + it works if ran from terminal

    23 juin 2022, par dank rainbow
    @bot.command()
async def getsong(ctx, *, songname):
    "get song in mp3 from song name"
    os.popen(f'spotdl {songname} -f "/home/pi/discordbot/output/{songname}.mp3"')
    await ctx.send(file=discord.File(fr'/home/pi/discordbot/output/{songname}.mp3'))


    


    ffmpeg installed with sudo-apt get. works if ran from terminal
how to fix ?

    


    figured it out my self.
working code if it benefits anyone :

    


    @bot.command()
async def getsong(ctx, *, songname):
    "get song in mp3 from song name"
    subprocess.Popen(f'spotdl -o "/home/pi/discordbot/output" --ffmpeg "/usr/bin/ffmpeg" {songname} --path-template "{songname}.mp3"', shell=True)
    await ctx.send(file=discord.File(fr'/home/pi/discordbot/output/{songname}.mp3'))


    


  • How to convert an mp3 file to raw audio format using javascript

    4 octobre 2022, par Lord Bee

    I'm working on a project that involves song matching, so I am integrating with rapidApi's shazam endpoints. But the thing is, the song matching endpoint needs the audio snippet to be a base64 string of the audio in raw audio format. I know the API works. I downloaded a 3rd party application to do the conversion from mp3 to .raw, and converted it to base64 before making the request with it.

    


    Now, I need to integrate this flow programmatically. How do I convert an mp3 or any audio source really to a .raw file ? I've done a lot of searching but I can't find any solution.

    


  • How to take metadata from .mp3 file and put it to a video as a text using FFmpeg ?

    6 décembre 2020, par Grrzly

    In my previously opened topic :

    


    How to make FFmpeg automatically inject mp3 audio tracks in the single cycled muted video


    


    I've got detailed explanation from @llogan how to broadcast looped short muted video on youtube automatically injecting audio tracks in it without interrupting a translation.

    


    I plan to enhance the flow and the next question I faced with is how to dynamically put an additional text to the broadcast.

    


    Prerequisites :

    


      

    1. youtube broadcast is up and running by ffmpeg
    2. 


    3. short 3 min video is paying in infinity loop
    4. 


    5. audio tracks from playlist are automatically taken by "ffmpeg concat" and injected in the video one by one
    6. 


    


    this is a basic command to start translation :

    


    


    ffmpeg -re -fflags +genpts -stream_loop -1 -i video.mp4 -re -f concat
-i input.txt -map 0:v -map 1:a -c:v libx264 -tune stillimage -vf format=yuv420p -c:a copy -g 20 -b:v 2000k -maxrate 2000k -bufsize
8000k -f flv rtmp ://a.rtmp.youtube.com/live2/my-key

    


    


    Improvements I want to bring

    


      

    1. I plan to store some metadata in audio files (basically it's an artist name and a song name)
    2. 


    3. At the moment a particular song starts playing artist/song name should be taken from metadata and displayed on the video as text during the whole song is playing.
    4. 


    5. When the current song finishes and a new one starts playing the previous artist/song text should be replaced with the new one etc
    6. 


    


    My question is how to properly take metadata and add it to the existing broadcast config using ffmpeg ?