Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fresh ubuntu 24.04 install but no video #169

Open
sms-ebarbeito opened this issue Sep 3, 2024 · 4 comments
Open

fresh ubuntu 24.04 install but no video #169

sms-ebarbeito opened this issue Sep 3, 2024 · 4 comments

Comments

@sms-ebarbeito
Copy link

Hello, I've installed an ubuntu 24.04 on a new laptop ( 13th gen i7 raptor lake)
and getting this when start streaming from the ios
sound wotks fine but I can't see screen window (i think a pop up window must opens when stream starts)

$ GST_DEBUG=3 uxplay
UxPlay 1.68: An Open-Source AirPlay mirroring and audio-streaming server.
0:00:00.079598692  5028 0x7e68f8000b70 FIXME                default gstutils.c:4088:gst_element_decorate_stream_id_internal:<video_source> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
using system MAC address fc:5c:ee:aa:eb:34
Initialized server socket(s)
Accepted IPv4 client on socket 395
Local: 10.10.10.8
Remote: 10.10.10.202
connection request from iPhoneT (iPhone12,3) with deviceID = F8:4E:73:65:81:BB

Client identified as User-Agent: AirPlay/775.3.1
Accepted IPv4 client on socket 397
Local: 10.10.10.8
Remote: 10.10.10.202
raop_rtp_mirror starting mirroring
Begin streaming to GStreamer video pipeline
0:00:07.781376234  5028 0x7e68f8000e80 WARN               h264parse gsth264parse.c:1529:gst_h264_parse_handle_frame:<h264parse0> broken/invalid nal Type: 1 Slice, Size: 2448 will be dropped
0:00:07.833355618  5028 0x7e68f8000e80 WARN               h264parse gsth264parse.c:1529:gst_h264_parse_handle_frame:<h264parse0> broken/invalid nal Type: 1 Slice, Size: 3834 will be dropped
0:00:07.850309489  5028 0x7e68f8000e80 WARN               h264parse gsth264parse.c:1529:gst_h264_parse_handle_frame:<h264parse0> broken/invalid nal Type: 1 Slice, Size: 4195 will be dropped
0:00:07.877408458  5028 0x7e68f8000e80 WARN               h264parse gsth264parse.c:1529:gst_h264_parse_handle_frame:<h264parse0> broken/invalid nal Type: 1 Slice, Size: 7209 will be dropped
0:00:07.930932908  5028 0x7e68f8000e80 WARN               h264parse gsth264parse.c:1529:gst_h264_parse_handle_frame:<h264parse0> broken/invalid nal Type: 1 Slice, Size: 5707 will be dropped
0:00:07.948142271  5028 0x7e68f8000e80 WARN               h264parse gsth264parse.c:1529:gst_h264_parse_handle_frame:<h264parse0> broken/invalid nal Type: 1 Slice, Size: 5355 will be dropped

What could I miss?

Thanks

@sms-ebarbeito
Copy link
Author

I fixed it removing the apt pakage and compiling from the repo using:

sudo apt install libssl-dev libplist-dev". (unless you need to build OpenSSL and libplist from source).
sudo apt install libavahi-compat-libdnssd-dev
sudo apt install libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev
mkdir build; cd build; cmake ..
cd ..
make
sudo make install

@georgepadayatti
Copy link

georgepadayatti commented Sep 14, 2024

mkdir build; cd build; cmake ..

Did the same, video is not coming through. Using iOS 17.4.1.

Traceback for reference:

Client identified as User-Agent: AirPlay/760.20.1
raop_rtp_mirror starting mirroring
Begin streaming to GStreamer video pipeline
0:00:06.605977697 44631 0x7f4d54080640 WARN             xvimagepool xvimagepool.c:159:xvimage_buffer_pool_set_config:<xvimagebufferpool0> different size, stride and/or offset, update
0:00:06.610251728 44631 0x7f4d54080640 WARN             xvimagepool xvimagepool.c:159:xvimage_buffer_pool_set_config:<xvimagebufferpool1> different size, stride and/or offset, update
0:00:06.612850581 44631 0x7f4d54080640 WARN             xvimagepool xvimagepool.c:159:xvimage_buffer_pool_set_config:<xvimagebufferpool2> different size, stride and/or offset, update
0:00:06.613052016 44631 0x7f4d54080640 ERROR       vaapivideomemory gstvaapivideomemory.c:254:map_vaapi_memory: failed to make image current
0:00:06.613079155 44631 0x7f4d54080640 ERROR                default video-frame.c:168:gst_video_frame_map_id: failed to map video frame plane 0
0:00:06.613089750 44631 0x7f4d54080640 WARN             xvimagesink xvimagesink.c:1038:gst_xv_image_sink_show_frame:<autovideosink0-actual-sink-xvimage> could not map image
0:00:06.613590982 44631 0x559090e21000 WARN            videodecoder gstvideodecoder.c:3670:gst_video_decoder_clip_and_push_buf:<vaapidecode0> Dropping frame due to QoS. start:0:00:06.488792329 deadline:0:00:06.488792329 earliest_time:0:00:06.546743423

*** X11 Windows: Use key F11 or (left Alt)+Enter to toggle full-screen mode

0:00:06.636124510 44631 0x559090e21000 WARN            videodecoder gstvideodecoder.c:3670:gst_video_decoder_clip_and_push_buf:<vaapidecode0> Dropping frame due to QoS. start:0:00:06.522124579 deadline:0:00:06.522124579 earliest_time:0:00:06.546743423
0:00:06.793313370 44631 0x559090e21000 WARN            videodecoder gstvideodecoder.c:3670:gst_video_decoder_clip_and_push_buf:<vaapidecode0> Dropping frame due to QoS. start:0:00:06.588789037 deadline:0:00:06.588789037 earliest_time:0:00:06.772066104
0:00:06.793862953 44631 0x559090e21000 WARN            videodecoder gstvideodecoder.c:3670:gst_video_decoder_clip_and_push_buf:<vaapidecode0> Dropping frame due to QoS. start:0:00:06.622121079 deadline:0:00:06.622121079 earliest_time:0:00:06.772066104
0:00:06.794010186 44631 0x559090e21000 WARN            videodecoder gstvideodecoder.c:3670:gst_video_decoder_clip_and_push_buf:<vaapidecode0> Dropping frame due to QoS. start:0:00:06.655453162 deadline:0:00:06.655453162 earliest_time:0:00:06.772066104
0:00:06.853496931 44631 0x559090e21000 WARN            videodecoder gstvideodecoder.c:3670:gst_video_decoder_clip_and_push_buf:<vaapidecode0> Dropping frame due to QoS. start:0:00:06.688785287 deadline:0:00:06.688785287 earliest_time:0:00:06.772066104
0:00:06.889046568 44631 0x559090e21000 WARN            videodecoder gstvideodecoder.c:3670:gst_video_decoder_clip_and_push_buf:<vaapidecode0> Dropping frame due to QoS. start:0:00:06.722118621 deadline:0:00:06.722118621 earliest_time:0:00:06.772066104
0:00:06.921193686 44631 0x559090e21000 WARN            videodecoder gstvideodecoder.c:3670:gst_video_decoder_clip_and_push_buf:<vaapidecode0> Dropping frame due to QoS. start:0:00:06.755451954 deadline:0:00:06.755451954 earliest_time:0:00:06.772066104
0:00:06.963866591 44631 0x7f4d54080640 ERROR       vaapivideomemory gstvaapivideomemory.c:254:map_vaapi_memory: failed to make image current
0:00:06.963941472 44631 0x7f4d54080640 ERROR                default video-frame.c:168:gst_video_frame_map_id: failed to map video frame plane 0
0:00:06.963973947 44631 0x7f4d54080640 WARN             xvimagesink xvimagesink.c:1038:gst_xv_image_sink_show_frame:<autovideosink0-actual-sink-xvimage> could not map image
0:00:07.094181373 44631 0x559090e21000 WARN            videodecoder gstvideodecoder.c:3670:gst_video_decoder_clip_and_push_buf:<vaapidecode0> Dropping frame due to QoS. start:0:00:06.822118621 deadline:0:00:06.822118621 earliest_time:0:00:06.880790721
0:00:07.094353292 44631 0x7f4d54080640 ERROR       vaapivideomemory gstvaapivideomemory.c:254:map_vaapi_memory: failed to make image current
0:00:07.094363798 44631 0x7f4d54080640 ERROR                default video-frame.c:168:gst_video_frame_map_id: failed to map video frame plane 0
0:00:07.094370268 44631 0x7f4d54080640 WARN             xvimagesink xvimagesink.c:1038:gst_xv_image_sink_show_frame:<autovideosink0-actual-sink-xvimage> could not map image

@fduncanh
Copy link
Contributor

fduncanh commented Sep 15, 2024

@georgepadayatti

EDIT see #166

@georgepadayatti
Copy link

@georgepadayatti

EDIT see #166

Thanks for the reply, will raise an issue in the appropriate repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants