I have been trying forever and have been unsuccessful in converting an rtmp flv to hls. I can download the stream ok with rtmpdump and save to a file but I don't want to save it to a file. I want down load the stream transcode it to HLS to stream back out into my home network. I have seen many post on the internet about using ffmpeg but have been unable to get it to work. Currently my code looks as follows

ffmpeg.exe -report -i "rtmp://stream.ilive.to:1935/app/_definst_/xoaaohmeuajfeyf.flv" [/http://player.ilive.to/secure_player_ilive_z.swf] [/http://www.ilive.to/view/49959/watch-live-SIC_Noticias-streaming-channel-for-free] -re -qscale 0 -acodec copy -vcodec copy -f HLS rtmp://localhost/live/stream


When this is exexcuted I get the following in the log.
Can somebody point out what might be wrong?
Thanks for any help




ffmpeg started on 2013-11-16 at 13:33:48
Report written to "ffmpeg-20131116-133348.log"
Command line:
ffmpeg.exe -report -i rtmp://stream.ilive.to:1935/app/_definst_/xoaaohmeuajfeyf.flv "[/http://player.ilive.to/secure_player_ilive_z.swf]" "[/http://www.ilive.to/view/49959/watch-live-SIC_Noticias-streaming-channel-for-free]" -re -qscale 0 -acodec copy -vcodec copy -f HLS rtmp://localhost/live/stream
ffmpeg version N-58099-g9244a68 Copyright (c) 2000-2013 the FFmpeg developers
built on Nov 14 2013 18:01:43 with gcc 4.8.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
libavutil 52. 53.100 / 52. 53.100
libavcodec 55. 43.100 / 55. 43.100
libavformat 55. 21.100 / 55. 21.100
libavdevice 55. 5.100 / 55. 5.100
libavfilter 3. 91.100 / 3. 91.100
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 17.104 / 0. 17.104
libpostproc 52. 3.100 / 52. 3.100
Splitting the commandline.
Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'.
Reading option '-i' ... matched as input file with argument 'rtmp://stream.ilive.to:1935/app/_definst_/xoaaohmeuajfeyf.flv'.
Reading option '[/http://player.ilive.to/secure_player_ilive_z.swf]' ... matched as output file.
Reading option '[/http://www.ilive.to/view/49959/watch-live-SIC_Noticias-streaming-channel-for-free]' ... matched as output file.
Reading option '-re' ... matched as option 're' (read input at native frame rate) with argument '1'.
Reading option '-qscale' ... matched as option 'qscale' (use fixed quality scale (VBR)) with argument '0'.
Reading option '-acodec' ... matched as option 'acodec' (force audio codec ('copy' to copy stream)) with argument 'copy'.
Reading option '-vcodec' ... matched as option 'vcodec' (force video codec ('copy' to copy stream)) with argument 'copy'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'HLS'.
Reading option 'rtmp://localhost/live/stream' ... matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option report (generate a report) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input file rtmp://stream.ilive.to:1935/app/_definst_/xoaaohmeuajfeyf.flv.
Successfully parsed a group of options.
Opening an input file: rtmp://stream.ilive.to:1935/app/_definst_/xoaaohmeuajfeyf.flv.
Parsing...
Parsed protocol: 0
Parsed host : stream.ilive.to
Parsed app : app/_definst_
RTMP_Connect1, ... connected, handshaking
HandShake: Type Answer : 03
HandShake: Server Uptime : 96850052
HandShake: FMS Version : 3.0.1.1
HandShake: Handshaking finished....
RTMP_Connect1, handshaked
RTMP_SendPacket: fd=456, size=194
Invoking connect
RTMP_ReadPacket: fd=456
HandleServerBW: server BW = 2500000
RTMP_ReadPacket: fd=456
HandleClientBW: client BW = 2500000 2
RTMP_ReadPacket: fd=456
HandleCtrl, received ctrl. type: 0, len: 6
HandleCtrl, Stream Begin 0
RTMP_ReadPacket: fd=456
HandleChangeChunkSize, received: chunk size change to 512
RTMP_ReadPacket: fd=456
RTMP_ClientPacket, received: invoke 349 bytes
(object begin)
Property: <Name: no-name., STRING: _result>
Property: <Name: no-name., NUMBER: 1.00>
Property: <Name: no-name., OBJECT>
(object begin)
Property: <Name: fmsVer, STRING: FMS/3,5,5,2004>
Property: <Name: capabilities, NUMBER: 31.00>
Property: <Name: mode, NUMBER: 1.00>
(object end)
Property: <Name: no-name., OBJECT>
(object begin)
Property: <Name: level, STRING: status>
Property: <Name: code, STRING: NetConnection.Connect.Success>
Property: <Name: description, STRING: Connection succeeded.>
Property: <Name: data, ECMA_ARRAY>
(object begin)
Property: <Name: version, STRING: 3,5,5,2004>
(object end)
Property: <Name: clientid, NUMBER: 1020912831.00>
Property: <Name: objectEncoding, NUMBER: 0.00>
Property: <Name: secureToken, STRING: 665ef3d44d18c55402c3376df9d93f564e166e222b8b01c9fc 72d2ad5b7d39bfa4ca64de>
(object end)
(object end)
HandleInvoke, server invoking <_result>
HandleInvoke, received result for method call <connect>
RTMP_SendPacket: fd=456, size=4
sending ctrl. type: 0x0003
RTMP_SendPacket: fd=456, size=10
RTMP_SendPacket: fd=456, size=25
Invoking createStream
RTMP_ReadPacket: fd=456
RTMP_ClientPacket, received: invoke 29 bytes
(object begin)
Property: <Name: no-name., STRING: _result>
Property: <Name: no-name., NUMBER: 2.00>
Property: NULL
Property: <Name: no-name., NUMBER: 1.00>
(object end)
HandleInvoke, server invoking <_result>
HandleInvoke, received result for method call <createStream>
SendPlay, seekTime=0, stopTime=0, sending play: xoaaohmeuajfeyf
RTMP_SendPacket: fd=456, size=44
Invoking play
sending ctrl. type: 0x0003
RTMP_SendPacket: fd=456, size=10
RTMP_ReadPacket: fd=456
RTMP_SendPacket: fd=456, size=34
Invoking deleteStream
RTMP_ReadPacket, failed to read RTMP packet header
rtmp://stream.ilive.to:1935/app/_definst_/xoaaohmeuajfeyf.flv: Unknown error occurred