Open s60sc opened 4 months ago
SRT not supported. What you are viewing? Is it usual TV?
Streams generated by an ESP32, viewed on the go2rtc built in player for testing. ChatGPT indicates ffmpeg can combine SRT and video eg
ffmpeg -i http://path_to_video_stream -i http://path_to_subtitle_stream -c:v copy -c:a copy -c:s mov_text
but how to incorporate this into the yaml file if possible.
Thanks.
What is inside your SRT? Is it some real time information?
At this stage just a series of timestamps
1
00:00:00 --> 00:00:01
17:58:52
2
00:00:01 --> 00:00:02
17:58:53
would something like:
- exec:ffmpeg -i http://192.168.1.135/sustain?stream=1 -i http://192.168.1.135/sustain?srt=3 -c:v copy -c:a copy -c:s mov_text
be in the right direction, but how to direct it to the go2rtc player as a h264 stream
Once again. For now go2rtc doesn't support any subtitles. Because I haven't seen any point to support them for real time tasks. I thought you were going to tell me some interesting reason to support them. But so far, I don't see one :)
Fair enough, thanks for your time. Actually it would have been useful for treal time sensor telemetry data,
I haven't see useful software, that can generate subtitles in real time. For example voice recognition. Or even telemetry data from some sensors.
This would be a great feature 👍
That's a pretty big task. Need to add a new entity - text. I'll hold off until a better time.
Given the yaml file below, how to overlay a subtitle stream in SRT format from
http://192.168.1.135/sustain?srt=3
Thanks