
Recherche avancée
Médias (1)
-
The Slip - Artworks
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (92)
-
Les notifications de la ferme
1er décembre 2010, parAfin d’assurer une gestion correcte de la ferme, il est nécessaire de notifier plusieurs choses lors d’actions spécifiques à la fois à l’utilisateur mais également à l’ensemble des administrateurs de la ferme.
Les notifications de changement de statut
Lors d’un changement de statut d’une instance, l’ensemble des administrateurs de la ferme doivent être notifiés de cette modification ainsi que l’utilisateur administrateur de l’instance.
À la demande d’un canal
Passage au statut "publie"
Passage au (...) -
D’autres logiciels intéressants
12 avril 2011, parOn ne revendique pas d’être les seuls à faire ce que l’on fait ... et on ne revendique surtout pas d’être les meilleurs non plus ... Ce que l’on fait, on essaie juste de le faire bien, et de mieux en mieux...
La liste suivante correspond à des logiciels qui tendent peu ou prou à faire comme MediaSPIP ou que MediaSPIP tente peu ou prou à faire pareil, peu importe ...
On ne les connais pas, on ne les a pas essayé, mais vous pouvez peut être y jeter un coup d’oeil.
Videopress
Site Internet : (...) -
HTML5 audio and video support
13 avril 2011, parMediaSPIP 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 (...)
Sur d’autres sites (11392)
-
Building A livestreaming server like youtube from scratch
9 décembre 2022, par Dipo AhmedI am trying to build a live streaming server like youtube where I can watch the video live or if I want to I can play the video from any duration I want.


What I have tried so far.
I have built a node js WebSocket server where I push the video blob that I receive from the browser via MediaRecorder API every 2 seconds. This blob is then getting converted to hls by a ffmpeg process which generates 2 seconds
*.ts
files and a.m3u8
file which I am playing with video.js in browser.

This is my ffmpeg command


spawn('ffmpeg', [
 '-i', '-',
 // '-re',
 '-fflags', '+igndts',

 '-vcodec', 'h264',
 '-acodec', 'aac',

 '-preset', 'slow',
 '-crf', '22',
 // You can also use QP value to adjust output stream quality, e.g.: 
 // '-qp', '0',
 // You can also specify output target bitrate directly, e.g.:
 '-b:v', '1500K',
 '-b:a', '128K', // Audio bitrate

 '-f', 'hls',
 '-hls_time', '1',
 // '-hls_playlist_type', 'vod',
 '-hls_list_size', '2',
 '-hls_flags', 'independent_segments',
 '-hls_segment_type', 'mpegts',
 '-hls_segment_filename', `${path}/stream%02d.ts`, `${path}/stream.m3u8`,
 ]);



The problem is that the video js player duration is not updating like in youtube where the video duration increases every second.


Any direction will be appreciated. Please tell me if my approach is wrong and what needs to be learned for me to build this system.


-
Stream PNG file to youtube with ffmpeg
3 avril 2022, par codingmaster398What I'm trying to do :
I have a PNG file that is constantly getting written to. I want to pipe it (while it changes) to YouTube's RTMP server.


What I've attempted :


runCommand(
 'ffmpeg',
 `-threads:v 2 -threads:a 8 -filter_threads 2 -thread_queue_size 512 \
-loop 1 -re -i place.png \
-stream_loop -1 \
-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/${steamKey}`,
 () => {},
 () => console.log('finished')
)

setInterval(()=>{
 image.write('./place.png') // Jimp },5000)



What happens :


ffmpeg version 4.4.1 Copyright (c) 2000-2021 the FFmpeg developers
 built with gcc 10.3.0 (GCC)
 configuration: --disable-static --prefix=/nix/store/7x62j0rls5dpriig91qrk0qh7hvvqd7k-ffmpeg-4.4.1 --arch=x86_64 --target_os=linux --enable-gpl --enable-version3 --enable-shared --enable-pic --enable-libsrt --enable-runtime-cpudetect --enable-hardcoded-tables --enable-pthreads --disable-w32threads --disable-os2threads --enable-network --enable-pixelutils --enable-ffmpeg --disable-ffplay --enable-ffprobe --enable-avcodec --enable-avdevice --enable-avfilter --enable-avformat --enable-avresample --enable-avutil --enable-postproc --enable-swresample --enable-swscale --disable-doc --enable-libass --enable-bzlib --enable-gnutls --enable-fontconfig --enable-libfreetype --enable-libmp3lame --enable-iconv --enable-libtheora --enable-libssh --enable-vaapi --enable-libdrm --enable-vdpau --enable-libvorbis --enable-libvpx --enable-lzma --disable-opengl --disable-libmfx --disable-libaom --enable-libpulse --enable-sdl2 --enable-libsoxr --enable-libx264 --enable-libxvid --enable-zlib --enable-libopus --enable-libspeex --enable-libx265 --enable-libdav1d --disable-debug --enable-optimizations --disable-extra-warnings --disable-stripping
 libavutil 56. 70.100 / 56. 70.100
 libavcodec 58.134.100 / 58.134.100
 libavformat 58. 76.100 / 58. 76.100
 libavdevice 58. 13.100 / 58. 13.100
 libavfilter 7.110.100 / 7.110.100
 libavresample 4. 0. 0 / 4. 0. 0
 libswscale 5. 9.100 / 5. 9.100
 libswresample 3. 9.100 / 3. 9.100
 libpostproc 55. 9.100 / 55. 9.100

Input #0, png_pipe, from 'place.png':
 Duration: N/A, bitrate: N/A
 Stream #0:0: Video: png, rgba(pc), 2000x1000, 25 fps, 25 tbr, 25 tbn, 25 tbc
Option stream_loop (set number of times input stream shall be looped) cannot be applied to output url rtmp://a.rtmp.youtube.com/live2/[key here lol] -- you are trying to apply an input option to an output file or vice versa. Move this option before the file it belongs to.
Error parsing options for output file rtmp://a.rtmp.youtube.com/live2/[key here lol].
Error opening output files: Invalid argument

finished



References :


Send live stream packets to youtube with nodejs ?


streaming to youtube with ffmpeg


-
how to stream a website to youtube using ffmpeg with python [closed]
22 avril 2023, par Eyal BI want to stream a website (more specifically an element) to YT using ffmpeg with python. i already found a way to stream an mp4, but now i want to stream a website. i thought of using a headless browser like puppeteer and selenium, but couldnt quite get it right.
the ffmpeg command that worked was :
ffmpeg -re -i cat.mp4 -pix_fmt yuvj420p -x264-params keyint=48:min-keyint=48:scenecut=-1 -b:v 4500k -b:a 128k -ar 44100 -acodec aac -vcodec libx264 -preset medium -crf 28 -threads 4 -f flv rtmp://x.rtmp.youtube.com/live2/waas-xbqw-d671-4a75-2qq2
thanks in advance !