#11052 closed defect (duplicate)
FFmpeg 6, 7 stop encoding without any error, while FFmpeg 5 works
Reported by: | nonamepp | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | avcodec |
Version: | git-master | Keywords: | regression libx265 |
Cc: | MasterQuestionable | Blocked By: | |
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description (last modified by )
Summary of the bug:
I used ffmpeg 7 to encode about 100 videos on Windows 11 64 bit. The command is:
for /r %v in (*1080p*.mkv) do ffmpeg -hwaccel auto -i "%v" -loglevel verbose -c:v libx265 -profile:v main10 -pix_fmt yuv420p10le -preset slow -b:v 2048k -map 0:v:0 -map 0:a -map_metadata 0 -c:a aac -ar 48000 -b:a 256k -ac 6 "%~dpnv.ffmpeg.mp4" -n
It works for most videos, and fails for about 5 videos. The symptom is that ffmpeg stops within 1 to 10 seconds, outputs a small video file with 0 byte or hundreds kilobyte. There is no error given at all.
I looked into those 5 videos failed to encode:
- I tried
-loglevel debug
and-report
, got no error at all. It simply stops and exits. - I tried to run ffmpeg 7.0.1, 7, 6.1.1, 6.1, 6.0, all got the same result (stops encoding in seconds without any error)
- I tried to run them on different Windows 11 64 bit computers (latest build with Intel CPU and AMD CPU), all got the same problem.
- I tried to run
ffmpeg -c copy
to copy these 5 videos, and encode the copies, still got the same problem. - I tried to change the encoding and arguments, got the same problem. This problem seems to happen with specific videos, and has nothing to do with arguments.
- I tried to run ffmpeg 5.1.2 and 5.0. It just works (for all 5 videos).
So I believe this is a bug and regression in ffmpeg 6 and 7.
Attachments (16)
Change History (36)
comment:1 by , 7 months ago
Version: | unspecified → git-master |
---|
comment:2 by , 7 months ago
Description: | modified (diff) |
---|
comment:3 by , 7 months ago
Cc: | added |
---|---|
Keywords: | regression added |
Summary: | ffmpeg 6 and 7 stop ecoding without any error, while ffmpeg 5 works → FFmpeg 6, 7 stop encoding without any error, while FFmpeg 5 works |
comment:4 by , 7 months ago
Here are the report of the 5 videos with problem using ffprobe -hide_banner -threads 0 -show_entries "stream=time_base:format=size" -of "flat=h=0" "${Each Relevant File}"
.
ffprobe 7.0.1 and video 1:
Input #0, matroska,webm, from 'D:\1.mkv': Metadata: title : Waterland (1992) encoder : libmakemkv v1.14.7 (1.3.5/1.4.7) win(x86-release) creation_time : 2021-09-04T14:48:42.000000Z Duration: 01:34:50.60, start: 0.000000, bitrate: 13768 kb/s Chapters: Chapter #0:0: start 0.000000, end 249.207292 Metadata: title : Main Title; Pittsburgh 1974 Chapter #0:1: start 249.207292, end 537.203333 Metadata: title : Slipping Away Chapter #0:2: start 537.203333, end 763.262500 Metadata: title : The Point Chapter #0:3: start 763.262500, end 1504.961792 Metadata: title : A Story About the Fens Chapter #0:4: start 1504.961792, end 2214.212000 Metadata: title : A Story About Beer Chapter #0:5: start 2214.212000, end 2690.521167 Metadata: title : Sane Moments Chapter #0:6: start 2690.521167, end 3329.784792 Metadata: title : Babies Come From Love Chapter #0:7: start 3329.784792, end 3952.031417 Metadata: title : The Letter Chapter #0:8: start 3952.031417, end 4491.069917 Metadata: title : A Gift From God Chapter #0:9: start 4491.069917, end 5006.876875 Metadata: title : Being Retired Chapter #0:10: start 5006.876875, end 5465.168042 Metadata: title : The Final End Chapter #0:11: start 5465.168042, end 5690.601583 Metadata: title : End Credits Stream #0:0(eng): Video: h264 (High), yuv420p(tv, bt709, progressive), 1920x816 [SAR 799:800 DAR 47:20], SAR 639:640 DAR 639:272, 23.98 fps, 23.98 tbr, 1k tbn Metadata: BPS-eng : 13541827 DURATION-eng : 01:34:50.601583333 NUMBER_OF_FRAMES-eng: 136438 NUMBER_OF_BYTES-eng: 9632642405 _STATISTICS_WRITING_APP-eng: MakeMKV v1.14.7 win(x86-release) _STATISTICS_WRITING_DATE_UTC-eng: 2021-09-04 14:48:42 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:1(eng): Audio: eac3, 48000 Hz, stereo, fltp, 224 kb/s (default) Metadata: title : Stereo Mix (Amazon) BPS-eng : 224000 DURATION-eng : 01:34:50.560000000 NUMBER_OF_FRAMES-eng: 177830 NUMBER_OF_BYTES-eng: 159335680 _STATISTICS_WRITING_APP-eng: MakeMKV v1.14.7 win(x86-release) _STATISTICS_WRITING_DATE_UTC-eng: 2021-09-04 14:48:42 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:2(eng): Subtitle: subrip (srt) (default) Metadata: BPS-eng : 52 DURATION-eng : 01:28:55.497000000 NUMBER_OF_FRAMES-eng: 1472 NUMBER_OF_BYTES-eng: 34872 _STATISTICS_WRITING_APP-eng: MakeMKV v1.14.7 win(x86-release) _STATISTICS_WRITING_DATE_UTC-eng: 2021-09-04 14:48:42 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:3(eng): Subtitle: subrip (srt) Metadata: title : SDH BPS-eng : 52 DURATION-eng : 01:29:01.937000000 NUMBER_OF_FRAMES-eng: 1491 NUMBER_OF_BYTES-eng: 35238 _STATISTICS_WRITING_APP-eng: MakeMKV v1.14.7 win(x86-release) _STATISTICS_WRITING_DATE_UTC-eng: 2021-09-04 14:48:42 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES stream.0.time_base="1/1000" stream.1.time_base="1/1000" stream.2.time_base="1/1000" stream.3.time_base="1/1000" format. Size="9793702207"
ffprobe 7.0.1 and video 2:
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\2.FfmpegCopyFromMkv.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomdby1iso2avc1mp41 creation_time : 2023-04-17T04:41:30.000000Z title : Boxing Helena (1993).1080p.MR encoder : Lavf60.16.100 Duration: 01:45:22.12, start: 0.000000, bitrate: 13670 kb/s Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 1920x1040 [SAR 323:320 DAR 969:520], 13470 kb/s, 29.97 fps, 29.97 tbr, 16k tbn (default) Metadata: creation_time : 2023-04-17T04:41:30.000000Z handler_name : VideoHandler vendor_id : [0][0][0][0] Stream #0:1[0x2](eng): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, stereo, fltp, 192 kb/s (default) Metadata: creation_time : 2023-04-17T04:41:30.000000Z handler_name : SoundHandler vendor_id : [0][0][0][0] Side data: audio service type: main stream.0.time_base="1/16000" stream.1.time_base="1/48000" format. Size="10803332077"
ffprobe 7.0.1 and video 3:
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\3.FfmpegCopyFromMkv.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomdby1iso2avc1mp41 creation_time : 2018-01-31T11:15:47.000000Z title : CRO DIAMOND 1080p encoder : Lavf61.1.100 Duration: 01:19:49.73, start: 0.000000, bitrate: 10978 kb/s Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 1920x1040 [SAR 481:480 DAR 37:20], 10525 kb/s, 25 fps, 25 tbr, 16k tbn (default) Metadata: creation_time : 2018-01-31T11:15:47.000000Z handler_name : VideoHandler vendor_id : [0][0][0][0] Stream #0:1[0x2](ger): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, 5.1(side), fltp, 448 kb/s (default) Metadata: creation_time : 2018-01-31T11:15:47.000000Z handler_name : SoundHandler vendor_id : [0][0][0][0] Side data: audio service type: main stream.0.time_base="1/16000" stream.1.time_base="1/48000" format. Size="6573043828"
ffprobe 7.0.1 and video 4:
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\4.FfmpegCopyFromMkv.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomdby1iso2avc1mp41 creation_time : 2018-01-31T11:45:30.000000Z title : CRO DIAMOND 1080p encoder : Lavf61.1.100 Duration: 01:21:27.48, start: 0.000000, bitrate: 13272 kb/s Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 19999:20000 DAR 19999:11250], 12818 kb/s, SAR 1:1 DAR 16:9, 25 fps, 25 tbr, 16k tbn (default) Metadata: creation_time : 2018-01-31T11:45:30.000000Z handler_name : VideoHandler vendor_id : [0][0][0][0] Stream #0:1[0x2](ger): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, 5.1(side), fltp, 448 kb/s (default) Metadata: creation_time : 2018-01-31T11:45:30.000000Z handler_name : SoundHandler vendor_id : [0][0][0][0] Side data: audio service type: main stream.0.time_base="1/16000" stream.1.time_base="1/48000" format. Size="8108915065"
ffprobe 7.0.1 and video 5:
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\5.FfmpegCopyFromMkv.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomdby1iso2avc1mp41 creation_time : 2016-08-11T15:55:37.000000Z encoder : Lavf60.16.100 Duration: 00:28:27.62, start: 0.000000, bitrate: 13892 kb/s Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 19999:20000 DAR 19999:11250], 13246 kb/s, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 16k tbn (default) Metadata: creation_time : 2016-08-11T15:55:37.000000Z handler_name : VideoHandler vendor_id : [0][0][0][0] Stream #0:1[0x2](eng): Audio: eac3 (ec-3 / 0x332D6365), 48000 Hz, 5.1(side), fltp, 640 kb/s (default) Metadata: creation_time : 2016-08-11T15:55:37.000000Z handler_name : SoundHandler vendor_id : [0][0][0][0] Side data: audio service type: main stream.0.time_base="1/16000" stream.1.time_base="1/48000" format. Size="2965443768"
ffprobe 5.1.2 and video 1:
Input #0, matroska,webm, from 'D:\1.mkv': Metadata: title : Waterland (1992) encoder : libmakemkv v1.14.7 (1.3.5/1.4.7) win(x86-release) creation_time : 2021-09-04T14:48:42.000000Z Duration: 01:34:50.60, start: 0.000000, bitrate: 13768 kb/s Chapters: Chapter #0:0: start 0.000000, end 249.207292 Metadata: title : Main Title; Pittsburgh 1974 Chapter #0:1: start 249.207292, end 537.203333 Metadata: title : Slipping Away Chapter #0:2: start 537.203333, end 763.262500 Metadata: title : The Point Chapter #0:3: start 763.262500, end 1504.961792 Metadata: title : A Story About the Fens Chapter #0:4: start 1504.961792, end 2214.212000 Metadata: title : A Story About Beer Chapter #0:5: start 2214.212000, end 2690.521167 Metadata: title : Sane Moments Chapter #0:6: start 2690.521167, end 3329.784792 Metadata: title : Babies Come From Love Chapter #0:7: start 3329.784792, end 3952.031417 Metadata: title : The Letter Chapter #0:8: start 3952.031417, end 4491.069917 Metadata: title : A Gift From God Chapter #0:9: start 4491.069917, end 5006.876875 Metadata: title : Being Retired Chapter #0:10: start 5006.876875, end 5465.168042 Metadata: title : The Final End Chapter #0:11: start 5465.168042, end 5690.601583 Metadata: title : End Credits Stream #0:0(eng): Video: h264 (High), yuv420p(tv, bt709, progressive), 1920x816 [SAR 799:800 DAR 47:20], Closed Captions, SAR 639:640 DAR 639:272, 23.98 fps, 23.98 tbr, 1k tbn Metadata: BPS-eng : 13541827 DURATION-eng : 01:34:50.601583333 NUMBER_OF_FRAMES-eng: 136438 NUMBER_OF_BYTES-eng: 9632642405 _STATISTICS_WRITING_APP-eng: MakeMKV v1.14.7 win(x86-release) _STATISTICS_WRITING_DATE_UTC-eng: 2021-09-04 14:48:42 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:1(eng): Audio: eac3, 48000 Hz, stereo, fltp, 224 kb/s (default) Metadata: title : Stereo Mix (Amazon) BPS-eng : 224000 DURATION-eng : 01:34:50.560000000 NUMBER_OF_FRAMES-eng: 177830 NUMBER_OF_BYTES-eng: 159335680 _STATISTICS_WRITING_APP-eng: MakeMKV v1.14.7 win(x86-release) _STATISTICS_WRITING_DATE_UTC-eng: 2021-09-04 14:48:42 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:2(eng): Subtitle: subrip (default) Metadata: BPS-eng : 52 DURATION-eng : 01:28:55.497000000 NUMBER_OF_FRAMES-eng: 1472 NUMBER_OF_BYTES-eng: 34872 _STATISTICS_WRITING_APP-eng: MakeMKV v1.14.7 win(x86-release) _STATISTICS_WRITING_DATE_UTC-eng: 2021-09-04 14:48:42 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:3(eng): Subtitle: subrip Metadata: title : SDH BPS-eng : 52 DURATION-eng : 01:29:01.937000000 NUMBER_OF_FRAMES-eng: 1491 NUMBER_OF_BYTES-eng: 35238 _STATISTICS_WRITING_APP-eng: MakeMKV v1.14.7 win(x86-release) _STATISTICS_WRITING_DATE_UTC-eng: 2021-09-04 14:48:42 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES stream.0.time_base="1/1000" stream.1.time_base="1/1000" stream.2.time_base="1/1000" stream.3.time_base="1/1000" format. Size="9793702207"
ffprobe 5.1.2 and video 2:
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\2.FfmpegCopyFromMkv.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomdby1iso2avc1mp41 creation_time : 2023-04-17T04:41:30.000000Z title : Boxing Helena (1993).1080p.MR encoder : Lavf60.16.100 Duration: 01:45:22.12, start: 0.000000, bitrate: 13670 kb/s Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 1920x1040 [SAR 323:320 DAR 969:520], 13470 kb/s, 29.97 fps, 29.97 tbr, 16k tbn (default) Metadata: creation_time : 2023-04-17T04:41:30.000000Z handler_name : VideoHandler vendor_id : [0][0][0][0] Stream #0:1[0x2](eng): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, stereo, fltp, 192 kb/s (default) Metadata: creation_time : 2023-04-17T04:41:30.000000Z handler_name : SoundHandler vendor_id : [0][0][0][0] Side data: audio service type: main stream.0.time_base="1/16000" stream.1.time_base="1/48000" format. Size="10803332077"
ffprobe 5.1.2 and video 3:
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\3.FfmpegCopyFromMkv.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomdby1iso2avc1mp41 creation_time : 2018-01-31T11:15:47.000000Z title : CRO DIAMOND 1080p encoder : Lavf61.1.100 Duration: 01:19:49.73, start: 0.000000, bitrate: 10978 kb/s Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 1920x1040 [SAR 481:480 DAR 37:20], Closed Captions, 10525 kb/s, 25 fps, 25 tbr, 16k tbn (default) Metadata: creation_time : 2018-01-31T11:15:47.000000Z handler_name : VideoHandler vendor_id : [0][0][0][0] Stream #0:1[0x2](ger): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, 5.1(side), fltp, 448 kb/s (default) Metadata: creation_time : 2018-01-31T11:15:47.000000Z handler_name : SoundHandler vendor_id : [0][0][0][0] Side data: audio service type: main stream.0.time_base="1/16000" stream.1.time_base="1/48000" format. Size="6573043828"
ffprobe 5.1.2 and video 4:
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\4.FfmpegCopyFromMkv.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomdby1iso2avc1mp41 creation_time : 2018-01-31T11:45:30.000000Z title : CRO DIAMOND 1080p encoder : Lavf61.1.100 Duration: 01:21:27.48, start: 0.000000, bitrate: 13272 kb/s Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 19999:20000 DAR 19999:11250], Closed Captions, 12818 kb/s, SAR 1:1 DAR 16:9, 25 fps, 25 tbr, 16k tbn (default) Metadata: creation_time : 2018-01-31T11:45:30.000000Z handler_name : VideoHandler vendor_id : [0][0][0][0] Stream #0:1[0x2](ger): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, 5.1(side), fltp, 448 kb/s (default) Metadata: creation_time : 2018-01-31T11:45:30.000000Z handler_name : SoundHandler vendor_id : [0][0][0][0] Side data: audio service type: main stream.0.time_base="1/16000" stream.1.time_base="1/48000" format. Size="8108915065"
ffprobe 5.1.2 and video 5:
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\5.FfmpegCopyFromMkv.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomdby1iso2avc1mp41 creation_time : 2016-08-11T15:55:37.000000Z encoder : Lavf60.16.100 Duration: 00:28:27.62, start: 0.000000, bitrate: 13892 kb/s Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 19999:20000 DAR 19999:11250], Closed Captions, 13246 kb/s, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 16k tbn (default) Metadata: creation_time : 2016-08-11T15:55:37.000000Z handler_name : VideoHandler vendor_id : [0][0][0][0] Stream #0:1[0x2](eng): Audio: eac3 (ec-3 / 0x332D6365), 48000 Hz, 5.1(side), fltp, 640 kb/s (default) Metadata: creation_time : 2016-08-11T15:55:37.000000Z handler_name : SoundHandler vendor_id : [0][0][0][0] Side data: audio service type: main stream.0.time_base="1/16000" stream.1.time_base="1/48000" format. Size="2965443768"
comment:5 by , 7 months ago
͏ ffmpeg -v debug -hide_banner -nostdin -nostats -i "${Each Relevant File}" -c copy -f null -
͏ ?
comment:6 by , 7 months ago
J:\Files>for /r %v in (*) do "C:\Users\Administrator\AppData\Local\Microsoft\WinGet\Packages\Gyan.FFmpeg_Microsoft.Winget.Source_8wekyb3d8bbwe\ffmpeg-7.0.1-full_build\bin\ffmpeg.exe" -v debug -hide_banner -nostdin -nostats -i "%v" -c copy -f null - J:\Files>"C:\Users\Administrator\AppData\Local\Microsoft\WinGet\Packages\Gyan.FFmpeg_Microsoft.Winget.Source_8wekyb3d8bbwe\ffmpeg-7.0.1-full_build\bin\ffmpeg.exe" -v debug -hide_banner -nostdin -nostats -i "J:\Files\1.mkv" -c copy -f null - Splitting the commandline. Reading option '-v' ... matched as option 'v' (set logging level) with argument 'debug'. Reading option '-hide_banner' ... matched as option 'hide_banner' (do not show program banner) with argument '1'. Reading option '-nostdin' ... matched as option 'stdin' (enable or disable interaction on standard input) with argument 0. Reading option '-nostats' ... matched as option 'stats' (print progress report during encoding) with argument 0. Reading option '-i' ... matched as input url with argument 'J:\Files\1.mkv'. Reading option '-c' ... matched as option 'c' (select encoder/decoder ('copy' to copy stream without reencoding)) with argument 'copy'. Reading option '-f' ... matched as option 'f' (force container format (auto-detected otherwise)) with argument 'null'. Reading option '-' ... matched as output url. Finished splitting the commandline. Parsing a group of options: global . Applying option v (set logging level) with argument debug. Applying option hide_banner (do not show program banner) with argument 1. Applying option nostdin (enable or disable interaction on standard input) with argument 0. Applying option nostats (print progress report during encoding) with argument 0. Successfully parsed a group of options. Parsing a group of options: input url J:\Files\1.mkv. Successfully parsed a group of options. Opening an input file: J:\Files\1.mkv. [AVFormatContext @ 000002000c2f3040] Opening 'J:\Files\1.mkv' for reading [file @ 000002000c2f3840] Setting default whitelist 'file,crypto,data' [matroska,webm @ 000002000c2f3040] Format matroska,webm probed with size=2048 and score=100 st:0 removing common factor 1000000 from timebase st:1 removing common factor 1000000 from timebase st:2 removing common factor 1000000 from timebase st:3 removing common factor 1000000 from timebase [matroska,webm @ 000002000c2f3040] Before avformat_find_stream_info() pos: 3456 bytes read:34229 seeks:2 nb_streams:4 [h264 @ 000002000c2f8780] nal_unit_type: 7(SPS), nal_ref_idc: 3 [h264 @ 000002000c2f8780] Decoding VUI [h264 @ 000002000c2f8780] nal_unit_type: 8(PPS), nal_ref_idc: 3 Transform tree: mdct_inv_float_c - type: mdct_float, len: 128, factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only] fft_sr_ns_float_avx - type: fft_float, len: 64, factor: 2, flags: [aligned, inplace, out_of_place, preshuf] Transform tree: mdct_inv_float_c - type: mdct_float, len: 256, factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only] fft_sr_ns_float_avx - type: fft_float, len: 128, factor: 2, flags: [aligned, inplace, out_of_place, preshuf] [h264 @ 000002000c2f8780] nal_unit_type: 7(SPS), nal_ref_idc: 3 [h264 @ 000002000c2f8780] Decoding VUI [h264 @ 000002000c2f8780] nal_unit_type: 8(PPS), nal_ref_idc: 3 [h264 @ 000002000c2f8780] Decoding VUI [h264 @ 000002000c2f8780] nal_unit_type: 7(SPS), nal_ref_idc: 3 [h264 @ 000002000c2f8780] nal_unit_type: 8(PPS), nal_ref_idc: 3 [h264 @ 000002000c2f8780] nal_unit_type: 6(SEI), nal_ref_idc: 0 Last message repeated 4 times [h264 @ 000002000c2f8780] nal_unit_type: 5(IDR), nal_ref_idc: 3 [h264 @ 000002000c2f8780] Decoding VUI [h264 @ 000002000c2f8780] Format yuv420p chosen by get_format(). [h264 @ 000002000c2f8780] Reinit context to 1920x816, pix_fmt: yuv420p [h264 @ 000002000c2f8780] no picture [matroska,webm @ 000002000c2f3040] All info found [matroska,webm @ 000002000c2f3040] After avformat_find_stream_info() pos: 9255 bytes read:66997 seeks:2 frames:7 Input #0, matroska,webm, from 'J:\Files\1.mkv': Metadata: title : 1 (1992) encoder : libmakemkv v1.14.7 (1.3.5/1.4.7) win(x86-release) creation_time : 2021-09-04T14:48:42.000000Z Duration: 01:34:50.60, start: 0.000000, bitrate: 13768 kb/s Chapters: Chapter #0:0: start 0.000000, end 249.207292 Metadata: title : Main Title; Pittsburgh 1974 Chapter #0:1: start 249.207292, end 537.203333 Metadata: title : Slipping Away Chapter #0:2: start 537.203333, end 763.262500 Metadata: title : The Point Chapter #0:3: start 763.262500, end 1504.961792 Metadata: title : A Story About the Fens Chapter #0:4: start 1504.961792, end 2214.212000 Metadata: title : A Story About Beer Chapter #0:5: start 2214.212000, end 2690.521167 Metadata: title : Sane Moments Chapter #0:6: start 2690.521167, end 3329.784792 Metadata: title : Babies Come From Love Chapter #0:7: start 3329.784792, end 3952.031417 Metadata: title : The Letter Chapter #0:8: start 3952.031417, end 4491.069917 Metadata: title : A Gift From God Chapter #0:9: start 4491.069917, end 5006.876875 Metadata: title : Being Retired Chapter #0:10: start 5006.876875, end 5465.168042 Metadata: title : The Final End Chapter #0:11: start 5465.168042, end 5690.601583 Metadata: title : End Credits Stream #0:0(eng), 4, 1/1000: Video: h264 (High), 1 reference frame, yuv420p(tv, bt709, progressive, left), 1920x816 [SAR 799:800 DAR 47:20], 0/1, SAR 639:640 DAR 639:272, 23.98 fps, 23.98 tbr, 1k tbn Metadata: BPS-eng : 13541827 DURATION-eng : 01:34:50.601583333 NUMBER_OF_FRAMES-eng: 136438 NUMBER_OF_BYTES-eng: 9632642405 _STATISTICS_WRITING_APP-eng: MakeMKV v1.14.7 win(x86-release) _STATISTICS_WRITING_DATE_UTC-eng: 2021-09-04 14:48:42 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:1(eng), 3, 1/1000: Audio: eac3, 48000 Hz, stereo, fltp, 224 kb/s (default) Metadata: title : Stereo Mix (Amazon) BPS-eng : 224000 DURATION-eng : 01:34:50.560000000 NUMBER_OF_FRAMES-eng: 177830 NUMBER_OF_BYTES-eng: 159335680 _STATISTICS_WRITING_APP-eng: MakeMKV v1.14.7 win(x86-release) _STATISTICS_WRITING_DATE_UTC-eng: 2021-09-04 14:48:42 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:2(eng), 0, 1/1000: Subtitle: subrip (srt) (default) Metadata: BPS-eng : 52 DURATION-eng : 01:28:55.497000000 NUMBER_OF_FRAMES-eng: 1472 NUMBER_OF_BYTES-eng: 34872 _STATISTICS_WRITING_APP-eng: MakeMKV v1.14.7 win(x86-release) _STATISTICS_WRITING_DATE_UTC-eng: 2021-09-04 14:48:42 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:3(eng), 0, 1/1000: Subtitle: subrip (srt) Metadata: title : SDH BPS-eng : 52 DURATION-eng : 01:29:01.937000000 NUMBER_OF_FRAMES-eng: 1491 NUMBER_OF_BYTES-eng: 35238 _STATISTICS_WRITING_APP-eng: MakeMKV v1.14.7 win(x86-release) _STATISTICS_WRITING_DATE_UTC-eng: 2021-09-04 14:48:42 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Successfully opened the file. Parsing a group of options: output url -. Applying option c (select encoder/decoder ('copy' to copy stream without reencoding)) with argument copy. Applying option f (force container format (auto-detected otherwise)) with argument null. Successfully parsed a group of options. Opening an output file: -. [out#0/null @ 000002000c2f91c0] No explicit maps, mapping streams automatically... [vost#0:0/copy @ 000002000c8e1c80] Created video stream from input stream 0:0 [aost#0:1/copy @ 000002000c3a27c0] Created audio stream from input stream 0:1 Successfully opened the file. Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #0:1 -> #0:1 (copy) Output #0, null, to 'pipe:': Metadata: title : 1 (1992) encoder : Lavf61.1.100 Chapters: Chapter #0:0: start 0.000000, end 249.207292 Metadata: title : Main Title; Pittsburgh 1974 Chapter #0:1: start 249.207292, end 537.203333 Metadata: title : Slipping Away Chapter #0:2: start 537.203333, end 763.262500 Metadata: title : The Point Chapter #0:3: start 763.262500, end 1504.961792 Metadata: title : A Story About the Fens Chapter #0:4: start 1504.961792, end 2214.212000 Metadata: title : A Story About Beer Chapter #0:5: start 2214.212000, end 2690.521167 Metadata: title : Sane Moments Chapter #0:6: start 2690.521167, end 3329.784792 Metadata: title : Babies Come From Love Chapter #0:7: start 3329.784792, end 3952.031417 Metadata: title : The Letter Chapter #0:8: start 3952.031417, end 4491.069917 Metadata: title : A Gift From God Chapter #0:9: start 4491.069917, end 5006.876875 Metadata: title : Being Retired Chapter #0:10: start 5006.876875, end 5465.168042 Metadata: title : The Final End Chapter #0:11: start 5465.168042, end 5690.601583 Metadata: title : End Credits Stream #0:0(eng), 0, 1/1000: Video: h264 (High), 1 reference frame, yuv420p(tv, bt709, progressive, left), 1920x816 [SAR 639:640 DAR 639:272], 0/1, q=2-31, 23.98 fps, 23.98 tbr, 1k tbn Metadata: BPS-eng : 13541827 DURATION-eng : 01:34:50.601583333 NUMBER_OF_FRAMES-eng: 136438 NUMBER_OF_BYTES-eng: 9632642405 _STATISTICS_WRITING_APP-eng: MakeMKV v1.14.7 win(x86-release) _STATISTICS_WRITING_DATE_UTC-eng: 2021-09-04 14:48:42 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:1(eng), 0, 1/1000: Audio: eac3, 48000 Hz, stereo, fltp, 224 kb/s (default) Metadata: title : Stereo Mix (Amazon) BPS-eng : 224000 DURATION-eng : 01:34:50.560000000 NUMBER_OF_FRAMES-eng: 177830 NUMBER_OF_BYTES-eng: 159335680 _STATISTICS_WRITING_APP-eng: MakeMKV v1.14.7 win(x86-release) _STATISTICS_WRITING_DATE_UTC-eng: 2021-09-04 14:48:42 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES [out#0/null @ 000002000c2f91c0] Starting thread... [in#0/matroska,webm @ 000002000c2da300] Starting thread... [in#0/matroska,webm @ 000002000c2da300] EOF while reading input [in#0/matroska,webm @ 000002000c2da300] Terminating thread with return code 0 (success) [out#0/null @ 000002000c2f91c0] All streams finished [out#0/null @ 000002000c2f91c0] Terminating thread with return code 0 (success) [out#0/null @ 000002000c2f91c0] Output file #0 (pipe:): [out#0/null @ 000002000c2f91c0] Output stream #0:0 (video): 136438 packets muxed (9632642405 bytes); [out#0/null @ 000002000c2f91c0] Output stream #0:1 (audio): 177830 packets muxed (159335680 bytes); [out#0/null @ 000002000c2f91c0] Total: 314268 packets (9791978085 bytes) muxed [out#0/null @ 000002000c2f91c0] video:9406877KiB audio:155601KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: unknown size=N/A time=01:34:50.51 bitrate=N/A speed= 119x [in#0/matroska,webm @ 000002000c2da300] Input file #0 (J:\Files\1.mkv): [in#0/matroska,webm @ 000002000c2da300] Input stream #0:0 (video): 136438 packets read (9632642405 bytes); [in#0/matroska,webm @ 000002000c2da300] Input stream #0:1 (audio): 177830 packets read (159335680 bytes); [in#0/matroska,webm @ 000002000c2da300] Total: 314268 packets (9791978085 bytes) demuxed [AVIOContext @ 000002000c2f15c0] Statistics: 9793732980 bytes read, 2 seeks J:\Files>"C:\Users\Administrator\AppData\Local\Microsoft\WinGet\Packages\Gyan.FFmpeg_Microsoft.Winget.Source_8wekyb3d8bbwe\ffmpeg-7.0.1-full_build\bin\ffmpeg.exe" -v debug -hide_banner -nostdin -nostats -i "J:\Files\2.mp4" -c copy -f null - Splitting the commandline. Reading option '-v' ... matched as option 'v' (set logging level) with argument 'debug'. Reading option '-hide_banner' ... matched as option 'hide_banner' (do not show program banner) with argument '1'. Reading option '-nostdin' ... matched as option 'stdin' (enable or disable interaction on standard input) with argument 0. Reading option '-nostats' ... matched as option 'stats' (print progress report during encoding) with argument 0. Reading option '-i' ... matched as input url with argument 'J:\Files\2.mp4'. Reading option '-c' ... matched as option 'c' (select encoder/decoder ('copy' to copy stream without reencoding)) with argument 'copy'. Reading option '-f' ... matched as option 'f' (force container format (auto-detected otherwise)) with argument 'null'. Reading option '-' ... matched as output url. Finished splitting the commandline. Parsing a group of options: global . Applying option v (set logging level) with argument debug. Applying option hide_banner (do not show program banner) with argument 1. Applying option nostdin (enable or disable interaction on standard input) with argument 0. Applying option nostats (print progress report during encoding) with argument 0. Successfully parsed a group of options. Parsing a group of options: input url J:\Files\2.mp4. Successfully parsed a group of options. Opening an input file: J:\Files\2.mp4. [AVFormatContext @ 000001b1a0313040] Opening 'J:\Files\2.mp4' for reading [file @ 000001b1a0313840] Setting default whitelist 'file,crypto,data' [mov,mp4,m4a,3gp,3g2,mj2 @ 000001b1a0313040] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100 [mov,mp4,m4a,3gp,3g2,mj2 @ 000001b1a0313040] ISO: File Type Major Brand: isom [mov,mp4,m4a,3gp,3g2,mj2 @ 000001b1a0313040] Unknown dref type 0x206c7275 size 12 [mov,mp4,m4a,3gp,3g2,mj2 @ 000001b1a0313040] Processing st: 0, edit list 0 - media time: 1072, duration: 101153840 [mov,mp4,m4a,3gp,3g2,mj2 @ 000001b1a0313040] Offset DTS by 1072 to make first pts zero. [mov,mp4,m4a,3gp,3g2,mj2 @ 000001b1a0313040] Setting codecpar->delay to 2 for stream st: 0 [mov,mp4,m4a,3gp,3g2,mj2 @ 000001b1a0313040] Unknown dref type 0x206c7275 size 12 [mov,mp4,m4a,3gp,3g2,mj2 @ 000001b1a0313040] Processing st: 1, edit list 0 - media time: 0, duration: 303461376 [mov,mp4,m4a,3gp,3g2,mj2 @ 000001b1a0313040] rfps: 29.833333 0.016650 Last message repeated 1 times [mov,mp4,m4a,3gp,3g2,mj2 @ 000001b1a0313040] rfps: 29.916667 0.002585 [mov,mp4,m4a,3gp,3g2,mj2 @ 000001b1a0313040] rfps: 30.000000 0.000894 [mov,mp4,m4a,3gp,3g2,mj2 @ 000001b1a0313040] rfps: 30.000000 0.018333 [mov,mp4,m4a,3gp,3g2,mj2 @ 000001b1a0313040] rfps: 60.000000 0.003576 [mov,mp4,m4a,3gp,3g2,mj2 @ 000001b1a0313040] rfps: 120.000000 0.014304 [mov,mp4,m4a,3gp,3g2,mj2 @ 000001b1a0313040] rfps: 29.970030 0.000077 [mov,mp4,m4a,3gp,3g2,mj2 @ 000001b1a0313040] rfps: 59.940060 0.000309 [mov,mp4,m4a,3gp,3g2,mj2 @ 000001b1a0313040] Before avformat_find_stream_info() pos: 10803332077 bytes read:6646174 seeks:1 nb_streams:2 [h264 @ 000001b1a0323f40] nal_unit_type: 7(SPS), nal_ref_idc: 3 [h264 @ 000001b1a0323f40] Decoding VUI [h264 @ 000001b1a0323f40] nal_unit_type: 8(PPS), nal_ref_idc: 3 Transform tree: mdct_inv_float_c - type: mdct_float, len: 128, factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only] fft_sr_ns_float_avx - type: fft_float, len: 64, factor: 2, flags: [aligned, inplace, out_of_place, preshuf] Transform tree: mdct_inv_float_c - type: mdct_float, len: 256, factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only] fft_sr_ns_float_avx - type: fft_float, len: 128, factor: 2, flags: [aligned, inplace, out_of_place, preshuf] [h264 @ 000001b1a0323f40] nal_unit_type: 7(SPS), nal_ref_idc: 3 [h264 @ 000001b1a0323f40] Decoding VUI [h264 @ 000001b1a0323f40] nal_unit_type: 8(PPS), nal_ref_idc: 3 [h264 @ 000001b1a0323f40] ct_type:0 pic_struct:0 [h264 @ 000001b1a0323f40] nal_unit_type: 6(SEI), nal_ref_idc: 0 Last message repeated 1 times [h264 @ 000001b1a0323f40] nal_unit_type: 5(IDR), nal_ref_idc: 3 [h264 @ 000001b1a0323f40] Format yuv420p chosen by get_format(). [h264 @ 000001b1a0323f40] Reinit context to 1920x1040, pix_fmt: yuv420p [h264 @ 000001b1a0323f40] ct_type:0 pic_struct:0 [h264 @ 000001b1a0323f40] no picture [h264 @ 000001b1a0323f40] ct_type:0 pic_struct:0 [h264 @ 000001b1a0323f40] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 000001b1a0323f40] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3 [h264 @ 000001b1a0323f40] ct_type:0 pic_struct:0 [h264 @ 000001b1a0323f40] no picture [h264 @ 000001b1a0323f40] ct_type:0 pic_struct:0 [h264 @ 000001b1a0323f40] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 000001b1a0323f40] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3 [h264 @ 000001b1a0323f40] ct_type:0 pic_struct:0 [mov,mp4,m4a,3gp,3g2,mj2 @ 000001b1a0313040] All info found [mov,mp4,m4a,3gp,3g2,mj2 @ 000001b1a0313040] After avformat_find_stream_info() pos: 2333 bytes read:6678942 seeks:2 frames:4 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'J:\Files\2.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomdby1iso2avc1mp41 creation_time : 2023-04-17T04:41:30.000000Z title : 2 (1993).1080p.MR encoder : Lavf60.16.100 Duration: 01:45:22.12, start: 0.000000, bitrate: 13670 kb/s Stream #0:0[0x1](und), 3, 1/16000: Video: h264 (High), 1 reference frame (avc1 / 0x31637661), yuv420p(progressive, left), 1920x1040 [SAR 323:320 DAR 969:520], 0/1, 13470 kb/s, 29.97 fps, 29.97 tbr, 16k tbn (default) Metadata: creation_time : 2023-04-17T04:41:30.000000Z handler_name : VideoHandler vendor_id : [0][0][0][0] Stream #0:1[0x2](eng), 1, 1/48000: Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, stereo, fltp, 192 kb/s (default) Metadata: creation_time : 2023-04-17T04:41:30.000000Z handler_name : SoundHandler vendor_id : [0][0][0][0] Side data: audio service type: main Successfully opened the file. Parsing a group of options: output url -. Applying option c (select encoder/decoder ('copy' to copy stream without reencoding)) with argument copy. Applying option f (force container format (auto-detected otherwise)) with argument null. Successfully parsed a group of options. Opening an output file: -. [out#0/null @ 000001b1a03133c0] No explicit maps, mapping streams automatically... [vost#0:0/copy @ 000001b1a1758500] Created video stream from input stream 0:0 [aost#0:1/copy @ 000001b1a09f08c0] Created audio stream from input stream 0:1 Successfully opened the file. Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #0:1 -> #0:1 (copy) Output #0, null, to 'pipe:': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomdby1iso2avc1mp41 title : 2 (1993).1080p.MR encoder : Lavf61.1.100 Stream #0:0(und), 0, 1/16000: Video: h264 (High), 1 reference frame (avc1 / 0x31637661), yuv420p(progressive, left), 1920x1040 [SAR 323:320 DAR 969:520], 0/1, q=2-31, 13470 kb/s, 29.97 fps, 29.97 tbr, 16k tbn (default) Metadata: creation_time : 2023-04-17T04:41:30.000000Z handler_name : VideoHandler vendor_id : [0][0][0][0] Stream #0:1(eng), 0, 1/48000: Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, stereo, fltp, 192 kb/s (default) Metadata: creation_time : 2023-04-17T04:41:30.000000Z handler_name : SoundHandler vendor_id : [0][0][0][0] Side data: audio service type: main [out#0/null @ 000001b1a03133c0] Starting thread... [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 000001b1a02fa2c0] Starting thread... [h264 @ 000001b1a2da2b40] ct_type:0 pic_struct:0 Last message repeated 189470 times [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 000001b1a02fa2c0] EOF while reading input [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 000001b1a02fa2c0] Terminating thread with return code 0 (success) [out#0/null @ 000001b1a03133c0] All streams finished [out#0/null @ 000001b1a03133c0] Terminating thread with return code 0 (success) [out#0/null @ 000001b1a03133c0] Output file #0 (pipe:): [out#0/null @ 000001b1a03133c0] Output stream #0:0 (video): 189474 packets muxed (10644987931 bytes); [out#0/null @ 000001b1a03133c0] Output stream #0:1 (audio): 197566 packets muxed (151730688 bytes); [out#0/null @ 000001b1a03133c0] Total: 387040 packets (10796718619 bytes) muxed [out#0/null @ 000001b1a03133c0] video:10395496KiB audio:148174KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: unknown size=N/A time=01:45:22.04 bitrate=N/A speed=10.6x [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 000001b1a02fa2c0] Input file #0 (J:\Files\2.mp4): [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 000001b1a02fa2c0] Input stream #0:0 (video): 189474 packets read (10644987931 bytes); [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 000001b1a02fa2c0] Input stream #0:1 (audio): 197566 packets read (151730688 bytes); [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 000001b1a02fa2c0] Total: 387040 packets (10796718619 bytes) demuxed [AVIOContext @ 000001b1a03136c0] Statistics: 10803394622 bytes read, 2 seeks J:\Files>"C:\Users\Administrator\AppData\Local\Microsoft\WinGet\Packages\Gyan.FFmpeg_Microsoft.Winget.Source_8wekyb3d8bbwe\ffmpeg-7.0.1-full_build\bin\ffmpeg.exe" -v debug -hide_banner -nostdin -nostats -i "J:\Files\3.mp4" -c copy -f null - Splitting the commandline. Reading option '-v' ... matched as option 'v' (set logging level) with argument 'debug'. Reading option '-hide_banner' ... matched as option 'hide_banner' (do not show program banner) with argument '1'. Reading option '-nostdin' ... matched as option 'stdin' (enable or disable interaction on standard input) with argument 0. Reading option '-nostats' ... matched as option 'stats' (print progress report during encoding) with argument 0. Reading option '-i' ... matched as input url with argument 'J:\Files\3.mp4'. Reading option '-c' ... matched as option 'c' (select encoder/decoder ('copy' to copy stream without reencoding)) with argument 'copy'. Reading option '-f' ... matched as option 'f' (force container format (auto-detected otherwise)) with argument 'null'. Reading option '-' ... matched as output url. Finished splitting the commandline. Parsing a group of options: global . Applying option v (set logging level) with argument debug. Applying option hide_banner (do not show program banner) with argument 1. Applying option nostdin (enable or disable interaction on standard input) with argument 0. Applying option nostats (print progress report during encoding) with argument 0. Successfully parsed a group of options. Parsing a group of options: input url J:\Files\3.mp4. Successfully parsed a group of options. Opening an input file: J:\Files\3.mp4. [AVFormatContext @ 000001a13eb13040] Opening 'J:\Files\3.mp4' for reading [file @ 000001a13eb13840] Setting default whitelist 'file,crypto,data' [mov,mp4,m4a,3gp,3g2,mj2 @ 000001a13eb13040] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100 [mov,mp4,m4a,3gp,3g2,mj2 @ 000001a13eb13040] ISO: File Type Major Brand: isom [mov,mp4,m4a,3gp,3g2,mj2 @ 000001a13eb13040] Unknown dref type 0x206c7275 size 12 [mov,mp4,m4a,3gp,3g2,mj2 @ 000001a13eb13040] Processing st: 0, edit list 0 - media time: 1280, duration: 76625920 [mov,mp4,m4a,3gp,3g2,mj2 @ 000001a13eb13040] Offset DTS by 1280 to make first pts zero. [mov,mp4,m4a,3gp,3g2,mj2 @ 000001a13eb13040] Setting codecpar->delay to 2 for stream st: 0 [mov,mp4,m4a,3gp,3g2,mj2 @ 000001a13eb13040] Unknown dref type 0x206c7275 size 12 [mov,mp4,m4a,3gp,3g2,mj2 @ 000001a13eb13040] Processing st: 1, edit list 0 - media time: 0, duration: 229906944 [mov,mp4,m4a,3gp,3g2,mj2 @ 000001a13eb13040] Before avformat_find_stream_info() pos: 6573043828 bytes read:4077798 seeks:1 nb_streams:2 [h264 @ 000001a13eb23f40] nal_unit_type: 7(SPS), nal_ref_idc: 3 [h264 @ 000001a13eb23f40] Decoding VUI [h264 @ 000001a13eb23f40] nal_unit_type: 8(PPS), nal_ref_idc: 3 Transform tree: mdct_inv_float_c - type: mdct_float, len: 128, factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only] fft_sr_ns_float_avx - type: fft_float, len: 64, factor: 2, flags: [aligned, inplace, out_of_place, preshuf] Transform tree: mdct_inv_float_c - type: mdct_float, len: 256, factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only] fft_sr_ns_float_avx - type: fft_float, len: 128, factor: 2, flags: [aligned, inplace, out_of_place, preshuf] [h264 @ 000001a13eb23f40] nal_unit_type: 7(SPS), nal_ref_idc: 3 [h264 @ 000001a13eb23f40] Decoding VUI [h264 @ 000001a13eb23f40] nal_unit_type: 8(PPS), nal_ref_idc: 3 [h264 @ 000001a13eb23f40] nal_unit_type: 9(AUD), nal_ref_idc: 0 [h264 @ 000001a13eb23f40] nal_unit_type: 6(SEI), nal_ref_idc: 0 Last message repeated 4 times [h264 @ 000001a13eb23f40] nal_unit_type: 5(IDR), nal_ref_idc: 3 [h264 @ 000001a13eb23f40] Format yuv420p chosen by get_format(). [h264 @ 000001a13eb23f40] Reinit context to 1920x1040, pix_fmt: yuv420p [h264 @ 000001a13eb23f40] no picture [mov,mp4,m4a,3gp,3g2,mj2 @ 000001a13eb13040] All info found [mov,mp4,m4a,3gp,3g2,mj2 @ 000001a13eb13040] After avformat_find_stream_info() pos: 31367 bytes read:4110566 seeks:2 frames:4 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'J:\Files\3.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomdby1iso2avc1mp41 creation_time : 2018-01-31T11:15:47.000000Z title : CRO DIAMOND 1080p encoder : Lavf61.1.100 Duration: 01:19:49.73, start: 0.000000, bitrate: 10978 kb/s Stream #0:0[0x1](und), 3, 1/16000: Video: h264 (High), 1 reference frame (avc1 / 0x31637661), yuv420p(tv, bt709, progressive, left), 1920x1040 [SAR 481:480 DAR 37:20], 0/1, 10525 kb/s, 25 fps, 25 tbr, 16k tbn (default) Metadata: creation_time : 2018-01-31T11:15:47.000000Z handler_name : VideoHandler vendor_id : [0][0][0][0] Stream #0:1[0x2](ger), 1, 1/48000: Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, 5.1(side), fltp, 448 kb/s (default) Metadata: creation_time : 2018-01-31T11:15:47.000000Z handler_name : SoundHandler vendor_id : [0][0][0][0] Side data: audio service type: main Successfully opened the file. Parsing a group of options: output url -. Applying option c (select encoder/decoder ('copy' to copy stream without reencoding)) with argument copy. Applying option f (force container format (auto-detected otherwise)) with argument null. Successfully parsed a group of options. Opening an output file: -. [out#0/null @ 000001a13f10ec00] No explicit maps, mapping streams automatically... [vost#0:0/copy @ 000001a13eb16700] Created video stream from input stream 0:0 [aost#0:1/copy @ 000001a13f10e3c0] Created audio stream from input stream 0:1 Successfully opened the file. Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #0:1 -> #0:1 (copy) Output #0, null, to 'pipe:': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomdby1iso2avc1mp41 title : CRO DIAMOND 1080p encoder : Lavf61.1.100 Stream #0:0(und), 0, 1/16000: Video: h264 (High), 1 reference frame (avc1 / 0x31637661), yuv420p(tv, bt709, progressive, left), 1920x1040 [SAR 481:480 DAR 37:20], 0/1, q=2-31, 10525 kb/s, 25 fps, 25 tbr, 16k tbn (default) Metadata: creation_time : 2018-01-31T11:15:47.000000Z handler_name : VideoHandler vendor_id : [0][0][0][0] Stream #0:1(ger), 0, 1/48000: Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, 5.1(side), fltp, 448 kb/s (default) Metadata: creation_time : 2018-01-31T11:15:47.000000Z handler_name : SoundHandler vendor_id : [0][0][0][0] Side data: audio service type: main [out#0/null @ 000001a13f10ec00] Starting thread... [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 000001a13eafa2c0] Starting thread... [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 000001a13eafa2c0] EOF while reading input [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 000001a13eafa2c0] Terminating thread with return code 0 (success) [out#0/null @ 000001a13f10ec00] All streams finished [out#0/null @ 000001a13f10ec00] Terminating thread with return code 0 (success) [out#0/null @ 000001a13f10ec00] Output file #0 (pipe:): [out#0/null @ 000001a13f10ec00] Output stream #0:0 (video): 119728 packets muxed (6300773978 bytes); [out#0/null @ 000001a13f10ec00] Output stream #0:1 (audio): 149679 packets muxed (268224768 bytes); [out#0/null @ 000001a13f10ec00] Total: 269407 packets (6568998746 bytes) muxed [out#0/null @ 000001a13f10ec00] video:6153100KiB audio:261938KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: unknown size=N/A time=01:19:49.04 bitrate=N/A speed= 147x [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 000001a13eafa2c0] Input file #0 (J:\Files\3.mp4): [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 000001a13eafa2c0] Input stream #0:0 (video): 119728 packets read (6300773978 bytes); [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 000001a13eafa2c0] Input stream #0:1 (audio): 149679 packets read (268224768 bytes); [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 000001a13eafa2c0] Total: 269407 packets (6568998746 bytes) demuxed [AVIOContext @ 000001a13eb136c0] Statistics: 6573092068 bytes read, 2 seeks J:\Files>"C:\Users\Administrator\AppData\Local\Microsoft\WinGet\Packages\Gyan.FFmpeg_Microsoft.Winget.Source_8wekyb3d8bbwe\ffmpeg-7.0.1-full_build\bin\ffmpeg.exe" -v debug -hide_banner -nostdin -nostats -i "J:\Files\4.mp4" -c copy -f null - Splitting the commandline. Reading option '-v' ... matched as option 'v' (set logging level) with argument 'debug'. Reading option '-hide_banner' ... matched as option 'hide_banner' (do not show program banner) with argument '1'. Reading option '-nostdin' ... matched as option 'stdin' (enable or disable interaction on standard input) with argument 0. Reading option '-nostats' ... matched as option 'stats' (print progress report during encoding) with argument 0. Reading option '-i' ... matched as input url with argument 'J:\Files\4.mp4'. Reading option '-c' ... matched as option 'c' (select encoder/decoder ('copy' to copy stream without reencoding)) with argument 'copy'. Reading option '-f' ... matched as option 'f' (force container format (auto-detected otherwise)) with argument 'null'. Reading option '-' ... matched as output url. Finished splitting the commandline. Parsing a group of options: global . Applying option v (set logging level) with argument debug. Applying option hide_banner (do not show program banner) with argument 1. Applying option nostdin (enable or disable interaction on standard input) with argument 0. Applying option nostats (print progress report during encoding) with argument 0. Successfully parsed a group of options. Parsing a group of options: input url J:\Files\4.mp4. Successfully parsed a group of options. Opening an input file: J:\Files\4.mp4. [AVFormatContext @ 0000029de0f43040] Opening 'J:\Files\4.mp4' for reading [file @ 0000029de0f43880] Setting default whitelist 'file,crypto,data' [mov,mp4,m4a,3gp,3g2,mj2 @ 0000029de0f43040] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100 [mov,mp4,m4a,3gp,3g2,mj2 @ 0000029de0f43040] ISO: File Type Major Brand: isom [mov,mp4,m4a,3gp,3g2,mj2 @ 0000029de0f43040] Unknown dref type 0x206c7275 size 12 [mov,mp4,m4a,3gp,3g2,mj2 @ 0000029de0f43040] Processing st: 0, edit list 0 - media time: 1280, duration: 78199680 [mov,mp4,m4a,3gp,3g2,mj2 @ 0000029de0f43040] Offset DTS by 1280 to make first pts zero. [mov,mp4,m4a,3gp,3g2,mj2 @ 0000029de0f43040] Setting codecpar->delay to 2 for stream st: 0 [mov,mp4,m4a,3gp,3g2,mj2 @ 0000029de0f43040] Unknown dref type 0x206c7275 size 12 [mov,mp4,m4a,3gp,3g2,mj2 @ 0000029de0f43040] Processing st: 1, edit list 0 - media time: 0, duration: 234596352 [mov,mp4,m4a,3gp,3g2,mj2 @ 0000029de0f43040] Before avformat_find_stream_info() pos: 8108915065 bytes read:3975955 seeks:1 nb_streams:2 [h264 @ 0000029de0f53fc0] nal_unit_type: 7(SPS), nal_ref_idc: 3 [h264 @ 0000029de0f53fc0] Decoding VUI [h264 @ 0000029de0f53fc0] nal_unit_type: 8(PPS), nal_ref_idc: 3 Transform tree: mdct_inv_float_c - type: mdct_float, len: 128, factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only] fft_sr_ns_float_avx - type: fft_float, len: 64, factor: 2, flags: [aligned, inplace, out_of_place, preshuf] Transform tree: mdct_inv_float_c - type: mdct_float, len: 256, factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only] fft_sr_ns_float_avx - type: fft_float, len: 128, factor: 2, flags: [aligned, inplace, out_of_place, preshuf] [h264 @ 0000029de0f53fc0] nal_unit_type: 7(SPS), nal_ref_idc: 3 [h264 @ 0000029de0f53fc0] Decoding VUI [h264 @ 0000029de0f53fc0] nal_unit_type: 8(PPS), nal_ref_idc: 3 [h264 @ 0000029de0f53fc0] nal_unit_type: 9(AUD), nal_ref_idc: 0 [h264 @ 0000029de0f53fc0] nal_unit_type: 6(SEI), nal_ref_idc: 0 Last message repeated 4 times [h264 @ 0000029de0f53fc0] nal_unit_type: 5(IDR), nal_ref_idc: 3 [h264 @ 0000029de0f53fc0] Format yuv420p chosen by get_format(). [h264 @ 0000029de0f53fc0] Reinit context to 1920x1088, pix_fmt: yuv420p [h264 @ 0000029de0f53fc0] no picture [mov,mp4,m4a,3gp,3g2,mj2 @ 0000029de0f43040] All info found [mov,mp4,m4a,3gp,3g2,mj2 @ 0000029de0f43040] After avformat_find_stream_info() pos: 37164 bytes read:4041491 seeks:2 frames:4 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'J:\Files\4.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomdby1iso2avc1mp41 creation_time : 2018-01-31T11:45:30.000000Z title : CRO DIAMOND 1080p encoder : Lavf61.1.100 Duration: 01:21:27.48, start: 0.000000, bitrate: 13272 kb/s Stream #0:0[0x1](und), 3, 1/16000: Video: h264 (High), 1 reference frame (avc1 / 0x31637661), yuv420p(tv, bt709, progressive, left), 1920x1080 [SAR 19999:20000 DAR 19999:11250], 0/1, 12818 kb/s, SAR 1:1 DAR 16:9, 25 fps, 25 tbr, 16k tbn (default) Metadata: creation_time : 2018-01-31T11:45:30.000000Z handler_name : VideoHandler vendor_id : [0][0][0][0] Stream #0:1[0x2](ger), 1, 1/48000: Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, 5.1(side), fltp, 448 kb/s (default) Metadata: creation_time : 2018-01-31T11:45:30.000000Z handler_name : SoundHandler vendor_id : [0][0][0][0] Side data: audio service type: main Successfully opened the file. Parsing a group of options: output url -. Applying option c (select encoder/decoder ('copy' to copy stream without reencoding)) with argument copy. Applying option f (force container format (auto-detected otherwise)) with argument null. Successfully parsed a group of options. Opening an output file: -. [out#0/null @ 0000029de0f41cc0] No explicit maps, mapping streams automatically... [vost#0:0/copy @ 0000029de158e5c0] Created video stream from input stream 0:0 [aost#0:1/copy @ 0000029de158e840] Created audio stream from input stream 0:1 Successfully opened the file. Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #0:1 -> #0:1 (copy) Output #0, null, to 'pipe:': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomdby1iso2avc1mp41 title : CRO DIAMOND 1080p encoder : Lavf61.1.100 Stream #0:0(und), 0, 1/16000: Video: h264 (High), 1 reference frame (avc1 / 0x31637661), yuv420p(tv, bt709, progressive, left), 1920x1080 [SAR 1:1 DAR 16:9], 0/1, q=2-31, 12818 kb/s, 25 fps, 25 tbr, 16k tbn (default) Metadata: creation_time : 2018-01-31T11:45:30.000000Z handler_name : VideoHandler vendor_id : [0][0][0][0] Stream #0:1(ger), 0, 1/48000: Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, 5.1(side), fltp, 448 kb/s (default) Metadata: creation_time : 2018-01-31T11:45:30.000000Z handler_name : SoundHandler vendor_id : [0][0][0][0] Side data: audio service type: main [out#0/null @ 0000029de0f41cc0] Starting thread... [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 0000029de0f2a340] Starting thread... [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 0000029de0f2a340] EOF while reading input [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 0000029de0f2a340] Terminating thread with return code 0 (success) [out#0/null @ 0000029de0f41cc0] All streams finished [out#0/null @ 0000029de0f41cc0] Terminating thread with return code 0 (success) [out#0/null @ 0000029de0f41cc0] Output file #0 (pipe:): [out#0/null @ 0000029de0f41cc0] Output stream #0:0 (video): 122187 packets muxed (7831276082 bytes); [out#0/null @ 0000029de0f41cc0] Output stream #0:1 (audio): 152732 packets muxed (273695744 bytes); [out#0/null @ 0000029de0f41cc0] Total: 274919 packets (8104971826 bytes) muxed [out#0/null @ 0000029de0f41cc0] video:7647731KiB audio:267281KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: unknown size=N/A time=01:21:27.40 bitrate=N/A speed= 121x [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 0000029de0f2a340] Input file #0 (J:\Files\4.mp4): [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 0000029de0f2a340] Input stream #0:0 (video): 122187 packets read (7831276082 bytes); [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 0000029de0f2a340] Input stream #0:1 (audio): 152732 packets read (273695744 bytes); [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 0000029de0f2a340] Total: 274919 packets (8104971826 bytes) demuxed [AVIOContext @ 0000029de0f43740] Statistics: 8108951755 bytes read, 2 seeks J:\Files>"C:\Users\Administrator\AppData\Local\Microsoft\WinGet\Packages\Gyan.FFmpeg_Microsoft.Winget.Source_8wekyb3d8bbwe\ffmpeg-7.0.1-full_build\bin\ffmpeg.exe" -v debug -hide_banner -nostdin -nostats -i "J:\Files\5.mp4" -c copy -f null - Splitting the commandline. Reading option '-v' ... matched as option 'v' (set logging level) with argument 'debug'. Reading option '-hide_banner' ... matched as option 'hide_banner' (do not show program banner) with argument '1'. Reading option '-nostdin' ... matched as option 'stdin' (enable or disable interaction on standard input) with argument 0. Reading option '-nostats' ... matched as option 'stats' (print progress report during encoding) with argument 0. Reading option '-i' ... matched as input url with argument 'J:\Files\5.mp4'. Reading option '-c' ... matched as option 'c' (select encoder/decoder ('copy' to copy stream without reencoding)) with argument 'copy'. Reading option '-f' ... matched as option 'f' (force container format (auto-detected otherwise)) with argument 'null'. Reading option '-' ... matched as output url. Finished splitting the commandline. Parsing a group of options: global . Applying option v (set logging level) with argument debug. Applying option hide_banner (do not show program banner) with argument 1. Applying option nostdin (enable or disable interaction on standard input) with argument 0. Applying option nostats (print progress report during encoding) with argument 0. Successfully parsed a group of options. Parsing a group of options: input url J:\Files\5.mp4. Successfully parsed a group of options. Opening an input file: J:\Files\5.mp4. [AVFormatContext @ 000002ba86653040] Opening 'J:\Files\5.mp4' for reading [file @ 000002ba86653880] Setting default whitelist 'file,crypto,data' [mov,mp4,m4a,3gp,3g2,mj2 @ 000002ba86653040] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002ba86653040] ISO: File Type Major Brand: isom [mov,mp4,m4a,3gp,3g2,mj2 @ 000002ba86653040] Unknown dref type 0x206c7275 size 12 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002ba86653040] Processing st: 0, edit list 0 - media time: 1328, duration: 27321952 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002ba86653040] Offset DTS by 1328 to make first pts zero. [mov,mp4,m4a,3gp,3g2,mj2 @ 000002ba86653040] Setting codecpar->delay to 2 for stream st: 0 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002ba86653040] Unknown dref type 0x206c7275 size 12 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002ba86653040] Processing st: 1, edit list 0 - media time: 0, duration: 81964032 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002ba86653040] rfps: 23.916667 0.004947 Last message repeated 1 times [mov,mp4,m4a,3gp,3g2,mj2 @ 000002ba86653040] rfps: 24.000000 0.000850 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002ba86653040] rfps: 24.083333 0.016087 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002ba86653040] rfps: 48.000000 0.003399 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002ba86653040] rfps: 23.976024 0.000047 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002ba86653040] rfps: 47.952048 0.000190 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002ba86653040] Before avformat_find_stream_info() pos: 2965443768 bytes read:1273371 seeks:1 nb_streams:2 [h264 @ 000002ba86663fc0] nal_unit_type: 7(SPS), nal_ref_idc: 3 [h264 @ 000002ba86663fc0] Decoding VUI [h264 @ 000002ba86663fc0] nal_unit_type: 8(PPS), nal_ref_idc: 3 Transform tree: mdct_inv_float_c - type: mdct_float, len: 128, factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only] fft_sr_ns_float_avx - type: fft_float, len: 64, factor: 2, flags: [aligned, inplace, out_of_place, preshuf] Transform tree: mdct_inv_float_c - type: mdct_float, len: 256, factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only] fft_sr_ns_float_avx - type: fft_float, len: 128, factor: 2, flags: [aligned, inplace, out_of_place, preshuf] [h264 @ 000002ba86663fc0] nal_unit_type: 7(SPS), nal_ref_idc: 3 [h264 @ 000002ba86663fc0] Decoding VUI [h264 @ 000002ba86663fc0] nal_unit_type: 8(PPS), nal_ref_idc: 3 [h264 @ 000002ba86663fc0] nal_unit_type: 9(AUD), nal_ref_idc: 0 [h264 @ 000002ba86663fc0] nal_unit_type: 6(SEI), nal_ref_idc: 0 Last message repeated 4 times [h264 @ 000002ba86663fc0] nal_unit_type: 5(IDR), nal_ref_idc: 3 [h264 @ 000002ba86663fc0] Format yuv420p chosen by get_format(). [h264 @ 000002ba86663fc0] Reinit context to 1920x1088, pix_fmt: yuv420p [h264 @ 000002ba86663fc0] no picture [mov,mp4,m4a,3gp,3g2,mj2 @ 000002ba86653040] All info found [mov,mp4,m4a,3gp,3g2,mj2 @ 000002ba86653040] After avformat_find_stream_info() pos: 8659 bytes read:1306139 seeks:2 frames:4 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'J:\Files\5.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomdby1iso2avc1mp41 creation_time : 2016-08-11T15:55:37.000000Z encoder : Lavf60.16.100 Duration: 00:28:27.62, start: 0.000000, bitrate: 13892 kb/s Stream #0:0[0x1](und), 3, 1/16000: Video: h264 (High), 1 reference frame (avc1 / 0x31637661), yuv420p(tv, bt709, progressive, left), 1920x1080 [SAR 19999:20000 DAR 19999:11250], 0/1, 13246 kb/s, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 16k tbn (default) Metadata: creation_time : 2016-08-11T15:55:37.000000Z handler_name : VideoHandler vendor_id : [0][0][0][0] Stream #0:1[0x2](eng), 1, 1/48000: Audio: eac3 (ec-3 / 0x332D6365), 48000 Hz, 5.1(side), fltp, 640 kb/s (default) Metadata: creation_time : 2016-08-11T15:55:37.000000Z handler_name : SoundHandler vendor_id : [0][0][0][0] Side data: audio service type: main Successfully opened the file. Parsing a group of options: output url -. Applying option c (select encoder/decoder ('copy' to copy stream without reencoding)) with argument copy. Applying option f (force container format (auto-detected otherwise)) with argument null. Successfully parsed a group of options. Opening an output file: -. [out#0/null @ 000002ba87005e80] No explicit maps, mapping streams automatically... [vost#0:0/copy @ 000002ba8665af00] Created video stream from input stream 0:0 [aost#0:1/copy @ 000002ba877f0040] Created audio stream from input stream 0:1 Successfully opened the file. Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #0:1 -> #0:1 (copy) Output #0, null, to 'pipe:': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomdby1iso2avc1mp41 encoder : Lavf61.1.100 Stream #0:0(und), 0, 1/16000: Video: h264 (High), 1 reference frame (avc1 / 0x31637661), yuv420p(tv, bt709, progressive, left), 1920x1080 [SAR 1:1 DAR 16:9], 0/1, q=2-31, 13246 kb/s, 23.98 fps, 23.98 tbr, 16k tbn (default) Metadata: creation_time : 2016-08-11T15:55:37.000000Z handler_name : VideoHandler vendor_id : [0][0][0][0] Stream #0:1(eng), 0, 1/48000: Audio: eac3 (ec-3 / 0x332D6365), 48000 Hz, 5.1(side), fltp, 640 kb/s (default) Metadata: creation_time : 2016-08-11T15:55:37.000000Z handler_name : SoundHandler vendor_id : [0][0][0][0] Side data: audio service type: main [out#0/null @ 000002ba87005e80] Starting thread... [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 000002ba8663a340] Starting thread... [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 000002ba8663a340] EOF while reading input [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 000002ba8663a340] Terminating thread with return code 0 (success) [out#0/null @ 000002ba87005e80] All streams finished [out#0/null @ 000002ba87005e80] Terminating thread with return code 0 (success) [out#0/null @ 000002ba87005e80] Output file #0 (pipe:): [out#0/null @ 000002ba87005e80] Output stream #0:0 (video): 40942 packets muxed (2827596393 bytes); [out#0/null @ 000002ba87005e80] Output stream #0:1 (audio): 53362 packets muxed (136606720 bytes); [out#0/null @ 000002ba87005e80] Total: 94304 packets (2964203113 bytes) muxed [out#0/null @ 000002ba87005e80] video:2761325KiB audio:133405KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: unknown size=N/A time=00:28:27.53 bitrate=N/A speed= 102x [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 000002ba8663a340] Input file #0 (J:\Files\5.mp4): [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 000002ba8663a340] Input stream #0:0 (video): 40942 packets read (2827596393 bytes); [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 000002ba8663a340] Input stream #0:1 (audio): 53362 packets read (136606720 bytes); [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 000002ba8663a340] Total: 94304 packets (2964203113 bytes) demuxed [AVIOContext @ 000002ba86653740] Statistics: 2965485285 bytes read, 2 seeks J:\Files>
by , 7 months ago
Attachment: | command line.txt added |
---|
by , 7 months ago
Attachment: | ffmpeg-20240609-231129.log added |
---|
by , 7 months ago
Attachment: | ffmpeg-20240609-231135.log added |
---|
by , 7 months ago
Attachment: | ffmpeg-20240609-231141.log added |
---|
by , 7 months ago
Attachment: | ffmpeg-20240609-231146.log added |
---|
by , 7 months ago
Attachment: | ffmpeg-20240609-231151.log added |
---|
by , 7 months ago
Attachment: | 1.result.mp4 added |
---|
by , 7 months ago
Attachment: | 3.result.mp4 added |
---|
by , 7 months ago
Attachment: | 4.result.mp4 added |
---|
by , 7 months ago
Attachment: | 5.result.mp4 added |
---|
by , 7 months ago
Attachment: | 6.result.mp4 added |
---|
comment:8 by , 7 months ago
Now I am encoding more videos, and I got more than 5 videos with this problem using ffmpeg 7 and 6.
Using ffmpeg 5 always works.
I ran for /r %v in (*) do ffmpeg -hwaccel auto -i "%v" -loglevel debug -report -c:v libx265 -profile:v main10 -pix_fmt yuv420p10le -preset slow -b:v 2048k -map 0:v:0 -map 0:a -map_metadata 0 -c:a aac -ar 48000 -b:a 256k -ac 6 "E:\Encode\%~nv.result.mp4" -n
.
The command line output, report files, output video files are attached.
comment:9 by , 7 months ago
Component: | ffmpeg → avcodec |
---|---|
Keywords: | yuv420p10le added |
͏ Transcoding specific. (decoding, remuxing appeared normally)
͏ Pick 1 sample: test other encoders ("libx264"?), different container (MKV?), video/audio only (guessed irrelevant of audio).
comment:10 by , 7 months ago
Now it looks like the problem is only associated with libx265.
It is not associated with container (I tried mkv, mpg, mov).
These reproduces the same problem:
for /r %v in (*) do ffmpeg -i "%v" -c:v libx265 -map 0:v:0 "E:\Encode\%~nv.result.mkv" -n for /r %v in (*) do ffmpeg -i "%v" -c:v libx265 -map 0:v:0 "E:\Encode\%~nv.result.mpg" -n for /r %v in (*) do ffmpeg -i "%v" -c:v libx265 -map 0:v:0 "E:\Encode\%~nv.result.mov" -n
libx264 and hevc_nvenc works:
for /r %v in (*) do ffmpeg -i "%v" -c:v libx264 -map 0:v:0 "E:\Encode\%~nv.result.mp4" -n for /r %v in (*) do ffmpeg -i "%v" -c:v hevc_nvenc -map 0:v:0 "E:\Encode\%~nv.result.mp4" -n
comment:11 by , 7 months ago
Keywords: | libx265 added; yuv420p10le removed |
---|
comment:12 by , 7 months ago
Could you try to reproduce this with a single command instead of using for loops?
comment:13 by , 7 months ago
͏ ffmpeg -v debug -hide_banner -nostdin -nostats -i "${In}" -map v:0 -c:v libx265 "${Out}"
͏ Need a sample file:
͏ Losslessly slicing one according to <Seeking> preferable.
comment:14 by , 7 months ago
Yes, I can reproduce this with a single command without loop.
I created a one-minute sample video: ffmpeg -t 00:01:00 -i input.mp4 -c copy -map 0:v sample.mp4
It can reproduce the problem.
ffmpeg 7 with libx265 creates a 44B invalid video: ffmpeg -i sample.mp4 -c:v libx265 -map 0:v sample.ffmpeg7-libx265.mp4
ffmpeg 6 with libx265 also creates a 44B invalid video: ffmpeg -i sample.mp4 -c:v libx265 -map 0:v sample.ffmpeg6-libx265.mp4
ffmpeg 5 with libx265 creates a 5MB valid video: ffmpeg -i sample.mp4 -c:v libx265 -map 0:v sample.ffmpeg5-libx265.mp4
comment:15 by , 7 months ago
͏ You may experiment "-to" (or "-t") with "-noaccurate_seek": to just include the 1st GOP. (or just enough ones to reproduce)
͏ Which maybe small enough to be uploaded here.
͏ Use [ https://streams.videolan.org/upload/ ] if the minimal file still exceeds 2.5 MiB.
͏ Note "-map 0:v
" and "-map v:0
" are different:
͏ At times may surprise you.
by , 7 months ago
Attachment: | sample.mp4 added |
---|
by , 7 months ago
Attachment: | sample.ffmpeg7-libx265.mp4 added |
---|
by , 7 months ago
Attachment: | sample.ffmpeg6-libx265.mp4 added |
---|
by , 7 months ago
Attachment: | sample.ffmpeg5-libx265.mp4 added |
---|
comment:17 by , 7 months ago
Looks like you ran into the bug described in ticket #9666 (see my comment there). It is not a complete duplicate though, because your file is based upon A53 closed caption SEIs and not User Data Unregistered SEIs.
Workaround is to use "-a53cc 0". (I just sent a patch to make this the default.)
comment:18 by , 7 months ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Closing as duplicate of #10411.
by , 7 months ago
Attachment: | sample.mp4.xml added |
---|
͏ https://trac.ffmpeg.org/raw-attachment/ticket/11052/sample.mp4
͏ (~ 1.26 MiB; MP4: H.264 (AVC) video, 4.087 s, 23.98 FPS VFR (avg: 23.974, min: 23.809, max: 24.391), 1920x1080, YUV 4:2:0)
͏ ffprobe -v warning -hide_banner -threads 0 -show_entries "frame" -select_streams v:0 -of "xml" "sample.mp4" -o "sample.mp4.xml"
͏ Note:
[[
<side_data_list> <side_data type="ATSC A53 Part 4 Closed Captions"> <side_datum key="side_data_type" value="ATSC A53 Part 4 Closed Captions"/> </side_data> <side_data type="Active format description"> <side_datum key="side_data_type" value="Active format description"/> <side_datum key="active_format" value="8"/> </side_data> </side_data_list>
]]
͏ Keeps repeating for remaining 97 frames.
comment:19 by , 7 months ago
Thank you all for the help and the workaround. For issues like this, I would expect some messages rather than stopping silently.
͏ Report:
͏
ffprobe -hide_banner -threads 0 -show_entries "stream=time_base:format=size" -of "flat=h=0" "${Each Relevant File}"