Recherche avancée

Médias (1)

Mot : - Tags -/intégration

Autres articles (73)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

Sur d’autres sites (10588)

  • I'm having an issue with my discord bot playing audio from a youtube url

    19 avril 2022, par Alex Graeca
    sync def hog():
channel = bot.get_channel(964971002289356893)
url = 'https://www.youtube.com/watch?v=GyRmkAfpCOM'
await asyncio.sleep(1)
voice_channel = bot.get_channel(int(964971002289356893))
vc = await voice_channel.connect()
#vc.play(discord.FFmpegPCMAudio('C:/Users/alexa/Downloads/hogrider.mp3'))
vc.play(discord.FFmpegPCMAudio(source='https://www.youtube.com/watch?v=GyRmkAfpCOM', executable='ffmpeg.exe'))
while vc.is_playing():
    await asyncio.sleep(5)
await vc.disconnect()


    


    It works fine with the audio file from my laptop, but I want to play it from a youtube link.
It gives me an error :
https://www.youtube.com/watch?v=GyRmkAfpCOM : Invalid data found when processing input

    


    Thank you in advance

    


  • Cannot display ffprobe information from youtube properly

    31 janvier, par Krishnaap

    I am trying to grab information from youtube streams using ffprobe and python. I could display offline video information properly on python, cannot do the same from youtube live streams.

    


    
os.system("ffprobe -hide_banner -stats -v quiet -pretty -show_entries format=size,duration:stream=filename,index,codec_type,codec_name,profile,bit_rate,width,height -of compact -i https://www.youtube.com/watch?v=QzsfLSP6hkI")


    


    showing an error

    


    


    Argument 'https://www.youtube.com/watch?v=QzsfLSP6hkI' ; provided as input filename, but 'quiet' was already specified.

    


    


  • Creating thumbnail using ffmpeg for video downloaded from youtube

    24 septembre 2015, par akhila

    Thanks in advance. I have trouble creating thumbnail for videos downloaded from youtube . I have downloaded videos using the youtube downloader extension and saved to mp4 format , When I upload a video to my site I use ffmpeg to create the thumbnail of the videos , For other mp4 videos it works perfectly fine but for youtube videos. Youtube videos are uploaded to the site and thumbnail creation not working. Here goes my code.

        system('ffmpeg -i '.$saveimgpath1.' -ss 00:00:00.010 -vframes 1 '.$thumbpath);

    The path given is correct as it works for other videos.Any help will be greatly appreciated .