<샤나미디어인포>
General
ID : 0 (0x0)
Complete name : C:\Users\jseon\Documents\00002.m2ts
Format : BDAV
Format/Info : Blu-ray Video
File size : 18.5 GiB
Duration : 1 h 5 min
Overall bit rate mode : Variable
Overall bit rate : 40.5 Mb/s
Maximum Overall bit rate : 48.0 Mb/s
Video
ID : 4113 (0x1011)
Menu ID : 1 (0x1)
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings : CABAC / 4 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 4 frames
Codec ID : 27
Duration : 1 h 5 min
Bit rate mode : Variable
Maximum bit rate : 34.0 Mb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 29.970 (30000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : MBAFF
Scan type, store method : Interleaved fields
Scan order : Top Field First
Audio #1
ID : 4352 (0x1100)
Menu ID : 1 (0x1)
Format : PCM
Format settings : Big / Signed
Muxing mode : Blu-ray
Codec ID : 128
Duration : 1 h 5 min
Bit rate mode : Constant
Bit rate : 2 304 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Bit depth : 24 bits
Stream size : 1.05 GiB (6%)
Audio #2
ID : 4353 (0x1101)
Menu ID : 1 (0x1)
Format : DTS XLL
Format/Info : Digital Theater Systems
Commercial name : DTS-HD Master Audio
Muxing mode : Stream extension
Codec ID : 134
Duration : 1 h 5 min
Bit rate mode : Variable
Channel(s) : 6 channels
Channel layout : C L R Ls Rs LFE
Sampling rate : 48.0 kHz
Frame rate : 93.750 FPS (512 SPF)
Bit depth : 24 bits
Compression mode : Lossless
Text
ID : 4608 (0x1200)
Menu ID : 1 (0x1)
Format : PGS
Codec ID : 144
자세한 정보
General
Count : 333
Count of stream of this kind : 1
Kind of stream : General
Kind of stream : General
Stream identifier : 0
ID : 0
ID : 0 (0x0)
Count of video streams : 1
Count of audio streams : 2
Count of text streams : 1
Video_Format_List : AVC
Video_Format_WithHint_List : AVC
Codecs Video : AVC
Audio_Format_List : PCM / DTS XLL
Audio_Format_WithHint_List : PCM / DTS XLL
Audio codecs : PCM / DTS XLL
Text_Format_List : PGS
Text_Format_WithHint_List : PGS
Text codecs : PGS
Complete name : C:\Users\jseon\Documents\00002.m2ts
Folder name : C:\Users\jseon\Documents
File name extension : 00002.m2ts
File name : 00002
File extension : m2ts
Format : BDAV
Format : BDAV
Format/Info : Blu-ray Video
Format/Extensions usually used : m2ts mts ssif
Commercial name : BDAV
File size : 19905116160
File size : 18.5 GiB
File size : 19 GiB
File size : 19 GiB
File size : 18.5 GiB
File size : 18.54 GiB
Duration : 3928589.908667
Duration : 1 h 5 min
Duration : 1 h 5 min 28 s 590 ms
Duration : 1 h 5 min
Duration : 01:05:28.590
Duration : 01:05:27;28
Duration : 01:05:28.590 (01:05:27;28)
Overall bit rate mode : VBR
Overall bit rate mode : Variable
Overall bit rate : 40533811
Overall bit rate : 40.5 Mb/s
Maximum Overall bit rate : 48000000
Maximum Overall bit rate : 48.0 Mb/s
Frame rate : 29.970
Frame rate : 29.970 FPS
Frame count : 117720
File creation date : UTC 2021-04-21 06:26:45.318
File creation date (local) : 2021-04-21 15:26:45.318
File last modification date : UTC 2021-04-05 19:49:30.191
File last modification date (local) : 2021-04-06 04:49:30.191
OverallBitRate_Precision_Min : 40533806
OverallBitRate_Precision_Max : 40533816
Video
Count : 378
Count of stream of this kind : 1
Kind of stream : Video
Kind of stream : Video
Stream identifier : 0
StreamOrder : 0-0
ID : 4113
ID : 4113 (0x1011)
Menu ID : 1
Menu ID : 1 (0x1)
Format : AVC
Format : AVC
Format/Info : Advanced Video Codec
Format/Url : http://developers.videolan.org/x264.html
Commercial name : AVC
Format profile : High@L4.1
Format settings : CABAC / 4 Ref Frames
Format settings, CABAC : Yes
Format settings, CABAC : Yes
Format settings, Reference frames : 4
Format settings, Reference frames : 4 frames
Internet media type : video/H264
Codec ID : 27
Duration : 3927924
Duration : 1 h 5 min
Duration : 1 h 5 min 27 s 924 ms
Duration : 1 h 5 min
Duration : 01:05:27.924
Duration : 01:05:27;28
Duration : 01:05:27.924 (01:05:27;28)
Bit rate mode : VBR
Bit rate mode : Variable
Maximum bit rate : 33999872
Maximum bit rate : 34.0 Mb/s
Width : 1920
Width : 1 920 pixels
Height : 1080
Height : 1 080 pixels
Stored_Height : 1088
Sampled_Width : 1920
Sampled_Height : 1080
Pixel aspect ratio : 1.000
Display aspect ratio : 1.778
Display aspect ratio : 16:9
Frame rate : 29.970
Frame rate : 29.970 (30000/1001) FPS
FrameRate_Num : 30000
FrameRate_Den : 1001
Frame count : 117720
Color space : YUV
Chroma subsampling : 4:2:0
Chroma subsampling : 4:2:0
Bit depth : 8
Bit depth : 8 bits
Scan type : MBAFF
Scan type : MBAFF
Scan type, store method : InterleavedFields
Scan type, store method : Interleaved fields
Scan order : TFF
Scan order : Top Field First
Delay : 4199000.000000
Delay : 1 h 9 min
Delay : 1 h 9 min 59 s 0 ms
Delay : 1 h 9 min
Delay : 01:09:59.000
Delay, origin : Container
Delay, origin : Container
Buffer size : 30000000 / 30000000
format_identifier : HDMV
Audio #1
Count : 281
Count of stream of this kind : 2
Kind of stream : Audio
Kind of stream : Audio
Stream identifier : 0
Stream identifier : 1
StreamOrder : 0-1
ID : 4352
ID : 4352 (0x1100)
Menu ID : 1
Menu ID : 1 (0x1)
Format : PCM
Format : PCM
Commercial name : PCM
Format settings : Big / Signed
Format settings, Endianness : Big
Format settings, Sign : Signed
Muxing mode : Blu-ray
Codec ID : 128
Duration : 3927920
Duration : 1 h 5 min
Duration : 1 h 5 min 27 s 920 ms
Duration : 1 h 5 min
Duration : 01:05:27.920
Duration : 01:05:27.920
Bit rate mode : CBR
Bit rate mode : Constant
Bit rate : 2304000
Bit rate : 2 304 kb/s
Channel(s) : 2
Channel(s) : 2 channels
Channel positions : Front: L R
Channel positions : 2/0/0.0
Channel layout : L R
Sampling rate : 48000
Sampling rate : 48.0 kHz
Samples count : 188540160
Bit depth : 24
Bit depth : 24 bits
Delay : 4199000.000000
Delay : 1 h 9 min
Delay : 1 h 9 min 59 s 0 ms
Delay : 1 h 9 min
Delay : 01:09:59.000
Delay, origin : Container
Delay, origin : Container
Delay relative to video : 0
Delay relative to video : 00:00:00.000
Stream size : 1131240960
Stream size : 1.05 GiB (6%)
Stream size : 1 GiB
Stream size : 1.1 GiB
Stream size : 1.05 GiB
Stream size : 1.054 GiB
Stream size : 1.05 GiB (6%)
Proportion of this stream : 0.05683
format_identifier : HDMV
Audio #2
Count : 280
Count of stream of this kind : 2
Kind of stream : Audio
Kind of stream : Audio
Stream identifier : 1
Stream identifier : 2
StreamOrder : 0-2
ID : 4353
ID : 4353 (0x1101)
Menu ID : 1
Menu ID : 1 (0x1)
Format : DTS
Format : DTS XLL
Format/Info : Digital Theater Systems
Format/Url : https://en.wikipedia.org/wiki/DTS_(sound_system)
Commercial name : DTS-HD Master Audio
Commercial name : DTS-HD Master Audio
Mode : 16
Format settings, Endianness : Big
Format_AdditionalFeatures : XLL
Muxing mode : Stream extension
Codec ID : 134
Duration : 3927915
Duration : 1 h 5 min
Duration : 1 h 5 min 27 s 915 ms
Duration : 1 h 5 min
Duration : 01:05:27.915
Duration : 01:05:17:44
Duration : 01:05:27.915 (01:05:17:44)
Bit rate mode : VBR
Bit rate mode : Variable
Channel(s) : 6
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Channel positions : 3/2/0.1
Channel layout : C L R Ls Rs LFE
Samples per frame : 512
Sampling rate : 48000
Sampling rate : 48.0 kHz
Samples count : 188539920
Frame rate : 93.750
Frame rate : 93.750 FPS (512 SPF)
Frame count : 368242
Bit depth : 24
Bit depth : 24 bits
Compression mode : Lossless
Compression mode : Lossless
Delay : 4199000.000000
Delay : 1 h 9 min
Delay : 1 h 9 min 59 s 0 ms
Delay : 1 h 9 min
Delay : 01:09:59.000
Delay, origin : Container
Delay, origin : Container
Delay relative to video : 0
Delay relative to video : 00:00:00.000
Text
Count : 238
Count of stream of this kind : 1
Kind of stream : Text
Kind of stream : Text
Stream identifier : 0
StreamOrder : 0-3
ID : 4608
ID : 4608 (0x1200)
Menu ID : 1
Menu ID : 1 (0x1)
Format : PGS
Format : PGS
Commercial name : PGS
Codec ID : 144
MediaInfoLib - v19.09
[info] ShanaEncoder v5.2.0.5
[info] FFmpeg v2021.03.15.183
[info] NVIDIA GeForce RTX A6000
==================================================
>> 작업 시작시간: 2021-04-22 오후 4:06:31
* 인코딩 시작: 00002.m2ts
[mpegts @ 000001b8dffbbc00] DTS discontinuity in stream 3: packet 4 with DTS 388811090, packet 5 with DTS 388924976
[mpegts @ 000001b8dffbbc00] DTS discontinuity in stream 3: packet 12 with DTS 388925322, packet 13 with DTS 389357290
[mpegts @ 000001b8dffbbc00] DTS discontinuity in stream 3: packet 20 with DTS 389360775, packet 21 with DTS 389756672
[mpegts @ 000001b8dffbbc00] DTS discontinuity in stream 3: packet 28 with DTS 389760199, packet 29 with DTS 390288177
[mpegts @ 000001b8dffbbc00] DTS discontinuity in stream 3: packet 36 with DTS 390291738, packet 37 with DTS 390969851
[mpegts @ 000001b8dffbbc00] DTS discontinuity in stream 3: packet 44 with DTS 391141434, packet 45 with DTS 391252286
[mpegts @ 000001b8dffbbc00] DTS discontinuity in stream 3: packet 52 with DTS 391252622, packet 53 with DTS 391669625
[mpegts @ 000001b8dffbbc00] DTS discontinuity in stream 3: packet 60 with DTS 391673077, packet 61 with DTS 392093014
[mpegts @ 000001b8dffbbc00] DTS discontinuity in stream 3: packet 76 with DTS 392195556, packet 77 with DTS 392630594
[mpegts @ 000001b8dffbbc00] DTS discontinuity in stream 3: packet 84 with DTS 392633967, packet 85 with DTS 392837827
[mpegts @ 000001b8dffbbc00] DTS discontinuity in stream 3: packet 92 with DTS 392838151, packet 93 with DTS 393033042
[mpegts @ 000001b8dffbbc00] DTS discontinuity in stream 3: packet 100 with DTS 393036310, packet 101 with DTS 393105154
[mpegts @ 000001b8dffbbc00] DTS discontinuity in stream 3: packet 124 with DTS 393567944, packet 125 with DTS 393852798
[mpegts @ 000001b8dffbbc00] DTS discontinuity in stream 3: packet 132 with DTS 393997270, packet 133 with DTS 394051099
[mpegts @ 000001b8dffbbc00] DTS discontinuity in stream 3: packet 148 with DTS 394276643, packet 149 with DTS 394519473
[mpegts @ 000001b8dffbbc00] DTS discontinuity in stream 3: packet 156 with DTS 394519883, packet 157 with DTS 394822778
[mpegts @ 000001b8dffbbc00] DTS discontinuity in stream 3: packet 164 with DTS 394865216, packet 165 with DTS 395081048
[mpegts @ 000001b8dffbbc00] DTS discontinuity in stream 3: packet 172 with DTS 395084434, packet 173 with DTS 395345314
[mpegts @ 000001b8dffbbc00] DTS discontinuity in stream 3: packet 180 with DTS 395345686, packet 181 with DTS 395555532
[mpegts @ 000001b8dffbbc00] DTS discontinuity in stream 3: packet 188 with DTS 395555879, packet 189 with DTS 395741736
[mpegts @ 000001b8dffbbc00] DTS discontinuity in stream 3: packet 196 with DTS 395742011, packet 197 with DTS 395807856
[mpegts @ 000001b8dffbbc00] DTS discontinuity in stream 3: packet 204 with DTS 395808138, packet 205 with DTS 396024010
[mpegts @ 000001b8dffbbc00] DTS discontinuity in stream 3: packet 212 with DTS 396024355, packet 213 with DTS 396261246
[mpegts @ 000001b8dffbbc00] DTS discontinuity in stream 3: packet 220 with DTS 396261601, packet 221 with DTS 396495471
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
Stream #0:2 -> #0:1 (dts (dca) -> aac (native))
[dca @ 000001b89833eb40] Residual encoded channels are present without core
Error while decoding stream #0:2: Invalid argument <--이부분
[aac @ 000001b894dd6040] Using a PCE to encode channel layout "5.1(side)"
[libx264 @ 000001b8e0665040] using SAR=1/1
[libx264 @ 000001b8e0665040] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 000001b8e0665040] profile High 10, level 4.2, 4:2:0, 10-bit
[libx264 @ 000001b8e0665040] 264 - core 161 r3048 b86ae3c - H.264/MPEG-4 AVC codec - Copyleft 2003-2021 - http://www.videolan.org/x264.html - options: cabac=1 ref=1 deblock=1:0:0 analyse=0x3:0x3 me=dia subme=1 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 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=1 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc=crf mbtree=0 crf=14.0 qcomp=0.60 qpmin=0 qpmax=81 qpstep=4 ip_ratio=1.40 pb_ratio=1.30 aq=1:1.00
video:200765kB audio:1445kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.023787%
[libx264 @ 000001b8e0665040] frame I:14 Avg QP:22.42 size:250779
[libx264 @ 000001b8e0665040] frame P:469 Avg QP:23.99 size:167356
[libx264 @ 000001b8e0665040] frame B:1316 Avg QP:25.95 size: 93907
[libx264 @ 000001b8e0665040] consecutive B-frames: 1.6% 2.1% 1.3% 94.9%
[libx264 @ 000001b8e0665040] mb I I16..4: 12.8% 51.3% 35.9%
[libx264 @ 000001b8e0665040] mb P I16..4: 16.8% 53.7% 16.1% P16..4: 13.1% 0.0% 0.0% 0.0% 0.0% skip: 0.3%
[libx264 @ 000001b8e0665040] mb B I16..4: 8.7% 21.7% 3.3% B16..8: 31.8% 0.0% 0.0% direct:23.9% skip:10.6% L0:48.9% L1:26.1% BI:25.0%
[libx264 @ 000001b8e0665040] 8x8 transform intra:63.0% inter:52.3%
[libx264 @ 000001b8e0665040] coded y,uvDC,uvAC intra: 87.0% 90.7% 44.0% inter: 41.0% 53.7% 7.3%
[libx264 @ 000001b8e0665040] i16 v,h,dc,p: 17% 12% 58% 13%
[libx264 @ 000001b8e0665040] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 17% 12% 27% 6% 9% 7% 6% 7% 9%
[libx264 @ 000001b8e0665040] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 27% 14% 16% 5% 10% 8% 6% 7% 8%
[libx264 @ 000001b8e0665040] i8c dc,h,v,p: 28% 24% 33% 15%
[libx264 @ 000001b8e0665040] Weighted P-Frames: Y:32.2% UV:15.8%
[libx264 @ 000001b8e0665040] kb/s:54797.61
[aac @ 000001b894dd6040] Qavg: 211.842
* 인코딩이 완료되었습니다.
>> 속도 2.01x 진행 시간 00:00:16
==================================================
2개의 오디오 스트림중에서 두번째에 있는 5.1채널 스트림만 가져오려고 했습니다
mp4 aac-lc코덱으로 인코딩을 꼭 해야해서 이렇게 하였습니다
다중 오디오 동영상 인코딩하기: https://shana.pe.kr/shanaencoder_tip/83847
위 글을 참고하여 인코딩 설정을 수정했습니다
그 이후로 기록에 번역하니 [스트림 # 0 : 2 디코딩 중 오류 : 잘못된 인수]라고 오류가 계속 뜨길래 매개변수도 바꿔보고
-c:a libfdk_aac -b:a 512k -ac 6 에서
-c:a:0 libfdk_aac -b:a:0 512k -ac:a:0 6 라던지
시도해보았는데 에러는 똑같이 출력되고 있습니다 이것은 제가 잘 모르는 부분인 것 같습니다...
혹시 잘못된 부분이 있겠습니까?
.
.
.
(추가)
하드웨어 디코딩은 아무것도 선택하지 않았습니다
원본이 어떤지 몰라서 확신할 순 없겠지만, 일단 대략 세 가지 방법이 생각나네요.
1.
https://shana.pe.kr/shanaencoder_tip/69673
⇐ 이 팁을 참고해 매개변수 창 입력 설정 부분에
(맨앞 한 칸 띄기)
을 추가해서 해보십시오.
2.
https://shana.pe.kr/shanaencoder_presets/98786
⇐ 이 프리셋을 참고해서 DTS 코어만 추출해 mkv 파일로 만든 다음 mkv 파일을 대상으로 재작업합니다.
(필요하면 프리셋에 -probesize 10M도 추가합니다.)
3.
만약 디크립트된 이미지 파일이나 블루레이 디스크 폴더째 복사된 상태로 있다면 전체를 MakeMKV로 mkv 파일 형식으로 리먹스한 후 작업합니다.
MakeMKV는 베타 버전은 무료고, VideoHelp 해당 부분에서 베타 버전 무료 라이센스 키를 얻을 수 있습니다.
그리고 혹시 모르니 오디오 채널을 '원본'으로도 설정해 보시기 바랍니다.