Stream to server
Added by Chris Koster over 3 years ago
Hi,
The following docker image, https://hub.docker.com/r/alqutami/rtmp-hls, is running on my server which I would like to use to convert/transcode tvh streams to hls. I can't figure out how to send the stream to my server. The server accepts an url with the stream as input. Eg: rtmp://<server ip>/live/<stream_key> Where stream key would be the TVH channel play url I guess.
Can anybody point me in the right direction how to export the stream/url to my server? I think spawn/pipe might be a solution but I can't find the right syntax for my use case.
Thanks!
Replies (3)
RE: Stream to server - Added by saen acro over 3 years ago
Wrong way
TVH do not stream in RTMP format, it use HTTP-TS
RE: Stream to server - Added by clint jones about 3 years ago
If it's a television signal try tapping the adapter directly
cvlc -vvv atsc://frequency=57000 :dvb-adapter=0 :dvb-srate=0 :dvb-modulation=8VSB --programs=6 --sout '#standard{access=http,mux=ts,dst=192.168.1.201:32003}'
then you can catch the output on the ip and port in a ts format (or change the format if you like)
clint
RE: Stream to server - Added by Chris Koster about 3 years ago
Ooooh I like this. Going to try this for sure, thanks.