使用niginx软件重新流式传输其他流 [英] re-stream other stream with niginx software

查看:151
本文介绍了使用niginx软件重新流式传输其他流的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Goodday everybody,
我有关于Nginx流媒体软件的问题和其他流的重新启动。
我使用nginx来重新流出另一个流(第三方),因为这样我可以从(第三方)流中创建所谓的缩略图,并将其在我自己的网站上流式传输。
拇指的一部分是我都知道的,这部分的重点是我未知的部分。
现在很长的故事。
1.流链接我喜欢的restream是

Goodday everybody, I have question about Nginx streaming software and the resteaming from other streams. I wanne restream another stream (third party) with nginx because this way I wanne create so called thumbs from the (third party) stream and stream it on my own site . The thumbs part is what I all know , the part of the restream is the unkown part for me . Long story short now . 1. The stream link what I like restream is


http://154.57.1​​45.83/flv/5285079c2c9e5/testat123.flv

作为我的网站上的流量,我喜欢它:

As out going stream on my site I wanne have it like :


rtmp://145.44.194.308:1935 /myapp/flv:test.flv

rtmp://145.44.194.308:1935/myapp/flv:test.flv

我发现这样就像在stackoverflow一样,但迄今没有帮助我。 (如何使用nginx重新输入udp直播流rtmp模块?

I have found this like on stackoverflow as well but it haven't help me out so far . (How to restream an udp live stream using nginx rtmp module?)

这是我使用的代码,似乎没有使用。

This is my code what I have used and dont seems to work .

exec_pull ffmpeg -i
http://154.57 .145.83 / flv / 5285079c2c9e5 / testat123.flv -c:v libx264 -c:a
libfaac -ar 44100 -ac 2 -f flv rtmp://145.44.194.308:1935 / myapp / test ;

exec_pull ffmpeg -i http://154.57.145.83/flv/5285079c2c9e5/testat123.flv -c:v libx264 -c:a libfaac -ar 44100 -ac 2 -f flv rtmp://145.44.194.308:1935/myapp/test;

所以我希望有人可以帮助我,因为我认为其他人也会喜欢做同样的事情

So I hope someone here can help me out because I think other people will like to do same thing as well

为了让自己变得美好的一天,

Greatings and have yourself an great day

推荐答案

那个wanne也使用它

I have found the anwers for someone that wanne use it as well


exec_pull ffmpeg -re -i
http://154.57.1​​45.83/flv/5285079c2c9e5/testat123.flv -c:a libmp3lame
-ar 44100 -ac 1 -f flv rtmp:/ /415.493.196.188:1935/myapp/test 2 >> / tmp / log / ffmpeg.log;

exec_pull ffmpeg -re -i http://154.57.145.83/flv/5285079c2c9e5/testat123.flv -c:a libmp3lame -ar 44100 -ac 1 -f flv rtmp://415.493.196.188:1935/myapp/test 2>>/tmp/log/ffmpeg.log;

这篇关于使用niginx软件重新流式传输其他流的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆