Skip to content

UDP/MPEGTS stream to a remote system works with FFMPEG but not with MediaMTX #4187

Open
@ozan1318

Description

@ozan1318

Which version are you using?

1.11.1

Which operating system are you using?

Linux amd64 standard

Describe how to replicate the issue

  1. Run the following ssh command on a Linux system with MediaMTX: /[MediaServerDirectory]/mediaserver/ffmpeg-6.1-amd64-static/ffmpeg -re -stream_loop -1 -i '/home/tester/Videos/NBA.mp4' -c:v copy -an -f mpegts udp://[remoteIP]:[Port]?pkt_size=1316
  2. Open VLC on the remote system the stream was targeted to. The stream will work without issue. (I used Win10 with VLC 3.0.18)
  3. Copy the same command to the RunOnDemand section of mediamtx.yml
  4. Open VLC again, and open the same network stream. The stream will load forever or show a black screen

Server logs

No response

Network dump

No response

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