Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note

FFmpeg opens sockets for STDIN, STDOUT, and STDERR by default. If the STDIN isn’t disabled with -nostdin a background FFmpeg process will stall on socket reads from STDIN and the video will not display.

Looping a file, where the file is named demo.mp4:

Code Block
ffmpeg -re -stream_loop -1 -i demo.mp4 -c copy -f mpegts udp://0.0.0.0:5501

Encoder input:

Code Block
sourceUri: 'udp://192.168.1.101:5501'

Where sourceUri: 'udp://192.168.1.101 is the local IP address of the Encoder and 5501 matches the port from the looping command.

Static image with a timecode (counter, not clock)

...