Recherche avancée

Médias (39)

Mot : - Tags -/audio

Autres articles (63)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

Sur d’autres sites (7633)

  • ffmpeg started with initial_pause won't play

    25 janvier 2015, par ComputerSaysNo

    I need to :

    • connect to RTSP server
    • send all RTSP commands except PLAY(hence the ’initial_pause’ option)
    • send custom packet to server via GET_PARAMETER command
    • send PLAY command <- this does not work

    I am successfully sending and receiving data using ffurl_write/read, after which I’m sending av_read_play(context) <- this is being sent correctly and receives response(network sniffer says so), however, ffmpeg is not able to find the video codec for some reason, error :

    [rtsp @ 0x7fff0a858800] Could not find codec parameters for stream 0 (Video : h264) : unspecified size
    Consider increasing the value for the ’analyzeduration’ and ’probesize’ options

    I did increase the probsize and analyzeduration to obscene values without luck.

    My question is : how can I resume/play the stream, what am I missing ?

    Feel free to ask any additional questions that may help in finding the issue.

  • FFmpeg doesn't play any audio through Discord.py BOT

    12 mai 2019, par Lewis H

    Here is my code for my Discord bot’s play function :

    @bot.command()
    async def play(ctx, url:str = None): # DOESN'T WORK, DOWNLOADS BUT DOESN'T PLAY

           ...

           ytdl_options = {
               'format': 'bestaudio/best',
               'postprocessors': [{
                   'key': 'FFmpegExtractAudio',
                   'preferredcodec': 'mp3',
                   'preferredquality': '192',
               }],
           }
           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] # taking top item from a YT playlist

           source = ytdl.prepare_filename(data)

           vc.play(discord.FFmpegPCMAudio(source)) #play audio
           print(vc.is_playing())
           await ctx.send("Now playing: " + data.get('title')) #now playing
           asyncio.sleep(3)
           print(vc.is_playing())

    When I call the function, it runs fine and downloads the video from youtube-dl, then sends the message "Now playing : X", but doesn’t play any audio.

    I added the two print(vc.is_playing()) lines and what is returned in the shell is :

    True
    False

    So clearly it tries to play the song but immediately fails.

    There are no exceptions thrown, so I can’t understand why FFmpeg doesn’t want to play the audio.

  • Infrequent ffmpeg in Google Cloud

    17 février 2020, par suztomo

    Which service should I use for my Go program that runs ffmpeg in Google Cloud Platform ?

    The Go program downloads videos from my Google Cloud Storage and runs ffmpeg command to combine them into 5 minutes mp4 file. I use this program only around 10 times in a month.

    I thought of using a compute instance with GPU to get fast ffmpeg processing. However, because of infrequency of the invocation, I don’t want to run the pricey GPU instance for all the time. Cloud Run does not seem to support GPU.

    What service would you choose for such workload ?