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

Worse video quality on some devices in comparison with MediaPlayer #5022

Closed
okycelt opened this issue Oct 30, 2018 · 1 comment
Closed

Worse video quality on some devices in comparison with MediaPlayer #5022

okycelt opened this issue Oct 30, 2018 · 1 comment
Assignees

Comments

@okycelt
Copy link

okycelt commented Oct 30, 2018

Issue description

We're using ExoPlayer to play UDP multicast streams and we've noticed that on some devices the video quality is 'worse' in comparison with MediaPlayer. It is noticeable especially when observing text. When playing the same stream using MediaPlayer the text seems sharper than using ExoPlayer.

From our tests, it seems ExoPlayer could only have this problem on boxes with 30Hz output. If we play the same content on a box with 60Hz output the text is sharp.

Also, we think the problem could be related to the 'tbr' parameter in ffmpeg/ffprobe. In the first stream (with tbr 59.94), we observe issues. But in the second stream (same source re-encoded with tbr 30), the text is sharp. Please see the two snippets of ffprobe output below.

Stream #0:0[0x410]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(top first), 1920x1080 [SAR 1:1 DAR 16:9], 29.97 fps, 59.94 tbr, 90k tbn, 59.94 tbc

Stream #0:2[0x102]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 30 fps, 30 tbr, 90k tbn, 60 tbc

I'm sending a link to both streams via email.

Reproduction steps

  1. Play enclosed .ts file to a multicast address e.g. using tsplay.
  2. Use UdpDataSource.Factory and ExtractorMediaSource.Factory to create MediaSource with Uri pointing to a multicast address from step 1

Link to test content

Sent by email.

Version of ExoPlayer being used

2.8.4, 2.9.0

Device(s) and version(s) of Android being used

Amlogic stb with Android 6.0.1 (30Hz output)
Amlogic stb with Android 7.1.2 (25Hz output)

A full bug report captured from the device

Sent by email.

@ojw28
Copy link
Contributor

ojw28 commented Oct 30, 2018

Duplicate of #5003

@ojw28 ojw28 marked this as a duplicate of #5003 Oct 30, 2018
@ojw28 ojw28 closed this as completed Oct 30, 2018
@ojw28 ojw28 self-assigned this Oct 30, 2018
@google google locked and limited conversation to collaborators May 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants