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

Deinterlacing does not work with .m3u8 streams #622

Open
chillout23 opened this issue Nov 6, 2023 · 7 comments
Open

Deinterlacing does not work with .m3u8 streams #622

chillout23 opened this issue Nov 6, 2023 · 7 comments

Comments

@chillout23
Copy link

If the stream is encapsulated into HLS (.m3u8) TracyPlayer does not automatically enable deinterlacing on interlaced streams.

Currently this work perfect with mpegts (.ts) streams. @kingslay can you please fix this so it also detects .m3u8?

@kingslay
Copy link
Owner

kingslay commented Nov 6, 2023

可以提供下url吗

@chillout23
Copy link
Author

@kingslay I emailed you the url.

@kingslay
Copy link
Owner

kingslay commented Nov 7, 2023

看了下是因为流信息里面没有说他是interlaced 流。所以就不会进行处理了。下面是ffmpeg打印出来的信息
Duration: N/A, start: 5087.080000, bitrate: N/A
Program 0
Metadata:
variant_bitrate : 0
Stream #0:0: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn
Metadata:
variant_bitrate : 0
Stream #0:1: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 256 kb/s
Metadata:
variant_bitrate : 0

@chillout23
Copy link
Author

@kingslay, I understand. In that case I have no suggestions how to solve this.
This works in VLC media player, both .ts and .m3u8 can auto detect interlaced.

@kingslay
Copy link
Owner

kingslay commented Nov 7, 2023

mpv可以自动检测出来吗?因为mpv也是基于ffmpeg的。如果mpv可以的话,那可以去看下他们的代码。看下他们是怎么实现的。但是vlc是针对ffmpeg做了很多的优化。所以一般vlc的的功能更强大,比较难把vlc的实现方案应用我的这个库里。

@chillout23
Copy link
Author

chillout23 commented Nov 7, 2023

I understand, I think we can ask Lillyplayer developer if MPV can autodetect both .ts and .m3u8 streams as he has experience with this player. @skrew is this possible for both streaming formats?

@chillout23
Copy link
Author

@skrew can you take a look at this?

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

2 participants