[FFmpeg-user] Support request - configuring ffmpeg for YouTube Live 60fps

Stuart Porter stuart.porter at ctvc.co.uk
Wed Apr 25 18:45:24 EEST 2018

Hi there,

Firstly, forgive any rookie mistakes – I’m new here and not a seasoned
support blog user. Neither am I a developer of any sort.

I’m working with a developer though and we are trying to configure ffmpeg
to stream live from a video capture device capturing at 60fps (AverMedia
Live Gamer HD2) with audio, to YouTube Live using rtmp. The machine I want
to stream from is Windows7 64-bit with Intel Core i5-6400 CPU @ 2.70GHz

I’m happy to use either h264 or vp9 codec. And have tried configuring
numerous examples taken from previous posts but nothing works.

e.g. for VP9 I have tried

 ffmpeg -f dshow -video_size 1920x1080 -r 60 -i video="AVerMedia Live Gamer
HD 2":audio="Line (3- AVerMedia Live Gamer H" -r 30 -g 60 -s 1920x1080
-quality good -speed 5 -threads 16 -row-mt 1 -tile-columns 3
-frame-parallel 1 -qmin 4 -qmax 48 -b:v 7800k -c:v libvpx-vp9 -b:a 128k
-c:a libopus -f webm rtmp://a.rtmp.youtube.com/live2/[my key]

results in a string of failures such as

[dshow @ 00000000003d4dc0] real-time buffer [AVerMedia Live Gamer HD 2]
[video input] too full or near too full (272% of size: 3041280 [rtbufsize
parameter])! frame dropped!

We have tried adjusting the quality, speed, framerate and bandwidth but get
very similar results each time.

However, when I use the software which comes with the video capture card I
can get a perfect stream – so I know it’s not down to the capacity of the
card or other hardware on the machine. I’m not choosing to use that
software because we need to remotely control the video and the current
software doesn’t allow that.

Can anyone help me work out where I’m going wrong?

*Stuart Porter **| Head of Digital  *

*C**T**V**C* <http://www.ctvc.co.uk/> | McBeath House | 1st Floor | 310
Goswell Road | London | EC1V 7LW
0207 940 8495 | (+44) 07870 233 359 | Skype: stuartctvc


Registered in England No. 1375941 (Registered Office 12 Warwick Square  
London SW1V 2AA)
Charity No. 276286

This email, and any attachment, is 
confidential. If you have received it in error, please delete it from your 
system, do not use or disclose the information in any way, and notify the 
originator immediately. The contents of this message may contain personal 
views which are not the views of CTVC, unless specifically stated. Please 
note CTVC does not warrant that any attachments are free from viruses or 
other defects and accepts no liability for any losses resulting from 
infected email transmissions.

More information about the ffmpeg-user mailing list