Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mplayer can't normally handle streams from pcradio #19

Open
swordsman379 opened this issue Jan 13, 2022 · 0 comments
Open

Mplayer can't normally handle streams from pcradio #19

swordsman379 opened this issue Jan 13, 2022 · 0 comments

Comments

@swordsman379
Copy link

Mplayer can't normally open online radio streams like https://str.pcradio.ru/BoneyM-hi
Sometimes it can open them after 2-3 minutes, however MPV opens such streams in a moment.

`mplayer38328.exe -noquiet -v https://str.pcradio.ru/BoneyM-hi
MPlayer sherpya-r38328+g30322ebe3c-10-win32 (C) 2000-2021 MPlayer Team
CPU vendor name: GenuineIntel max cpuid level: 13
CPU: Intel(R) Core(TM) i7-4500U CPU @ 1.80GHz (Family: 6, Model: 69, Stepping: 1)
extended cpuid-level: 8
extended cache-info: 16801856
Detected cache-line size is 64 bytes
Testing OS support for SSE... yes.
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSE3: 1 SSSE3: 1 SSE4: 1 SSE4.2: 1 AVX: 1
Compiled with runtime CPU detection.
Setting PATH to D:\Borland\Projects\Samples\Sample SimPlayer_Unicode\mplayer\codecs
get_path('codecs.conf') -> 'D:/Borland/Projects/Samples/Sample SimPlayer_Unicode/mplayer/mplayer/codecs.conf'
Reading optional codecs config file D:/Borland/Projects/Samples/Sample SimPlayer_Unicode/mplayer/mplayer/codecs.conf: No such file or directory
Using built-in default codecs.conf.
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> 'D:/Borland/Projects/Samples/Sample SimPlayer_Unicode/mplayer/mplayer/fonts'
Configuration: --prefix=/invalid --host-cc=gcc --cc=i686-w64-mingw32-gcc --as=i686-w64-mingw32-as --ar=i686-w64-mingw32-ar --nm=i686-w64-mingw32-nm --ranlib=i686-w64-mingw32-ranlib --windres=i686-w64-mingw32-windres --enable-cross-compile --enable-runtime-cpudetection --enable-static --enable-postproc --disable-vidix --disable-inet6 --enable-mbedtls --enable-dvdnav --enable-dvdread --disable-bluray --enable-menu --enable-libfdk-aac-lavc --disable-ass-internal --with-arch=corei7 --with-tune=corei7
CommandLine: '-noquiet' '-v' 'https://str.pcradio.ru/BoneyM-hi'
Using Windows native timing
get_path('input.conf') -> 'D:/Borland/Projects/Samples/Sample SimPlayer_Unicode/mplayer/mplayer/input.conf'
Parsing input config file D:/Borland/Projects/Samples/Sample SimPlayer_Unicode/mplayer/mplayer/input.conf
Input config file D:/Borland/Projects/Samples/Sample SimPlayer_Unicode/mplayer/mplayer/input.conf parsed: 89 binds
get_path('BoneyM-hi.conf') -> 'D:/Borland/Projects/Samples/Sample SimPlayer_Unicode/mplayer/mplayer/BoneyM-hi.conf'

Playing https://str.pcradio.ru/BoneyM-hi.
get_path('sub/') -> 'D:/Borland/Projects/Samples/Sample SimPlayer_Unicode/mplayer/mplayer/sub/'
WINSOCK2 init: 0
libavformat version 59.10.100 (internal)
Configuration: --enable-gpl --enable-postproc
[ffmpeg] Opening https://str.pcradio.ru/BoneyM-hi
[https @ 02ae2200]Setting default whitelist 'http,https,tls,rtp,tcp,udp,crypto,httpproxy'
[tcp @ 02ae2200]Original list of addresses:
[tcp @ 02ae2200]Address 95.216.20.60 port 443
[tcp @ 02ae2200]Interleaved list of addresses:
[tcp @ 02ae2200]Address 95.216.20.60 port 443
[tcp @ 02ae2200]Starting connection attempt to 95.216.20.60 port 443
[tcp @ 02ae2200]Successfully connected to 95.216.20.60 port 443
[https @ 02ae2200]request: GET /BoneyM-hi HTTP/1.1
User-Agent: Lavf/59.10.100
Accept: /
Range: bytes=0-
Connection: close
Host: str.pcradio.ru
Icy-MetaData: 1

STREAM: [ffmpeg] https://str.pcradio.ru/BoneyM-hi
STREAM: Description: FFmpeg
STREAM: Author:
STREAM: Comment:
LAVF_check: raw ADTS AAC (Advanced Audio Coding)
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename https://str.pcradio.ru/BoneyM-hi ext: .ru/BoneyM-hi
Checking for Nullsoft Streaming Video
[https @ 02ae2200]Metadata update for StreamTitle:
[https @ 02ae2200]Metadata update for StreamTitle: Boney M. - Sample City [Original 12'' Version, 1985]
Cannot seek backward in linear streams!
Checking for MOV
Cannot seek backward in linear streams!
Checking for VIVO
header block 1 size: 13
Cannot seek backward in linear streams!
Cannot seek backward in linear streams!
Cannot seek backward in linear streams!
Cannot seek backward in linear streams!
Cannot seek backward in linear streams!
Cannot seek backward in linear streams!
AVS: avs_check_file - attempting to open file https://str.pcradio.ru/BoneyM-hi
AVS: Avisynth error: Import: couldn't open "D:\Borland\Projects\Samples\Sample SimPlayer_Unicode\mplayer\https:\str.pcradio.ru\BoneyM-hi"
AVS: Init failed
Cannot seek backward in linear streams!
Checking for PVA
Cannot seek backward in linear streams!
Checking for MPEG-TS...
TRIED UP TO POSITION 354711, FOUND 47, packet_size= 0, SEEMS A TS? 0
Cannot seek backward in linear streams!
Cannot seek backward in linear streams!
Checking for LMLM4 Stream Format
Invalid packet in LMLM4 stream: ch=48469 size=3130172576
LMLM4 Stream Format not found
Cannot seek backward in linear streams!
sync_mpeg_ps: seems to be MP3 stream...
MPEG Stream reached EOF
MPEG packet stats: p100: 0 p101: 0 p1B6: 0 p12x: 0 sli: 0 a: 0 b: 0 c: 0 idr: 0 sps: 0 pps: 0 PES: 1 MP3: 226, synced: 0
Not MPEG System Stream format... (maybe Transport Stream?)
Cannot seek backward in linear streams!
Cannot seek backward in linear streams!
sync_mpeg_ps: seems to be MP3 stream...
MPEG Stream reached EOF
MPEG packet stats: p100: 0 p101: 0 p1B6: 0 p12x: 0 sli: 0 a: 0 b: 0 c: 0 idr: 0 sps: 0 pps: 0 PES: 0 MP3: 320, synced: 0
Not MPEG System Stream format... (maybe Transport Stream?)
Cannot seek backward in linear streams!
Cannot seek backward in linear streams!
Cannot seek backward in linear streams!
Cannot seek backward in linear streams!
Cannot seek backward in linear streams!
==> Found video stream: 0
ds_fill_buffer: EOF reached (stream: video)
Cannot seek backward in linear streams!
LAVF_check: raw ADTS AAC (Advanced Audio Coding)
libavformat file format detected.
Cannot seek backward in linear streams!
[https @ 02ae2200]Metadata update for StreamTitle: Boney M. - My Friend Jack [Original 12'' Version, 1980]
[aac @ 02ac7340]Before avformat_find_stream_info() pos: 344 bytes read:32768 seeks:0 nb_streams:1
[aac @ 02ac7340]All info found
[aac @ 02ac7340]After avformat_find_stream_info() pos: 18977 bytes read:32768 seeks:0 frames:50
==> Found audio stream: 0
======= WAVE Format =======
Format Tag: 20557 (0x504D)
Channels: 2
Samplerate: 44100
avg byte/sec: 8024
Block align: 1
bits/sample: 0
cbSize: 0

[lavf] stream 0: audio (aac), -aid 0
LAVF: 1 audio and 0 video streams found
LAVF: build 3869284
Load subtitles in https://str.pcradio.ru/
get_path('sub/') -> 'D:/Borland/Projects/Samples/Sample SimPlayer_Unicode/mplayer/mplayer/sub/'
Load subtitles in D:/Borland/Projects/Samples/Sample SimPlayer_Unicode/mplayer/mplayer/sub/

Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
dec_audio: Allocating 1536000 + 131072 = 1667072 bytes for output buffer.
FFmpeg's libavcodec audio codec
libavcodec version 59.15.102 (internal)
Configuration: --enable-gpl --enable-postproc
INFO: libavcodec "aac" init OK!
[aac @ 02c251c0]ChannelElement 1.0 missing
AUDIO: 44100 Hz, 2 ch, floatle, 64.2 kbit/2.27% (ratio: 8024->352800)
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))

Building audio filter chain for 44100Hz/2ch/floatle -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 44100Hz/2ch/floatle
[dummy] Was reinitialized: 44100Hz/2ch/floatle
Trying every known audio driver...
ao_dsound: Output Devices:
0 ╧хЁтшўэ√щ чтєъютющ фЁрщтхЁ <--
1 ─шэрьшъш (Conexant SmartAudio HD)
ao_dsound: DirectSound initialized
ao_dsound: format floatle not supported defaulting to Signed 16-bit Little-Endian
ao_dsound: Samplerate:44100Hz Channels:2 Format:s16le
ao_dsound: Buffersize:176400 bytes (1000 msec)
ao_dsound: primary buffer created
ao_dsound: secondary (stream)buffer created
AO: [dsound] 44100Hz 2ch s16le (2 bytes per sample)
AO: Description: Windows DirectSound audio output
AO: Author: Gabor Szecsi [email protected]
Building audio filter chain for 44100Hz/2ch/floatle -> 44100Hz/2ch/s16le...
[dummy] Was reinitialized: 44100Hz/2ch/floatle
[libaf] Adding filter format
[format] Changing sample format from little-endian 32-bit float to little-endian 16-bit signed int
[format] Accelerated little-endian 32-bit float to little-endian 16-bit signed int conversion
[dummy] Was reinitialized: 44100Hz/2ch/floatle
[format] Changing sample format from little-endian 32-bit float to little-endian 16-bit signed int
[format] Accelerated little-endian 32-bit float to little-endian 16-bit signed int conversion
Video: no video
Freeing 0 unused video chunks.
Starting playback...`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant