FD- / RPiPlay

An open-source AirPlay mirroring server for the Raspberry Pi. Supports iOS 9 and up.
GNU General Public License v3.0
4.91k stars 355 forks source link

Decoding artifacts when using gstreamer #240

Closed gamelaster closed 3 years ago

gamelaster commented 3 years ago

image

OS: Ubuntu 20.04 (x86_64, virtual machine) Phone: iPhone 7 (iOS 14)

For some reason, when using gstreamer, I have those artifacts. It looks like pixel format or width & height of received data is somehow broken. This also might be issue because of Virtual Machine, although, hard to say. Will investigate more later.

dougg3 commented 3 years ago

I actually ran into this problem as well and wrote a blog post about it. It’s a problem with VMware’s Xorg plugin, which is also used by VirtualBox in certain conditions. I submitted a patch but it hasn’t been accepted yet.

gamelaster commented 3 years ago

@dougg3 wow, really amazing work finding out what is the issue! 😊

Well, since it looks like it's Xorg issue, let's close this.

Thanks

FD- commented 3 years ago

Thanks @dougg3! Really impressive work you did there!

dougg3 commented 3 years ago

Thanks! My patch seems kind of stuck in limbo, I’m not sure if the VMware plugin has a maintainer right now. For now you could hack the code to use glimagesink instead of autovideosink and it should work better.