Giter Club home page Giter Club logo

Comments (19)

christianknauer avatar christianknauer commented on July 17, 2024 11

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!

from uxplay.

MartinPilu avatar MartinPilu commented on July 17, 2024 5

got nvidia card, for me the fix was to remove vaapi
sudo apt-get remove gstreamer1.0-vaapi

from uxplay.

jeremy9959 avatar jeremy9959 commented on July 17, 2024 3

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.

from uxplay.

thalesmaoa avatar thalesmaoa commented on July 17, 2024 1

Yes! I did!

I can get it working now:

  1. Debug using GST_DEBUG=3 ./uxplay
  2. It was claiming of missing H264 plugin.
  3. sudo apt install libdvdnav4 libdvdread4 gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly libdvd-pkg

from uxplay.

scorpi11 avatar scorpi11 commented on July 17, 2024

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.

from uxplay.

malown avatar malown commented on July 17, 2024

Then how do you show the mirror on screen?

from uxplay.

scorpi11 avatar scorpi11 commented on July 17, 2024

It happens automatically as soon as you start screen mirroring.

from uxplay.

malown avatar malown commented on July 17, 2024

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

from uxplay.

riseforrice avatar riseforrice commented on July 17, 2024

same issue here.... I cannot see anything on my ubuntu 20.02, but the log shows everything works fine.

from uxplay.

rcampbel3 avatar rcampbel3 commented on July 17, 2024

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

from uxplay.

wegank avatar wegank commented on July 17, 2024

UxPlay works after installing gst-libav. Tested on Arch.

from uxplay.

nhusung avatar nhusung commented on July 17, 2024

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:

"queue ! decodebin ! videoconvert ! autovideosink name=video_sink sync=false", &error);

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.

from uxplay.

antimof avatar antimof commented on July 17, 2024

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.

from uxplay.

malown avatar malown commented on July 17, 2024

See the comment above this for a fix

from uxplay.

thalesmaoa avatar thalesmaoa commented on July 17, 2024

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:

"queue ! decodebin ! videoconvert ! autovideosink name=video_sink sync=false", &error);

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.

from uxplay.

nhusung avatar nhusung commented on July 17, 2024

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.

from uxplay.

nhusung avatar nhusung commented on July 17, 2024

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.

from uxplay.

jeremy9959 avatar jeremy9959 commented on July 17, 2024

from uxplay.

littlewu2508 avatar littlewu2508 commented on July 17, 2024

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)

from uxplay.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.