使用ffmpeg如何重播 [英] Using ffmpeg how to restream
问题描述
我不知道是否有可能导致我非常新手 ffmpeg
I do not know if it possible or not cause i'm very newbie to ffmpeg
假设我的电视频道流媒体链接可使用 vlc
插件在Firefox中查看
suppose i've TV channel streaming link works with vlc
plug-in to view it in firefox
$link = "http://www.my_site.com:13306"; // this is streaming tv channel link
现在通过使用 ffmpeg
,我想知道是否可以对其进行重新流传输并将其捕获为 .flv
,以便我可以使用 jwplayer 重新对其进行流式传输代码>
Now by using ffmpeg
i wonder if i can re-stream it and capture it as .flv
so i can re-stream it using jwplayer
如果与此命令相反,我的意思是
What i mean if the opposite of this command
ffmpeg -re -y -i "Video.mp4" -c:v libx264 -b:v 600k -r 25 -s 640x360 -t 40 -vf yadif -b:a 64k -ac 1 -ar 44100 -f flv "http://www.my_site.com:13306"
因此可以使用 ffmpeg
〜谢谢
推荐答案
是的,可以使用ffmpeg捕获(非受保护的)流.一旦将其放在磁盘上,您就可以使用它进行任何操作.
Yes it is possible to capture a (non protected) stream using ffmpeg. Once it is on your disk, you can do anything you want with it.
根据内容,重新广播可能是非法的.
Depending on the content, rebroadcasting it could be illegal however.
这篇关于使用ffmpeg如何重播的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!