当nginx启动时,我希望ffmpeg能够从nginx自动运行,并为访问我的when服务器的用户提供一个转换的破折号流。
现在我可以去:
http://localhost:18080/dash/twitch.mpd
但为了这个我得跑
rtmp:// -re -i rtmp/twitch -vcodec libx264 -vprofile基准-strict -2 -acodec aac -ar 44100 -ac 2 -f rtmp://localhost:1935/dash/twitch
手动。
发布于 2015-11-11 08:18:11
使用如本教程中所示的exec命令:
http://www.helping-squad.com/transcoding-your-video-with-nginx/
https://serverfault.com/questions/735284
复制相似问题