YueChen-C / ios-screen-record

About A python based Apple Quicktime protocol,you can record audio and video from real iOS devices
MIT License
202 stars 42 forks source link

udp play error #10

Open donmezburak opened 2 years ago

donmezburak commented 2 years ago

Hi,

I have encountered an error while trying to play udp:

command:

ffplay -f h264 udp://127.0.0.1:8880

The output :

[NULL @ 0x7fdb6603be00] non-existing PPS 0 referenced [h264 @ 0x7fdb6a017e00] non-existing PPS 0 referenced [h264 @ 0x7fdb6a017e00] decode_slice_header error [h264 @ 0x7fdb6a017e00] no frame! [NULL @ 0x7fdb6603be00] non-existing PPS 0 referenced 0B f=0/0 [h264 @ 0x7fdb6a018400] non-existing PPS 0 referenced [h264 @ 0x7fdb6a018400] decode_slice_header error [h264 @ 0x7fdb6a018400] no frame! [NULL @ 0x7fdb6603be00] non-existing PPS 0 referenced 0B f=0/0 [h264 @ 0x7fdb6a018a00] non-existing PPS 0 referenced [h264 @ 0x7fdb6a018a00] decode_slice_header error [h264 @ 0x7fdb6a018a00] no frame! [NULL @ 0x7fdb6603be00] non-existing PPS 0 referenced [h264 @ 0x7fdb6a019000] non-existing PPS 0 referenced [h264 @ 0x7fdb6a019000] decode_slice_header error [h264 @ 0x7fdb6a019000] no frame! [NULL @ 0x7fdb6603be00] non-existing PPS 0 referenced [h264 @ 0x7fdb6a019600] non-existing PPS 0 referenced [h264 @ 0x7fdb6a019600] decode_slice_header error [h264 @ 0x7fdb6a019600] no frame!

Thanks

YueChen-C commented 2 years ago

This command is only used for testing and is not recommended. Because UDP has video delay

When testing, you need to start ffplay first and then ioscreen

donmezburak commented 2 years ago

I want to stream the video to website ? which command or which method do you suggest to do ?