![]() ![]() This is a problem particularly when using a DirectShow source, since the real-time buffer will almost immediately fill and cause dropped frames/out of sync audio making it impossible to stream from a live video source.įirst sample, showing the issue, notice the poor fps (input framerate is 59.94 fps) and real-time buffer errors causing frame drops, CPU usage is 40% or lower.Ĭmd> ffmpeg -rtbufsize 902000k -f dshow -r 60000/1001 -video_size 1280x720 -pixel_format uyvy422 -i video="Decklink Video Capture":audio="Decklink Audio Capture" -vcodec libx264 -vf "unsharp=5:5:0.2:5:5:0.0" -preset medium -profile main -maxrate 1600k -bufsize 2000k -s 960x540 -pix_fmt yuv420p -acodec aac -strict -2 -ab 96k -ar 44100 -af "volume=3" -f flv -y "hd.flv" -vcodec libx264 -vf "unsharp=5:5:0.2:5:5:0.0,fps=fps=30" -preset medium -profile main -maxrate 900k -bufsize 2000k -s 854x480 -pix_fmt yuv420p -acodec aac -strict -2 -ab 96k -ar 44100 -af "volume=3" -f flv -y "sd.flv"įfmpeg version N-66809-g20df026 Copyright (c) 2000-2014 the FFmpeg developersĬonfiguration: -enable-gpl -enable-version3 -disable-w32threads -enable-avisynth -enable-bzlib -enable-fontconfig -enable-frei0r -enable-gnutls -enable-iconv -enable-liīass -enable-libbluray -enable-libbs2b -enable-libcaca -enable-libfreetype -enable-libgme -enable-libgsm -enable-libilbc -enable-libmodplug -enable-libmp3lame -enable-lib ![]() ![]() ![]() If only used on one of the two outputs, performance appears normal. Summary of the bug: When using FFmpeg to encode two seperate video outputs from a single video source, performance drops significantly when using the "unsharp" video filter on BOTH outputs. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |