Opened 5 years ago

Closed 5 years ago

#8461 closed defect (fixed)

generate mast playlist with fullpath failed on windows

Reported by: Wei Jia Owned by:
Priority: important Component: avformat
Version: git-master Keywords: hls regression
Cc: lq@onvideo.cn Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug: error info is

[hls @ 0000000002d4e040] Opening 'D:\data\filename/master-playlist.m3u8' for writing
Unable to find relative url
Unable to find relative URL

because of the full path contains a forward slash .
How to reproduce:

% ffmpeg -re -i D:\data\filename.mp4 -y -sc_threshold 0  -aspect 16:9 -c:a aac -map 0:v -c:v:0 libx264 -filter:v:0 "scale=-2:1080" -map 0:a -b:v:0 2500k -map 0:v -c:v:1 libx264 -filter:v:1 "scale=-2:720" -map 0:a -b:v:1 1800k -map 0:v -c:v:2 libx264 -filter:v:2 "scale=-2:540" -map 0:a -b:v:2 900k -map 0:v -c:v:3 libx264 -filter:v:3 "scale=-2:360" -map 0:a -b:v:3 500k -f hls -hls_time 20 -hls_list_size 0 -hls_playlist_type vod  -master_pl_name master-playlist.m3u8 -var_stream_map "v:0,a:0 v:1,a:1 v:2,a:2 v:3,a:3" D:\data\filename\c9e41d22-bd16-4594-97f4-e3633e419b0c%v.m3u8
ffmpeg version N-95216-ge6625ca41f Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 9.2.1 (GCC) 20190918
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls
nable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-li
lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus
able-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable
vpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --ena
libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-
o-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx
able-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --ena
avisynth --enable-libopenmpt --enable-amf

Attachments (2)

ffmpeg-20200110-213627.log (2.2 MB ) - added by Steven Liu 5 years ago.
ffmpeg-20200110-220003.log (2.3 MB ) - added by Steven Liu 5 years ago.

Change History (26)

comment:1 by Carl Eugen Hoyos, 5 years ago

Version: 4.2unspecified

Is this issue reproducible with current FFmpeg git head, the only version supported on this bug tracker?

in reply to:  1 comment:2 by Wei Jia, 5 years ago

Replying to cehoyos:

Is this issue reproducible with current FFmpeg git head, the only version supported on this bug tracker?

Yes, the latest version downloaded by my colleague today has the same problem

comment:3 by Steven Liu, 5 years ago

Cc: lq@onvideo.cn added

comment:4 by Steven Liu, 5 years ago

Resolution: worksforme
Status: newclosed

It's ok here.

admin@admin-PC MSYS ~/ffmpeg/dash
# ffmpeg -re -i D:\data/filename.mp4 -y -sc_threshold 0 -aspect 16:9 -c:a aac -map 0:v -c:v:0 libx264 -filter:v:0 "scale=-2:1080" -map 0:a -b:v:0 2500k -map 0:v -c:v:1 libx264 -filter:v:1 "scale=-2:720" -map 0:a -b:v:1 1800k -map 0:v -c:v:2 libx264 -filter:v:2 "scale=-2:540" -map 0:a -b:v:2 900k -map 0:v -c:v:3 libx264 -filter:v:3 "scale=-2:360" -map 0:a -b:v:3 500k -f hls -hls_time 20 -hls_list_size 0 -hls_playlist_type vod -master_pl_name master-playlist.m3u8 -var_stream_map "v:0,a:0 v:1,a:1 v:2,a:2 v:3,a:3" D:\\data\\filename\\c9e41d22-bd16-4594-97f4-e3633e419b0c%v.m3u8
ffmpeg version N-94063-g86f04b918c Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 7.4.0 (GCC)
  configuration: --enable-gpl --enable-libx264 --prefix=/usr
  libavutil      56. 29.100 / 56. 29.100
  libavcodec     58. 53.100 / 58. 53.100
  libavformat    58. 27.103 / 58. 27.103
  libavdevice    58.  7.100 / 58.  7.100
  libavfilter     7. 55.100 /  7. 55.100
  libswscale      5.  4.101 /  5.  4.101
  libswresample   3.  4.100 /  3.  4.100
  libpostproc    55.  4.100 / 55.  4.100
D:data/filename.mp4: No such file or directory

admin@admin-PC MSYS ~/ffmpeg/dash
#

admin@admin-PC MSYS ~/ffmpeg/dash
# ffmpeg -re -i D:\\data\\filename.mp4 -y -sc_threshold 0 -aspect 16:9 -c:a aac -map 0:v -c:v:0 libx264 -filter:v:0 "scale=-2:1080" -map 0:a -b:v:0 2500k -map 0:v -c:v:1 libx264 -filter:v:1 "scale=-2:720" -map 0:a -b:v:1 1800k -map 0:v -c:v:2 libx264 -filter:v:2 "scale=-2:540" -map 0:a -b:v:2 900k -map 0:v -c:v:3 libx264 -filter:v:3 "scale=-2:360" -map 0:a -b:v:3 500k -f hls -hls_time 20 -hls_list_size 0 -hls_playlist_type vod -master_pl_name master-playlist.m3u8 -var_stream_map "v:0,a:0 v:1,a:1 v:2,a:2 v:3,a:3" D:\\data\\c9e41d22-bd16-4594-97f4-e3633e419b0c%v.m3u8     ffmpeg version N-94063-g86f04b918c Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 7.4.0 (GCC)
  configuration: --enable-gpl --enable-libx264 --prefix=/usr
  libavutil      56. 29.100 / 56. 29.100
  libavcodec     58. 53.100 / 58. 53.100
  libavformat    58. 27.103 / 58. 27.103
  libavdevice    58.  7.100 / 58.  7.100
  libavfilter     7. 55.100 /  7. 55.100
  libswscale      5.  4.101 /  5.  4.101
  libswresample   3.  4.100 /  3.  4.100
  libpostproc    55.  4.100 / 55.  4.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\data\filename.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf57.84.100
  Duration: 00:00:26.60, start: 0.000000, bitrate: 2575 kb/s
    Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1092x614 [SAR 1:1 DAR 546:307], 2406 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 161 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
Only '-vf scale=-2:1080' read, ignoring remaining -vf options: Use ',' to separate filters
Only '-af (null)' read, ignoring remaining -af options: Use ',' to separate filters
Only '-vf scale=-2:720' read, ignoring remaining -vf options: Use ',' to separate filters
Only '-af (null)' read, ignoring remaining -af options: Use ',' to separate filters
Only '-vf scale=-2:540' read, ignoring remaining -vf options: Use ',' to separate filters
Only '-af (null)' read, ignoring remaining -af options: Use ',' to separate filters
Only '-vf scale=-2:360' read, ignoring remaining -vf options: Use ',' to separate filters
Only '-af (null)' read, ignoring remaining -af options: Use ',' to separate filters
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
  Stream #0:1 -> #0:1 (aac (native) -> aac (native))
  Stream #0:0 -> #0:2 (h264 (native) -> h264 (libx264))
  Stream #0:1 -> #0:3 (aac (native) -> aac (native))
  Stream #0:0 -> #0:4 (h264 (native) -> h264 (libx264))
  Stream #0:1 -> #0:5 (aac (native) -> aac (native))
  Stream #0:0 -> #0:6 (h264 (native) -> h264 (libx264))
  Stream #0:1 -> #0:7 (aac (native) -> aac (native))
Press [q] to stop, [?] for help
[libx264 @ 0x600204640] using SAR=1/1
[libx264 @ 0x600204640] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 0x600204640] profile Progressive High, level 4.0, 4:2:0, 8-bit
[libx264 @ 0x600204640] 264 - core 157 - H.264/MPEG-4 AVC codec - Copyleft 2003-2019 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=1 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=0 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=2500 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[libx264 @ 0x60004b7c0] using SAR=1/1
[libx264 @ 0x60004b7c0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 0x60004b7c0] profile Progressive High, level 3.1, 4:2:0, 8-bit
[libx264 @ 0x60004b7c0] 264 - core 157 - H.264/MPEG-4 AVC codec - Copyleft 2003-2019 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=1 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=0 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=1800 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[libx264 @ 0x600208b00] using SAR=1/1
[libx264 @ 0x600208b00] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 0x600208b00] profile Progressive High, level 3.1, 4:2:0, 8-bit
[libx264 @ 0x600208b00] 264 - core 157 - H.264/MPEG-4 AVC codec - Copyleft 2003-2019 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=1 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=0 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=900 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[libx264 @ 0x60004f300] using SAR=1/1
[libx264 @ 0x60004f300] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 0x60004f300] profile Progressive High, level 3.0, 4:2:0, 8-bit
[libx264 @ 0x60004f300] 264 - core 157 - H.264/MPEG-4 AVC codec - Copyleft 2003-2019 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=1 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=0 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=500 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[hls @ 0x600062d80] Opening 'D:\data\c9e41d22-bd16-4594-97f4-e3633e419b0c00.ts' for writing
[hls @ 0x600062d80] Opening 'D:\data\c9e41d22-bd16-4594-97f4-e3633e419b0c10.ts' for writing
[hls @ 0x600062d80] Opening 'D:\data\c9e41d22-bd16-4594-97f4-e3633e419b0c20.ts' for writing
[hls @ 0x600062d80] Opening 'D:\data\c9e41d22-bd16-4594-97f4-e3633e419b0c30.ts' for writing
Output #0, hls, to 'D:\data\c9e41d22-bd16-4594-97f4-e3633e419b0c%v.m3u8':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf58.27.103
    Stream #0:0(und): Video: h264 (libx264), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 2500 kb/s, 30 fps, 90k tbn, 30 tbc (default)
    Metadata:
      handler_name    : VideoHandler
      encoder         : Lavc58.53.100 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/2500000 buffer size: 0 vbv_delay: -1
    Stream #0:1(und): Audio: aac (LC), 44100 Hz, stereo, fltp, 128 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
      encoder         : Lavc58.53.100 aac
    Stream #0:2(und): Video: h264 (libx264), yuv420p(progressive), 1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 1800 kb/s, 30 fps, 90k tbn, 30 tbc (default)
    Metadata:
      handler_name    : VideoHandler
      encoder         : Lavc58.53.100 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/1800000 buffer size: 0 vbv_delay: -1
    Stream #0:3(und): Audio: aac (LC), 44100 Hz, stereo, fltp, 128 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
      encoder         : Lavc58.53.100 aac
    Stream #0:4(und): Video: h264 (libx264), yuv420p(progressive), 960x540 [SAR 1:1 DAR 16:9], q=-1--1, 900 kb/s, 30 fps, 90k tbn, 30 tbc (default)
    Metadata:
      handler_name    : VideoHandler
      encoder         : Lavc58.53.100 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/900000 buffer size: 0 vbv_delay: -1
    Stream #0:5(und): Audio: aac (LC), 44100 Hz, stereo, fltp, 128 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
      encoder         : Lavc58.53.100 aac
    Stream #0:6(und): Video: h264 (libx264), yuv420p, 640x360 [SAR 1:1 DAR 16:9], q=-1--1, 500 kb/s, 30 fps, 90k tbn, 30 tbc (default)
    Metadata:
      handler_name    : VideoHandler
      encoder         : Lavc58.53.100 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/500000 buffer size: 0 vbv_delay: -1
    Stream #0:7(und): Audio: aac (LC), 44100 Hz, stereo, fltp, 128 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
      encoder         : Lavc58.53.100 aac
[hls @ 0x600062d80] Opening 'D:\data\c9e41d22-bd16-4594-97f4-e3633e419b0c0.m3u8' for writing6x
[hls @ 0x600062d80] Opening 'D:\data\c9e41d22-bd16-4594-97f4-e3633e419b0c1.m3u8' for writing
[hls @ 0x600062d80] Opening 'D:\data\c9e41d22-bd16-4594-97f4-e3633e419b0c2.m3u8' for writing
[hls @ 0x600062d80] Opening 'D:\data\c9e41d22-bd16-4594-97f4-e3633e419b0c3.m3u8' for writing
[hls @ 0x600062d80] Opening 'D:\data/master-playlist.m3u8' for writing
frame=   42 fps=8.3 q=22.0 Lq=20.0 q=24.0 q=25.0 size=N/A time=00:00:01.50 bitrate=N/A speed=0.298x
video:565kB audio:106kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
[libx264 @ 0x600204640] frame I:1     Avg QP:22.90  size: 94317
[libx264 @ 0x600204640] frame P:11    Avg QP:21.43  size: 14214
[libx264 @ 0x600204640] frame B:30    Avg QP:30.20  size:   403
[libx264 @ 0x600204640] consecutive B-frames:  4.8%  0.0%  0.0% 95.2%
[libx264 @ 0x600204640] mb I  I16..4: 37.7% 36.7% 25.6%
[libx264 @ 0x600204640] mb P  I16..4:  4.9%  4.1%  2.3%  P16..4:  4.8%  0.7%  0.7%  0.0%  0.0%    skip:82.6%
[libx264 @ 0x600204640] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  3.6%  0.0%  0.0%  direct: 0.0%  skip:96.2%  L0:33.5% L1:66.3% BI: 0.2%
[libx264 @ 0x600204640] final ratefactor: 18.12
[libx264 @ 0x600204640] 8x8 transform intra:36.6% inter:69.1%
[libx264 @ 0x600204640] coded y,uvDC,uvAC intra: 29.0% 34.0% 23.7% inter: 0.4% 0.9% 0.1%
[libx264 @ 0x600204640] i16 v,h,dc,p: 27% 72%  1%  0%
[libx264 @ 0x600204640] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 42% 23% 22%  1%  2%  2%  2%  2%  2%
[libx264 @ 0x600204640] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 31% 39%  9%  3%  4%  4%  4%  3%  4%
[libx264 @ 0x600204640] i8c dc,h,v,p: 57% 27% 15%  2%
[libx264 @ 0x600204640] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0x600204640] ref P L0: 82.2%  6.1%  9.5%  2.2%
[libx264 @ 0x600204640] ref B L0: 71.2% 28.1%  0.8%
[libx264 @ 0x600204640] ref B L1: 93.4%  6.6%
[libx264 @ 0x600204640] kb/s:1501.42
[aac @ 0x60004a200] Qavg: 1918.827
[libx264 @ 0x60004b7c0] frame I:1     Avg QP:22.63  size: 64270
[libx264 @ 0x60004b7c0] frame P:11    Avg QP:21.54  size:  9656
[libx264 @ 0x60004b7c0] frame B:30    Avg QP:30.43  size:   231
[libx264 @ 0x60004b7c0] consecutive B-frames:  4.8%  0.0%  0.0% 95.2%
[libx264 @ 0x60004b7c0] mb I  I16..4: 34.1% 23.9% 41.9%
[libx264 @ 0x60004b7c0] mb P  I16..4:  5.0%  2.1%  3.7%  P16..4:  5.8%  0.9%  0.7%  0.0%  0.0%    skip:81.9%
[libx264 @ 0x60004b7c0] mb B  I16..4:  0.1%  0.0%  0.0%  B16..8:  3.9%  0.1%  0.0%  direct: 0.0%  skip:95.8%  L0:29.2% L1:70.2% BI: 0.6%
[libx264 @ 0x60004b7c0] final ratefactor: 16.67
[libx264 @ 0x60004b7c0] 8x8 transform intra:21.5% inter:63.8%
[libx264 @ 0x60004b7c0] coded y,uvDC,uvAC intra: 34.0% 37.8% 28.2% inter: 0.6% 1.0% 0.2%
[libx264 @ 0x60004b7c0] i16 v,h,dc,p: 28% 71%  0%  0%
[libx264 @ 0x60004b7c0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 41% 25% 22%  2%  2%  2%  2%  2%  4%
[libx264 @ 0x60004b7c0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 29% 42%  8%  3%  4%  4%  4%  3%  4%
[libx264 @ 0x60004b7c0] i8c dc,h,v,p: 53% 28% 17%  2%
[libx264 @ 0x60004b7c0] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0x60004b7c0] ref P L0: 81.7%  6.2% 10.4%  1.7%
[libx264 @ 0x60004b7c0] ref B L0: 76.2% 22.8%  0.9%
[libx264 @ 0x60004b7c0] ref B L1: 91.7%  8.3%
[libx264 @ 0x60004b7c0] kb/s:1013.77
[aac @ 0x600207180] Qavg: 1918.827
[libx264 @ 0x600208b00] frame I:1     Avg QP:26.31  size: 34757
[libx264 @ 0x600208b00] frame P:11    Avg QP:24.15  size:  4598
[libx264 @ 0x600208b00] frame B:30    Avg QP:34.57  size:   120
[libx264 @ 0x600208b00] consecutive B-frames:  4.8%  0.0%  0.0% 95.2%
[libx264 @ 0x600208b00] mb I  I16..4: 39.6% 15.3% 45.1%
[libx264 @ 0x600208b00] mb P  I16..4:  3.8%  2.7%  3.8%  P16..4:  4.0%  0.6%  0.6%  0.0%  0.0%    skip:84.6%
[libx264 @ 0x600208b00] mb B  I16..4:  0.1%  0.0%  0.0%  B16..8:  3.5%  0.0%  0.0%  direct: 0.0%  skip:96.3%  L0:34.3% L1:65.6% BI: 0.1%
[libx264 @ 0x600208b00] final ratefactor: 20.61
[libx264 @ 0x600208b00] 8x8 transform intra:20.9% inter:56.8%
[libx264 @ 0x600208b00] coded y,uvDC,uvAC intra: 35.3% 33.2% 23.5% inter: 0.4% 0.6% 0.1%
[libx264 @ 0x600208b00] i16 v,h,dc,p: 27% 72%  1%  0%
[libx264 @ 0x600208b00] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 45% 26% 17%  2%  2%  2%  2%  2%  2%
[libx264 @ 0x600208b00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 29% 43%  9%  2%  3%  3%  4%  3%  4%
[libx264 @ 0x600208b00] i8c dc,h,v,p: 54% 29% 15%  1%
[libx264 @ 0x600208b00] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0x600208b00] ref P L0: 75.3% 11.9% 10.0%  2.8%
[libx264 @ 0x600208b00] ref B L0: 77.7% 21.3%  1.1%
[libx264 @ 0x600208b00] ref B L1: 90.1%  9.9%
[libx264 @ 0x600208b00] kb/s:508.28
[aac @ 0x60004d9c0] Qavg: 1918.827
[libx264 @ 0x60004f300] frame I:1     Avg QP:28.97  size: 16761
[libx264 @ 0x60004f300] frame P:11    Avg QP:26.28  size:  2530
[libx264 @ 0x60004f300] frame B:30    Avg QP:36.72  size:    70
[libx264 @ 0x60004f300] consecutive B-frames:  4.8%  0.0%  0.0% 95.2%
[libx264 @ 0x60004f300] mb I  I16..4: 28.9% 13.8% 57.3%
[libx264 @ 0x60004f300] mb P  I16..4:  3.8%  1.8%  4.7%  P16..4:  5.0%  0.7%  1.0%  0.0%  0.0%    skip:83.1%
[libx264 @ 0x60004f300] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  4.6%  0.1%  0.0%  direct: 0.0%  skip:95.2%  L0:31.5% L1:68.4% BI: 0.2%
[libx264 @ 0x60004f300] final ratefactor: 21.21
[libx264 @ 0x60004f300] 8x8 transform intra:15.7% inter:56.3%
[libx264 @ 0x60004f300] coded y,uvDC,uvAC intra: 43.6% 36.4% 26.0% inter: 0.7% 0.8% 0.2%
[libx264 @ 0x60004f300] i16 v,h,dc,p: 25% 75%  0%  0%
[libx264 @ 0x60004f300] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 35% 37% 16%  1%  3%  1%  2%  2%  2%
[libx264 @ 0x60004f300] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 29% 47%  7%  2%  3%  3%  3%  3%  4%
[libx264 @ 0x60004f300] i8c dc,h,v,p: 50% 32% 17%  2%
[libx264 @ 0x60004f300] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0x60004f300] ref P L0: 76.0% 13.6%  9.4%  1.0%
[libx264 @ 0x60004f300] ref B L0: 76.1% 22.4%  1.4%
[libx264 @ 0x60004f300] ref B L1: 90.7%  9.3%
[libx264 @ 0x60004f300] kb/s:266.85
[aac @ 0x60005d4c0] Qavg: 1918.827

admin@admin-PC MSYS ~/ffmpeg/dash
#

in reply to:  4 ; comment:5 by Wei Jia, 5 years ago

Replying to lingjiujianke:
Could you try run the command in CMD, maybe Windows 10 sub system made some compatible processing。

comment:6 by Carl Eugen Hoyos, 5 years ago

Component: undeterminedavformat
Keywords: hls added

in reply to:  5 ; comment:7 by gdgsdg123, 5 years ago

Resolution: worksforme
Status: closedreopened

Replying to eonie:

Could you try run the command in CMD, maybe Windows 10 sub system made some compatible processing。

Windows 7:

C:\>ffmpeg -re -i "test_r60_libx264.avi" -y -sc_threshold 0  -aspect 16:9 -c:a aac -map 0:v -c:v:0 libx264 -filter:v:0 "scale=-2:1080" -map 0:a -b:v:0 2500k -map 0:v -c:v:1 libx264 -filter:v:1 "scale=-2:720" -map 0:a -b:v:1 1800k -map 0:v -c:v:2 libx264 -filter:v:2 "scale=-2:540" -map 0:a -b:v:2 900k -map 0:v -c:v:3 libx264 -filter:v:3 "scale=-2:360" -map 0:a -b:v:3 500k -f hls -hls_time 20 -hls_list_size 0 -hls_playlist_type vod  -master_pl_name master-playlist.m3u8 -var_stream_map "v:0,a:0 v:1,a:1 v:2,a:2 v:3,a:3" C:\filename\c9e41d22-bd16-4594-97f4-e3633e419b0c%v.m3u8
ffmpeg version git-2020-01-02-81172b5 Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 9.2.1 (GCC) 20191125
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
  libavutil      56. 38.100 / 56. 38.100
  libavcodec     58. 65.102 / 58. 65.102
  libavformat    58. 35.101 / 58. 35.101
  libavdevice    58.  9.102 / 58.  9.102
  libavfilter     7. 70.101 /  7. 70.101
  libswscale      5.  6.100 /  5.  6.100
  libswresample   3.  6.100 /  3.  6.100
  libpostproc    55.  6.100 / 55.  6.100
Guessed Channel Layout for Input Stream #0.1 : stereo
Input #0, avi, from 'test_r60_libx264.avi':
  Metadata:
    encoder         : Lavf58.35.101
  Duration: 00:05:24.67, start: 0.000000, bitrate: 150592 kb/s
    Stream #0:0: Video: h264 (High 4:4:4 Intra) (H264 / 0x34363248), yuv420p(tv, bt470bg/bt470bg/smpte170m, progressive), 1920x1080, 149902 kb/s, 60 fps, 30 tbr, 60 tbn, 120 tbc
    Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, stereo, s16, 1536 kb/s
Only '-vf scale=-2:1080' read, ignoring remaining -vf options: Use ',' to separate filters
Only '-af (null)' read, ignoring remaining -af options: Use ',' to separate filters
Only '-vf scale=-2:720' read, ignoring remaining -vf options: Use ',' to separate filters
Only '-af (null)' read, ignoring remaining -af options: Use ',' to separate filters
Only '-vf scale=-2:540' read, ignoring remaining -vf options: Use ',' to separate filters
Only '-af (null)' read, ignoring remaining -af options: Use ',' to separate filters
Only '-vf scale=-2:360' read, ignoring remaining -vf options: Use ',' to separate filters
Only '-af (null)' read, ignoring remaining -af options: Use ',' to separate filters
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
  Stream #0:1 -> #0:1 (pcm_s16le (native) -> aac (native))
  Stream #0:0 -> #0:2 (h264 (native) -> h264 (libx264))
  Stream #0:1 -> #0:3 (pcm_s16le (native) -> aac (native))
  Stream #0:0 -> #0:4 (h264 (native) -> h264 (libx264))
  Stream #0:1 -> #0:5 (pcm_s16le (native) -> aac (native))
  Stream #0:0 -> #0:6 (h264 (native) -> h264 (libx264))
  Stream #0:1 -> #0:7 (pcm_s16le (native) -> aac (native))
Press [q] to stop, [?] for help
[libx264 @ 0000000002edd940] using SAR=1/1
[libx264 @ 0000000002edd940] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0000000002edd940] profile High, level 4.0, 4:2:0, 8-bit
[libx264 @ 0000000002edd940] 264 - core 158 - H.264/MPEG-4 AVC codec - Copyleft 2003-2019 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=24 lookahead_threads=4 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=0 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=2500 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[libx264 @ 0000000002fdc940] using SAR=1/1
[libx264 @ 0000000002fdc940] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0000000002fdc940] profile High, level 3.1, 4:2:0, 8-bit
[libx264 @ 0000000002fdc940] 264 - core 158 - H.264/MPEG-4 AVC codec - Copyleft 2003-2019 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=22 lookahead_threads=3 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=0 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=1800 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[libx264 @ 00000000005160c0] using SAR=1/1
[libx264 @ 00000000005160c0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 00000000005160c0] profile High, level 3.1, 4:2:0, 8-bit
[libx264 @ 00000000005160c0] 264 - core 158 - H.264/MPEG-4 AVC codec - Copyleft 2003-2019 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=17 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=0 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=900 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[libx264 @ 0000000000517c00] using SAR=1/1
[libx264 @ 0000000000517c00] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0000000000517c00] profile High, level 3.0, 4:2:0, 8-bit
[libx264 @ 0000000000517c00] 264 - core 158 - H.264/MPEG-4 AVC codec - Copyleft 2003-2019 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=11 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=0 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=500 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, hls, to 'C:\filename\c9e41d22-bd16-4594-97f4-e3633e419b0c%v.m3u8':
  Metadata:
    encoder         : Lavf58.35.101
    Stream #0:0: Video: h264 (libx264), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 2500 kb/s, 30 fps, 90k tbn, 30 tbc
    Metadata:
      encoder         : Lavc58.65.102 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/2500000 buffer size: 0 vbv_delay: N/A
    Stream #0:1: Audio: aac (LC), 48000 Hz, stereo, fltp, 128 kb/s
    Metadata:
      encoder         : Lavc58.65.102 aac
    Stream #0:2: Video: h264 (libx264), yuv420p(progressive), 1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 1800 kb/s, 30 fps, 90k tbn, 30 tbc
    Metadata:
      encoder         : Lavc58.65.102 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/1800000 buffer size: 0 vbv_delay: N/A
    Stream #0:3: Audio: aac (LC), 48000 Hz, stereo, fltp, 128 kb/s
    Metadata:
      encoder         : Lavc58.65.102 aac
    Stream #0:4: Video: h264 (libx264), yuv420p(progressive), 960x540 [SAR 1:1 DAR 16:9], q=-1--1, 900 kb/s, 30 fps, 90k tbn, 30 tbc
    Metadata:
      encoder         : Lavc58.65.102 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/900000 buffer size: 0 vbv_delay: N/A
    Stream #0:5: Audio: aac (LC), 48000 Hz, stereo, fltp, 128 kb/s
    Metadata:
      encoder         : Lavc58.65.102 aac
    Stream #0:6: Video: h264 (libx264), yuv420p, 640x360 [SAR 1:1 DAR 16:9], q=-1--1, 500 kb/s, 30 fps, 90k tbn, 30 tbc
    Metadata:
      encoder         : Lavc58.65.102 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/500000 buffer size: 0 vbv_delay: N/A
    Stream #0:7: Audio: aac (LC), 48000 Hz, stereo, fltp, 128 kb/s
    Metadata:
      encoder         : Lavc58.65.102 aac
[hls @ 00000000034474c0] Opening 'C:\filename\c9e41d22-bd16-4594-97f4-e3633e419b0c00.ts' for writingspeed=0.998x
[hls @ 00000000034474c0] Failed to open file 'C:\filename\c9e41d22-bd16-4594-97f4-e3633e419b0c00.ts'
av_interleaved_write_frame(): No such file or directory
[hls @ 00000000034474c0] Opening 'C:\filename\c9e41d22-bd16-4594-97f4-e3633e419b0c10.ts' for writing
[hls @ 00000000034474c0] Failed to open file 'C:\filename\c9e41d22-bd16-4594-97f4-e3633e419b0c10.ts'
[hls @ 00000000034474c0] Opening 'C:\filename\c9e41d22-bd16-4594-97f4-e3633e419b0c00.ts' for writing
[hls @ 00000000034474c0] Failed to open file 'C:\filename\c9e41d22-bd16-4594-97f4-e3633e419b0c00.ts'
[hls @ 00000000034474c0] Opening 'C:\filename\c9e41d22-bd16-4594-97f4-e3633e419b0c0.m3u8' for writing
[hls @ 00000000034474c0] Opening 'C:\filename\c9e41d22-bd16-4594-97f4-e3633e419b0c10.ts' for writing
[hls @ 00000000034474c0] Failed to open file 'C:\filename\c9e41d22-bd16-4594-97f4-e3633e419b0c10.ts'
[hls @ 00000000034474c0] Opening 'C:\filename\c9e41d22-bd16-4594-97f4-e3633e419b0c1.m3u8' for writing
[hls @ 00000000034474c0] Opening 'C:\filename\c9e41d22-bd16-4594-97f4-e3633e419b0c20.ts' for writing
[hls @ 00000000034474c0] Failed to open file 'C:\filename\c9e41d22-bd16-4594-97f4-e3633e419b0c20.ts'
[hls @ 00000000034474c0] Opening 'C:\filename\c9e41d22-bd16-4594-97f4-e3633e419b0c2.m3u8' for writing
[hls @ 00000000034474c0] Opening 'C:\filename\c9e41d22-bd16-4594-97f4-e3633e419b0c30.ts' for writing
[hls @ 00000000034474c0] Failed to open file 'C:\filename\c9e41d22-bd16-4594-97f4-e3633e419b0c30.ts'
[hls @ 00000000034474c0] Opening 'C:\filename\c9e41d22-bd16-4594-97f4-e3633e419b0c3.m3u8' for writing
[hls @ 00000000034474c0] Opening 'C:\filename/master-playlist.m3u8' for writing
[hls @ 00000000034474c0] Failed to open master play list file 'C:\filename/master-playlist.m3u8'
[hls @ 00000000034474c0] Master playlist creation failed
Error writing trailer of C:\filename\c9e41d22-bd16-4594-97f4-e3633e419b0c%v.m3u8: No such file or directory
frame=  819 fps= 28 q=43.0 Lq=-1.0 q=-1.0 q=-1.0 size=N/A time=00:00:27.77 bitrate=N/A dup=84 drop=0 speed=0.956x
video:23330kB audio:1741kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
[libx264 @ 0000000002edd940] frame I:4     Avg QP:30.54  size: 41470
[libx264 @ 0000000002edd940] frame P:216   Avg QP:33.33  size: 21453
[libx264 @ 0000000002edd940] frame B:599   Avg QP:36.74  size: 10483
[libx264 @ 0000000002edd940] consecutive B-frames:  1.5%  2.4%  1.8% 94.3%
[libx264 @ 0000000002edd940] mb I  I16..4: 28.9% 60.4% 10.7%
[libx264 @ 0000000002edd940] mb P  I16..4:  6.8% 13.1%  1.5%  P16..4: 21.6%  2.6%  1.6%  0.0%  0.0%    skip:52.7%
[libx264 @ 0000000002edd940] mb B  I16..4:  0.5%  1.8%  0.4%  B16..8: 25.9%  1.6%  0.3%  direct: 0.7%  skip:68.8%  L0:45.8% L1:52.9% BI: 1.3%
[libx264 @ 0000000002edd940] final ratefactor: 31.57
[libx264 @ 0000000002edd940] 8x8 transform intra:62.4% inter:86.4%
[libx264 @ 0000000002edd940] coded y,uvDC,uvAC intra: 35.6% 26.7% 9.0% inter: 6.2% 3.2% 0.4%
[libx264 @ 0000000002edd940] i16 v,h,dc,p: 36% 41%  9% 14%
[libx264 @ 0000000002edd940] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 12% 19% 39%  3%  5%  3%  9%  2%  6%
[libx264 @ 0000000002edd940] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 13% 29% 13%  5%  8%  4% 15%  3% 10%
[libx264 @ 0000000002edd940] i8c dc,h,v,p: 81% 12%  5%  1%
[libx264 @ 0000000002edd940] Weighted P-Frames: Y:4.2% UV:1.4%
[libx264 @ 0000000002edd940] ref P L0: 52.6%  9.4% 26.2% 11.4%  0.5%
[libx264 @ 0000000002edd940] ref B L0: 76.6% 17.8%  5.6%
[libx264 @ 0000000002edd940] ref B L1: 90.3%  9.7%
[libx264 @ 0000000002edd940] kb/s:3246.62
[aac @ 00000000031aaa40] Qavg: 191.030
[libx264 @ 0000000002fdc940] frame I:4     Avg QP:28.09  size: 30134
[libx264 @ 0000000002fdc940] frame P:211   Avg QP:30.75  size: 14274
[libx264 @ 0000000002fdc940] frame B:603   Avg QP:33.43  size:  7577
[libx264 @ 0000000002fdc940] consecutive B-frames:  0.9%  1.5%  3.3% 94.4%
[libx264 @ 0000000002fdc940] mb I  I16..4: 25.4% 56.9% 17.6%
[libx264 @ 0000000002fdc940] mb P  I16..4:  5.7% 12.5%  2.2%  P16..4: 29.1%  4.4%  2.7%  0.0%  0.0%    skip:43.4%
[libx264 @ 0000000002fdc940] mb B  I16..4:  0.4%  2.4%  0.6%  B16..8: 31.2%  2.9%  0.6%  direct: 1.3%  skip:60.5%  L0:46.2% L1:51.7% BI: 2.1%
[libx264 @ 0000000002fdc940] final ratefactor: 28.83
[libx264 @ 0000000002fdc940] 8x8 transform intra:63.8% inter:81.8%
[libx264 @ 0000000002fdc940] coded y,uvDC,uvAC intra: 49.0% 30.8% 14.3% inter: 9.8% 4.7% 0.7%
[libx264 @ 0000000002fdc940] i16 v,h,dc,p: 30% 41% 10% 19%
[libx264 @ 0000000002fdc940] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 10% 20% 31%  5%  7%  4% 12%  3%  8%
[libx264 @ 0000000002fdc940] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 13% 26% 16%  5%  9%  5% 14%  4%  9%
[libx264 @ 0000000002fdc940] i8c dc,h,v,p: 78% 15%  6%  1%
[libx264 @ 0000000002fdc940] Weighted P-Frames: Y:4.7% UV:0.9%
[libx264 @ 0000000002fdc940] ref P L0: 52.4% 12.1% 24.1% 10.9%  0.5%
[libx264 @ 0000000002fdc940] ref B L0: 78.9% 15.8%  5.3%
[libx264 @ 0000000002fdc940] ref B L1: 91.7%  8.3%
[libx264 @ 0000000002fdc940] kb/s:2259.63
[aac @ 0000000000515300] Qavg: 191.030
[libx264 @ 00000000005160c0] frame I:4     Avg QP:29.34  size: 17272
[libx264 @ 00000000005160c0] frame P:211   Avg QP:31.72  size:  7028
[libx264 @ 00000000005160c0] frame B:603   Avg QP:34.48  size:  3512
[libx264 @ 00000000005160c0] consecutive B-frames:  1.1%  1.0%  2.6% 95.4%
[libx264 @ 00000000005160c0] mb I  I16..4: 30.3% 52.3% 17.5%
[libx264 @ 00000000005160c0] mb P  I16..4:  5.2% 10.3%  1.9%  P16..4: 30.2%  5.0%  2.8%  0.0%  0.0%    skip:44.6%
[libx264 @ 00000000005160c0] mb B  I16..4:  0.3%  1.9%  0.4%  B16..8: 30.7%  2.8%  0.5%  direct: 1.2%  skip:62.1%  L0:45.2% L1:52.8% BI: 2.0%
[libx264 @ 00000000005160c0] final ratefactor: 29.92
[libx264 @ 00000000005160c0] 8x8 transform intra:62.1% inter:80.8%
[libx264 @ 00000000005160c0] coded y,uvDC,uvAC intra: 47.3% 28.7% 11.4% inter: 9.0% 4.3% 0.6%
[libx264 @ 00000000005160c0] i16 v,h,dc,p: 30% 40% 10% 19%
[libx264 @ 00000000005160c0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 10% 19% 32%  5%  7%  4% 12%  3%  8%
[libx264 @ 00000000005160c0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 24% 18%  5%  8%  5% 12%  4%  8%
[libx264 @ 00000000005160c0] i8c dc,h,v,p: 79% 14%  6%  1%
[libx264 @ 00000000005160c0] Weighted P-Frames: Y:5.7% UV:2.8%
[libx264 @ 00000000005160c0] ref P L0: 53.9% 12.5% 22.8% 10.4%  0.4%
[libx264 @ 00000000005160c0] ref B L0: 80.3% 14.8%  4.9%
[libx264 @ 00000000005160c0] ref B L1: 92.2%  7.8%
[libx264 @ 00000000005160c0] kb/s:1076.67
[aac @ 0000000000516e80] Qavg: 191.030
[libx264 @ 0000000000517c00] frame I:4     Avg QP:28.47  size: 10793
[libx264 @ 0000000000517c00] frame P:213   Avg QP:29.99  size:  4045
[libx264 @ 0000000000517c00] frame B:601   Avg QP:32.83  size:  1781
[libx264 @ 0000000000517c00] consecutive B-frames:  1.2%  2.0%  1.5% 95.4%
[libx264 @ 0000000000517c00] mb I  I16..4: 24.5% 53.9% 21.6%
[libx264 @ 0000000000517c00] mb P  I16..4:  4.2%  9.7%  2.1%  P16..4: 35.9%  7.9%  4.1%  0.0%  0.0%    skip:36.1%
[libx264 @ 0000000000517c00] mb B  I16..4:  0.3%  2.0%  0.3%  B16..8: 34.1%  3.9%  0.7%  direct: 1.6%  skip:57.0%  L0:44.8% L1:52.6% BI: 2.6%
[libx264 @ 0000000000517c00] final ratefactor: 29.07
[libx264 @ 0000000000517c00] 8x8 transform intra:64.7% inter:76.5%
[libx264 @ 0000000000517c00] coded y,uvDC,uvAC intra: 54.2% 29.7% 11.3% inter: 11.4% 5.4% 0.7%
[libx264 @ 0000000000517c00] i16 v,h,dc,p: 28% 39% 11% 23%
[libx264 @ 0000000000517c00] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 13% 17% 30%  5%  7%  4% 11%  3%  8%
[libx264 @ 0000000000517c00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 26% 21%  5%  8%  5% 10%  3%  6%
[libx264 @ 0000000000517c00] i8c dc,h,v,p: 77% 15%  6%  2%
[libx264 @ 0000000000517c00] Weighted P-Frames: Y:6.1% UV:2.3%
[libx264 @ 0000000000517c00] ref P L0: 54.3% 13.7% 21.9%  9.7%  0.4%
[libx264 @ 0000000000517c00] ref B L0: 81.6% 13.7%  4.8%
[libx264 @ 0000000000517c00] ref B L1: 92.7%  7.3%
[libx264 @ 0000000000517c00] kb/s:579.52
[aac @ 00000000005189c0] Qavg: 191.030
Conversion failed!

in reply to:  7 ; comment:8 by Balling, 5 years ago

Replying to gdgsdg123:

Replying to eonie:

Could you try run the command in CMD, maybe Windows 10 sub system made some compatible processing。

Windows 7:

Should you not use double back slash ?

Last edited 5 years ago by Balling (previous) (diff)

in reply to:  8 comment:9 by gdgsdg123, 5 years ago

Replying to Balling:

Should you not use double back slash ?

What?.. You mean like this?

C:\>ffmpeg -re -i "test_r60_libx264.avi" -y -sc_threshold 0  -aspect 16:9 -c:a aac -map 0:v -c:v:0 libx264 -filter:v:0 "scale=-2:1080" -map 0:a -b:v:0 2500k -map 0:v -c:v:1 libx264 -filter:v:1 "scale=-2:720" -map 0:a -b:v:1 1800k -map 0:v -c:v:2 libx264 -filter:v:2 "scale=-2:540" -map 0:a -b:v:2 900k -map 0:v -c:v:3 libx264 -filter:v:3 "scale=-2:360" -map 0:a -b:v:3 500k -f hls -hls_time 20 -hls_list_size 0 -hls_playlist_type vod  -master_pl_name master-playlist.m3u8 -var_stream_map "v:0,a:0 v:1,a:1 v:2,a:2 v:3,a:3" C:\\filename\\c9e41d22-bd16-4594-97f4-e3633e419b0c%v.m3u8
ffmpeg version git-2020-01-02-81172b5 Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 9.2.1 (GCC) 20191125
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
  libavutil      56. 38.100 / 56. 38.100
  libavcodec     58. 65.102 / 58. 65.102
  libavformat    58. 35.101 / 58. 35.101
  libavdevice    58.  9.102 / 58.  9.102
  libavfilter     7. 70.101 /  7. 70.101
  libswscale      5.  6.100 /  5.  6.100
  libswresample   3.  6.100 /  3.  6.100
  libpostproc    55.  6.100 / 55.  6.100
Guessed Channel Layout for Input Stream #0.1 : stereo
Input #0, avi, from 'test_r60_libx264.avi':
  Metadata:
    encoder         : Lavf58.35.101
  Duration: 00:05:24.67, start: 0.000000, bitrate: 150592 kb/s
    Stream #0:0: Video: h264 (High 4:4:4 Intra) (H264 / 0x34363248), yuv420p(tv, bt470bg/bt470bg/smpte170m, progressive), 1920x1080, 149902 kb/s, 60 fps, 30 tbr, 60 tbn, 120 tbc
    Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, stereo, s16, 1536 kb/s
Only '-vf scale=-2:1080' read, ignoring remaining -vf options: Use ',' to separate filters
Only '-af (null)' read, ignoring remaining -af options: Use ',' to separate filters
Only '-vf scale=-2:720' read, ignoring remaining -vf options: Use ',' to separate filters
Only '-af (null)' read, ignoring remaining -af options: Use ',' to separate filters
Only '-vf scale=-2:540' read, ignoring remaining -vf options: Use ',' to separate filters
Only '-af (null)' read, ignoring remaining -af options: Use ',' to separate filters
Only '-vf scale=-2:360' read, ignoring remaining -vf options: Use ',' to separate filters
Only '-af (null)' read, ignoring remaining -af options: Use ',' to separate filters
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
  Stream #0:1 -> #0:1 (pcm_s16le (native) -> aac (native))
  Stream #0:0 -> #0:2 (h264 (native) -> h264 (libx264))
  Stream #0:1 -> #0:3 (pcm_s16le (native) -> aac (native))
  Stream #0:0 -> #0:4 (h264 (native) -> h264 (libx264))
  Stream #0:1 -> #0:5 (pcm_s16le (native) -> aac (native))
  Stream #0:0 -> #0:6 (h264 (native) -> h264 (libx264))
  Stream #0:1 -> #0:7 (pcm_s16le (native) -> aac (native))
Press [q] to stop, [?] for help
[libx264 @ 0000000002c4d940] using SAR=1/1
[libx264 @ 0000000002c4d940] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0000000002c4d940] profile High, level 4.0, 4:2:0, 8-bit
[libx264 @ 0000000002c4d940] 264 - core 158 - H.264/MPEG-4 AVC codec - Copyleft 2003-2019 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=24 lookahead_threads=4 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=0 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=2500 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[libx264 @ 0000000002d4c940] using SAR=1/1
[libx264 @ 0000000002d4c940] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0000000002d4c940] profile High, level 3.1, 4:2:0, 8-bit
[libx264 @ 0000000002d4c940] 264 - core 158 - H.264/MPEG-4 AVC codec - Copyleft 2003-2019 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=22 lookahead_threads=3 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=0 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=1800 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[libx264 @ 00000000001b60c0] using SAR=1/1
[libx264 @ 00000000001b60c0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 00000000001b60c0] profile High, level 3.1, 4:2:0, 8-bit
[libx264 @ 00000000001b60c0] 264 - core 158 - H.264/MPEG-4 AVC codec - Copyleft 2003-2019 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=17 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=0 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=900 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[libx264 @ 00000000001b7c00] using SAR=1/1
[libx264 @ 00000000001b7c00] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 00000000001b7c00] profile High, level 3.0, 4:2:0, 8-bit
[libx264 @ 00000000001b7c00] 264 - core 158 - H.264/MPEG-4 AVC codec - Copyleft 2003-2019 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=11 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=0 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=500 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, hls, to 'C:\\filename\\c9e41d22-bd16-4594-97f4-e3633e419b0c%v.m3u8':
  Metadata:
    encoder         : Lavf58.35.101
    Stream #0:0: Video: h264 (libx264), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 2500 kb/s, 30 fps, 90k tbn, 30 tbc
    Metadata:
      encoder         : Lavc58.65.102 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/2500000 buffer size: 0 vbv_delay: N/A
    Stream #0:1: Audio: aac (LC), 48000 Hz, stereo, fltp, 128 kb/s
    Metadata:
      encoder         : Lavc58.65.102 aac
    Stream #0:2: Video: h264 (libx264), yuv420p(progressive), 1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 1800 kb/s, 30 fps, 90k tbn, 30 tbc
    Metadata:
      encoder         : Lavc58.65.102 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/1800000 buffer size: 0 vbv_delay: N/A
    Stream #0:3: Audio: aac (LC), 48000 Hz, stereo, fltp, 128 kb/s
    Metadata:
      encoder         : Lavc58.65.102 aac
    Stream #0:4: Video: h264 (libx264), yuv420p(progressive), 960x540 [SAR 1:1 DAR 16:9], q=-1--1, 900 kb/s, 30 fps, 90k tbn, 30 tbc
    Metadata:
      encoder         : Lavc58.65.102 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/900000 buffer size: 0 vbv_delay: N/A
    Stream #0:5: Audio: aac (LC), 48000 Hz, stereo, fltp, 128 kb/s
    Metadata:
      encoder         : Lavc58.65.102 aac
    Stream #0:6: Video: h264 (libx264), yuv420p, 640x360 [SAR 1:1 DAR 16:9], q=-1--1, 500 kb/s, 30 fps, 90k tbn, 30 tbc
    Metadata:
      encoder         : Lavc58.65.102 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/500000 buffer size: 0 vbv_delay: N/A
    Stream #0:7: Audio: aac (LC), 48000 Hz, stereo, fltp, 128 kb/s
    Metadata:
      encoder         : Lavc58.65.102 aac
[hls @ 00000000031b74c0] Opening 'C:\\filename\\c9e41d22-bd16-4594-97f4-e3633e419b0c00.ts' for writingeed=0.998x
[hls @ 00000000031b74c0] Failed to open file 'C:\\filename\\c9e41d22-bd16-4594-97f4-e3633e419b0c00.ts'
av_interleaved_write_frame(): No such file or directory
[hls @ 00000000031b74c0] Opening 'C:\\filename\\c9e41d22-bd16-4594-97f4-e3633e419b0c10.ts' for writing
[hls @ 00000000031b74c0] Failed to open file 'C:\\filename\\c9e41d22-bd16-4594-97f4-e3633e419b0c10.ts'
[hls @ 00000000031b74c0] Opening 'C:\\filename\\c9e41d22-bd16-4594-97f4-e3633e419b0c00.ts' for writing
[hls @ 00000000031b74c0] Failed to open file 'C:\\filename\\c9e41d22-bd16-4594-97f4-e3633e419b0c00.ts'
[hls @ 00000000031b74c0] Opening 'C:\\filename\\c9e41d22-bd16-4594-97f4-e3633e419b0c0.m3u8' for writing
[hls @ 00000000031b74c0] Opening 'C:\\filename\\c9e41d22-bd16-4594-97f4-e3633e419b0c10.ts' for writing
[hls @ 00000000031b74c0] Failed to open file 'C:\\filename\\c9e41d22-bd16-4594-97f4-e3633e419b0c10.ts'
[hls @ 00000000031b74c0] Opening 'C:\\filename\\c9e41d22-bd16-4594-97f4-e3633e419b0c1.m3u8' for writing
[hls @ 00000000031b74c0] Opening 'C:\\filename\\c9e41d22-bd16-4594-97f4-e3633e419b0c20.ts' for writing
[hls @ 00000000031b74c0] Failed to open file 'C:\\filename\\c9e41d22-bd16-4594-97f4-e3633e419b0c20.ts'
[hls @ 00000000031b74c0] Opening 'C:\\filename\\c9e41d22-bd16-4594-97f4-e3633e419b0c2.m3u8' for writing
[hls @ 00000000031b74c0] Opening 'C:\\filename\\c9e41d22-bd16-4594-97f4-e3633e419b0c30.ts' for writing
[hls @ 00000000031b74c0] Failed to open file 'C:\\filename\\c9e41d22-bd16-4594-97f4-e3633e419b0c30.ts'
[hls @ 00000000031b74c0] Opening 'C:\\filename\\c9e41d22-bd16-4594-97f4-e3633e419b0c3.m3u8' for writing
[hls @ 00000000031b74c0] Opening 'C:\\filename\/master-playlist.m3u8' for writing
[hls @ 00000000031b74c0] Failed to open master play list file 'C:\\filename\/master-playlist.m3u8'
[hls @ 00000000031b74c0] Master playlist creation failed
Error writing trailer of C:\\filename\\c9e41d22-bd16-4594-97f4-e3633e419b0c%v.m3u8: No such file or directory
frame=  819 fps= 28 q=43.0 Lq=-1.0 q=-1.0 q=-1.0 size=N/A time=00:00:27.77 bitrate=N/A dup=84 drop=0 speed=0.956x
video:23330kB audio:1741kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
[libx264 @ 0000000002c4d940] frame I:4     Avg QP:30.54  size: 41470
[libx264 @ 0000000002c4d940] frame P:216   Avg QP:33.33  size: 21453
[libx264 @ 0000000002c4d940] frame B:599   Avg QP:36.74  size: 10483
[libx264 @ 0000000002c4d940] consecutive B-frames:  1.5%  2.4%  1.8% 94.3%
[libx264 @ 0000000002c4d940] mb I  I16..4: 28.9% 60.4% 10.7%
[libx264 @ 0000000002c4d940] mb P  I16..4:  6.8% 13.1%  1.5%  P16..4: 21.6%  2.6%  1.6%  0.0%  0.0%    skip:52.7%
[libx264 @ 0000000002c4d940] mb B  I16..4:  0.5%  1.8%  0.4%  B16..8: 25.9%  1.6%  0.3%  direct: 0.7%  skip:68.8%  L0:45.8% L1:52.9% BI: 1.3%
[libx264 @ 0000000002c4d940] final ratefactor: 31.57
[libx264 @ 0000000002c4d940] 8x8 transform intra:62.4% inter:86.4%
[libx264 @ 0000000002c4d940] coded y,uvDC,uvAC intra: 35.6% 26.7% 9.0% inter: 6.2% 3.2% 0.4%
[libx264 @ 0000000002c4d940] i16 v,h,dc,p: 36% 41%  9% 14%
[libx264 @ 0000000002c4d940] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 12% 19% 39%  3%  5%  3%  9%  2%  6%
[libx264 @ 0000000002c4d940] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 13% 29% 13%  5%  8%  4% 15%  3% 10%
[libx264 @ 0000000002c4d940] i8c dc,h,v,p: 81% 12%  5%  1%
[libx264 @ 0000000002c4d940] Weighted P-Frames: Y:4.2% UV:1.4%
[libx264 @ 0000000002c4d940] ref P L0: 52.6%  9.4% 26.2% 11.4%  0.5%
[libx264 @ 0000000002c4d940] ref B L0: 76.6% 17.8%  5.6%
[libx264 @ 0000000002c4d940] ref B L1: 90.3%  9.7%
[libx264 @ 0000000002c4d940] kb/s:3246.62
[aac @ 0000000002f1aa40] Qavg: 191.030
[libx264 @ 0000000002d4c940] frame I:4     Avg QP:28.09  size: 30134
[libx264 @ 0000000002d4c940] frame P:211   Avg QP:30.75  size: 14274
[libx264 @ 0000000002d4c940] frame B:603   Avg QP:33.43  size:  7577
[libx264 @ 0000000002d4c940] consecutive B-frames:  0.9%  1.5%  3.3% 94.4%
[libx264 @ 0000000002d4c940] mb I  I16..4: 25.4% 56.9% 17.6%
[libx264 @ 0000000002d4c940] mb P  I16..4:  5.7% 12.5%  2.2%  P16..4: 29.1%  4.4%  2.7%  0.0%  0.0%    skip:43.4%
[libx264 @ 0000000002d4c940] mb B  I16..4:  0.4%  2.4%  0.6%  B16..8: 31.2%  2.9%  0.6%  direct: 1.3%  skip:60.5%  L0:46.2% L1:51.7% BI: 2.1%
[libx264 @ 0000000002d4c940] final ratefactor: 28.83
[libx264 @ 0000000002d4c940] 8x8 transform intra:63.8% inter:81.8%
[libx264 @ 0000000002d4c940] coded y,uvDC,uvAC intra: 49.0% 30.8% 14.3% inter: 9.8% 4.7% 0.7%
[libx264 @ 0000000002d4c940] i16 v,h,dc,p: 30% 41% 10% 19%
[libx264 @ 0000000002d4c940] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 10% 20% 31%  5%  7%  4% 12%  3%  8%
[libx264 @ 0000000002d4c940] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 13% 26% 16%  5%  9%  5% 14%  4%  9%
[libx264 @ 0000000002d4c940] i8c dc,h,v,p: 78% 15%  6%  1%
[libx264 @ 0000000002d4c940] Weighted P-Frames: Y:4.7% UV:0.9%
[libx264 @ 0000000002d4c940] ref P L0: 52.4% 12.1% 24.1% 10.9%  0.5%
[libx264 @ 0000000002d4c940] ref B L0: 78.9% 15.8%  5.3%
[libx264 @ 0000000002d4c940] ref B L1: 91.7%  8.3%
[libx264 @ 0000000002d4c940] kb/s:2259.63
[aac @ 00000000001b5300] Qavg: 191.030
[libx264 @ 00000000001b60c0] frame I:4     Avg QP:29.34  size: 17272
[libx264 @ 00000000001b60c0] frame P:211   Avg QP:31.72  size:  7028
[libx264 @ 00000000001b60c0] frame B:603   Avg QP:34.48  size:  3512
[libx264 @ 00000000001b60c0] consecutive B-frames:  1.1%  1.0%  2.6% 95.4%
[libx264 @ 00000000001b60c0] mb I  I16..4: 30.3% 52.3% 17.5%
[libx264 @ 00000000001b60c0] mb P  I16..4:  5.2% 10.3%  1.9%  P16..4: 30.2%  5.0%  2.8%  0.0%  0.0%    skip:44.6%
[libx264 @ 00000000001b60c0] mb B  I16..4:  0.3%  1.9%  0.4%  B16..8: 30.7%  2.8%  0.5%  direct: 1.2%  skip:62.1%  L0:45.2% L1:52.8% BI: 2.0%
[libx264 @ 00000000001b60c0] final ratefactor: 29.92
[libx264 @ 00000000001b60c0] 8x8 transform intra:62.1% inter:80.8%
[libx264 @ 00000000001b60c0] coded y,uvDC,uvAC intra: 47.3% 28.7% 11.4% inter: 9.0% 4.3% 0.6%
[libx264 @ 00000000001b60c0] i16 v,h,dc,p: 30% 40% 10% 19%
[libx264 @ 00000000001b60c0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 10% 19% 32%  5%  7%  4% 12%  3%  8%
[libx264 @ 00000000001b60c0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 24% 18%  5%  8%  5% 12%  4%  8%
[libx264 @ 00000000001b60c0] i8c dc,h,v,p: 79% 14%  6%  1%
[libx264 @ 00000000001b60c0] Weighted P-Frames: Y:5.7% UV:2.8%
[libx264 @ 00000000001b60c0] ref P L0: 53.9% 12.5% 22.8% 10.4%  0.4%
[libx264 @ 00000000001b60c0] ref B L0: 80.3% 14.8%  4.9%
[libx264 @ 00000000001b60c0] ref B L1: 92.2%  7.8%
[libx264 @ 00000000001b60c0] kb/s:1076.67
[aac @ 00000000001b6e80] Qavg: 191.030
[libx264 @ 00000000001b7c00] frame I:4     Avg QP:28.47  size: 10793
[libx264 @ 00000000001b7c00] frame P:213   Avg QP:29.99  size:  4045
[libx264 @ 00000000001b7c00] frame B:601   Avg QP:32.83  size:  1781
[libx264 @ 00000000001b7c00] consecutive B-frames:  1.2%  2.0%  1.5% 95.4%
[libx264 @ 00000000001b7c00] mb I  I16..4: 24.5% 53.9% 21.6%
[libx264 @ 00000000001b7c00] mb P  I16..4:  4.2%  9.7%  2.1%  P16..4: 35.9%  7.9%  4.1%  0.0%  0.0%    skip:36.1%
[libx264 @ 00000000001b7c00] mb B  I16..4:  0.3%  2.0%  0.3%  B16..8: 34.1%  3.9%  0.7%  direct: 1.6%  skip:57.0%  L0:44.8% L1:52.6% BI: 2.6%
[libx264 @ 00000000001b7c00] final ratefactor: 29.07
[libx264 @ 00000000001b7c00] 8x8 transform intra:64.7% inter:76.5%
[libx264 @ 00000000001b7c00] coded y,uvDC,uvAC intra: 54.2% 29.7% 11.3% inter: 11.4% 5.4% 0.7%
[libx264 @ 00000000001b7c00] i16 v,h,dc,p: 28% 39% 11% 23%
[libx264 @ 00000000001b7c00] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 13% 17% 30%  5%  7%  4% 11%  3%  8%
[libx264 @ 00000000001b7c00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 26% 21%  5%  8%  5% 10%  3%  6%
[libx264 @ 00000000001b7c00] i8c dc,h,v,p: 77% 15%  6%  2%
[libx264 @ 00000000001b7c00] Weighted P-Frames: Y:6.1% UV:2.3%
[libx264 @ 00000000001b7c00] ref P L0: 54.3% 13.7% 21.9%  9.7%  0.4%
[libx264 @ 00000000001b7c00] ref B L0: 81.6% 13.7%  4.8%
[libx264 @ 00000000001b7c00] ref B L1: 92.7%  7.3%
[libx264 @ 00000000001b7c00] kb/s:579.52
[aac @ 00000000001b89c0] Qavg: 191.030
Conversion failed!

comment:10 by Balling, 5 years ago

% is not being read. You need to use double quotes and/or escape character. Wait a second, I will try to find it for you.

comment:11 by Balling, 5 years ago

Try the absolute path on first arguments with double back slash as well..

in reply to:  10 comment:12 by gdgsdg123, 5 years ago

C:\>ffmpeg -re -i "C:\\test_r60_libx264.avi" -y -sc_threshold 0  -aspect 16:9 -c:a aac -map 0:v -c:v:0 libx264 -filter:v:0 "scale=-2:1080" -map 0:a -b:v:0 2500k -map 0:v -c:v:1 libx264 -filter:v:1 "scale=-2:720" -map 0:a -b:v:1 1800k -map 0:v -c:v:2 libx264 -filter:v:2 "scale=-2:540" -map 0:a -b:v:2 900k -map 0:v -c:v:3 libx264 -filter:v:3 "scale=-2:360" -map 0:a -b:v:3 500k -f hls -hls_time 20 -hls_list_size 0 -hls_playlist_type vod  -master_pl_name master-playlist.m3u8 -var_stream_map "v:0,a:0 v:1,a:1 v:2,a:2 v:3,a:3" "C:\\filename\\c9e41d22-bd16-4594-97f4-e3633e419b0c%v.m3u8"
ffmpeg version git-2020-01-02-81172b5 Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 9.2.1 (GCC) 20191125
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
  libavutil      56. 38.100 / 56. 38.100
  libavcodec     58. 65.102 / 58. 65.102
  libavformat    58. 35.101 / 58. 35.101
  libavdevice    58.  9.102 / 58.  9.102
  libavfilter     7. 70.101 /  7. 70.101
  libswscale      5.  6.100 /  5.  6.100
  libswresample   3.  6.100 /  3.  6.100
  libpostproc    55.  6.100 / 55.  6.100
Guessed Channel Layout for Input Stream #0.1 : stereo
Input #0, avi, from 'C:\\test_r60_libx264.avi':
  Metadata:
    encoder         : Lavf58.35.101
  Duration: 00:05:24.67, start: 0.000000, bitrate: 150592 kb/s
    Stream #0:0: Video: h264 (High 4:4:4 Intra) (H264 / 0x34363248), yuv420p(tv, bt470bg/bt470bg/smpte170m, progressive), 1920x1080, 149902 kb/s, 60 fps, 30 tbr, 60 tbn, 120 tbc
    Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, stereo, s16, 1536 kb/s
Only '-vf scale=-2:1080' read, ignoring remaining -vf options: Use ',' to separate filters
Only '-af (null)' read, ignoring remaining -af options: Use ',' to separate filters
Only '-vf scale=-2:720' read, ignoring remaining -vf options: Use ',' to separate filters
Only '-af (null)' read, ignoring remaining -af options: Use ',' to separate filters
Only '-vf scale=-2:540' read, ignoring remaining -vf options: Use ',' to separate filters
Only '-af (null)' read, ignoring remaining -af options: Use ',' to separate filters
Only '-vf scale=-2:360' read, ignoring remaining -vf options: Use ',' to separate filters
Only '-af (null)' read, ignoring remaining -af options: Use ',' to separate filters
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
  Stream #0:1 -> #0:1 (pcm_s16le (native) -> aac (native))
  Stream #0:0 -> #0:2 (h264 (native) -> h264 (libx264))
  Stream #0:1 -> #0:3 (pcm_s16le (native) -> aac (native))
  Stream #0:0 -> #0:4 (h264 (native) -> h264 (libx264))
  Stream #0:1 -> #0:5 (pcm_s16le (native) -> aac (native))
  Stream #0:0 -> #0:6 (h264 (native) -> h264 (libx264))
  Stream #0:1 -> #0:7 (pcm_s16le (native) -> aac (native))
Press [q] to stop, [?] for help
[libx264 @ 0000000002b3f740] using SAR=1/1
[libx264 @ 0000000002b3f740] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0000000002b3f740] profile High, level 4.0, 4:2:0, 8-bit
[libx264 @ 0000000002b3f740] 264 - core 158 - H.264/MPEG-4 AVC codec - Copyleft 2003-2019 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=24 lookahead_threads=4 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=0 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=2500 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[libx264 @ 0000000002b400c0] using SAR=1/1
[libx264 @ 0000000002b400c0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0000000002b400c0] profile High, level 3.1, 4:2:0, 8-bit
[libx264 @ 0000000002b400c0] 264 - core 158 - H.264/MPEG-4 AVC codec - Copyleft 2003-2019 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=22 lookahead_threads=3 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=0 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=1800 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[libx264 @ 00000000004e6380] using SAR=1/1
[libx264 @ 00000000004e6380] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 00000000004e6380] profile High, level 3.1, 4:2:0, 8-bit
[libx264 @ 00000000004e6380] 264 - core 158 - H.264/MPEG-4 AVC codec - Copyleft 2003-2019 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=17 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=0 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=900 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[libx264 @ 00000000004e7f00] using SAR=1/1
[libx264 @ 00000000004e7f00] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 00000000004e7f00] profile High, level 3.0, 4:2:0, 8-bit
[libx264 @ 00000000004e7f00] 264 - core 158 - H.264/MPEG-4 AVC codec - Copyleft 2003-2019 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=11 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=0 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=500 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, hls, to 'C:\\filename\\c9e41d22-bd16-4594-97f4-e3633e419b0c%v.m3u8':
  Metadata:
    encoder         : Lavf58.35.101
    Stream #0:0: Video: h264 (libx264), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 2500 kb/s, 30 fps, 90k tbn, 30 tbc
    Metadata:
      encoder         : Lavc58.65.102 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/2500000 buffer size: 0 vbv_delay: N/A
    Stream #0:1: Audio: aac (LC), 48000 Hz, stereo, fltp, 128 kb/s
    Metadata:
      encoder         : Lavc58.65.102 aac
    Stream #0:2: Video: h264 (libx264), yuv420p(progressive), 1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 1800 kb/s, 30 fps, 90k tbn, 30 tbc
    Metadata:
      encoder         : Lavc58.65.102 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/1800000 buffer size: 0 vbv_delay: N/A
    Stream #0:3: Audio: aac (LC), 48000 Hz, stereo, fltp, 128 kb/s
    Metadata:
      encoder         : Lavc58.65.102 aac
    Stream #0:4: Video: h264 (libx264), yuv420p(progressive), 960x540 [SAR 1:1 DAR 16:9], q=-1--1, 900 kb/s, 30 fps, 90k tbn, 30 tbc
    Metadata:
      encoder         : Lavc58.65.102 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/900000 buffer size: 0 vbv_delay: N/A
    Stream #0:5: Audio: aac (LC), 48000 Hz, stereo, fltp, 128 kb/s
    Metadata:
      encoder         : Lavc58.65.102 aac
    Stream #0:6: Video: h264 (libx264), yuv420p, 640x360 [SAR 1:1 DAR 16:9], q=-1--1, 500 kb/s, 30 fps, 90k tbn, 30 tbc
    Metadata:
      encoder         : Lavc58.65.102 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/500000 buffer size: 0 vbv_delay: N/A
    Stream #0:7: Audio: aac (LC), 48000 Hz, stereo, fltp, 128 kb/s
    Metadata:
      encoder         : Lavc58.65.102 aac
[hls @ 0000000002d6c040] Opening 'C:\\filename\\c9e41d22-bd16-4594-97f4-e3633e419b0c00.ts' for writingeed=0.999x
[hls @ 0000000002d6c040] Failed to open file 'C:\\filename\\c9e41d22-bd16-4594-97f4-e3633e419b0c00.ts'
av_interleaved_write_frame(): No such file or directory
[hls @ 0000000002d6c040] Opening 'C:\\filename\\c9e41d22-bd16-4594-97f4-e3633e419b0c10.ts' for writing
[hls @ 0000000002d6c040] Failed to open file 'C:\\filename\\c9e41d22-bd16-4594-97f4-e3633e419b0c10.ts'
[hls @ 0000000002d6c040] Opening 'C:\\filename\\c9e41d22-bd16-4594-97f4-e3633e419b0c00.ts' for writing
[hls @ 0000000002d6c040] Failed to open file 'C:\\filename\\c9e41d22-bd16-4594-97f4-e3633e419b0c00.ts'
[hls @ 0000000002d6c040] Opening 'C:\\filename\\c9e41d22-bd16-4594-97f4-e3633e419b0c0.m3u8' for writing
[hls @ 0000000002d6c040] Opening 'C:\\filename\\c9e41d22-bd16-4594-97f4-e3633e419b0c10.ts' for writing
[hls @ 0000000002d6c040] Failed to open file 'C:\\filename\\c9e41d22-bd16-4594-97f4-e3633e419b0c10.ts'
[hls @ 0000000002d6c040] Opening 'C:\\filename\\c9e41d22-bd16-4594-97f4-e3633e419b0c1.m3u8' for writing
[hls @ 0000000002d6c040] Opening 'C:\\filename\\c9e41d22-bd16-4594-97f4-e3633e419b0c20.ts' for writing
[hls @ 0000000002d6c040] Failed to open file 'C:\\filename\\c9e41d22-bd16-4594-97f4-e3633e419b0c20.ts'
[hls @ 0000000002d6c040] Opening 'C:\\filename\\c9e41d22-bd16-4594-97f4-e3633e419b0c2.m3u8' for writing
[hls @ 0000000002d6c040] Opening 'C:\\filename\\c9e41d22-bd16-4594-97f4-e3633e419b0c30.ts' for writing
[hls @ 0000000002d6c040] Failed to open file 'C:\\filename\\c9e41d22-bd16-4594-97f4-e3633e419b0c30.ts'
[hls @ 0000000002d6c040] Opening 'C:\\filename\\c9e41d22-bd16-4594-97f4-e3633e419b0c3.m3u8' for writing
[hls @ 0000000002d6c040] Opening 'C:\\filename\/master-playlist.m3u8' for writing
[hls @ 0000000002d6c040] Failed to open master play list file 'C:\\filename\/master-playlist.m3u8'
[hls @ 0000000002d6c040] Master playlist creation failed
Error writing trailer of C:\\filename\\c9e41d22-bd16-4594-97f4-e3633e419b0c%v.m3u8: No such file or directory
frame=  819 fps= 28 q=43.0 Lq=-1.0 q=-1.0 q=-1.0 size=N/A time=00:00:27.77 bitrate=N/A dup=84 drop=0 speed=0.957x
video:23330kB audio:1741kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
[libx264 @ 0000000002b3f740] frame I:4     Avg QP:30.54  size: 41470
[libx264 @ 0000000002b3f740] frame P:216   Avg QP:33.33  size: 21453
[libx264 @ 0000000002b3f740] frame B:599   Avg QP:36.74  size: 10483
[libx264 @ 0000000002b3f740] consecutive B-frames:  1.5%  2.4%  1.8% 94.3%
[libx264 @ 0000000002b3f740] mb I  I16..4: 28.9% 60.4% 10.7%
[libx264 @ 0000000002b3f740] mb P  I16..4:  6.8% 13.1%  1.5%  P16..4: 21.6%  2.6%  1.6%  0.0%  0.0%    skip:52.7%
[libx264 @ 0000000002b3f740] mb B  I16..4:  0.5%  1.8%  0.4%  B16..8: 25.9%  1.6%  0.3%  direct: 0.7%  skip:68.8%  L0:45.8% L1:52.9% BI: 1.3%
[libx264 @ 0000000002b3f740] final ratefactor: 31.57
[libx264 @ 0000000002b3f740] 8x8 transform intra:62.4% inter:86.4%
[libx264 @ 0000000002b3f740] coded y,uvDC,uvAC intra: 35.6% 26.7% 9.0% inter: 6.2% 3.2% 0.4%
[libx264 @ 0000000002b3f740] i16 v,h,dc,p: 36% 41%  9% 14%
[libx264 @ 0000000002b3f740] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 12% 19% 39%  3%  5%  3%  9%  2%  6%
[libx264 @ 0000000002b3f740] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 13% 29% 13%  5%  8%  4% 15%  3% 10%
[libx264 @ 0000000002b3f740] i8c dc,h,v,p: 81% 12%  5%  1%
[libx264 @ 0000000002b3f740] Weighted P-Frames: Y:4.2% UV:1.4%
[libx264 @ 0000000002b3f740] ref P L0: 52.6%  9.4% 26.2% 11.4%  0.5%
[libx264 @ 0000000002b3f740] ref B L0: 76.6% 17.8%  5.6%
[libx264 @ 0000000002b3f740] ref B L1: 90.3%  9.7%
[libx264 @ 0000000002b3f740] kb/s:3246.62
[aac @ 0000000002c6c4c0] Qavg: 191.030
[libx264 @ 0000000002b400c0] frame I:4     Avg QP:28.09  size: 30134
[libx264 @ 0000000002b400c0] frame P:211   Avg QP:30.75  size: 14274
[libx264 @ 0000000002b400c0] frame B:603   Avg QP:33.43  size:  7577
[libx264 @ 0000000002b400c0] consecutive B-frames:  0.9%  1.5%  3.3% 94.4%
[libx264 @ 0000000002b400c0] mb I  I16..4: 25.4% 56.9% 17.6%
[libx264 @ 0000000002b400c0] mb P  I16..4:  5.7% 12.5%  2.2%  P16..4: 29.1%  4.4%  2.7%  0.0%  0.0%    skip:43.4%
[libx264 @ 0000000002b400c0] mb B  I16..4:  0.4%  2.4%  0.6%  B16..8: 31.2%  2.9%  0.6%  direct: 1.3%  skip:60.5%  L0:46.2% L1:51.7% BI: 2.1%
[libx264 @ 0000000002b400c0] final ratefactor: 28.83
[libx264 @ 0000000002b400c0] 8x8 transform intra:63.8% inter:81.8%
[libx264 @ 0000000002b400c0] coded y,uvDC,uvAC intra: 49.0% 30.8% 14.3% inter: 9.8% 4.7% 0.7%
[libx264 @ 0000000002b400c0] i16 v,h,dc,p: 30% 41% 10% 19%
[libx264 @ 0000000002b400c0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 10% 20% 31%  5%  7%  4% 12%  3%  8%
[libx264 @ 0000000002b400c0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 13% 26% 16%  5%  9%  5% 14%  4%  9%
[libx264 @ 0000000002b400c0] i8c dc,h,v,p: 78% 15%  6%  1%
[libx264 @ 0000000002b400c0] Weighted P-Frames: Y:4.7% UV:0.9%
[libx264 @ 0000000002b400c0] ref P L0: 52.4% 12.1% 24.1% 10.9%  0.5%
[libx264 @ 0000000002b400c0] ref B L0: 78.9% 15.8%  5.3%
[libx264 @ 0000000002b400c0] ref B L1: 91.7%  8.3%
[libx264 @ 0000000002b400c0] kb/s:2259.63
[aac @ 00000000004e5600] Qavg: 191.030
[libx264 @ 00000000004e6380] frame I:4     Avg QP:29.34  size: 17272
[libx264 @ 00000000004e6380] frame P:211   Avg QP:31.72  size:  7028
[libx264 @ 00000000004e6380] frame B:603   Avg QP:34.48  size:  3512
[libx264 @ 00000000004e6380] consecutive B-frames:  1.1%  1.0%  2.6% 95.4%
[libx264 @ 00000000004e6380] mb I  I16..4: 30.3% 52.3% 17.5%
[libx264 @ 00000000004e6380] mb P  I16..4:  5.2% 10.3%  1.9%  P16..4: 30.2%  5.0%  2.8%  0.0%  0.0%    skip:44.6%
[libx264 @ 00000000004e6380] mb B  I16..4:  0.3%  1.9%  0.4%  B16..8: 30.7%  2.8%  0.5%  direct: 1.2%  skip:62.1%  L0:45.2% L1:52.8% BI: 2.0%
[libx264 @ 00000000004e6380] final ratefactor: 29.92
[libx264 @ 00000000004e6380] 8x8 transform intra:62.1% inter:80.8%
[libx264 @ 00000000004e6380] coded y,uvDC,uvAC intra: 47.3% 28.7% 11.4% inter: 9.0% 4.3% 0.6%
[libx264 @ 00000000004e6380] i16 v,h,dc,p: 30% 40% 10% 19%
[libx264 @ 00000000004e6380] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 10% 19% 32%  5%  7%  4% 12%  3%  8%
[libx264 @ 00000000004e6380] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 24% 18%  5%  8%  5% 12%  4%  8%
[libx264 @ 00000000004e6380] i8c dc,h,v,p: 79% 14%  6%  1%
[libx264 @ 00000000004e6380] Weighted P-Frames: Y:5.7% UV:2.8%
[libx264 @ 00000000004e6380] ref P L0: 53.9% 12.5% 22.8% 10.4%  0.4%
[libx264 @ 00000000004e6380] ref B L0: 80.3% 14.8%  4.9%
[libx264 @ 00000000004e6380] ref B L1: 92.2%  7.8%
[libx264 @ 00000000004e6380] kb/s:1076.67
[aac @ 00000000004e7140] Qavg: 191.030
[libx264 @ 00000000004e7f00] frame I:4     Avg QP:28.47  size: 10793
[libx264 @ 00000000004e7f00] frame P:213   Avg QP:29.99  size:  4045
[libx264 @ 00000000004e7f00] frame B:601   Avg QP:32.83  size:  1781
[libx264 @ 00000000004e7f00] consecutive B-frames:  1.2%  2.0%  1.5% 95.4%
[libx264 @ 00000000004e7f00] mb I  I16..4: 24.5% 53.9% 21.6%
[libx264 @ 00000000004e7f00] mb P  I16..4:  4.2%  9.7%  2.1%  P16..4: 35.9%  7.9%  4.1%  0.0%  0.0%    skip:36.1%
[libx264 @ 00000000004e7f00] mb B  I16..4:  0.3%  2.0%  0.3%  B16..8: 34.1%  3.9%  0.7%  direct: 1.6%  skip:57.0%  L0:44.8% L1:52.6% BI: 2.6%
[libx264 @ 00000000004e7f00] final ratefactor: 29.07
[libx264 @ 00000000004e7f00] 8x8 transform intra:64.7% inter:76.5%
[libx264 @ 00000000004e7f00] coded y,uvDC,uvAC intra: 54.2% 29.7% 11.3% inter: 11.4% 5.4% 0.7%
[libx264 @ 00000000004e7f00] i16 v,h,dc,p: 28% 39% 11% 23%
[libx264 @ 00000000004e7f00] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 13% 17% 30%  5%  7%  4% 11%  3%  8%
[libx264 @ 00000000004e7f00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 26% 21%  5%  8%  5% 10%  3%  6%
[libx264 @ 00000000004e7f00] i8c dc,h,v,p: 77% 15%  6%  2%
[libx264 @ 00000000004e7f00] Weighted P-Frames: Y:6.1% UV:2.3%
[libx264 @ 00000000004e7f00] ref P L0: 54.3% 13.7% 21.9%  9.7%  0.4%
[libx264 @ 00000000004e7f00] ref B L0: 81.6% 13.7%  4.8%
[libx264 @ 00000000004e7f00] ref B L1: 92.7%  7.3%
[libx264 @ 00000000004e7f00] kb/s:579.52
[aac @ 00000000004e8cc0] Qavg: 191.030
Conversion failed!

Happy tinkering...

in reply to:  5 ; comment:14 by Steven Liu, 5 years ago

Replying to eonie:

Replying to lingjiujianke:
Could you try run the command in CMD, maybe Windows 10 sub system made some compatible processing。

My windows is Windows 7

in reply to:  14 ; comment:15 by Wei Jia, 5 years ago

Replying to stevenliu:

Replying to eonie:

Replying to lingjiujianke:
Could you try run the command in CMD, maybe Windows 10 sub system made some compatible processing。

My windows is Windows 7

So am I, can you transcode video to hls successful?

in reply to:  15 ; comment:16 by Steven Liu, 5 years ago

Replying to eonie:

Replying to stevenliu:

Replying to eonie:

Replying to lingjiujianke:
Could you try run the command in CMD, maybe Windows 10 sub system made some compatible processing。

My windows is Windows 7

So am I, can you transcode video to hls successful?

The lingjiujianke is my other nickname on windows system

in reply to:  16 ; comment:17 by Wei Jia, 5 years ago

Replying to stevenliu:

Replying to eonie:

Replying to stevenliu:

Replying to eonie:

Replying to lingjiujianke:
Could you try run the command in CMD, maybe Windows 10 sub system made some compatible processing。

My windows is Windows 7

So am I, can you transcode video to hls successful?

The lingjiujianke is my other nickname on windows system

I see, but your shell window is not CMD,does not mean it is not a bug。

by Steven Liu, 5 years ago

Attachment: ffmpeg-20200110-213627.log added

in reply to:  17 comment:18 by Steven Liu, 5 years ago

Resolution: worksforme
Status: reopenedclosed

Replying to eonie:

Replying to stevenliu:

Replying to eonie:

Replying to stevenliu:

Replying to eonie:

Replying to lingjiujianke:
Could you try run the command in CMD, maybe Windows 10 sub system made some compatible processing。

My windows is Windows 7

So am I, can you transcode video to hls successful?

The lingjiujianke is my other nickname on windows system

I see, but your shell window is not CMD,does not mean it is not a bug。

Yes, run it in CMD, it's work.
The log uploaded.

C:\msys64\home\admin\ffmpeg\dash>
C:\msys64\home\admin\ffmpeg\dash>ls D:\data
c9e41d22-bd16-4594-97f4-e3633e419b0c0.m3u8
c9e41d22-bd16-4594-97f4-e3633e419b0c00.ts
c9e41d22-bd16-4594-97f4-e3633e419b0c1.m3u8
c9e41d22-bd16-4594-97f4-e3633e419b0c10.ts
c9e41d22-bd16-4594-97f4-e3633e419b0c2.m3u8
c9e41d22-bd16-4594-97f4-e3633e419b0c20.ts
c9e41d22-bd16-4594-97f4-e3633e419b0c3.m3u8
c9e41d22-bd16-4594-97f4-e3633e419b0c30.ts
filename.mp4
master-playlist.m3u8

C:\msys64\home\admin\ffmpeg\dash>
C:\msys64\home\admin\ffmpeg\dash>

by Steven Liu, 5 years ago

Attachment: ffmpeg-20200110-220003.log added

comment:19 by Steven Liu, 5 years ago

double checked, it's work too.
log attached

C:\msys64\home\admin\ffmpeg\dash>
C:\msys64\home\admin\ffmpeg\dash>ls -lh D:\data
total 16M
-rw-r--r-- 1 admin None  173 Jan 10 22:00 c9e41d22-bd16-4594-97f4-e3633e419b0c0.
m3u8
-rw-r--r-- 1 admin None 1.6M Jan 10 22:00 c9e41d22-bd16-4594-97f4-e3633e419b0c00
.ts
-rw-r--r-- 1 admin None 1.4M Jan 10 21:55 c9e41d22-bd16-4594-97f4-e3633e419b0c01
.ts
-rw-r--r-- 1 admin None  173 Jan 10 22:00 c9e41d22-bd16-4594-97f4-e3633e419b0c1.
m3u8
-rw-r--r-- 1 admin None 1.1M Jan 10 22:00 c9e41d22-bd16-4594-97f4-e3633e419b0c10
.ts
-rw-r--r-- 1 admin None 1.1M Jan 10 21:55 c9e41d22-bd16-4594-97f4-e3633e419b0c11
.ts
-rw-r--r-- 1 admin None  173 Jan 10 22:00 c9e41d22-bd16-4594-97f4-e3633e419b0c2.
m3u8
-rw-r--r-- 1 admin None 582K Jan 10 22:00 c9e41d22-bd16-4594-97f4-e3633e419b0c20
.ts
-rw-r--r-- 1 admin None 595K Jan 10 21:55 c9e41d22-bd16-4594-97f4-e3633e419b0c21
.ts
-rw-r--r-- 1 admin None  173 Jan 10 22:00 c9e41d22-bd16-4594-97f4-e3633e419b0c3.
m3u8
-rw-r--r-- 1 admin None 376K Jan 10 22:00 c9e41d22-bd16-4594-97f4-e3633e419b0c30
.ts
-rw-r--r-- 1 admin None 374K Jan 10 21:55 c9e41d22-bd16-4594-97f4-e3633e419b0c31
.ts
-rw-r--r-- 1 admin None 8.2M Sep  4 10:15 filename.mp4
-rw-r--r-- 1 admin None   25 Jan 10 22:00 master-playlist.m3u8

C:\msys64\home\admin\ffmpeg\dash>

in reply to:  19 ; comment:20 by Wei Jia, 5 years ago

Replying to lingjiujianke:

here is the error info,it is part of your log, please check it, i can also get the master-playlist.m3u8 file, but the content is not correct, please reopen this bug.

21500	[hls @ 0x600091040] Opening 'D:\data/master-playlist.m3u8' for writing
21501	[file @ 0x6011576c0] Setting default whitelist 'file,crypto'
21502	Unable to find relative url
21503	[hls @ 0x600091040] Unable to find relative URL

in reply to:  20 comment:21 by Steven Liu, 5 years ago

Resolution: worksforme
Status: closedreopened

Replying to eonie:

Replying to lingjiujianke:

here is the error info,it is part of your log, please check it, i can also get the master-playlist.m3u8 file, but the content is not correct, please reopen this bug.

21500	[hls @ 0x600091040] Opening 'D:\data/master-playlist.m3u8' for writing
21501	[file @ 0x6011576c0] Setting default whitelist 'file,crypto'
21502	Unable to find relative url
21503	[hls @ 0x600091040] Unable to find relative URL

Ok, i reopen it and will fix it, thanks

comment:22 by Steven Liu, 5 years ago

Version: unspecifiedgit-master

in reply to:  22 comment:23 by Wei Jia, 5 years ago

Replying to stevenliu:

https://patchwork.ffmpeg.org/project/ffmpeg/patch/20200110145122.28052-1-lq@chinaffmpeg.org/

Try this patch please, it'sok here after this patch.

Sorry, i'm not a C developer, I don't know how to build ffmpeg on windows, I will try you release, thanks.

comment:24 by Carl Eugen Hoyos, 5 years ago

Keywords: regression added
Priority: normalimportant
Resolution: fixed
Status: reopenedclosed

Should be fixed by Steven in bc0bedf3c950fc5203d0d2b62019fb49edc48fb7

Note: See TracTickets for help on using tickets.