Replies: 1 comment
-
Disregard. I used my brain and found a way to simply re-stream using FFMPEG w/o re-encoding. Stupid... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It's easy to loop an MP4 file and re-stream it towards MediaMTX. This is perfect for test scenarios. The input to MediaMTX doesn't change over time and so outputs don't either. The drawback of this solution is a high system load due to the re-encoding done by FFMPEG
This is not that easy to achieve using GStreamer, since GST has no loop capability. Letting the pipeline run to EOS and try to REWIND does always lead to a disconnection of the output towards MediaMTX. I also tried to work with appsrc and read the MP4 from disk - same result.
Long speech short: I couldn't find a way to loop an MP4 to MediaMTX. Does anybody have a hint, how this could be achieved? Please no re-encoding. I'm conviced it will work with re-encoding, since this is what FFMPEG does
Beta Was this translation helpful? Give feedback.
All reactions