[FFmpeg-user] [httpproxy] Protocol not on whitelist
Yicai Xu
xuyicai at gmail.com
Sun Mar 13 06:20:56 CET 2016
Hi,
I am trying to play Youtube videos with ffmpeg. However, I found ffmpeg
might not play the video if I am behind a proxy.
For example, if I try playing a youtube video on a PC behind a proxy by
doing
ffmpeg -i "http://www.youtube.com/watch?v=dQw4w9WgXcQ" -vcodec copy -acodec
copy out.mkv
in my terminal. Then I will got the following output:
ffmpeg version 3.0 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 5.3.0 (GCC)
configuration: --prefix=/usr --disable-debug --disable-static
--disable-stripping --enable-avisynth --enable-avresample
--enable-fontconfig --enable-gnutls --enable-gpl --enable-ladspa
--enable-libass --enable-libbluray --enable-libdcadec --enable-libfreetype
--enable-libfribidi --enable-libgsm --enable-libmodplug --enable-libmp3lame
--enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg
--enable-libopus --enable-libpulse --enable-libschroedinger
--enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora
--enable-libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx
--enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid
--enable-shared --enable-version3 --enable-x11grab
libavutil 55. 17.103 / 55. 17.103
libavcodec 57. 24.102 / 57. 24.102
libavformat 57. 25.100 / 57. 25.100
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 31.100 / 6. 31.100
libavresample 3. 0. 0 / 3. 0. 0
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
[httpproxy @ 0x5572578d9f60] Protocol not on whitelist
'http,https,tls,rtp,tcp,udp,crypto'!
http://www.youtube.com/watch?v=dQw4w9WgXcQ: Invalid argument
However, if I use a computer without any proxy settings, then ffmpeg
would play the video normally.
Do you have the same problem? Am i doing something wrong? Should the
httpproxy protocol be put into the whitelist?
Thanks!
Best,
Erdos
More information about the ffmpeg-user
mailing list