antimof / UxPlay

AirPlay Unix mirroring server
GNU General Public License v3.0
1.36k stars 186 forks source link

How to install decoder? #10

Closed TheFern2 closed 4 years ago

TheFern2 commented 4 years ago

If I run uxplay on debug mode, I can see I am missing decoder H.264. I am not sure what to install this decoder, any help is appreciated.

Running Kubuntu 20.04.

Local: 192.168.0.42
Remote: 192.168.0.23
raop_ntp receive timeout
Accepted IPv4 client on socket 30
Local: 192.168.0.42
Remote: 192.168.0.23
raop_rtp_mirror starting mirroring
0:00:06.155987905 99303 0x5649749049e0 WARN               decodebin gstdecodebin2.c:4678:gst_decode_bin_expose:<decodebin0> error: no suitable plugins found:
Missing decoder: H.264 (video/x-h264, stream-format=(string)byte-stream)

0:00:06.195054795 99303 0x564974904a40 WARN                 basesrc gstbasesrc.c:3072:gst_base_src_loop:<video_source> error: Internal data stream error.
0:00:06.195096021 99303 0x564974904a40 WARN                 basesrc gstbasesrc.c:3072:gst_base_src_loop:<video_source> error: streaming stopped, reason not-linked (-1)
0:00:06.195189951 99303 0x564974904a40 WARN                   queue gstqueue.c:988:gst_queue_handle_sink_event:<queue0> error: Internal data stream error.
0:00:06.195210395 99303 0x564974904a40 WARN                   queue gstqueue.c:988:gst_queue_handle_sink_event:<queue0> error: streaming stopped, reason not-linked (-1)
TheFern2 commented 4 years ago

Ok, so I fixed the issue by actually installing gstreamer packages. Probably a good idea to add some of these instructions for people unfamiliar with gstreamer.

http://lifestyletransfer.com/how-to-install-gstreamer-on-ubuntu/