Skip to content

Stream from simulator appears distorted  #867

Open

Description

@Imprayas12

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions