Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I do not know if it possible or not cause i'm very newbie to ffmpeg

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

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"

so can it be possible to re-stream using ffmpeg

~Thanks

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
157 views
Welcome To Ask or Share your Answers For Others

1 Answer

you can re stream any http link to rtmp link using this

ffmpeg -i http://link.com:8001/1.ch -ar 44100 -vcodec libx264 -r 25 -b:v 500k -f flv rtmp://yourvpsDNS:1935/live/comedy;

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...