|
本帖最后由 yellowolf 于 19-11-24 11:26 编辑
demux这一步一共测试了eac3to和ffmpeg两个软件。
eac3to查看音频和字幕流的情况:
- "D:\Software (x86)\_Encode\eac3to\eac3to.exe" F:\xxx 1)
- M2TS, 1 video track, 7 audio tracks, 5 subtitle tracks, 1:40:03
- 1: Chapters, 34 chapters
- 2: h265/HEVC, 2160p24 /1.001 (16:9), 10 bits
- 3: TrueHD/AC3 (Atmos), English, 7.1 channels, 48kHz, dialnorm: -28dB
- (embedded: AC3, 5.1 channels, 640kbps, 48kHz, dialnorm: -27dB)
- 4: E-AC3, English, 7.1 channels, 1024kbps, 48kHz, dialnorm: -28dB
- (core: AC3, 5.1 channels, 576kbps, 48kHz, dialnorm: -28dB)
- 5: AC3, English, 5.1 channels, 640kbps, 48kHz, dialnorm: -27dB
- 6: AC3, English, 2.0 channels, 320kbps, 48kHz, dialnorm: -27dB
- 7: AC3, English, 2.0 channels, 320kbps, 48kHz, dialnorm: -27dB
- 8: AC3, Chinese, 2.0 channels, 448kbps, 48kHz
- 9: AC3, Chinese, 5.1 channels, 384kbps, 48kHz, 300ms
- 10: Subtitle (PGS), English
- 11: Subtitle (PGS), Chinese
- 12: Subtitle (PGS), Chinese
- 13: Subtitle (PGS), Chinese
- 14: Subtitle (PGS), Chinese
复制代码
eac3to提取音频和字幕流:
- "D:\Software (x86)\_Encode\eac3to\eac3to.exe" F:\xxx 1) 3: 1.thd
复制代码
ffmpeg查看流的情况:
- C:\Users\yellow\Downloads\ffmpeg>ffmpeg -i bluray:F:\xxx -playlist 4
- Input #0, mpegts, from 'bluray:F:\xxx':
- Duration: 01:39:56.75, start: 4198.333333, bitrate: 52458 kb/s
- Program 1
- Stream #0:0[0x1011]: Video: hevc (Main 10) (HDMV / 0x564D4448), yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 3840x2160 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 90k tbn, 23.98 tbc
- Stream #0:1[0x1100]: Audio: truehd (AC-3 / 0x332D4341), 48000 Hz, 7.1, s32 (24 bit)
- Stream #0:2[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 640 kb/s
- Stream #0:3[0x1101]: Audio: eac3 (AC-3 / 0x332D4341), 48000 Hz, 7.1, fltp, 1024 kb/s
- Stream #0:4[0x1102]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 640 kb/s
- Stream #0:5[0x1103]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 320 kb/s
- Stream #0:6[0x1104]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 320 kb/s
- Stream #0:7[0x1105]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 448 kb/s
- Stream #0:8[0x1106]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 384 kb/s
- Stream #0:9[0x12a0]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
- Stream #0:10[0x12a1]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
- Stream #0:11[0x12a2]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
- Stream #0:12[0x12a3]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
- Stream #0:13[0x12a4]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
复制代码
ffmpeg提取音频和字幕流:
- ffmpeg -i bluray:F:\xxx -playlist 4 -map 0:1 -c copy 1.thd -map 0:2 -c copy 2.ac3 -map 0:3 -c copy 3.eac3 -map 0:4 -c copy 4.ac3 -map 0:5 -c copy 5.ac3 -map 0:6 -c copy 6.ac3 -map 0:7 -c copy 7.ac3 -map 0:8 -c copy 8.ac3 -map 0:9 -c copy 9.sup -map 0:10 -c copy 10.sup -map 0:11 -c copy 11.sup -map 0:12 -c copy 12.sup -map 0:13 -c copy 13.sup
复制代码
两个软件生成的thd文件二进制不同,但大小非常接近(分别是4,646,844,908、4,646,764,292)。根据额外的测试,这两个thd都是不含5.1 AC3 core的。
重新导入这一步用了tsmuxer,在添加thd文件的时候提示不能识别格式,eac3to和ffmpeg生成的两个thd文件都是如此。用POTPLAYER播放,发现时长不对,由1:40:03变成了1:03:01,但内容是完整的,就像被倍速了一样。
求指点如何demux以生成可被重新利用的thd音轨,最好是能包含core的thd音轨。 |
|