Recherche avancée

Médias (2)

Mot : - Tags -/rotation

Autres articles (111)

  • 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 ;

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

Sur d’autres sites (17462)

  • How do I auto-start streamlink to capture YouTube live stream once the capture stopes in 6 hours with session expiration ? [closed]

    13 janvier 2020, par Anoma

    I’m using Streamlink to capture a YouTube live stream. But as everyone knows, the capture ends in 6hrs with YouTube session expiration. As I’m new in scripting, could anyone please help me to overcome this issue ?

    I’m looking for a script that can automatically start a new session with the same YouTube live stream after a given time or once the scrip detects the error : "Error when reading from stream : Read timeout, exiting" in 6 hours.

    Thank you in advance.

  • re-stream rtsp stream to youtube [closed]

    2 novembre 2024, par Darter

    i would like to re-stream an rtsp stream of a wifi camera to youtube
the stream is allready a H.264 codec.

    


    The camera does not have any audio, but youtube needs audio to accept the stream, thats why i faked and audio stream.
I tried this

    


    ffmpeg -re -rtsp_transport tcp -i rtsp://192.168.1.140/live -f lavfi -i anullsrc -f rawvideo rtmp://a.rtmp.youtube.com/live2/<stream key="key">&#xA;</stream>

    &#xA;

    but it fails

    &#xA;

    av_interleaved_write_frame(): Broken pipeB time=00:00:00.20 bitrate=884736.0kbits/s speed=0.0156x    &#xA;Error writing trailer of rtmp://a.rtmp.youtube.com/live2/dgyh-qzba-t13k-6qtf-6rgq: Broken pipe&#xA;

    &#xA;

    i would like to not change the codec to not put any stress on the machine

    &#xA;

  • Youtube-dl and Ffmpeg

    25 juin 2022, par Joksy

    i have made a music bot with discord.py, but i get this info thing and it doesnt work anymore error [youtube] QxYdBvB8sOY: Downloading webpage 985104597242773505 [2022-06-25 07:45:51] [INFO    ] discord.player: Preparing to terminate ffmpeg process 37580. [2022-06-25 07:45:51] [INFO    ] discord.player: ffmpeg process 37580 has not terminated. Waiting to terminate... [2022-06-25 07:45:51] [INFO    ] discord.player: ffmpeg process 37580 should have terminated with a return code of 1. this is my code

    &#xA;

    import discord&#xA;import os&#xA;import asyncio&#xA;import youtube_dl&#xA;from discord import *&#xA;&#xA;token = "token is here"&#xA;prefix = "j!"&#xA;blocked_words = ["blocked words are here"]&#xA;&#xA;voice_clients = {}&#xA;&#xA;yt_dl_opts = {&#x27;format&#x27;: &#x27;bestaudio/best&#x27;}&#xA;ytdl = youtube_dl.YoutubeDL(yt_dl_opts)&#xA;&#xA;ffmpeg_options = {&#x27;options&#x27;: "-vn"}&#xA;&#xA;intents = discord.Intents.default()&#xA;intents.message_content = True&#xA;&#xA;client = discord.Client(intents=intents)&#xA;&#xA;&#xA;programmer_role = "987018590152699964"&#xA;            &#xA;&#xA;&#xA;@client.event&#xA;async def on_ready():&#xA;    print(f"Bot logged in as {client.user}")&#xA;&#xA;@client.event&#xA;async def on_message(msg):&#xA;    if msg.author != client.user:&#xA;        if msg.content.lower().startswith(f"{prefix}info"):&#xA;            await msg.channel.send(f"Hi, Im JoksysBot Made By Joksy!")&#xA;&#xA;        for text in blocked_words:&#xA;            if text in str(msg.content.lower()):&#xA;                await msg.delete()&#xA;                await msg.channel.send("Hey, Dont Say That!")&#xA;                return&#xA;        if msg.content.startswith(f"{prefix}play"):&#xA;&#xA;            try:&#xA;                voice_client = await msg.author.voice.channel.connect()&#xA;                voice_clients[voice_client.guild.id] = voice_client&#xA;            except:&#xA;                print("error")&#xA;&#xA;            try:&#xA;                url = msg.content.split()[1]&#xA;&#xA;                loop = asyncio.get_event_loop()&#xA;                data = await loop.run_in_executor(None, lambda: ytdl.extract_info(url, download=False))&#xA;&#xA;                song = data[&#x27;url&#x27;]&#xA;                player = discord.FFmpegPCMAudio(song, **ffmpeg_options, executable="C:\\Users\\jonas\\Documents\\ffmpeg-2022-06-16-git-5242ede48d-full_build\\ffmpeg-2022-06-16-git-5242ede48d-full_build\\bin\\ffmpeg.exe")&#xA;&#xA;                voice_clients[msg.guild.id].play(player)&#xA;&#xA;            except Exception as err:&#xA;                print(err)&#xA;&#xA;        if msg.content.startswith(f"{prefix}pause"):&#xA;            try:&#xA;                voice_clients[msg.guild.id].pause()&#xA;            except Exception as err:&#xA;                print(err)&#xA;&#xA;        if msg.content.startswith(f"{prefix}resume"):&#xA;            try:&#xA;                voice_clients[msg.guild.id].resume()&#xA;            except Exception as err:&#xA;                print(err)&#xA;&#xA;        if msg.content.startswith(f"{prefix}stop"):&#xA;            try:&#xA;                voice_clients[msg.guild.id].stop()&#xA;                await voice_clients[msg.guild.id].disconnect()&#xA;            except Exception as err:&#xA;                print(err)&#xA;&#xA;client.run(token)&#xA;&#xA;

    &#xA;

    its weird since all the other code in my bot works fine like the !info command, so it must be an error with either youtube-dl or ffmpeg. But then again it doesnt join the voice call in the first place so that might be the error. i added ffmpeg to path but i still wrote the path to it here player = discord.FFmpegPCMAudio(song, **ffmpeg_options, executable="C:\\Users\\jonas\\Documents\\ffmpeg-2022-06-16-git-5242ede48d-full_build\\ffmpeg-2022-06-16-git-5242ede48d-full_build\\bin\\ffmpeg.exe"). i followed this tutorial for the bot https://www.youtube.com/watch?v=Q8wxin72h50&t=1040s i did everything he did but it didnt work. My discord.py version is 2.0.0 my Python version is 3.10.5 and my youtube_dl version is 2021.12.17 my ffmpeg download is ffmpeg-2022-06-16-git-5242ede48d-full_build. I tested it on discord.py 1.73 and it worked fine. This was in intellij though whilst my main program is in Visual Studio Code but i couldnt see it making any big difference so it could be the intents that makes the program not work.I couldnt see any mistakes in the code but im new to discord.py, youtube_dl and ffmpeg stuff so unless visual studio code showed me what i did wrong, i wouldnt notice. But what did i do wrong and how can i fix it ?

    &#xA;