Closed Tinywan closed 7 years ago
same problem... any advice?
exec ffmpeg -i rtmp://127.0.0.1:1935/$app/$name -bsf:v h264_mp4toannexb -c copy -f mpegts https://URL/publish
@TimIsOverpowered Hi! Not ffmpeg flow, but with equipment or push the flow of software, such as: OBS, equipment box
OBS uses rtmp. you can push from OBS > nginx-rtmp > nginx-ts with that code.
@TimIsOverpowered Thank you for your answer! This can be
also: you can push mpegts from obs using the record feature:
Settings -> Output -> set Output Mode to Advanced -> Recording -> Custom Output (FFmpeg) -> FFmpeg Output Type -> Output to URL, File path or URL -> http://yourserver/input_path and Muxer Settings -f mpegts should do the trick.
How to nginx-ts-module push?
http://127.0.0.1:8000/publish/123456
nginx-rtmp-module Push
rtmp://up.quanmin.tv/live/123456