[FFmpeg-user] Help With rtmp for ffmpeg

桃源老師 xanadu6291 at dream.jp
Mon Dec 21 10:40:22 CET 2015


> 2015/12/21 1:41A.M. wi Nur Arifin <wikieonline <at> gmail.com> wrote:
> 
> Hello Guys,
> 
> I have problem with this script
> 
> ffmpeg -i rtmp://80.82.64.38/live<playpath>luxsuperss2 <swfUrl>http://www.yocast.tv/myplayer/jwplayer.flash.swf \<pageUrl>http://www.yocast.tv/embed.php?live=luxsuperss2&vw=620&vh=490 -c copy test.mp4
> 
> 
> why I can’t see test.mp4 and I get some error message.
> 
> anyone can help me?

I now figured out how to watch this stream with ffplay:

ffplay \
-i "rtmp://89.248.163.3/live" \
-rtmp_live "1" \
-rtmp_playpath "luxsuperss2" \
-rtmp_swfurl "http://www.yocast.tv/myplayer/jwplayer.flash.swf" \
-rtmp_pageurl "http://www.yocast.tv/embed.php?live=luxsuperss2&vw=650&vh=450"


But I can't record this stream with ffmpeg.  Does your problem same with me?

My ffmpeg command is:

ffmpeg \
-i "rtmp://89.248.163.3/live" \
-rtmp_live "1" \
-rtmp_playpath "luxsuperss2" \
-rtmp_swfurl "http://www.yocast.tv/myplayer/jwplayer.flash.swf" \
-rtmp_pageurl "http://www.yocast.tv/embed.php?live=luxsuperss2&vw=650&vh=450" \
-f flv \
-t 60 \
test.flv

The error I got with ffmpeg is:

rtmp server sent error
rtmp server requested close
rtmp://89.248.163.3/live: Unknown error occurred


Best Regards,

// Miya
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3577 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20151221/69775b15/attachment.bin>


More information about the ffmpeg-user mailing list