Opened 5 years ago

Closed 5 years ago

#7573 closed defect (worksforme)

Can't connect to radio stream (access denied).

Reported by: max79 Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
I'm noticed that i can play this stream through VLC player after change User-agent like this:
#EXTVLCOPT:http-user-agent=Mozilla/5.0
#EXTINF:-1,LoveRadio
http://95.188.107.89:8008/LR_Russian.mp3
How to reproduce:

ffmpeg version N-91024-g293a6e8332 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.3.0 (GCC)
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --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. 18.100 / 56. 18.100
  libavcodec     58. 19.101 / 58. 19.101
  libavformat    58. 13.102 / 58. 13.102
  libavdevice    58.  4.100 / 58.  4.100
  libavfilter     7. 21.100 /  7. 21.100
  libswscale      5.  2.100 /  5.  2.100
  libswresample   3.  2.100 /  3.  2.100
  libpostproc    55.  2.100 / 55.  2.100
[http @ 00000000001389c0] HTTP error 403 Forbidden
http://95.188.107.89:8008/LR_Russian.mp3: Server returned 403 Forbidden (access denied)

Change History (4)

comment:1 by Carl Eugen Hoyos, 5 years ago

Priority: importantnormal
Resolution: worksforme
Status: newclosed

For future tickets: Please understand that this is a bug tracker, not a support forum.

$ ffmpeg -user_agent Mozilla -i http://95.188.107.89:8008/LR_Russian.mp3
ffmpeg version N-92534-g5a76171 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 6.4.0 (GCC)
  configuration: --enable-gpl --enable-gnutls --enable-libxml2
  libavutil      56. 24.101 / 56. 24.101
  libavcodec     58. 40.100 / 58. 40.100
  libavformat    58. 23.100 / 58. 23.100
  libavdevice    58.  6.100 / 58.  6.100
  libavfilter     7. 46.100 /  7. 46.100
  libswscale      5.  4.100 /  5.  4.100
  libswresample   3.  4.100 /  3.  4.100
  libpostproc    55.  4.100 / 55.  4.100
Input #0, mp3, from 'http://95.188.107.89:8008/LR_Russian.mp3':
  Metadata:
    icy-url         : http://potokovoe.ru
    StreamTitle     : Мот, Виа Гра - Кислород
  Duration: N/A, start: 0.000000, bitrate: 122 kb/s
    Stream #0:0: Audio: mp3, 44100 Hz, stereo, fltp, 122 kb/s
At least one output file must be specified

comment:2 by max79, 5 years ago

can you explain please how i can specify user-agent in LAVSource ?

comment:3 by max79, 5 years ago

Resolution: worksforme
Status: closedreopened

comment:4 by Carl Eugen Hoyos, 5 years ago

Resolution: worksforme
Status: reopenedclosed

Please ask all LAV-related questions wherever you downloaded it, this is the FFmpeg bug tracker.

Note: See TracTickets for help on using tickets.