[FFmpeg-trac] #7457(ffplay:new): FFplay slow youtube streaming
FFmpeg
trac at avcodec.org
Wed Sep 26 02:43:46 EEST 2018
#7457: FFplay slow youtube streaming
----------------------------------+--------------------------------------
Reporter: chenrios | Type: defect
Status: new | Priority: normal
Component: ffplay | Version: git-master
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
----------------------------------+--------------------------------------
Summary of the bug:
FFplay is downloading the video at around 21.8Mbps which is not sufficient
at 4k60fps and causes buffering. Chrome / Firefox buffers the video
perfectly fine on my 300Mbps line.
How to reproduce:
1. get youtube video which has 4k 60fps format available like e.g.
youtube-dl -f 315 -g https://youtu.be/imZYzSOV27g
2. pass output URL to ffplay
3. after ~30seconds video starts to buffer
{{{
% ffplay version N-91961-g5109c38162 Copyright (c) 2003-2018 the FFmpeg
developers
built with gcc 8.2.1 (GCC) 20180813
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-
fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-
libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-
amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus
--enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora
--enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp
--enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg
--enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-
libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex
--enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-
ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec
--enable-dxva2 --enable-avisynth
libavutil 56. 19.101 / 56. 19.101
libavcodec 58. 30.100 / 58. 30.100
libavformat 58. 18.101 / 58. 18.101
libavdevice 58. 4.103 / 58. 4.103
libavfilter 7. 32.100 / 7. 32.100
libswscale 5. 2.100 / 5. 2.100
libswresample 3. 2.100 / 3. 2.100
libpostproc 55. 2.100 / 55. 2.100
Input #0, matroska,webm, from 'https://r2---sn-
2gb7sn7k.googlevideo.com/videoplayback?[redacted]':
Metadata:
encoder : google/video-file
Duration: 00:10:06.62, start: 0.000000, bitrate: 22188 kb/s
Stream #0:0(eng): Video: vp9 (Profile 0), yuv420p(tv, bt709),
3840x2160, SAR 1:1 DAR 16:9, 59.94 fps, 59.94 tbr, 1k tbn, 1k tbc
(default)
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7457>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list