arut / nginx-rtmp-module

NGINX-based Media Streaming Server
http://nginx-rtmp.blogspot.com
BSD 2-Clause "Simplified" License
13.34k stars 3.5k forks source link

VOD application with transcoding #1004

Open vasictech opened 7 years ago

vasictech commented 7 years ago

Is it possible for vod application to transcode video on the fly? For example I would like to stream vob file, so if I open:

rtmp://localhost/vod/example.vob

nginx automatically transcodes vob file to mp4 and I can stream it in html5 player?

fredleger commented 7 years ago

you can use a exec_push ffmpeg as instructed in the wiki to transcode it "on the fly". It will of course induce some latency because you "transcode" it