
Recherche avancée
Autres articles (45)
-
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 (...) -
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs
Sur d’autres sites (9474)
-
ffmpeg rtmp streaming at 30fps
19 janvier 2018, par user6326558I am trying to stream my desktop to facebook rtmp server using screen-capture-recorder :
ffmpeg -re -f dshow -i audio="virtual-audio-capturer" -hwaccel cuvid
-f dshow -i video=screen-capture-recorder -r 30 -rtbufsize 1024M
-filter:v scale=480:360 -vcodec libx264
-pix_fmt yuv420p -preset fast -b:v 8M -maxrate:v 10M -c:a aac -b:a 128k
-ar 44100 -f flv rtmp://live-api.facebook.com:80/rtmp/..............But when I start streaming, it says that fps is only 10 and sometimes it immediatelly on start-up yells following error. Then, when I start to do something on my computer, for example I run a game, I keep getting that warning 20 times per second, and streamed video is 0.5 fps.
real-time buffer [screen-capture-recorder] [video input] too full or near
too full (545% of size : 3041280 [rtbufsize parameter]) ! frame dropped !When I stream it into file,
ffmpeg -re -f dshow -i audio="virtual-audio-capturer" -hwaccel cuvid
-f dshow -i video=screen-capture-recorder -r 30 -rtbufsize 1024M
-filter:v scale=480:360 -vcodec libx264
-pix_fmt yuv420p -preset fast -b:v 8M -maxrate:v 10M -c:a aac -b:a 128k
-ar 44100 D:\test.mp4 -yit says streaming is 30 fps, but as soon as I start doing something, for example game, the metioned situation repeats, tens of errors, and 0,5 fps video.
I tried chanching -rtbufsize from 8 to 2048 megabytes, nothing changed. I tried adding and disablinh hw acceleration, nothing changed. Can anyone tell me, what am I doing wrong ? Thank you
Solved -rtbufsize 1024M must be before -i. Another thing, I rather used codec h264_nvenc from nvidia for cuda acceleration, now I can stream into file at 30 fps without problems and warnings, even while playing game (Call of duty 6, HW draining). However, when I try to stream to rtmp, I also get no warnings, but I can stream at only 15 fps. Is it also possible to stream to rtmp at 30 fps with my command configuration ?
If needed, my ffmpeg build config is :
ffmpeg version 3.3.3 Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 7.1.0 (GCC)
configuration : —disable-static —enable-shared —enable-gpl —enable-version3 —enable-cuda —enable-cuvid —enable-d3d11va —enable-dxva2 —enable-libmfx —enable-nvenc —enable-avisynth —enable-bzlib —enable-fontconfig —enable-frei0r —enable-gnutls —enable-iconv —enable-libass —enable-libbluray —enable-libbs2b —enable-libcaca —enable-libfreetype —enable-libgme —enable-libgsm —enable-libilbc —enable-libmodplug —enable-libmp3lame —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-libopenh264 —enable-libopenjpeg —enable-libopus —enable-librtmp —enable-libsnappy —enable-libsoxr —enable-libspeex —enable-libtheora —enable-libtwolame —enable-libvidstab —enable-libvo-amrwbenc —enable-libvorbis —enable-libvpx —enable-libwavpack —enable-libwebp —enable-libx264 —enable-libx265 —enable-libxavs —enable-libxvid —enable-libzimg —enable-lzma —enable-zlib -
ffmpeg streaming to rtmp at 30fps
19 janvier 2018, par user6326558I am trying to stream my desktop to facebook rtmp server using screen-capture-recorder :
-re -rtbufsize 256M -f dshow -i audio="Mikrofon (Realtek Audio)"
-rtbufsize 256M -f dshow -i audio="virtual-audio-capturer"
-rtbufsize 1024M -f dshow -i video=screen-capture-recorder -r 30
-filter:v scale=1280:720 -c:v h264_nvenc -pix_fmt yuv420p -preset fast
-b:v 8M -maxrate:v 10M -c:a aac -b:a 128k -ar 44100
-f flv rtmp://live-api.facebook.com:80/rtmp/..............I am using h264_nvenc codec for gpu acceleration, but I can stream at only 12-18 fps. However, when I stream into a file :
-re -rtbufsize 256M -f dshow -i audio="Mikrofon (Realtek Audio)"
-rtbufsize 256M -f dshow -i audio="virtual-audio-capturer"
-rtbufsize 1024M -f dshow -i video=screen-capture-recorder -r 30
-filter:v scale=1280:720 -c:v h264_nvenc -pix_fmt yuv420p -preset fast
-b:v 8M -maxrate:v 10M -c:a aac -b:a 128k -ar 44100
D:\test.mp4 -yI get 30 fps without problem, even when playing game (eg. Call of duty 6, pretty HW draining). Is it also possible to stream to rtmp at 30 fps with my command configuration ? Thank you
If needed, my ffmpeg build config is :
ffmpeg version 3.3.3 Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 7.1.0 (GCC)
configuration : —disable-static —enable-shared —enable-gpl —enable-version3 —enable-cuda —enable-cuvid —enable-d3d11va —enable-dxva2 —enable-libmfx —enable-nvenc —enable-avisynth —enable-bzlib —enable-fontconfig —enable-frei0r —enable-gnutls —enable-iconv —enable-libass —enable-libbluray —enable-libbs2b —enable-libcaca —enable-libfreetype —enable-libgme —enable-libgsm —enable-libilbc —enable-libmodplug —enable-libmp3lame —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-libopenh264 —enable-libopenjpeg —enable-libopus —enable-librtmp —enable-libsnappy —enable-libsoxr —enable-libspeex —enable-libtheora —enable-libtwolame —enable-libvidstab —enable-libvo-amrwbenc —enable-libvorbis —enable-libvpx —enable-libwavpack —enable-libwebp —enable-libx264 —enable-libx265 —enable-libxavs —enable-libxvid —enable-libzimg —enable-lzma —enable-zlib -
FFmpeg for automatic video generation from images ?
22 janvier 2018, par Dionisis KI want to implement an automatic video generation from images, like facebook’s anniversary video. And I would also like to add some filters. I’ve been searching a lot and read FFmpeg’s documentation which is pretty amazing.
In the future I want to have 10-20 "bashscripts" with different filters leading to different themes (e.g. fade-in, zoom, overlay images, left-to-right, etc..)
So my biggest concern is having an interface which offers readable code and provides scalability. Since ffmpeg is a bashscript i searched for a wrapper
There are wrappers in
- https://github.com/PHP-FFMpeg/PHP-FFMpeg for php ,which doesn’t support image convertion to videos and complex filters .
- https://github.com/fluent-ffmpeg/node-fluent-ffmpeg which looks promising but also difficult to go with complex filters
- and https://github.com/kkroening/ffmpeg-python for python.I think that it s pretty good
Are there any other wrappers worth to check ?
Would you recommend something from the above ?
Is there any pros and cons using a specific programming language for this particular case ?
Is there anything else i should bear in mind before I make a decision ?