Skip to content

Mac OS: tello_opencv.go error writing to ffmpeg stdin #521

Open
@emf42

Description

@emf42

Hey, I've been trying to get the tello_opencv.go example working.

The issue is the ffmpeg.StdinPipe() doesn't seem to be a valid pipe.

When the code tries to do ffmpegIn.Write(pkt), it logs the error write |1: broken pipe, causing io.ReadFull(ffmpegOut, buf) to reach EOF.

I'm running MacOS 10.13.4.

The problem might be with the ffmpeg command not properly recognizing that input will be coming from pipe 0 (stdin).
Do different OS need different args formatting for ffmpeg input/output?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions