justin.tv

How to get a video stream from an RTMP server to Android?

馋奶兔 提交于 2019-12-25 04:38:24
问题 I want to implement streaming from an RTMP server. For example, below is the link of an RTMP server. http://usher.justin.tv/find/CHANNELNAME.json?type=any And want to do streaming of it. I found one way: It is connected to a SWF file on a Twitch server (it is too slow) ... How do I convert it to VideoView from rtmp:// to avoid using the Twitch API? Answer after request: [ {"node": "video10-2.arn01", "needed_info": "","play": "jtv_FO2coLXGNLzCXtvR","meta_game": "Diablo III: Reaper of Souls",

FFmpeg Live Stream - Loop Video?

ⅰ亾dé卋堺 提交于 2019-12-10 13:29:24
问题 I am trying to stream a video loop to justin.tv using FFmpeg? I have managed to loop an image sequence and combine it with line in audio: ffmpeg -loop 1 -i imageSequence%04d.jpg -f alsa -ac 2 -ar 22050 -ab 64k \ -i pulse -acodec adpcm_swf -r 10 -vcodec flv \ -f flv rtmp://live.justin.tv/app/<yourStreamKeyHere> Is it possible to do this with a video file? 回答1: Definitely possible. In the recent versions of ffmpeg they have added a -stream_loop flag that allows you to loop the input as many