
Recherche avancée
Médias (1)
-
SWFUpload Process
6 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
Autres articles (85)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...) -
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)
Sur d’autres sites (8328)
-
Discord Bot Not Playing Audio When Using YouTube-dl and FFmpeg
5 novembre 2020, par John Henry 5I'm trying to get a bot to join a voice chat and then play the audio in a youtube url. This is the code I have :


@client.command() async def play(ctx):
 channel = ctx.message.author.voice.channel
 voice_client = await channel.connect()

 opts = {'format': 'bestaudio'}
 FFMPEG_OPTIONS = {'before_options': '-reconnect 1 -reconnect_streamed 1 -reconnect_delay_max 5', 'options': '-vn'}
 with youtube_dl.YoutubeDL(opts) as ydl:
 song_info = ydl.extract_info('video', download=False)
 URL = song_info['formats'][0]['url']
 voice_client.play(FFmpegPCMAudio(URL, **FFMPEG_OPTIONS))



No errors are thrown but it just says [youtube] video : Downloading webpage


-
streaming to youtube with ffmpeg
6 janvier 2021, par ohroblotI am trying to stream to youtube but the stream health says no data.


ffmpeg -threads:v 2 -threads:a 8 -filter_threads 2 -thread_queue_size 512 \
-i /tmp/thumbs/thumbnail.jpg \
-stream_loop -1 \
-i /tmp/audio/tracks.mp3 \
-filter:v "crop=in_w/2:in_h/2:1920:1280" \
-pix_fmt yuv420p -c:v libx264 -qp:v 19 -profile:v high -rc:v cbr_ld_hq -level:v 4.2 -r:v 60 -g:v 120 -bf:v 3 -refs:v 16 -preset fast -f flv rtmp://a.rtmp.youtube.com/live2/xxx



ffmpeg is shown rendering frames like this :


frame= 1 fps=0.0 q=0.0 size= 236220kB time=04:02:50.73 bitrate= 132.8kbits/s speed=67.3x 
frame= 1 fps=0.0 q=0.0 size= 236872kB time=04:03:30.90 bitrate= 132.8kbits/s speed=67.3x 
frame= 1 fps=0.0 q=0.0 size= 237539kB time=04:04:12.02 bitrate= 132.8kbits/s speed=67.3x 
frame= 1 fps=0.0 q=0.0 size= 238215kB time=04:04:53.69 bitrate= 132.8kbits/s speed=67.4x 
frame= 1 fps=0.0 q=0.0 size= 238869kB time=04:05:34.05 bitrate= 132.8kbits/s speed=67.4x 
frame= 1 fps=0.0 q=0.0 size= 239515kB time=04:06:13.83 bitrate= 132.8kbits/s speed=67.4x 
frame= 1 fps=0.0 q=0.0 size= 240153kB time=04:06:53.14 bitrate= 132.8kbits/s speed=67.5x 



but as far as youtube, no data is being sent over.


What is causing this to fail ?


-
How to merge 2 streams and send the stream to youtube ?
22 janvier 2021, par Nikhil JacobTrying to merge 2 rtmp url from one youtube account and sending the merged stream to another youtube account


Details :


- 

-
We enabled 2 youtube account with Go Live feature


-
Used the larix Broadcaster mobile application to send the stream to the first youtube account


-
This worked fine and we were able to see the stream on youtube


-
We brought up the other youtube account and captured it's rtmp url


-
We used the following command to take the stream broadcasted on the first account to stream to the other youtube account


ffmpeg -re -i rtmp ://a.rtmp.youtube.com/live2/StreamKey 1 -i rtmp ://a.rtmp.youtube.com/live2/Stream Key1 -strict -2 -f flv rtmp ://a.rtmp.youtube.com/live2/Stream Key 2














However, we are getting a response server validation failed on


ffmpeg version 4.2.4-1ubuntu0.1 Copyright (c) 2000-2020 the FFmpeg developers
 built with gcc 9 (Ubuntu 9.3.0-10ubuntu2)
 configuration: --prefix=/usr --extra-version=1ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
 libavutil 56. 31.100 / 56. 31.100
 libavcodec 58. 54.100 / 58. 54.100
 libavformat 58. 29.100 / 58. 29.100
 libavdevice 58. 8.100 / 58. 8.100
 libavfilter 7. 57.100 / 7. 57.100
 libavresample 4. 0. 0 / 4. 0. 0
 libswscale 5. 5.100 / 5. 5.100
 libswresample 3. 5.100 / 3. 5.100
 libpostproc 55. 5.100 / 55. 5.100
[rtmp @ 0x55e577487340] Server response validating failed
rtmp://a.rtmp.youtube.com/live2/{StreamKey 1}: Input/output error



Please clarify why the merging of 2 rtmp url is failing. Should we setup our own rtmp server to capture the input stream and then send the output stream to youtube ?


-