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

Stream from simulator appears distorted #867

Open
Imprayas12 opened this issue Jul 26, 2024 · 0 comments
Open

Stream from simulator appears distorted #867

Imprayas12 opened this issue Jul 26, 2024 · 0 comments

Comments

@Imprayas12
Copy link

Imprayas12 commented Jul 26, 2024

Description

The iOS simulator stream encoded by ffmpeg and played by VLC appears distorted. I need to automate IOS device and view it live inside my application but the stream appears distorted when displayed.

Reproduction

Start an idb companion on grpc port 10082.

idb_companion --udid 48DC4B33-CF71-42EA-BED9-5461FF48EF3C --grpc-port 10082

After that start a stream for iphone 15 simulator piped to be played by VLC via ffmpeg.

idb --companion localhost:10082 video-stream --format rbga --fps 6 --udid 48DC4B33-CF71-42EA-BED9-5461FF48EF3C | ffmpeg -f rawvideo -pix_fmt rgba -s 1178x2556 -r 6 -i - -vcodec libx264 -tune zerolatency -f mpegts - | vlc - --network-caching=1000

Expected Behaviour

A visual stream like this.

Screenshot 2024-07-26 at 3 13 14 PM

Current Behaviour

Screenshot 2024-07-26 at 3 03 41 PM
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

1 participant