[BUG] AC3 Audio/Video issues on Mi Box

Working 16 hours days. Should have tomorrow off God willing, but thanks for thinking about me!

@MovieFan.Plex said:

@Zekesdad said:
Guess what, it’s not been fixed yet.
Can you post a log from the Android app after recreating this issue?

Here are the logs from the server and the mi box plex app. Hope this helps.

Sorry for the delay. Looking through your logs I see that your device is direct playing the file. Which means it’s all up to your box on how to play the video. I don’t see anything specific but I do see something that may be the cause. The video you were watching Cloverfield 10 is listed as having an average bitrate of around 6Mbps. However, during playback, the app is reporting that the parts you are watching are encoded at much higher rates, 20-30 Mbps. A few even reported >30 Mbps. Can you post the XML for that movie?

Are you able to play any files that have AC3 audio? If so, can you also post the XML for that one?

So, i tried it again with 10 Cloverfield Lane and Hunger Games Mocking Jay Pt2 (both ac3) and I get the same results. I also disabled audio passthrough, direct streaming, and direct playing. Same results.

Edit: No, I cannot play any files with AC3. In plex alone. Same files play fine in Emby, VLC, and Kodi.

Ok, so in both playbacks, the video is being transcoded, but the AC3 is just copied over. In this case I would say it is the AC3 decoder on your box not behaving. This is what comes with the box itself. The other programs you tested with VLS and Kodi, use their own video players and have their own AC3 decoder so they do not need to use the ones on the box itself. Plex’s app does use the built-in decoder so if this is the issue, it would explain the differences you see.

If this is the case, unfortunately, Plex cannot fix the decoder. Your only option would be to turn of surround sound so that the AC3 can be transcoded to stereo. Or since, you have Kodi installed already, you can try out the Plex for Kodi Plugin.

well i have the mibox also and i don’t have such problem oO

@user654784 said:
well i have the mibox also and i don’t have such problem oO

@user654784 said:
well i have the mibox also and i don’t have such problem oO

I doubt it. I’ve set up 6 of these boxes now and they all have it. There’s threads all over the forums taking about it.

@MovieFan.Plex said:
Ok, so in both playbacks, the video is being transcoded, but the AC3 is just copied over. In this case I would say it is the AC3 decoder on your box not behaving. This is what comes with the box itself. The other programs you tested with VLS and Kodi, use their own video players and have their own AC3 decoder so they do not need to use the ones on the box itself. Plex’s app does use the built-in decoder so if this is the issue, it would explain the differences you see.

If this is the case, unfortunately, Plex cannot fix the decoder. Your only option would be to turn of surround sound so that the AC3 can be transcoded to stereo. Or since, you have Kodi installed already, you can try out the Plex for Kodi Plugin.

How would I go about that? I don’t see any options in the app to turn off surround sound.

Check the Android settings for the box itself? I don’t have one to check but on the Shield, under the Android settings for Display and Sound, there is an option for surround sound that I can turn off. Also, within the Plex app, there should be an option for pass-through. Set this to disabled and only stereo sound will be sent out.

@MovieFan.Plex said:
Check the Android settings for the box itself? I don’t have one to check but on the Shield, under the Android settings for Display and Sound, there is an option for surround sound that I can turn off. Also, within the Plex app, there should be an option for pass-through. Set this to disabled and only stereo sound will be sent out.

As near as I can tell there is no such option in system-wide settings for audio like that, and the option for pass-through was already disabled in the plex app.

I have a Mi Box as well and have the same problem. First reports on this issue go back to November last year.
I also have Kodi + Plex add-on installed. The files that have problem in the Android Plex app play fine in Kodi/Plex so I don’t think this isn’t a problem with the Mi box.

The files that have problem in the Android Plex app play fine in Kodi/Plex so I don’t think this isn’t a problem with the Mi box.

Kodi uses a custom player. As @“MovieFan.Plex” said:

Plex’s app does use the built-in decoder so if this is the issue, it would explain the differences you see.
If this is the case, unfortunately, Plex cannot fix the decoder.

Plex could either build a custom player (unlikely to happen) or Xiaomi would need to fix their decoder

@Andrroid said:

The files that have problem in the Android Plex app play fine in Kodi/Plex so I don’t think this isn’t a problem with the Mi box.

Kodi uses a custom player. As @“MovieFan.Plex” said:

Plex’s app does use the built-in decoder so if this is the issue, it would explain the differences you see.
If this is the case, unfortunately, Plex cannot fix the decoder.

Plex could either build a custom player (unlikely to happen) or Xiaomi would need to fix their decoder

That makes sense. Of course Plex can’t do it, they charge for their product. Kodi can because it’s free. Clear as mud.

@Zekesdad said:

@Andrroid said:
Plex could either build a custom player (unlikely to happen) or Xiaomi would need to fix their decoder

That makes sense. Of course Plex can’t do it, they charge for their product. Kodi can because it’s free. Clear as mud.

No, it’s because Kodi is a video player. This is their area of expertise. They’ve been making video players fore 10+ years. Plex’ focus is on streaming and transcoding server side. Different solutions for different needs.

@MovieFan.Plex said:

@Zekesdad said:

@Andrroid said:
Plex could either build a custom player (unlikely to happen) or Xiaomi would need to fix their decoder

That makes sense. Of course Plex can’t do it, they charge for their product. Kodi can because it’s free. Clear as mud.

No, it’s because Kodi is a video player. This is their area of expertise. They’ve been making video players fore 10+ years. Plex’ focus is on streaming and transcoding server side. Different solutions for different needs.

OK, then how do we get Plex to transcode the ac3 audio to something that works?

@MovieFan.Plex said:

@Zekesdad said:

@Andrroid said:
Plex could either build a custom player (unlikely to happen) or Xiaomi would need to fix their decoder

That makes sense. Of course Plex can’t do it, they charge for their product. Kodi can because it’s free. Clear as mud.

No, it’s because Kodi is a video player. This is their area of expertise. They’ve been making video players fore 10+ years. Plex’ focus is on streaming and transcoding server side. Different solutions for different needs.

On one of my TV’s, AC3 videos freeze after a few seconds then the video plays slow, audio plays normal but out of sync.
Using the same box and video on my other TV it worked fine.
Would it help if I provided logs for both?
Also thank you for all your hard work!

@MatrixPortal said:

@MovieFan.Plex said:

@Zekesdad said:

@Andrroid said:
Plex could either build a custom player (unlikely to happen) or Xiaomi would need to fix their decoder

That makes sense. Of course Plex can’t do it, they charge for their product. Kodi can because it’s free. Clear as mud.

No, it’s because Kodi is a video player. This is their area of expertise. They’ve been making video players fore 10+ years. Plex’ focus is on streaming and transcoding server side. Different solutions for different needs.

On one of my TV’s, AC3 videos freeze after a few seconds then the video plays slow, audio plays normal but out of sync.
Using the same box and video on my other TV it worked fine.
Would it help if I provided logs for both?
Also thank you for all your hard work!

This is with the official Android TV Mi Box?

I would definitely post logs from both if so. Would be interesting to see what is different.

@Andrroid said:

@MatrixPortal said:

@MovieFan.Plex said:

@Zekesdad said:

@Andrroid said:
Plex could either build a custom player (unlikely to happen) or Xiaomi would need to fix their decoder

That makes sense. Of course Plex can’t do it, they charge for their product. Kodi can because it’s free. Clear as mud.

No, it’s because Kodi is a video player. This is their area of expertise. They’ve been making video players fore 10+ years. Plex’ focus is on streaming and transcoding server side. Different solutions for different needs.

On one of my TV’s, AC3 videos freeze after a few seconds then the video plays slow, audio plays normal but out of sync.
Using the same box and video on my other TV it worked fine.
Would it help if I provided logs for both?
Also thank you for all your hard work!

This is with the official Android TV Mi Box?

I would definitely post logs from both if so. Would be interesting to see what is different.

Yes it’s the Mi Box MDZ-16-AB which came with coupons in the box.
I’ll try and see if I can consistently replicate it.

@MatrixPortal said:

@Andrroid said:

@MatrixPortal said:

@MovieFan.Plex said:

@Zekesdad said:

@Andrroid said:
Plex could either build a custom player (unlikely to happen) or Xiaomi would need to fix their decoder

That makes sense. Of course Plex can’t do it, they charge for their product. Kodi can because it’s free. Clear as mud.

No, it’s because Kodi is a video player. This is their area of expertise. They’ve been making video players fore 10+ years. Plex’ focus is on streaming and transcoding server side. Different solutions for different needs.

On one of my TV’s, AC3 videos freeze after a few seconds then the video plays slow, audio plays normal but out of sync.
Using the same box and video on my other TV it worked fine.
Would it help if I provided logs for both?
Also thank you for all your hard work!

This is with the official Android TV Mi Box?

I would definitely post logs from both if so. Would be interesting to see what is different.

Yes it’s the Mi Box MDZ-16-AB which came with coupons in the box.
I’ll try and see if I can consistently replicate it.

I would even go so far as to say maybe post the individual TV models as well?

@MatrixPortal

Are you also using a soundbar/AVR as well on either setup?