Recherche avancée

Médias (0)

Mot : - Tags -/médias

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (30)

  • 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

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • 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 (5038)

  • "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'))


    


  • .mp4 audio(mpeg aac audio (mp4a)) dosen't play well with sdl2_audio

    18 février 2016, par jijijijiji

    I’m making video player in
    https://github.com/mpenkov/ffmpeg-tutorial/blob/master/tutorial03.c

    but I have problem when playing sound. I can hear high pitch sound.

    aCodecCtx=pFormatCtx->streams[audioStream]->codec;
     // Set audio settings from codec info
     wanted_spec.freq = aCodecCtx->sample_rate;
     wanted_spec.format = AUDIO_S16SYS;
     wanted_spec.channels = aCodecCtx->channels;
     wanted_spec.silence = 0;
     wanted_spec.samples = SDL_AUDIO_BUFFER_SIZE;
     wanted_spec.callback = audio_callback;
     wanted_spec.userdata = aCodecCtx;

    this is part of source code. to solve the problem, I changed value of
    wanted_spec.format.
    when format is AUDIO_S16SYS, I can’t hear what audio says. because sound is like
    slow and high pitch. but I can hear what audio says when I change the value to
    AUDIO_F32SYS. this means 32-bit floating point samples in native byte order. but sound is still high pitch not normal sound.

    other audio file plays well. but only mpeg aac audio (mp4a) codec is not well played.

    you can hear sound in https://soundcloud.com/nickd6ibdksy/sets/sdl2-sound.

    sdl2 cannot support mpeg aac audio (mp4a) codec ? or how can I solve this problem ?

  • How to merge mp3 and mp4 in python / Mute a mp4 file and add a mp3 file on it

    14 septembre 2020, par Madar

    I want to merge an mp3 and an mp4 in python, if possible with the moviepy library.

    


    But my mp4 video got some sound in it, so i want to delete this sound before.