Comments (16)
Same issue here video is starting from 10 mins not 0:00.
from ksplayer.
I have managed to implement ksplayer into a project of mine, but find whenever a video starts to play there is an overlay displayed at the bottom of the screen. It is a progress bar and there is some chinese(?) language text at the bottom right. It does disappear after a few seconds.
Is it possible to disable this overlay from appearing?
The toolbar is automatically hidden during playback. The default value is 5s. You can change the default value with KSPlayerManager.imateDelayTimeInterval
You can control the button hiding yourself
class CustomVideoPlayerView: IOSVideoPlayerView {
override func updateUI(isLandscape: Bool) {
super.updateUI(isLandscape: isLandscape)
toolBar.playbackRateButton.isHidden = true
}
}
from ksplayer.
Same issue here video is starting from 10 mins not 0:00.
Is it live or on-demand? Please provide the URL.
from ksplayer.
Same issue here video is starting from 10 mins not 0:00.
Is it live or on-demand? Please provide the URL.
how i can contact you privately? cant send you link publicly.
from ksplayer.
Same issue here video is starting from 10 mins not 0:00.
Is it live or on-demand? Please provide the URL.
yes its happening in live video and on demand both.
from ksplayer.
privately
yes. you can . What's your email address?
from ksplayer.
privately
yes. you can . What's your email address?
This is due to the timestamp of the first frame of the audio. the pkt_pts is 54000000
<frame media_type="audio" stream_index="1" key_frame="1" pkt_pts="54000000" pkt_pts_time="600.000000" pkt_dts="54000000" pkt_dts_time="600.000000" best_effort_timestamp="54000000" best_effort_timestamp_time="600.000000" pkt_duration="2089" pkt_duration_time="0.023211" pkt_pos="39668" pkt_size="13" sample_fmt="fltp" nb_samples="1024" channels="2" channel_layout="stereo"/>
from ksplayer.
privately
yes. you can . What's your email address?
This is due to the timestamp of the first frame of the audio. the pkt_pts is 54000000
So what is the fix?
from ksplayer.
Theres no such issue with other plyers
from ksplayer.
privately
yes. you can . What's your email address?
This is due to the timestamp of the first frame of the audio. the pkt_pts is 54000000
So what is the fix?
I have found a solution. There's a start_time field inside the video.
I'll fix this tomorrow.
from ksplayer.
privately
yes. you can . What's your email address?
This is due to the timestamp of the first frame of the audio. the pkt_pts is 54000000
So what is the fix?
I have found a solution. There's a start_time field inside the video.
I'll fix this tomorrow.
Great Thank you
from ksplayer.
I have managed to implement ksplayer into a project of mine, but find whenever a video starts to play there is an overlay displayed at the bottom of the screen. It is a progress bar and there is some chinese(?) language text at the bottom right. It does disappear after a few seconds.
Is it possible to disable this overlay from appearing?The toolbar is automatically hidden during playback. The default value is 5s. You can change the default value with KSPlayerManager.imateDelayTimeInterval
You can control the button hiding yourselfclass CustomVideoPlayerView: IOSVideoPlayerView { override func updateUI(isLandscape: Bool) { super.updateUI(isLandscape: isLandscape) toolBar.playbackRateButton.isHidden = true } }
Thanks, this has helped a little. The overlay is still shown, but for much less time. Ideally, it would be perfect if it could be disabled totally.
from ksplayer.
privately
yes. you can . What's your email address?
This is due to the timestamp of the first frame of the audio. the pkt_pts is 54000000
So what is the fix?
I have found a solution. There's a start_time field inside the video.
I'll fix this tomorrow.Great Thank you
it fixed
from ksplayer.
privately
yes. you can . What's your email address?
This is due to the timestamp of the first frame of the audio. the pkt_pts is 54000000
So what is the fix?
I have found a solution. There's a start_time field inside the video.
I'll fix this tomorrow.Great Thank you
it fixed
issue is still there i have updated library. now i am getting ffmpeg warnings but issue is not fixed.
from ksplayer.
imateDelayTimeInterval
After updating the latest code. it could be disabled totally. According to the code below
class CustomVideoPlayerView: IOSVideoPlayerView {
override func updateUI(isLandscape: Bool) {
super.updateUI(isLandscape: isLandscape)
bottomMaskView.isHidden = true
}
}
from ksplayer.
Thank you, setting the bottomMaskView to hidden does the trick
from ksplayer.
Related Issues (20)
- 4.2.2 continuous buffering problem in broadcasts HOT 51
- 同步最新版本代码后FFmpegAssetTrack文件报错
- FormatDescription DisplayCriteria: dynamic range problem. HOT 3
- Updating KSNowPlayableMetadata HOT 3
- Extend KSOptions HOT 3
- 取消了rtsp和rtmp的支持? HOT 4
- Issue opening URL
- rtsp 播放十几秒就会 buffering HOT 4
- VTDecompressionSessionCreate返回-4是为什么? HOT 3
- 部分设备在播放时没有人声只有背景声 HOT 9
- KSAVPlayer会出现的崩溃情况 HOT 1
- Annex-B videotoolbox硬解码失败 HOT 9
- FFMepgAssetTrack tcrash HOT 9
- srt多行字幕解析有问题 HOT 6
- 新版本编译失败 HOT 7
- 播放AVI格式的某些视频会花屏 HOT 2
- Dynamic Range (DV/HDR10+/HLG BT.709) inconsistencies HOT 12
- Crash in AudioUnitPlayer
- KSPlayer with Native UI HOT 31
- 关于多路视频流 HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ksplayer.