debugly / ijkplayer

iOS/macOS/tvOS video player based on ijkplayer, using FFmpeg 6, support Metal、hw accel、HDR、ass subtitle effect...
https://ijkplayer.debugly.cn/
GNU General Public License v2.0
116 stars 20 forks source link

TVOS - Slow Seeking Performance in MPEG-TS Format (Takes Approximately 1 Minute) #50

Open gokberkince opened 2 months ago

gokberkince commented 2 months ago

log:

skip     demuxer : ijklivehook (duplicated)
===== custom modules end =====
[IJKMEDIA]===== versions =====
[IJKMEDIA]ijkplayer    : 2a1515c
[IJKMEDIA]FFmpeg       : n6.1.1-19-ge444c4a
[IJKMEDIA]libavutil    : 58.29.100
[IJKMEDIA]libavcodec   : 60.31.102
[IJKMEDIA]libavformat  : 60.16.100
[IJKMEDIA]libswscale   : 7.5.100
[IJKMEDIA]libswresample: 4.12.100
[IJKMEDIA]===== options =====
[IJKMEDIA]player-opts : start-on-prepared            = 1
[IJKMEDIA]player-opts : overlay-format               = fcc-_es2
[IJKMEDIA]player-opts : max_ts_probe                 = 5
[IJKMEDIA]player-opts : sync                         = ext
[IJKMEDIA]player-opts : enable-accurate-seek         = 0
[IJKMEDIA]player-opts : analyzeduration              = 2000000
[IJKMEDIA]player-opts : videotoolbox                 = 2
[IJKMEDIA]player-opts : video-pictq-size             = 3
[IJKMEDIA]player-opts : max-fps                      = 60
[IJKMEDIA]player-opts : framedrop                    = 12
[IJKMEDIA]player-opts : probsize                     = 31000
[IJKMEDIA]format-opts : ijkapplication               = [masked]
[IJKMEDIA]format-opts : ijkiomanager                 = [masked]
[IJKMEDIA]format-opts : protocol_whitelist           = ijkio,ijkhttphook,concat,http,tcp,https,tls,file,bluray,dvd,rtmp,rtsp,rtp,srtp,udp,crypto
[IJKMEDIA]format-opts : rtsp_transport               = udp
[IJKMEDIA]format-opts : auto_convert                 = 0
[IJKMEDIA]format-opts : timeout                      = 30000000
[IJKMEDIA]format-opts : http-detect-range-support    = 0
[IJKMEDIA]format-opts : reconnect                    = 1
[IJKMEDIA]format-opts : user_agent                   = player
[IJKMEDIA]format-opts : safe                         = 0
[IJKMEDIA]codec-opts  : skip_loop_filter             = 48
[IJKMEDIA]codec-opts  : dns_cache_clear              = 1
[IJKMEDIA]codec-opts  : skip_frame                   = 1
[IJKMEDIA]===================
[IJKMEDIA]dns getaddrinfo uri = [masked_url]
[IJKMEDIA]tcp did open uri = tcp://[masked_url]:8080, ip = [masked_ip]
[IJKMEDIA]dns getaddrinfo uri = [masked_url]
[IJKMEDIA]tcp did open uri = tcp://[masked_url]:8080, ip = [masked_ip]
[IJKMEDIA]Option safe not found.
ProgramView: _focus changed.
[IJKMEDIA]dns getaddrinfo uri = [masked_url]
[IJKMEDIA]tcp did open uri = tcp://[masked_url]:8080, ip = [masked_ip]
[IJKMEDIA]dns getaddrinfo uri = [masked_url]
[IJKMEDIA]tcp did open uri = tcp://[masked_url]:8080, ip = [masked_ip]
[IJKMEDIA]dns getaddrinfo uri = [masked_url]
[IJKMEDIA]tcp did open uri = tcp://[masked_url]:8080, ip = [masked_ip]
[IJKMEDIA]dns getaddrinfo uri = [masked_url]
[IJKMEDIA]tcp did open uri = tcp://[masked_url]:8080, ip = [masked_ip]
[IJKMEDIA]max_frame_duration: 10.000
[IJKMEDIA]Input #0, mpegts, from '[masked_url]':
[IJKMEDIA]  Duration: [IJKMEDIA]00:09:00.31[IJKMEDIA], start: [IJKMEDIA]6964.511000[IJKMEDIA], bitrate: [IJKMEDIA]28125 kb/s
[IJKMEDIA]  Program 1 
[IJKMEDIA]    Metadata:
[IJKMEDIA]      service_name    : [IJKMEDIA]Service01
[IJKMEDIA]      service_provider: [IJKMEDIA]FFmpeg
[IJKMEDIA]  Stream #0:0[IJKMEDIA][0x100][IJKMEDIA]: Video: hevc (HEVC / 0x43564548), yuv420p10le(tv), 3840x2160 [SAR 1:1 DAR 16:9][IJKMEDIA], [IJKMEDIA]50 fps, [IJKMEDIA]50 tbr, [IJKMEDIA]90k tbn
[IJKMEDIA]  Stream #0:1[IJKMEDIA][0x101][IJKMEDIA](tur)[IJKMEDIA]: Audio: eac3 (EAC3 / 0x33434145), 48000 Hz, 5.1(side), fltp, 256 kb/s
[IJKMEDIA]aout_open_audio:3,unsupported channels 6[IJKMEDIA]SDL_OpenAudio (6 channels, 48000 Hz)
[IJKMEDIA]aout_open_audio:3,unsupported channels 4[IJKMEDIA]SDL_OpenAudio (4 channels, 48000 Hz)
AddInstanceForFactory: No factory registered for id <CFUUID [masked]> [masked]
[IJKMEDIA]AudioCodec: avcodec, eac3
[IJKMEDIA]videotoolbox hwaccel switch:on
[IJKMEDIA]try use videotoolbox accel
[IJKMEDIA]VideoCodec: avcodec, hevc
[IJKMEDIA]auto decision max buffer size:33MB
[IJKMEDIA]Playback rate: 1.000000
194059          HALC_ProxyIOContext.cpp:1619  HALC_ProxyIOContext::IOWorkLoop: skipping cycle due to overload
[IJKMEDIA]First slice in a frame missing.
[IJKMEDIA]First slice in a frame missing.
[IJKMEDIA]First slice in a frame missing.
[IJKMEDIA]First slice in a frame missing.
[IJKMEDIA]First slice in a frame missing.
[IJKMEDIA]First slice in a frame missing.
[IJKMEDIA]First slice in a frame missing.
[IJKMEDIA]First slice in a frame missing.
[IJKMEDIA]First slice in a frame missing.
[IJKMEDIA]First slice in a frame missing.
[IJKMEDIA]First slice in a frame missing.
[IJKMEDIA]First slice in a frame missing.
[IJKMEDIA]First slice in a frame missing.
[IJKMEDIA]First slice in a frame missing.
[IJKMEDIA]First slice in a frame missing.
[IJKMEDIA]First slice in a frame missing.
[IJKMEDIA]First slice in a frame missing.
[IJKMEDIA]First slice in a frame missing.
[IJKMEDIA]First slice in a frame missing.
[IJKMEDIA]First slice in a frame missing.
Starting updateTracks function
Number of streams: 2

Processing stream 0:
Stream 0 - Type: video, Stream Index: 0
Added video: Unknown-0

Processing stream 1:
Stream 1 - Type: audio, Stream Index: 1
Added audio: Unknown (tur) 5.1(side)-1

Final results:
Subtitles: []
Audios: [(title: "Unknown (tur) 5.1(side)-1", streamIdx: 1)]
Videos: [(title: "Unknown-0", streamIdx: 0)]
[IJKMEDIA]render pipeline:nv12FragmentShader,fullRange:0,matrix:BT709
[IJKMEDIA]audio pts is behind,need fast forwad,diff:0.350146

Starting seeking:

[IJKMEDIA]dns getaddrinfo uri = [masked_url]
[IJKMEDIA]tcp did open uri = tcp://[masked_url]:8080, ip = [masked_ip]
[IJKMEDIA]dns getaddrinfo uri = [masked_url]
[IJKMEDIA]tcp did open uri = tcp://[masked_url]:8080, ip = [masked_ip]
[IJKMEDIA]dns getaddrinfo uri = [masked_url]
[IJKMEDIA]tcp did open uri = tcp://[masked_url]:8080, ip = [masked_ip]
[IJKMEDIA]dns getaddrinfo uri = [masked_url]
[IJKMEDIA]tcp did open uri = tcp://[masked_url]:8080, ip = [masked_ip]
[IJKMEDIA]dns getaddrinfo uri = [masked_url]
[IJKMEDIA]tcp did open uri = tcp://[masked_url]:8080, ip = [masked_ip]
[IJKMEDIA]dns getaddrinfo uri = [masked_url]
[IJKMEDIA]tcp did open uri = tcp://[masked_url]:8080, ip = [masked_ip]
[IJKMEDIA]dns getaddrinfo uri = [masked_url]
[IJKMEDIA]tcp did open uri = tcp://[masked_url]:8080, ip = [masked_ip]
[IJKMEDIA]dns getaddrinfo uri = [masked_url]
[IJKMEDIA]tcp did open uri = tcp://[masked_url]:8080, ip = [masked_ip]
[IJKMEDIA]dns getaddrinfo uri = [masked_url]
[IJKMEDIA]tcp did open uri = tcp://[masked_url]:8080, ip = [masked_ip]
[IJKMEDIA]dns getaddrinfo uri = [masked_url]
[IJKMEDIA]tcp did open uri = tcp://[masked_url]:8080, ip = [masked_ip]
[IJKMEDIA]dns getaddrinfo uri = [masked_url]
[IJKMEDIA]tcp did open uri = tcp://[masked_url]:8080, ip = [masked_ip]
[IJKMEDIA]dns getaddrinfo uri = [masked_url]
[IJKMEDIA]tcp did open uri = tcp://[masked_url]:8080, ip = [masked_ip]
[IJKMEDIA]dns getaddrinfo uri = [masked_url]
[IJKMEDIA]tcp did open uri = tcp://[masked_url]:8080, ip = [masked_ip]
[IJKMEDIA]dns getaddrinfo uri = [masked_url]
[IJKMEDIA]tcp did open uri = tcp://[masked_url]:8080, ip = [masked_ip]
[IJKMEDIA]dns getaddrinfo uri = [masked_url]
[IJKMEDIA]tcp did open uri = tcp://[masked_url]:8080, ip = [masked_ip]
[IJKMEDIA]dns getaddrinfo uri = [masked_url]
[IJKMEDIA]tcp did open uri = tcp://[masked_url]:8080, ip = [masked_ip]
[IJKMEDIA]dns getaddrinfo uri = [masked_url]
[IJKMEDIA]tcp did open uri = tcp://[masked_url]:8080, ip = [masked_ip]
[IJKMEDIA]dns getaddrinfo uri = [masked_url]
[IJKMEDIA]tcp did open uri = tcp://[masked_url]:8080, ip = [masked_ip]

...
debugly commented 2 months ago

can you give me a sample video?

gokberkince commented 2 months ago

Hi, I sent an email to you for samples.

debugly commented 1 month ago

I can't find the email.

debugly commented 1 month ago

What is the subject of the email?

gokberkince commented 1 month ago

Hi, title: Ijkplayer Issue #50 Sample sent it to the email which is included in your profile

debugly commented 1 month ago

My gmail not receive your email.