Closed malown closed 4 years ago
I successfully compiled the program, got it running and connected my iPhone. However I can't find any info on how to watch the stream. Some additional steps on how to use the program in the README would be useful
uxplay only works as a screen mirror, not like a general AirPlay video sink. For the latter, there is no free software as far as I know.
Then how do you show the mirror on screen?
It happens automatically as soon as you start screen mirroring.
Oh, then it must be a bug, because I don‘t see anything. The program just says that a device connected and the iPhone shows that it is mirroring the screen
same issue here.... I cannot see anything on my ubuntu 20.02, but the log shows everything works fine.
same issue on Ubuntu Studio 19.10... compiles fine, I start it, can connect, I see messages about connection, but no video
**UPDATE: after I rebooted, upgraded my apps, and changed window managers and tried again, UxPlay worked! Awesome
UxPlay works after installing gst-libav. Tested on Arch.
I had some trouble getting this work, too. I’m using Ubuntu 20.04 with nvidia drivers and somehow the autovideosink
does not show any output. However, glimagesink
is working fine for me. So I simply changed it here:
I guess this issue is more related to the gstreamer/system graphics configuration than this application. But my solution might be a ‘temporary’ fix for others, too.
Yes, there's a problem with Nvidia nvdec and decodebin. Comparing to other HW accelerated decoders like VAAPI, decodebin cant corectly hadle nvdec and autovideosink combination. The only way to go is to add glimagesink to gstreamer pipelene manualy, as you did.
Building was flawless, but for me no output was shown on a Lenovo X1 Carbon (Intel UHD 620) running Ubuntu 20 until I installed all of gstreamer as described, e.g., on https://gstreamer.freedesktop.org/documentation/installing/on-linux.html?gi-language=c
Now everything works as advertised. Great work, much appreciated!
See the comment above this for a fix
I had some trouble getting this work, too. I’m using Ubuntu 20.04 with nvidia drivers and somehow the
autovideosink
does not show any output. However,glimagesink
is working fine for me. So I simply changed it here:I guess this issue is more related to the gstreamer/system graphics configuration than this application. But my solution might be a ‘temporary’ fix for others, too.
I did as you suggested:
"queue ! decodebin ! videoconvert ! glimagesink name=video_sink sync=false", &error);
But I get no output window.
But I get no output window.
Did you start the screen sharing on your mobile device? At least in my setup the window does not appear until then.
Yes! I did!
I can get it working now:
GST_DEBUG=3 ./uxplay
sudo apt install libdvdnav4 libdvdread4 gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly libdvd-pkg
I made the glimagesink change as above, and I get a window mirroring my iphone, but the graphics are garbled. I do have an NVIDIA video card in this machine.
I made the glimagesink change as above, and I get a window mirroring my iphone, but the graphics are garbled. I do have an NVIDIA video card in this machine.
I experienced some artifacts directly after establishing the connection as well. For me, it helped to rotate my iPad back and forth once as each rotation changes the resolution of the video stream. After that, everything worked reliably.
No luck, alas.
-- Jeremy Teitelbaum, Ph.D. Professor of Mathematics University of Connecticut 341 Mansfield Road U-1009 Storrs, Connecticut 06269-1009 jeremy.teitelbaum@uconn.edu http://teitelbaum.math.uconn.edu
From: Nils Husung notifications@github.com Sent: Tuesday, August 18, 2020 12:50 AM To: antimof/UxPlay UxPlay@noreply.github.com Cc: Teitelbaum, Jeremy jeremy.teitelbaum@uconn.edu; Comment comment@noreply.github.com Subject: Re: [antimof/UxPlay] How to watch the stream? (#2)
Message sent from a system outside of UConn.
I made the glimagesink change as above, and I get a window mirroring my iphone, but the graphics are garbled. I do have an NVIDIA video card in this machine.
I experienced some artifacts directly after establishing the connection as well. For me, it helped to rotate my iPad back and forth once as each rotation changes the resolution of the video stream. After that, everything worked reliably.
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fantimof%2FUxPlay%2Fissues%2F2%23issuecomment-675247219&data=02%7C01%7Cjeremy.teitelbaum%40uconn.edu%7C3dcf746922074d4cefbf08d843322f50%7C17f1a87e2a254eaab9df9d439034b080%7C0%7C0%7C637333230115921933&sdata=0mllEUDiJnEafxpYKpgIBsb8ywfdaViQpyt89G36tPc%3D&reserved=0, or unsubscribehttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FACZK4KOZ5QBMGDDWVT2NNFTSBICADANCNFSM4MNNFLSA&data=02%7C01%7Cjeremy.teitelbaum%40uconn.edu%7C3dcf746922074d4cefbf08d843322f50%7C17f1a87e2a254eaab9df9d439034b080%7C0%7C0%7C637333230115921933&sdata=JEwnFzJNc6sqTEG4rGJ09r%2FQ9lEPrhptcviMRCYfWb4%3D&reserved=0.
I'm using kUbuntu 20.10 (groovy, development); one month ago everything about uxplay goes fine after sudo apt install libdvdnav4 libdvdread4 gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly libdvd-pkg
, but recently some packages updated, and uxplay cannot display the stream. Also libdvdread4 has no installation candidate
Here's my package versions of libdvd* :
ii libdvd-pkg 1.4.2-1-1 all DVD-Video playing library - installer
ii libdvdcss-dev:amd64 1.4.2-1~local amd64 library for accessing encrypted DVDs - development files
ii libdvdcss2:amd64 1.4.2-1~local amd64 library for accessing encrypted DVDs
ii libdvdnav4:amd64 6.1.0-1build1 amd64 DVD navigation library
ii libdvdread-dev:amd64 6.1.1-2 amd64 library for reading DVDs (development)
got nvidia card, for me the fix was to remove vaapi
sudo apt-get remove gstreamer1.0-vaapi
I successfully compiled the program, got it running and connected my iPhone. However I can't find any info on how to watch the stream. Some additional steps on how to use the program in the README would be useful