[FFmpeg-user] HLS to FTP

Yaniv Sharon yaniv.sharon at gmail.com
Wed Aug 10 22:07:37 EEST 2016


Sure Moritz.

I just removed the " size=N/A time=00:01:06.31 bitrate=N/A speed=1.22x  " lines, and another account details...
Broadcast is working, except the errors... 

I REALLY hope that that’s what you asked for ;-)

Here it is:

ffmpeg started on 2016-08-10 at 19:44:58
Report written to "ffmpeg-20160810-194458.log"
Command line:
ffmpeg -report -loglevel error -stream_loop -1 -i http://ICECAST aac stream -c:a copy -hls_time 30 -hls_list_size 3 -hls_wrap 0 -start_number 0 -hls_allow_cache 0 -segment_list_flags +live -hls_flags delete_segments ftp://me:pass@ftp.mydomain.com:21/stream/segments2/segment_2_.m3u8

ffmpeg version N-81192-g04da20e Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 5.4.0 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-libebur128 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
  libavutil      55. 28.100 / 55. 28.100
  libavcodec     57. 51.100 / 57. 51.100
  libavformat    57. 44.100 / 57. 44.100
  libavdevice    57.  0.102 / 57.  0.102
  libavfilter     6. 49.100 /  6. 49.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
  libpostproc    54.  0.100 / 54.  0.100
Splitting the commandline.
Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'error'.
Reading option '-stream_loop' ... matched as option 'stream_loop' (set number of times input stream shall be looped) with argument '-1'.
Reading option '-i' ... matched as input file with argument 'http://ICECAST aac stream'.
Reading option '-c:a' ... matched as option 'c' (codec name) with argument 'copy'.
Reading option '-hls_time' ... matched as AVOption 'hls_time' with argument '30'.
Reading option '-hls_list_size' ... matched as AVOption 'hls_list_size' with argument '3'.
Reading option '-hls_wrap' ... matched as AVOption 'hls_wrap' with argument '0'.
Reading option '-start_number' ... matched as AVOption 'start_number' with argument '0'.
Reading option '-hls_allow_cache' ... matched as AVOption 'hls_allow_cache' with argument '0'.
Reading option '-segment_list_flags' ... matched as AVOption 'segment_list_flags' with argument '+live'.
Reading option '-hls_flags' ... matched as AVOption 'hls_flags' with argument 'delete_segments'.
Reading option 'ftp://me:pass@ftp.mydomain.com:21/stream/segments2/segment_2_.m3u8' ... matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option report (generate a report) with argument 1.
Applying option loglevel (set logging level) with argument error.
Successfully parsed a group of options.
Parsing a group of options: input file http://ICECAST aac stream.
Applying option stream_loop (set number of times input stream shall be looped) with argument -1.
Successfully parsed a group of options.
Opening an input file: http://ICECAST aac stream.
[http @ 00000000004a2e80] Setting default whitelist 'http,https,tls,rtp,tcp,udp,crypto,httpproxy'
[http @ 00000000004a2e80] request: GET /stream2 HTTP/1.1

User-Agent: Lavf/57.44.100

Accept: */*

Range: bytes=0-

Connection: close

Host: server2.myotherdomain.com

Icy-MetaData: 1




[http @ 00000000004a2e80] request: GET /stream2/ HTTP/1.1

User-Agent: Lavf/57.44.100

Accept: */*

Range: bytes=0-

Connection: close

Host: server2.myotherdomain.com

Icy-MetaData: 1




Probing aac score:25 increased to 75 due to MIME type
[aac @ 00000000002e9920] Format aac probed with size=2048 and score=75
[aac @ 00000000002e9920] Before avformat_find_stream_info() pos: 0 bytes read:2914 seeks:0 nb_streams:1
[aac @ 00000000004b3e40] element type mismatch 1 != 0
[aac @ 00000000002e9920] All info found
[aac @ 00000000002e9920] After avformat_find_stream_info() pos: 14544 bytes read:16000 seeks:0 frames:50
Input #0, aac, from 'http://ICECAST aac stream':
  Metadata:
    icy-br          : 48
    icy-description : XXXXXXX
    icy-genre       : Pop
    icy-name        : XXXXXXX
    icy-pub         : 0
    icy-url         : XXXXXXX
  Duration: N/A, bitrate: 51 kb/s
    Stream #0:0, 50, 1/28224000: Audio: aac (HE-AAC), 44100 Hz, stereo, fltp, 51 kb/s
Successfully opened the file.
Parsing a group of options: output file ftp://me:pass@ftp.mydomain.com:21/stream/segments2/segment_2_.m3u8.
Applying option c:a (codec name) with argument copy.
Successfully parsed a group of options.
Opening an output file: ftp://me:pass@ftp.mydomain.com:21/stream/segments2/segment_2_.m3u8.
Successfully opened the file.
[hls @ 0000000000550360] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
[ftp @ 00000000005469a0] Setting default whitelist 'tcp'
[ftp @ 0000000000546aa0] 220 FTP Server
[ftp @ 0000000000546aa0] 331 Password required for myuser
[ftp @ 0000000000546aa0] 230 User myuser logged in
[ftp @ 0000000000546aa0] 200 Type set to I
[ftp @ 0000000000546aa0] 211-Features:
[ftp @ 0000000000546aa0]  MDTM
[ftp @ 0000000000546aa0]  MFMT
[ftp @ 0000000000546aa0]  TVFS
[ftp @ 0000000000546aa0]  UTF8
[ftp @ 0000000000546aa0]  AUTH TLS
[ftp @ 0000000000546aa0]  LANG bg-BG;fr-FR;it-IT;en-US;ja-JP;zh-TW;zh-CN;ru-RU;es-ES;ko-KR
[ftp @ 0000000000546aa0]  MFF modify;UNIX.group;UNIX.mode;
[ftp @ 0000000000546aa0]  MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
[ftp @ 0000000000546aa0]  PBSZ
[ftp @ 0000000000546aa0]  PROT
[ftp @ 0000000000546aa0]  REST STREAM
[ftp @ 0000000000546aa0]  SIZE
[ftp @ 0000000000546aa0] 211 End
[ftp @ 0000000000546aa0] 200 UTF8 set to on
[ftp @ 0000000000546aa0] 257 "/" is the current directory
[ftp @ 0000000000546aa0] 350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer
[ftp @ 0000000000546aa0] 213 91180
[mpegts @ 00000000004a2660] frame size not set
[mpegts @ 00000000004a2660] muxrate VBR, pcr every 8 pkts, sdt every 2147483647, pat/pmt every 2147483647 pkts
Output #0, hls, to 'ftp://me:pass@ftp.mydomain.com:21/stream/segments2/segment_2_.m3u8':
  Metadata:
    icy-br          : 48
    icy-description : XXXXXXXXX
    icy-genre       : Pop
    icy-name        : XXXXXXXXX
    icy-pub         : 0
    icy-url         : XXXXXXXXX
    encoder         : Lavf57.44.100
    Stream #0:0, 0, 1/90000: Audio: aac (HE-AAC), 44100 Hz, stereo, 51 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[mpegts @ 00000000004a2660] AAC bitstream not in ADTS format and extradata missing
[ftp @ 0000000000546aa0] 229 Entering Extended Passive Mode (|||35869|)
[ftp @ 0000000000546aa0] 150 Opening BINARY mode data connection for /stream/segments2/segment_2_0.ts
size=N/A time=00:00:05.71 bitrate=N/A speed=10.1x    
size=N/A time=00:00:12.67 bitrate=N/A speed=11.8x    
size=N/A time=00:00:13.37 bitrate=N/A speed=7.55x    
size=N/A time=00:00:14.07 bitrate=N/A speed=5.94x    

size=N/A time=00:00:29.21 bitrate=N/A speed=1.66x    
size=N/A time=00:00:29.95 bitrate=N/A speed=1.64x    
[AVIOContext @ 00000000005470c0] Statistics: 0 seeks, 65 writeouts
[ftp @ 00000000005501c0] Setting default whitelist 'tcp'
[ftp @ 00000000004aa820] 220 FTP Server
[ftp @ 00000000004aa820] 331 Password required for myuser
[ftp @ 00000000004aa820] 230 User myuser logged in
[ftp @ 00000000004aa820] 200 Type set to I
[ftp @ 00000000004aa820] 211-Features:
[ftp @ 00000000004aa820]  MDTM
[ftp @ 00000000004aa820]  MFMT
[ftp @ 00000000004aa820]  TVFS
[ftp @ 00000000004aa820]  UTF8
[ftp @ 00000000004aa820]  AUTH TLS
[ftp @ 00000000004aa820]  LANG bg-BG;fr-FR;it-IT;en-US;ja-JP;zh-TW;zh-CN;ru-RU;es-ES;ko-KR
[ftp @ 00000000004aa820]  MFF modify;UNIX.group;UNIX.mode;
[ftp @ 00000000004aa820]  MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
[ftp @ 00000000004aa820]  PBSZ
[ftp @ 00000000004aa820]  PROT
[ftp @ 00000000004aa820]  REST STREAM
[ftp @ 00000000004aa820]  SIZE
[ftp @ 00000000004aa820] 211 End
[ftp @ 00000000004aa820] 200 UTF8 set to on
[ftp @ 00000000004aa820] 257 "/" is the current directory
[ftp @ 00000000004aa820] 350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer
[ftp @ 00000000004aa820] 213 192512
!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! not the one you asked, but maybe also important....
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! keep scrolling until you will see another "!!!!!" marks...
!!!!!!!!!
[hls @ 0000000000550360] Cannot use rename on non file protocol, this may lead to races and temporarly partial files
[ftp @ 00000000004aae20] Setting default whitelist 'tcp'
[ftp @ 00000000005469a0] 220 FTP Server
[ftp @ 00000000005469a0] 331 Password required for myuser
[ftp @ 00000000005469a0] 230 User myuser logged in
[ftp @ 00000000005469a0] 200 Type set to I
[ftp @ 00000000005469a0] 211-Features:
[ftp @ 00000000005469a0]  MDTM
[ftp @ 00000000005469a0]  MFMT
[ftp @ 00000000005469a0]  TVFS
[ftp @ 00000000005469a0]  UTF8
[ftp @ 00000000005469a0]  AUTH TLS
[ftp @ 00000000005469a0]  LANG bg-BG;fr-FR;it-IT;en-US;ja-JP;zh-TW;zh-CN;ru-RU;es-ES;ko-KR
[ftp @ 00000000005469a0]  MFF modify;UNIX.group;UNIX.mode;
[ftp @ 00000000005469a0]  MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
[ftp @ 00000000005469a0]  PBSZ
[ftp @ 00000000005469a0]  PROT
[ftp @ 00000000005469a0]  REST STREAM
[ftp @ 00000000005469a0]  SIZE
[ftp @ 00000000005469a0] 211 End
[ftp @ 00000000005469a0] 200 UTF8 set to on
[ftp @ 00000000005469a0] 257 "/" is the current directory
[ftp @ 00000000005469a0] 350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer
[ftp @ 00000000005469a0] 213 145
[hls @ 0000000000550360] EXT-X-MEDIA-SEQUENCE:0
[ftp @ 00000000005469a0] 229 Entering Extended Passive Mode (|||35141|)
[ftp @ 00000000005469a0] 150 Opening BINARY mode data connection for /stream/segments2/segment_2_.m3u8
[AVIOContext @ 0000000000549240] Statistics: 0 seeks, 1 writeouts
size=N/A time=00:00:30.09 bitrate=N/A speed=1.48x    
[ftp @ 00000000004aa820] 229 Entering Extended Passive Mode (|||35134|)
[ftp @ 00000000004aa820] 150 Opening BINARY mode data connection for /stream/segments2/segment_2_1.ts
size=N/A time=00:00:32.74 bitrate=N/A speed=1.55x    
size=N/A time=00:00:33.43 bitrate=N/A speed=1.54x    
size=N/A time=00:00:34.13 bitrate=N/A speed=1.53x    

size=N/A time=00:00:58.18 bitrate=N/A speed=1.25x    
size=N/A time=00:00:58.88 bitrate=N/A speed=1.25x    
size=N/A time=00:00:59.35 bitrate=N/A speed=1.24x    
[AVIOContext @ 00000000004aad00] Statistics: 0 seeks, 65 writeouts
[ftp @ 000000000054eea0] Setting default whitelist 'tcp'
[ftp @ 00000000004a5fc0] 220 FTP Server
[ftp @ 00000000004a5fc0] 331 Password required for myuser
[ftp @ 00000000004a5fc0] 230 User myuser logged in
[ftp @ 00000000004a5fc0] 200 Type set to I
[ftp @ 00000000004a5fc0] 211-Features:
[ftp @ 00000000004a5fc0]  MDTM
[ftp @ 00000000004a5fc0]  MFMT
[ftp @ 00000000004a5fc0]  TVFS
[ftp @ 00000000004a5fc0]  UTF8
[ftp @ 00000000004a5fc0]  AUTH TLS
[ftp @ 00000000004a5fc0]  LANG bg-BG;fr-FR;it-IT;en-US;ja-JP;zh-TW;zh-CN;ru-RU;es-ES;ko-KR
[ftp @ 00000000004a5fc0]  MFF modify;UNIX.group;UNIX.mode;
[ftp @ 00000000004a5fc0]  MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
[ftp @ 00000000004a5fc0]  PBSZ
[ftp @ 00000000004a5fc0]  PROT
[ftp @ 00000000004a5fc0]  REST STREAM
[ftp @ 00000000004a5fc0]  SIZE
[ftp @ 00000000004a5fc0] 211 End
[ftp @ 00000000004a5fc0] 200 UTF8 set to on
[ftp @ 00000000004a5fc0] 257 "/" is the current directory
[ftp @ 00000000004a5fc0] 350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer
[ftp @ 00000000004a5fc0] 213 192700
[ftp @ 00000000004aa5e0] Setting default whitelist 'tcp'
[ftp @ 0000000000547620] 220 FTP Server
[ftp @ 0000000000547620] 331 Password required for myuser
[ftp @ 0000000000547620] 230 User myuser logged in
[ftp @ 0000000000547620] 200 Type set to I
[ftp @ 0000000000547620] 211-Features:
[ftp @ 0000000000547620]  MDTM
[ftp @ 0000000000547620]  MFMT
[ftp @ 0000000000547620]  TVFS
[ftp @ 0000000000547620]  UTF8
[ftp @ 0000000000547620]  AUTH TLS
[ftp @ 0000000000547620]  LANG bg-BG;fr-FR;it-IT;en-US;ja-JP;zh-TW;zh-CN;ru-RU;es-ES;ko-KR
[ftp @ 0000000000547620]  MFF modify;UNIX.group;UNIX.mode;
[ftp @ 0000000000547620]  MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
[ftp @ 0000000000547620]  PBSZ
[ftp @ 0000000000547620]  PROT
[ftp @ 0000000000547620]  REST STREAM
[ftp @ 0000000000547620]  SIZE
[ftp @ 0000000000547620] 211 End
[ftp @ 0000000000547620] 200 UTF8 set to on
[ftp @ 0000000000547620] 257 "/" is the current directory
[ftp @ 0000000000547620] 350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer
[ftp @ 0000000000547620] 213 130
[hls @ 0000000000550360] EXT-X-MEDIA-SEQUENCE:0
[ftp @ 0000000000547620] 229 Entering Extended Passive Mode (|||35117|)
[ftp @ 0000000000547620] 150 Opening BINARY mode data connection for /stream/segments2/segment_2_.m3u8
[AVIOContext @ 0000000000547b00] Statistics: 0 seeks, 1 writeouts
size=N/A time=00:01:00.04 bitrate=N/A speed=1.24x    
size=N/A time=00:01:00.09 bitrate=N/A speed=1.14x    
[ftp @ 00000000004a5fc0] 229 Entering Extended Passive Mode (|||35523|)
[ftp @ 00000000004a5fc0] 150 Opening BINARY mode data connection for /stream/segments2/segment_2_2.ts
size=N/A time=00:01:04.27 bitrate=N/A speed=1.21x    
size=N/A time=00:01:05.61 bitrate=N/A speed=1.21x    
size=N/A time=00:01:06.31 bitrate=N/A speed=1.22x    

size=N/A time=00:01:28.97 bitrate=N/A speed=1.15x    
size=N/A time=00:01:29.67 bitrate=N/A speed=1.15x    
[AVIOContext @ 00000000004aa4c0] Statistics: 0 seeks, 65 writeouts
[ftp @ 000000000054eea0] Setting default whitelist 'tcp'
[ftp @ 00000000004a5fc0] 220 FTP Server
[ftp @ 00000000004a5fc0] 331 Password required for myuser
[ftp @ 00000000004a5fc0] 230 User myuser logged in
[ftp @ 00000000004a5fc0] 200 Type set to I
[ftp @ 00000000004a5fc0] 211-Features:
[ftp @ 00000000004a5fc0]  MDTM
[ftp @ 00000000004a5fc0]  MFMT
[ftp @ 00000000004a5fc0]  TVFS
[ftp @ 00000000004a5fc0]  UTF8
[ftp @ 00000000004a5fc0]  AUTH TLS
[ftp @ 00000000004a5fc0]  LANG bg-BG;fr-FR;it-IT;en-US;ja-JP;zh-TW;zh-CN;ru-RU;es-ES;ko-KR
[ftp @ 00000000004a5fc0]  MFF modify;UNIX.group;UNIX.mode;
[ftp @ 00000000004a5fc0]  MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
[ftp @ 00000000004a5fc0]  PBSZ
[ftp @ 00000000004a5fc0]  PROT
[ftp @ 00000000004a5fc0]  REST STREAM
[ftp @ 00000000004a5fc0]  SIZE
[ftp @ 00000000004a5fc0] 211 End
[ftp @ 00000000004a5fc0] 200 UTF8 set to on
[ftp @ 00000000004a5fc0] 257 "/" is the current directory
[ftp @ 00000000004a5fc0] 350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer
[ftp @ 00000000004a5fc0] 213 147768
[ftp @ 00000000004aa5e0] Setting default whitelist 'tcp'
[ftp @ 0000000000547620] 220 FTP Server
[ftp @ 0000000000547620] 331 Password required for myuser
[ftp @ 0000000000547620] 230 User myuser logged in
[ftp @ 0000000000547620] 200 Type set to I
[ftp @ 0000000000547620] 211-Features:
[ftp @ 0000000000547620]  MDTM
[ftp @ 0000000000547620]  MFMT
[ftp @ 0000000000547620]  TVFS
[ftp @ 0000000000547620]  UTF8
[ftp @ 0000000000547620]  AUTH TLS
[ftp @ 0000000000547620]  LANG bg-BG;fr-FR;it-IT;en-US;ja-JP;zh-TW;zh-CN;ru-RU;es-ES;ko-KR
[ftp @ 0000000000547620]  MFF modify;UNIX.group;UNIX.mode;
[ftp @ 0000000000547620]  MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
[ftp @ 0000000000547620]  PBSZ
[ftp @ 0000000000547620]  PROT
[ftp @ 0000000000547620]  REST STREAM
[ftp @ 0000000000547620]  SIZE
[ftp @ 0000000000547620] 211 End
[ftp @ 0000000000547620] 200 UTF8 set to on
[ftp @ 0000000000547620] 257 "/" is the current directory
[ftp @ 0000000000547620] 350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer
[ftp @ 0000000000547620] 213 164
[hls @ 0000000000550360] EXT-X-MEDIA-SEQUENCE:0
[ftp @ 0000000000547620] 229 Entering Extended Passive Mode (|||35248|)
[ftp @ 0000000000547620] 150 Opening BINARY mode data connection for /stream/segments2/segment_2_.m3u8
[AVIOContext @ 0000000000547b00] Statistics: 0 seeks, 1 writeouts
size=N/A time=00:01:30.09 bitrate=N/A speed=1.12x    
[ftp @ 00000000004a5fc0] 229 Entering Extended Passive Mode (|||35749|)
[ftp @ 00000000004a5fc0] 150 Opening BINARY mode data connection for /stream/segments2/segment_2_3.ts
size=N/A time=00:01:32.50 bitrate=N/A speed=1.15x    
size=N/A time=00:01:33.15 bitrate=N/A speed=1.14x    
size=N/A time=00:01:33.62 bitrate=N/A speed=1.14x    
size=N/A time=00:01:34.31 bitrate=N/A speed=1.14x    
size=N/A time=00:01:35.01 bitrate=N/A speed=1.14x    
size=N/A time=00:01:35.71 bitrate=N/A speed=1.14x    

size=N/A time=00:01:58.65 bitrate=N/A speed=1.11x    
size=N/A time=00:01:59.35 bitrate=N/A speed=1.11x    
size=N/A time=00:02:00.00 bitrate=N/A speed=1.11x    
[AVIOContext @ 00000000004aa4c0] Statistics: 0 seeks, 65 writeouts
[ftp @ 00000000004c3e60] Setting default whitelist 'tcp'
[ftp @ 00000000004a5fc0] 220 FTP Server
[ftp @ 00000000004a5fc0] 331 Password required for myuser
[ftp @ 00000000004a5fc0] 230 User myuser logged in
[ftp @ 00000000004a5fc0] 200 Type set to I
[ftp @ 00000000004a5fc0] 211-Features:
[ftp @ 00000000004a5fc0]  MDTM
[ftp @ 00000000004a5fc0]  MFMT
[ftp @ 00000000004a5fc0]  TVFS
[ftp @ 00000000004a5fc0]  UTF8
[ftp @ 00000000004a5fc0]  AUTH TLS
[ftp @ 00000000004a5fc0]  LANG bg-BG;fr-FR;it-IT;en-US;ja-JP;zh-TW;zh-CN;ru-RU;es-ES;ko-KR
[ftp @ 00000000004a5fc0]  MFF modify;UNIX.group;UNIX.mode;
[ftp @ 00000000004a5fc0]  MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
[ftp @ 00000000004a5fc0]  PBSZ
[ftp @ 00000000004a5fc0]  PROT
[ftp @ 00000000004a5fc0]  REST STREAM
[ftp @ 00000000004a5fc0]  SIZE
[ftp @ 00000000004a5fc0] 211 End
[ftp @ 00000000004a5fc0] 200 UTF8 set to on
[ftp @ 00000000004a5fc0] 257 "/" is the current directory
[ftp @ 00000000004a5fc0] 350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer
[ftp @ 00000000004a5fc0] 213 192324
[ftp @ 0000000000548f20] Setting default whitelist 'tcp'
[ftp @ 000000000054bd00] 220 FTP Server
[ftp @ 000000000054bd00] 331 Password required for myuser
[ftp @ 000000000054bd00] 230 User myuser logged in
[ftp @ 000000000054bd00] 200 Type set to I
[ftp @ 000000000054bd00] 211-Features:
[ftp @ 000000000054bd00]  MDTM
[ftp @ 000000000054bd00]  MFMT
[ftp @ 000000000054bd00]  TVFS
[ftp @ 000000000054bd00]  UTF8
[ftp @ 000000000054bd00]  AUTH TLS
[ftp @ 000000000054bd00]  LANG bg-BG;fr-FR;it-IT;en-US;ja-JP;zh-TW;zh-CN;ru-RU;es-ES;ko-KR
[ftp @ 000000000054bd00]  MFF modify;UNIX.group;UNIX.mode;
[ftp @ 000000000054bd00]  MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
[ftp @ 000000000054bd00]  PBSZ
[ftp @ 000000000054bd00]  PROT
[ftp @ 000000000054bd00]  REST STREAM
[ftp @ 000000000054bd00]  SIZE
[ftp @ 000000000054bd00] 211 End
[ftp @ 000000000054bd00] 200 UTF8 set to on
[ftp @ 000000000054bd00] 257 "/" is the current directory
[ftp @ 000000000054bd00] 350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer
[ftp @ 000000000054bd00] 213 198
[hls @ 0000000000550360] EXT-X-MEDIA-SEQUENCE:1
[ftp @ 000000000054bd00] 229 Entering Extended Passive Mode (|||35938|)
[ftp @ 000000000054bd00] 150 Opening BINARY mode data connection for /stream/segments2/segment_2_.m3u8
[AVIOContext @ 00000000004aa4c0] Statistics: 0 seeks, 1 writeouts
size=N/A time=00:02:00.09 bitrate=N/A speed=1.09x    
[ftp @ 00000000004a5fc0] 229 Entering Extended Passive Mode (|||35904|)
[ftp @ 00000000004a5fc0] 150 Opening BINARY mode data connection for /stream/segments2/segment_2_4.ts
size=N/A time=00:02:02.83 bitrate=N/A speed=1.11x    
size=N/A time=00:02:03.29 bitrate=N/A speed= 1.1x    
size=N/A time=00:02:03.99 bitrate=N/A speed= 1.1x    
size=N/A time=00:02:04.69 bitrate=N/A speed= 1.1x    
size=N/A time=00:02:05.15 bitrate=N/A speed= 1.1x    

size=N/A time=00:02:29.21 bitrate=N/A speed=1.09x    
size=N/A time=00:02:29.67 bitrate=N/A speed=1.08x    
[AVIOContext @ 000000000054eea0] Statistics: 0 seeks, 65 writeouts
[ftp @ 00000000004c3e60] Setting default whitelist 'tcp'
[ftp @ 00000000004a5fc0] 220 FTP Server
[ftp @ 00000000004a5fc0] 331 Password required for myuser
[ftp @ 00000000004a5fc0] 230 User myuser logged in
[ftp @ 00000000004a5fc0] 200 Type set to I
[ftp @ 00000000004a5fc0] 211-Features:
[ftp @ 00000000004a5fc0]  MDTM
[ftp @ 00000000004a5fc0]  MFMT
[ftp @ 00000000004a5fc0]  TVFS
[ftp @ 00000000004a5fc0]  UTF8
[ftp @ 00000000004a5fc0]  AUTH TLS
[ftp @ 00000000004a5fc0]  LANG bg-BG;fr-FR;it-IT;en-US;ja-JP;zh-TW;zh-CN;ru-RU;es-ES;ko-KR
[ftp @ 00000000004a5fc0]  MFF modify;UNIX.group;UNIX.mode;
[ftp @ 00000000004a5fc0]  MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
[ftp @ 00000000004a5fc0]  PBSZ
[ftp @ 00000000004a5fc0]  PROT
[ftp @ 00000000004a5fc0]  REST STREAM
[ftp @ 00000000004a5fc0]  SIZE
[ftp @ 00000000004a5fc0] 211 End
[ftp @ 00000000004a5fc0] 200 UTF8 set to on
[ftp @ 00000000004a5fc0] 257 "/" is the current directory
[ftp @ 00000000004a5fc0] 350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer
[ftp @ 00000000004a5fc0] 213 125020
[ftp @ 0000000000548f20] Setting default whitelist 'tcp'
[ftp @ 000000000054bd00] 220 FTP Server
[ftp @ 000000000054bd00] 331 Password required for myuser
[ftp @ 000000000054bd00] 230 User myuser logged in
[ftp @ 000000000054bd00] 200 Type set to I
[ftp @ 000000000054bd00] 211-Features:
[ftp @ 000000000054bd00]  MDTM
[ftp @ 000000000054bd00]  MFMT
[ftp @ 000000000054bd00]  TVFS
[ftp @ 000000000054bd00]  UTF8
[ftp @ 000000000054bd00]  AUTH TLS
[ftp @ 000000000054bd00]  LANG bg-BG;fr-FR;it-IT;en-US;ja-JP;zh-TW;zh-CN;ru-RU;es-ES;ko-KR
[ftp @ 000000000054bd00]  MFF modify;UNIX.group;UNIX.mode;
[ftp @ 000000000054bd00]  MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
[ftp @ 000000000054bd00]  PBSZ
[ftp @ 000000000054bd00]  PROT
[ftp @ 000000000054bd00]  REST STREAM
[ftp @ 000000000054bd00]  SIZE
[ftp @ 000000000054bd00] 211 End
[ftp @ 000000000054bd00] 200 UTF8 set to on
[ftp @ 000000000054bd00] 257 "/" is the current directory
[ftp @ 000000000054bd00] 350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer
[ftp @ 000000000054bd00] 213 198
[hls @ 0000000000550360] EXT-X-MEDIA-SEQUENCE:2
[ftp @ 000000000054bd00] 229 Entering Extended Passive Mode (|||35609|)
[ftp @ 000000000054bd00] 150 Opening BINARY mode data connection for /stream/segments2/segment_2_.m3u8
[AVIOContext @ 00000000004aa4c0] Statistics: 0 seeks, 1 writeouts
size=N/A time=00:02:30.09 bitrate=N/A speed=1.07x    
[ftp @ 00000000004a5fc0] 229 Entering Extended Passive Mode (|||35433|)
[ftp @ 00000000004a5fc0] 150 Opening BINARY mode data connection for /stream/segments2/segment_2_5.ts
size=N/A time=00:02:32.69 bitrate=N/A speed=1.08x    
size=N/A time=00:02:33.20 bitrate=N/A speed=1.08x    
size=N/A time=00:02:34.13 bitrate=N/A speed=1.08x    
size=N/A time=00:02:34.59 bitrate=N/A speed=1.08x    

size=N/A time=00:02:58.60 bitrate=N/A speed=1.07x    
size=N/A time=00:02:59.30 bitrate=N/A speed=1.07x    
size=N/A time=00:02:59.76 bitrate=N/A speed=1.07x    
[AVIOContext @ 000000000054eea0] Statistics: 0 seeks, 65 writeouts
[ftp @ 000000000054eea0] Setting default whitelist 'tcp'
[ftp @ 0000000000548f20] 220 FTP Server
[ftp @ 0000000000548f20] 331 Password required for myuser
[ftp @ 0000000000548f20] 230 User myuser logged in
[ftp @ 0000000000548f20] 200 Type set to I
[ftp @ 0000000000548f20] 211-Features:
[ftp @ 0000000000548f20]  MDTM
[ftp @ 0000000000548f20]  MFMT
[ftp @ 0000000000548f20]  TVFS
[ftp @ 0000000000548f20]  UTF8
[ftp @ 0000000000548f20]  AUTH TLS
[ftp @ 0000000000548f20]  LANG bg-BG;fr-FR;it-IT;en-US;ja-JP;zh-TW;zh-CN;ru-RU;es-ES;ko-KR
[ftp @ 0000000000548f20]  MFF modify;UNIX.group;UNIX.mode;
[ftp @ 0000000000548f20]  MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
[ftp @ 0000000000548f20]  PBSZ
[ftp @ 0000000000548f20]  PROT
[ftp @ 0000000000548f20]  REST STREAM
[ftp @ 0000000000548f20]  SIZE
[ftp @ 0000000000548f20] 211 End
[ftp @ 0000000000548f20] 200 UTF8 set to on
[ftp @ 0000000000548f20] 257 "/" is the current directory
[ftp @ 0000000000548f20] 350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer
[ftp @ 0000000000548f20] 213 192700
[ftp @ 00000000004aa5e0] Setting default whitelist 'tcp'
[ftp @ 00000000004a5fc0] 220 FTP Server
[ftp @ 00000000004a5fc0] 331 Password required for myuser
[ftp @ 00000000004a5fc0] 230 User myuser logged in
[ftp @ 00000000004a5fc0] 200 Type set to I
[ftp @ 00000000004a5fc0] 211-Features:
[ftp @ 00000000004a5fc0]  MDTM
[ftp @ 00000000004a5fc0]  MFMT
[ftp @ 00000000004a5fc0]  TVFS
[ftp @ 00000000004a5fc0]  UTF8
[ftp @ 00000000004a5fc0]  AUTH TLS
[ftp @ 00000000004a5fc0]  LANG bg-BG;fr-FR;it-IT;en-US;ja-JP;zh-TW;zh-CN;ru-RU;es-ES;ko-KR
[ftp @ 00000000004a5fc0]  MFF modify;UNIX.group;UNIX.mode;
[ftp @ 00000000004a5fc0]  MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
[ftp @ 00000000004a5fc0]  PBSZ
[ftp @ 00000000004a5fc0]  PROT
[ftp @ 00000000004a5fc0]  REST STREAM
[ftp @ 00000000004a5fc0]  SIZE
[ftp @ 00000000004a5fc0] 211 End
[ftp @ 00000000004a5fc0] 200 UTF8 set to on
[ftp @ 00000000004a5fc0] 257 "/" is the current directory
[ftp @ 00000000004a5fc0] 350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer
[ftp @ 00000000004a5fc0] 213 198
[hls @ 0000000000550360] EXT-X-MEDIA-SEQUENCE:3
[ftp @ 00000000004a5fc0] 229 Entering Extended Passive Mode (|||35760|)
[ftp @ 00000000004a5fc0] 150 Opening BINARY mode data connection for /stream/segments2/segment_2_.m3u8
[AVIOContext @ 0000000000550080] Statistics: 0 seeks, 1 writeouts
size=N/A time=00:03:00.09 bitrate=N/A speed=1.06x    
[ftp @ 0000000000548f20] 229 Entering Extended Passive Mode (|||35988|)
[ftp @ 0000000000548f20] 150 Opening BINARY mode data connection for /stream/segments2/segment_2_6.ts
size=N/A time=00:03:02.55 bitrate=N/A speed=1.07x    
size=N/A time=00:03:03.25 bitrate=N/A speed=1.07x    
size=N/A time=00:03:03.71 bitrate=N/A speed=1.07x    

size=N/A time=00:03:27.58 bitrate=N/A speed=1.06x    
size=N/A time=00:03:28.28 bitrate=N/A speed=1.06x    
size=N/A time=00:03:28.97 bitrate=N/A speed=1.06x    
size=N/A time=00:03:29.44 bitrate=N/A speed=1.06x    
[AVIOContext @ 00000000004aa4c0] Statistics: 0 seeks, 65 writeouts
[ftp @ 00000000004c3e60] Setting default whitelist 'tcp'
[ftp @ 0000000000548f20] 220 FTP Server
[ftp @ 0000000000548f20] 331 Password required for myuser
[ftp @ 0000000000548f20] 230 User myuser logged in
[ftp @ 0000000000548f20] 200 Type set to I
[ftp @ 0000000000548f20] 211-Features:
[ftp @ 0000000000548f20]  MDTM
[ftp @ 0000000000548f20]  MFMT
[ftp @ 0000000000548f20]  TVFS
[ftp @ 0000000000548f20]  UTF8
[ftp @ 0000000000548f20]  AUTH TLS
[ftp @ 0000000000548f20]  LANG bg-BG;fr-FR;it-IT;en-US;ja-JP;zh-TW;zh-CN;ru-RU;es-ES;ko-KR
[ftp @ 0000000000548f20]  MFF modify;UNIX.group;UNIX.mode;
[ftp @ 0000000000548f20]  MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
[ftp @ 0000000000548f20]  PBSZ
[ftp @ 0000000000548f20]  PROT
[ftp @ 0000000000548f20]  REST STREAM
[ftp @ 0000000000548f20]  SIZE
[ftp @ 0000000000548f20] 211 End
[ftp @ 0000000000548f20] 200 UTF8 set to on
[ftp @ 0000000000548f20] 257 "/" is the current directory
[ftp @ 0000000000548f20] 350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer
[ftp @ 0000000000548f20] 213 18424
[ftp @ 00000000004a62a0] Setting default whitelist 'tcp'
[ftp @ 000000000054bd00] 220 FTP Server
[ftp @ 000000000054bd00] 331 Password required for myuser
[ftp @ 000000000054bd00] 230 User myuser logged in
[ftp @ 000000000054bd00] 200 Type set to I
[ftp @ 000000000054bd00] 211-Features:
[ftp @ 000000000054bd00]  MDTM
[ftp @ 000000000054bd00]  MFMT
[ftp @ 000000000054bd00]  TVFS
[ftp @ 000000000054bd00]  UTF8
[ftp @ 000000000054bd00]  AUTH TLS
[ftp @ 000000000054bd00]  LANG bg-BG;fr-FR;it-IT;en-US;ja-JP;zh-TW;zh-CN;ru-RU;es-ES;ko-KR
[ftp @ 000000000054bd00]  MFF modify;UNIX.group;UNIX.mode;
[ftp @ 000000000054bd00]  MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
[ftp @ 000000000054bd00]  PBSZ
[ftp @ 000000000054bd00]  PROT
[ftp @ 000000000054bd00]  REST STREAM
[ftp @ 000000000054bd00]  SIZE
[ftp @ 000000000054bd00] 211 End
[ftp @ 000000000054bd00] 200 UTF8 set to on
[ftp @ 000000000054bd00] 257 "/" is the current directory
[ftp @ 000000000054bd00] 350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer
[ftp @ 000000000054bd00] 213 198
[hls @ 0000000000550360] EXT-X-MEDIA-SEQUENCE:4
[ftp @ 000000000054bd00] 229 Entering Extended Passive Mode (|||35184|)
[ftp @ 000000000054bd00] 150 Opening BINARY mode data connection for /stream/segments2/segment_2_.m3u8
[AVIOContext @ 00000000004aa4c0] Statistics: 0 seeks, 1 writeouts
size=N/A time=00:03:30.09 bitrate=N/A speed=1.05x    
[ftp @ 0000000000548f20] 229 Entering Extended Passive Mode (|||35822|)
[ftp @ 0000000000548f20] 150 Opening BINARY mode data connection for /stream/segments2/segment_2_7.ts
size=N/A time=00:03:32.23 bitrate=N/A speed=1.06x    
size=N/A time=00:03:32.92 bitrate=N/A speed=1.06x    
size=N/A time=00:03:33.62 bitrate=N/A speed=1.06x    
!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! down here the first segment error....
!!!!!!!
size=N/A time=00:03:58.60 bitrate=N/A speed=1.05x    
size=N/A time=00:03:59.30 bitrate=N/A speed=1.05x    
size=N/A time=00:03:59.76 bitrate=N/A speed=1.05x    
[hls muxer @ 00000000002ee640] deleting old segment segment_2_0.ts
[hls muxer @ 00000000002ee640] failed to delete old segment ftp://me:pass@ftp.mydomain.com:21/stream/segments2/segment_2_0.ts: Invalid argument
[AVIOContext @ 000000000054eea0] Statistics: 0 seeks, 65 writeouts
[ftp @ 00000000004c3e60] Setting default whitelist 'tcp'
[ftp @ 0000000000548f20] 220 FTP Server
[ftp @ 0000000000548f20] 331 Password required for myuser
[ftp @ 0000000000548f20] 230 User myuser logged in
[ftp @ 0000000000548f20] 200 Type set to I
[ftp @ 0000000000548f20] 211-Features:
[ftp @ 0000000000548f20]  MDTM
[ftp @ 0000000000548f20]  MFMT
[ftp @ 0000000000548f20]  TVFS
[ftp @ 0000000000548f20]  UTF8
[ftp @ 0000000000548f20]  AUTH TLS
[ftp @ 0000000000548f20]  LANG bg-BG;fr-FR;it-IT;en-US;ja-JP;zh-TW;zh-CN;ru-RU;es-ES;ko-KR
[ftp @ 0000000000548f20]  MFF modify;UNIX.group;UNIX.mode;
[ftp @ 0000000000548f20]  MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
[ftp @ 0000000000548f20]  PBSZ
[ftp @ 0000000000548f20]  PROT
[ftp @ 0000000000548f20]  REST STREAM
[ftp @ 0000000000548f20]  SIZE
[ftp @ 0000000000548f20] 211 End
[ftp @ 0000000000548f20] 200 UTF8 set to on
[ftp @ 0000000000548f20] 257 "/" is the current directory
[ftp @ 0000000000548f20] 350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer
[ftp @ 0000000000548f20] 213 190444
[ftp @ 00000000004aa4c0] Setting default whitelist 'tcp'
[ftp @ 000000000054bd00] 220 FTP Server
[ftp @ 000000000054bd00] 331 Password required for myuser
[ftp @ 000000000054bd00] 230 User myuser logged in
[ftp @ 000000000054bd00] 200 Type set to I
[ftp @ 000000000054bd00] 211-Features:
[ftp @ 000000000054bd00]  MDTM
[ftp @ 000000000054bd00]  MFMT
[ftp @ 000000000054bd00]  TVFS
[ftp @ 000000000054bd00]  UTF8
[ftp @ 000000000054bd00]  AUTH TLS
[ftp @ 000000000054bd00]  LANG bg-BG;fr-FR;it-IT;en-US;ja-JP;zh-TW;zh-CN;ru-RU;es-ES;ko-KR
[ftp @ 000000000054bd00]  MFF modify;UNIX.group;UNIX.mode;
[ftp @ 000000000054bd00]  MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
[ftp @ 000000000054bd00]  PBSZ
[ftp @ 000000000054bd00]  PROT
[ftp @ 000000000054bd00]  REST STREAM
[ftp @ 000000000054bd00]  SIZE
[ftp @ 000000000054bd00] 211 End
[ftp @ 000000000054bd00] 200 UTF8 set to on
[ftp @ 000000000054bd00] 257 "/" is the current directory
[ftp @ 000000000054bd00] 350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer
[ftp @ 000000000054bd00] 213 198
[hls @ 0000000000550360] EXT-X-MEDIA-SEQUENCE:5
[ftp @ 000000000054bd00] 229 Entering Extended Passive Mode (|||35491|)
[ftp @ 000000000054bd00] 150 Opening BINARY mode data connection for /stream/segments2/segment_2_.m3u8
[AVIOContext @ 00000000004aa5c0] Statistics: 0 seeks, 1 writeouts
size=N/A time=00:04:00.09 bitrate=N/A speed=1.04x    
[ftp @ 0000000000548f20] 229 Entering Extended Passive Mode (|||35844|)
[ftp @ 0000000000548f20] 150 Opening BINARY mode data connection for /stream/segments2/segment_2_8.ts
size=N/A time=00:04:02.55 bitrate=N/A speed=1.05x    
size=N/A time=00:04:03.25 bitrate=N/A speed=1.05x    
size=N/A time=00:04:03.71 bitrate=N/A speed=1.05x    
size=N/A time=00:04:04.45 bitrate=N/A speed=1.05x    

size=N/A time=00:04:28.42 bitrate=N/A speed=1.05x    
size=N/A time=00:04:29.16 bitrate=N/A speed=1.05x    
size=N/A time=00:04:29.63 bitrate=N/A speed=1.05x    
[hls muxer @ 00000000002ee640] deleting old segment segment_2_1.ts
[hls muxer @ 00000000002ee640] failed to delete old segment ftp://me:pass@ftp.mydomain.com:21/stream/segments2/segment_2_1.ts: Invalid argument
[AVIOContext @ 00000000004a62a0] Statistics: 0 seeks, 65 writeouts
[ftp @ 000000000054eea0] Setting default whitelist 'tcp'
[ftp @ 0000000000548f20] 220 FTP Server
[ftp @ 0000000000548f20] 331 Password required for myuser
[ftp @ 0000000000548f20] 230 User myuser logged in
[ftp @ 0000000000548f20] 200 Type set to I
[ftp @ 0000000000548f20] 211-Features:
[ftp @ 0000000000548f20]  MDTM
[ftp @ 0000000000548f20]  MFMT
[ftp @ 0000000000548f20]  TVFS
[ftp @ 0000000000548f20]  UTF8
[ftp @ 0000000000548f20]  AUTH TLS
[ftp @ 0000000000548f20]  LANG bg-BG;fr-FR;it-IT;en-US;ja-JP;zh-TW;zh-CN;ru-RU;es-ES;ko-KR
[ftp @ 0000000000548f20]  MFF modify;UNIX.group;UNIX.mode;
[ftp @ 0000000000548f20]  MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
[ftp @ 0000000000548f20]  PBSZ
[ftp @ 0000000000548f20]  PROT
[ftp @ 0000000000548f20]  REST STREAM
[ftp @ 0000000000548f20]  SIZE
[ftp @ 0000000000548f20] 211 End
[ftp @ 0000000000548f20] 200 UTF8 set to on
[ftp @ 0000000000548f20] 257 "/" is the current directory
[ftp @ 0000000000548f20] 350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer
[ftp @ 0000000000548f20] 213 192512
[ftp @ 00000000005501a0] Setting default whitelist 'tcp'
[ftp @ 00000000004a5fc0] 220 FTP Server
[ftp @ 00000000004a5fc0] 331 Password required for myuser
[ftp @ 00000000004a5fc0] 230 User myuser logged in
[ftp @ 00000000004a5fc0] 200 Type set to I
[ftp @ 00000000004a5fc0] 211-Features:
[ftp @ 00000000004a5fc0]  MDTM
[ftp @ 00000000004a5fc0]  MFMT
[ftp @ 00000000004a5fc0]  TVFS
[ftp @ 00000000004a5fc0]  UTF8
[ftp @ 00000000004a5fc0]  AUTH TLS
[ftp @ 00000000004a5fc0]  LANG bg-BG;fr-FR;it-IT;en-US;ja-JP;zh-TW;zh-CN;ru-RU;es-ES;ko-KR
[ftp @ 00000000004a5fc0]  MFF modify;UNIX.group;UNIX.mode;
[ftp @ 00000000004a5fc0]  MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
[ftp @ 00000000004a5fc0]  PBSZ
[ftp @ 00000000004a5fc0]  PROT
[ftp @ 00000000004a5fc0]  REST STREAM
[ftp @ 00000000004a5fc0]  SIZE
[ftp @ 00000000004a5fc0] 211 End
[ftp @ 00000000004a5fc0] 200 UTF8 set to on
[ftp @ 00000000004a5fc0] 257 "/" is the current directory
[ftp @ 00000000004a5fc0] 350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer
[ftp @ 00000000004a5fc0] 213 198
[hls @ 0000000000550360] EXT-X-MEDIA-SEQUENCE:6
[ftp @ 00000000004a5fc0] 229 Entering Extended Passive Mode (|||35776|)
[ftp @ 00000000004a5fc0] 150 Opening BINARY mode data connection for /stream/segments2/segment_2_.m3u8
[AVIOContext @ 00000000004c3b80] Statistics: 0 seeks, 1 writeouts
size=N/A time=00:04:30.09 bitrate=N/A speed=1.03x    
[ftp @ 0000000000548f20] 229 Entering Extended Passive Mode (|||35039|)
[ftp @ 0000000000548f20] 150 Opening BINARY mode data connection for /stream/segments2/segment_2_9.ts
size=N/A time=00:04:33.80 bitrate=N/A speed=1.04x    
size=N/A time=00:04:34.55 bitrate=N/A speed=1.04x    
size=N/A time=00:04:35.20 bitrate=N/A speed=1.04x    
size=N/A time=00:04:35.71 bitrate=N/A speed=1.04x    
size=N/A time=00:04:36.64 bitrate=N/A speed=1.04x    

size=N/A time=00:04:58.79 bitrate=N/A speed=1.04x    
size=N/A time=00:04:59.44 bitrate=N/A speed=1.04x    
size=N/A time=00:04:59.95 bitrate=N/A speed=1.04x    
[hls muxer @ 00000000002ee640] deleting old segment segment_2_2.ts
[hls muxer @ 00000000002ee640] failed to delete old segment ftp://me:pass@ftp.mydomain.com:21/stream/segments2/segment_2_2.ts: Invalid argument
[AVIOContext @ 0000000000550080] Statistics: 0 seeks, 65 writeouts
[ftp @ 00000000004c3e60] Setting default whitelist 'tcp'
[ftp @ 0000000000548f20] 220 FTP Server
[ftp @ 0000000000548f20] 331 Password required for myuser
[ftp @ 0000000000548f20] 230 User myuser logged in
[ftp @ 0000000000548f20] 200 Type set to I
[ftp @ 0000000000548f20] 211-Features:
[ftp @ 0000000000548f20]  MDTM
[ftp @ 0000000000548f20]  MFMT
[ftp @ 0000000000548f20]  TVFS
[ftp @ 0000000000548f20]  UTF8
[ftp @ 0000000000548f20]  AUTH TLS
[ftp @ 0000000000548f20]  LANG bg-BG;fr-FR;it-IT;en-US;ja-JP;zh-TW;zh-CN;ru-RU;es-ES;ko-KR
[ftp @ 0000000000548f20]  MFF modify;UNIX.group;UNIX.mode;
[ftp @ 0000000000548f20]  MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
[ftp @ 0000000000548f20]  PBSZ
[ftp @ 0000000000548f20]  PROT
[ftp @ 0000000000548f20]  REST STREAM
[ftp @ 0000000000548f20]  SIZE
[ftp @ 0000000000548f20] 211 End
[ftp @ 0000000000548f20] 200 UTF8 set to on
[ftp @ 0000000000548f20] 257 "/" is the current directory
[ftp @ 0000000000548f20] 350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer
[ftp @ 0000000000548f20] 213 192136
[ftp @ 00000000004a62a0] Setting default whitelist 'tcp'
[ftp @ 0000000000547620] 220 FTP Server
[ftp @ 0000000000547620] 331 Password required for myuser
[ftp @ 0000000000547620] 230 User myuser logged in
[ftp @ 0000000000547620] 200 Type set to I
[ftp @ 0000000000547620] 211-Features:
[ftp @ 0000000000547620]  MDTM
[ftp @ 0000000000547620]  MFMT
[ftp @ 0000000000547620]  TVFS
[ftp @ 0000000000547620]  UTF8
[ftp @ 0000000000547620]  AUTH TLS
[ftp @ 0000000000547620]  LANG bg-BG;fr-FR;it-IT;en-US;ja-JP;zh-TW;zh-CN;ru-RU;es-ES;ko-KR
[ftp @ 0000000000547620]  MFF modify;UNIX.group;UNIX.mode;
[ftp @ 0000000000547620]  MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
[ftp @ 0000000000547620]  PBSZ
[ftp @ 0000000000547620]  PROT
[ftp @ 0000000000547620]  REST STREAM
[ftp @ 0000000000547620]  SIZE
[ftp @ 0000000000547620] 211 End
[ftp @ 0000000000547620] 200 UTF8 set to on
[ftp @ 0000000000547620] 257 "/" is the current directory
[ftp @ 0000000000547620] 350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer
[ftp @ 0000000000547620] 213 198
[hls @ 0000000000550360] EXT-X-MEDIA-SEQUENCE:7
[ftp @ 0000000000547620] 229 Entering Extended Passive Mode (|||35884|)
[ftp @ 0000000000547620] 150 Opening BINARY mode data connection for /stream/segments2/segment_2_.m3u8
[AVIOContext @ 0000000000547b00] Statistics: 0 seeks, 1 writeouts
size=N/A time=00:05:00.09 bitrate=N/A speed=1.03x    
[ftp @ 0000000000548f20] 229 Entering Extended Passive Mode (|||35107|)
[ftp @ 0000000000548f20] 150 Opening BINARY mode data connection for /stream/segments2/segment_2_10.ts
size=N/A time=00:05:02.55 bitrate=N/A speed=1.04x    
size=N/A time=00:05:03.20 bitrate=N/A speed=1.04x    
size=N/A time=00:05:03.90 bitrate=N/A speed=1.04x    
size=N/A time=00:05:04.36 bitrate=N/A speed=1.04x    

size=N/A time=00:05:28.14 bitrate=N/A speed=1.04x    
size=N/A time=00:05:28.84 bitrate=N/A speed=1.04x    
size=N/A time=00:05:29.35 bitrate=N/A speed=1.04x    
[hls muxer @ 00000000002ee640] deleting old segment segment_2_3.ts
[hls muxer @ 00000000002ee640] failed to delete old segment ftp://me:pass@ftp.mydomain.com:21/stream/segments2/segment_2_3.ts: Invalid argument
[AVIOContext @ 000000000054eea0] Statistics: 0 seeks, 65 writeouts
[ftp @ 00000000004c3e60] Setting default whitelist 'tcp'
[ftp @ 0000000000548f20] 220 FTP Server
[ftp @ 0000000000548f20] 331 Password required for myuser
[ftp @ 0000000000548f20] 230 User myuser logged in
[ftp @ 0000000000548f20] 200 Type set to I
[ftp @ 0000000000548f20] 211-Features:
[ftp @ 0000000000548f20]  MDTM
[ftp @ 0000000000548f20]  MFMT
[ftp @ 0000000000548f20]  TVFS
[ftp @ 0000000000548f20]  UTF8
[ftp @ 0000000000548f20]  AUTH TLS
[ftp @ 0000000000548f20]  LANG bg-BG;fr-FR;it-IT;en-US;ja-JP;zh-TW;zh-CN;ru-RU;es-ES;ko-KR
[ftp @ 0000000000548f20]  MFF modify;UNIX.group;UNIX.mode;
[ftp @ 0000000000548f20]  MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
[ftp @ 0000000000548f20]  PBSZ
[ftp @ 0000000000548f20]  PROT
[ftp @ 0000000000548f20]  REST STREAM
[ftp @ 0000000000548f20]  SIZE
[ftp @ 0000000000548f20] 211 End
[ftp @ 0000000000548f20] 200 UTF8 set to on
[ftp @ 0000000000548f20] 257 "/" is the current directory
[ftp @ 0000000000548f20] 350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer
[ftp @ 0000000000548f20] 213 193264
[ftp @ 00000000004a62a0] Setting default whitelist 'tcp'
[ftp @ 0000000000547620] 220 FTP Server
[ftp @ 0000000000547620] 331 Password required for myuser
[ftp @ 0000000000547620] 230 User myuser logged in
[ftp @ 0000000000547620] 200 Type set to I
[ftp @ 0000000000547620] 211-Features:
[ftp @ 0000000000547620]  MDTM
[ftp @ 0000000000547620]  MFMT
[ftp @ 0000000000547620]  TVFS
[ftp @ 0000000000547620]  UTF8
[ftp @ 0000000000547620]  AUTH TLS
[ftp @ 0000000000547620]  LANG bg-BG;fr-FR;it-IT;en-US;ja-JP;zh-TW;zh-CN;ru-RU;es-ES;ko-KR
[ftp @ 0000000000547620]  MFF modify;UNIX.group;UNIX.mode;
[ftp @ 0000000000547620]  MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
[ftp @ 0000000000547620]  PBSZ
[ftp @ 0000000000547620]  PROT
[ftp @ 0000000000547620]  REST STREAM
[ftp @ 0000000000547620]  SIZE
[ftp @ 0000000000547620] 211 End
[ftp @ 0000000000547620] 200 UTF8 set to on
[ftp @ 0000000000547620] 257 "/" is the current directory
[ftp @ 0000000000547620] 350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer
[ftp @ 0000000000547620] 213 198
[hls @ 0000000000550360] EXT-X-MEDIA-SEQUENCE:8
[ftp @ 0000000000547620] 229 Entering Extended Passive Mode (|||35648|)
[ftp @ 0000000000547620] 150 Opening BINARY mode data connection for /stream/segments2/segment_2_.m3u8
[AVIOContext @ 0000000000547b00] Statistics: 0 seeks, 1 writeouts
size=N/A time=00:05:30.04 bitrate=N/A speed=1.04x    
size=N/A time=00:05:30.09 bitrate=N/A speed=1.03x    
[ftp @ 0000000000548f20] 229 Entering Extended Passive Mode (|||35122|)
[ftp @ 0000000000548f20] 150 Opening BINARY mode data connection for /stream/segments2/segment_2_11.ts
size=N/A time=00:05:32.83 bitrate=N/A speed=1.04x    
size=N/A time=00:05:33.29 bitrate=N/A speed=1.04x    
size=N/A time=00:05:33.99 bitrate=N/A speed=1.04x    

size=N/A time=00:05:58.70 bitrate=N/A speed=1.03x    
size=N/A time=00:05:59.39 bitrate=N/A speed=1.03x    
size=N/A time=00:05:59.90 bitrate=N/A speed=1.03x    
[hls muxer @ 00000000002ee640] deleting old segment segment_2_4.ts
[hls muxer @ 00000000002ee640] failed to delete old segment ftp://me:pass@ftp.mydomain.com:21/stream/segments2/segment_2_4.ts: Invalid argument
[AVIOContext @ 000000000054eea0] Statistics: 0 seeks, 65 writeouts
[ftp @ 000000000054eea0] Setting default whitelist 'tcp'
[ftp @ 0000000000548f20] 220 FTP Server
[ftp @ 0000000000548f20] 331 Password required for myuser
[ftp @ 0000000000548f20] 230 User myuser logged in
[ftp @ 0000000000548f20] 200 Type set to I
[ftp @ 0000000000548f20] 211-Features:
[ftp @ 0000000000548f20]  MDTM
[ftp @ 0000000000548f20]  MFMT
[ftp @ 0000000000548f20]  TVFS
[ftp @ 0000000000548f20]  UTF8
[ftp @ 0000000000548f20]  AUTH TLS
[ftp @ 0000000000548f20]  LANG bg-BG;fr-FR;it-IT;en-US;ja-JP;zh-TW;zh-CN;ru-RU;es-ES;ko-KR
[ftp @ 0000000000548f20]  MFF modify;UNIX.group;UNIX.mode;
[ftp @ 0000000000548f20]  MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
[ftp @ 0000000000548f20]  PBSZ
[ftp @ 0000000000548f20]  PROT
[ftp @ 0000000000548f20]  REST STREAM
[ftp @ 0000000000548f20]  SIZE
[ftp @ 0000000000548f20] 211 End
[ftp @ 0000000000548f20] 200 UTF8 set to on
[ftp @ 0000000000548f20] 257 "/" is the current directory
[ftp @ 0000000000548f20] 350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer
[ftp @ 0000000000548f20] 213 192136
[ftp @ 00000000004aa5e0] Setting default whitelist 'tcp'
[ftp @ 00000000004a5fc0] 220 FTP Server
[ftp @ 00000000004a5fc0] 331 Password required for myuser
[ftp @ 00000000004a5fc0] 230 User myuser logged in
[ftp @ 00000000004a5fc0] 200 Type set to I
[ftp @ 00000000004a5fc0] 211-Features:
[ftp @ 00000000004a5fc0]  MDTM
[ftp @ 00000000004a5fc0]  MFMT
[ftp @ 00000000004a5fc0]  TVFS
[ftp @ 00000000004a5fc0]  UTF8
[ftp @ 00000000004a5fc0]  AUTH TLS
[ftp @ 00000000004a5fc0]  LANG bg-BG;fr-FR;it-IT;en-US;ja-JP;zh-TW;zh-CN;ru-RU;es-ES;ko-KR
[ftp @ 00000000004a5fc0]  MFF modify;UNIX.group;UNIX.mode;
[ftp @ 00000000004a5fc0]  MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
[ftp @ 00000000004a5fc0]  PBSZ
[ftp @ 00000000004a5fc0]  PROT
[ftp @ 00000000004a5fc0]  REST STREAM
[ftp @ 00000000004a5fc0]  SIZE
[ftp @ 00000000004a5fc0] 211 End
[ftp @ 00000000004a5fc0] 200 UTF8 set to on
[ftp @ 00000000004a5fc0] 257 "/" is the current directory
[ftp @ 00000000004a5fc0] 350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer
[ftp @ 00000000004a5fc0] 213 199
[hls @ 0000000000550360] EXT-X-MEDIA-SEQUENCE:9
[ftp @ 00000000004a5fc0] 229 Entering Extended Passive Mode (|||35466|)
[ftp @ 00000000004a5fc0] 150 Opening BINARY mode data connection for /stream/segments2/segment_2_.m3u8
[AVIOContext @ 0000000000550080] Statistics: 0 seeks, 1 writeouts
size=N/A time=00:06:00.09 bitrate=N/A speed=1.03x    
[ftp @ 0000000000548f20] 229 Entering Extended Passive Mode (|||35662|)
[ftp @ 0000000000548f20] 150 Opening BINARY mode data connection for /stream/segments2/segment_2_12.ts
size=N/A time=00:06:02.69 bitrate=N/A speed=1.03x    
size=N/A time=00:06:03.16 bitrate=N/A speed=1.03x    
size=N/A time=00:06:03.62 bitrate=N/A speed=1.03x    
size=N/A time=00:06:04.32 bitrate=N/A speed=1.03x    
size=N/A time=00:06:05.01 bitrate=N/A speed=1.03x    
size=N/A time=00:06:05.71 bitrate=N/A speed=1.03x    
size=N/A time=00:06:06.17 bitrate=N/A speed=1.03x    
size=N/A time=00:06:06.92 bitrate=N/A speed=1.03x    
size=N/A time=00:06:07.38 bitrate=N/A speed=1.03x    
size=N/A time=00:06:08.08 bitrate=N/A speed=1.03x    
size=N/A time=00:06:08.77 bitrate=N/A speed=1.03x    
size=N/A time=00:06:09.24 bitrate=N/A speed=1.03x    
size=N/A time=00:06:09.94 bitrate=N/A speed=1.03x    
size=N/A time=00:06:10.40 bitrate=N/A speed=1.03x    
size=N/A time=00:06:11.10 bitrate=N/A speed=1.03x    

Received windows signal 0
[AVIOContext @ 00000000004aa4c0] Statistics: 0 seeks, 25 writeouts
[hls muxer @ 00000000002ee640] deleting old segment segment_2_5.ts
[hls muxer @ 00000000002ee640] failed to delete old segment ftp://me:pass@ftp.mydomain.com:21/stream/segments2/segment_2_5.ts: Invalid argument
[ftp @ 00000000004c3e60] Setting default whitelist 'tcp'
[ftp @ 0000000000548f20] 220 FTP Server
[ftp @ 0000000000548f20] 331 Password required for myuser
[ftp @ 0000000000548f20] 230 User myuser logged in
[ftp @ 0000000000548f20] 200 Type set to I
[ftp @ 0000000000548f20] 211-Features:
[ftp @ 0000000000548f20]  MDTM
[ftp @ 0000000000548f20]  MFMT
[ftp @ 0000000000548f20]  TVFS
[ftp @ 0000000000548f20]  UTF8
[ftp @ 0000000000548f20]  AUTH TLS
[ftp @ 0000000000548f20]  LANG bg-BG;fr-FR;it-IT;en-US;ja-JP;zh-TW;zh-CN;ru-RU;es-ES;ko-KR
[ftp @ 0000000000548f20]  MFF modify;UNIX.group;UNIX.mode;
[ftp @ 0000000000548f20]  MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
[ftp @ 0000000000548f20]  PBSZ
[ftp @ 0000000000548f20]  PROT
[ftp @ 0000000000548f20]  REST STREAM
[ftp @ 0000000000548f20]  SIZE
[ftp @ 0000000000548f20] 211 End
[ftp @ 0000000000548f20] 200 UTF8 set to on
[ftp @ 0000000000548f20] 257 "/" is the current directory
[ftp @ 0000000000548f20] 350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer
[ftp @ 0000000000548f20] 213 200
[hls @ 0000000000550360] EXT-X-MEDIA-SEQUENCE:10
[ftp @ 0000000000548f20] 229 Entering Extended Passive Mode (|||35121|)
[ftp @ 0000000000548f20] 150 Opening BINARY mode data connection for /stream/segments2/segment_2_.m3u8
[AVIOContext @ 000000000054eea0] Statistics: 0 seeks, 1 writeouts
size=N/A time=00:06:11.51 bitrate=N/A speed=1.03x    
video:0kB audio:2177kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Input file #0 (http://ICECAST aac stream):
  Input stream #0:0 (audio): 8000 packets read (2228839 bytes); 
  Total: 8000 packets (2228839 bytes) demuxed
Output file #0 (ftp://me:pass@ftp.mydomain.com:21/stream/segments2/segment_2_.m3u8):
  Output stream #0:0 (audio): 8000 packets muxed (2228839 bytes); 
  Total: 8000 packets (2228839 bytes) muxed
0 frames successfully decoded, 0 decoding errors
[AVIOContext @ 00000000004ab000] Statistics: 2230200 bytes read, 0 seeks
Exiting normally, received signal 2.



That’s it...



-----Original Message-----
From: ffmpeg-user [mailto:ffmpeg-user-bounces at ffmpeg.org] On Behalf Of Moritz Barsnick
Sent: Wednesday, August 10, 2016 5:10 PM
To: FFmpeg user discussions
Subject: Re: [FFmpeg-user] HLS to FTP

On Wed, Aug 10, 2016 at 15:51:48 +0200, Yaniv Sharon wrote:
> I know that FFmpeg developers not love the FTP method, but I think 
> that is really cool. What about more support from ffmpeg? :-)

Could you please show us the complete, uncut console output of the command that produced the error "hls muxer @ 000...failed to delete old segment...invalid argument"
? Thanks.

Moritz
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".



More information about the ffmpeg-user mailing list