2017-01-23 161 views
0

我想收集https url支持的視頻流的統計信息。使用ffprobe無法獲得https視頻的統計信息

上執行 ffprobe https://www.youtube.com/watch?v=YbYjtSFa5Fs

我得到以下輸出

[email protected]:/vagrant/kaybus$ ffprobe https://www.youtube.com/watch?v=YbYjtSFa5Fs 
ffprobe version N-80901-gfebc862 Copyright (c) 2007-2016 the FFmpeg developers 
    built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3) 
    configuration: --extra-libs=-ldl --prefix=/opt/ffmpeg --mandir=/usr/share/man --enable-avresample --disable-debug --enable-nonfree --enable-gpl --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-decoder=amrnb --disable-decoder=amrwb --enable-libpulse --enable-libfreetype --enable-gnutls --enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-libvorbis --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libspeex --enable-libass --enable-avisynth --enable-libsoxr --enable-libxvid --enable-libvidstab 
    libavutil  55. 28.100/55. 28.100 
    libavcodec  57. 48.101/57. 48.101 
    libavformat 57. 41.100/57. 41.100 
    libavdevice 57. 0.102/57. 0.102 
    libavfilter  6. 47.100/6. 47.100 
    libavresample 3. 0. 0/3. 0. 0 
    libswscale  4. 1.100/4. 1.100 
    libswresample 2. 1.100/2. 1.100 
    libpostproc 54. 0.100/54. 0.100 
[tls @ 0x3547140] A TLS packet with unexpected length was received. 
https://www.youtube.com/watch?v=YbYjtSFa5Fs: Input/output error 

[TLS @ 0x3547140]接收突發長度A TLS分組。 如何解決上述錯誤?

https在ffprobe支持的輸入和輸出協議中列出。

ffprobe -version

[email protected]:/vagrant/kaybus$ ffprobe -version 
ffprobe version N-80901-gfebc862 Copyright (c) 2007-2016 the FFmpeg developers 
built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3) 

感謝

回答

0

您的網址是一個典型的網站:它不是一個直接鏈接到一個視頻。 ffprobe支持HTTP(S),但它不是HTML解析器。

相關問題