[FFmpeg-user] streaming problem
bruno.picardi at poste.it
Sat Feb 3 23:01:04 EET 2018
I use ffmpeg on Windows 8.1 x64 - Intel I7 - RAM 16MB to stream to Youtube a
captured area of my laptop. I use 480p resolution. The internet connection
is WiFi with a router with a 4G SIM card.
I experiment this problem:
- the bitrate shown by ffmeg starts from about 350kbits/s and grows slowly
and constantly until 2,500kbits/s,
- while Youtube display in green: GOOD DATA RECEIVED, and then, as the
bitrate grows, says in RED that the receiving data is to slow and users
could experiment some problems
- the resulting Youtube video is ok
- the bitrate grows until 2,450 kbits/s and stay for 10-15 minutes
- then goes down slowly and continuosly until around 1,500 fps the video
becomes gray and only sound is received.
At this point I stop and restart ffmpeg, and everything restarts again.
"C:\\mbiWebTV\\programs\\ffmpeg\\bin_x64\\ffmpeg.exe" -thread_queue_size 512
-report -rtbufsize 100M -f dshow -i "audio=Missaggio stereo (Realtek High
Definition Audio)" -rtbufsize 2000M -thread_queue_size 512 -f dshow -i
"crop=717:367:018:043,scale=848x480,setsar=1" -vcodec libx264 -preset
ultrafast -maxrate 2000 -bufsize 2000M -pix_fmt yuv420p -r 23.976
-keyint_min 24 -g 48 -x264opts no-scenecut -strict experimental -acodec
libmp3lame -b:a 96k -ac 2 -ar 44100 -f flv
The log file has a lot of error messages like this at the beginning:
cur_dts is invalid (this is harmless if it occurs once at the start per
and then no more, while the trasmission goes on.
Sent from: http://www.ffmpeg-archive.org/
More information about the ffmpeg-user