stabbedbybrick / freevine

A Download Utility for Free Streaming Services
MIT License
176 stars 28 forks source link

CBC audio #84

Closed FuNFooKaS closed 8 months ago

FuNFooKaS commented 8 months ago

Describe the bug it shows ec-3 audio buti can not download it

To Reproduce

15:27:08.520 INFO : N_m3u8DL-RE (Beta version) 20230628
15:27:08.541 INFO : Loading URL: tmp\manifest.m3u8
15:27:08.544 INFO : Content Matched: HTTP Live Streaming
15:27:08.544 INFO : Parsing streams...
15:27:08.544 WARN : Master List detected, try parse all streams
15:27:08.547 WARN : Writing meta json
15:27:08.548 INFO : Extracted, there are 15 streams, with 7 basic streams, 8 audio streams, 0 subtitle streams
15:27:08.549 INFO : Vid 1920x1080 | 6000 Kbps | avc1.640028
15:27:08.549 INFO : Vid 1280x720 | 3687 Kbps | avc1.4d401f
15:27:08.549 INFO : Vid 1280x720 | 2767 Kbps | avc1.4d401f
15:27:08.549 INFO : Vid 960x540 | 2052 Kbps | avc1.4d401f
15:27:08.549 INFO : Vid 640x360 | 1234 Kbps | avc1.42c01e
15:27:08.549 INFO : Vid 640x360 | 825 Kbps | avc1.42c01e
15:27:08.550 INFO : Vid 416x234 | 621 Kbps | avc1.42c00d
15:27:08.550 INFO : Aud audio | English | eng
15:27:08.550 INFO : Aud audio | English (Descriptive) | eng
15:27:08.550 INFO : Aud audio_eng_ec3 | EC-3 | eng
15:27:08.550 INFO : Aud audiodv_eng_ec3 | EC-3 | eng
15:27:08.550 INFO : Aud audio_eng_aach | AACH | eng
15:27:08.551 INFO : Aud audiodv_eng_aach | AACH | eng
15:27:08.551 INFO : Aud audio_eng_aacl | AACL | eng
15:27:08.551 INFO : Aud audiodv_eng_aacl | AACL | eng

Expected behavior i tried a few diff options to get it but it always grabs the AAC audio

Additional context is there a specific commad to get the ec-3 audio?, i tried -sa audio_eng_ec3

stabbedbybrick commented 8 months ago

You need to use -sa id=audio_eng_ec3 to select its id.

FuNFooKaS commented 8 months ago

That worked thank you, but i foud another bug, while it will grab the EC-3 audio when it muxs the files together it s naming it AAC

03:24:45.936 INFO : Wild Cards S01E01 The Infinity Thief

03:24:47.135 INFO : N_m3u8DL-RE (Beta version) 20230628
03:24:47.428 INFO : Loading URL: tmp\manifest.m3u8
03:24:47.433 INFO : Content Matched: HTTP Live Streaming
03:24:47.434 INFO : Parsing streams...
03:24:47.435 WARN : Master List detected, try parse all streams
03:24:47.438 WARN : Writing meta json
03:24:47.439 INFO : Extracted, there are 15 streams, with 7 basic streams, 8 audio streams, 0 subtitle streams
03:24:47.439 INFO : Vid 1920x1080 | 6000 Kbps | avc1.640028
03:24:47.440 INFO : Vid 1280x720 | 3687 Kbps | avc1.4d401f
03:24:47.440 INFO : Vid 1280x720 | 2767 Kbps | avc1.4d401f
03:24:47.440 INFO : Vid 960x540 | 2052 Kbps | avc1.4d401f
03:24:47.440 INFO : Vid 640x360 | 1234 Kbps | avc1.42c01e
03:24:47.440 INFO : Vid 640x360 | 825 Kbps | avc1.42c01e
03:24:47.441 INFO : Vid 416x234 | 621 Kbps | avc1.42c00d
03:24:47.441 INFO : Aud audio | English | eng
03:24:47.441 INFO : Aud audio | English (Descriptive) | eng
03:24:47.441 INFO : Aud audio_eng_ec3 | EC-3 | eng
03:24:47.441 INFO : Aud audiodv_eng_ec3 | EC-3 | eng
03:24:47.442 INFO : Aud audio_eng_aach | AACH | eng
03:24:47.442 INFO : Aud audiodv_eng_aach | AACH | eng
03:24:47.442 INFO : Aud audio_eng_aacl | AACL | eng
03:24:47.442 INFO : Aud audiodv_eng_aacl | AACL | eng
03:24:47.442 INFO : Parsing streams...
03:24:49.212 INFO : Selected streams:
03:24:49.214 INFO : Vid *AES_128 1920x1080 | 6000 Kbps | avc1.640028 | 438 Segments | ~43m45s
03:24:49.214 INFO : Aud *AES_128 audio_eng_ec3 | EC-3 | eng | 437 Segments | ~43m45s
03:24:49.215 WARN : Writing meta json
03:24:49.218 INFO : Save Name: Wild.Cards.S01E01.The.Infinity.Thief.1080p.CBC.WEB-DL.AAC2.0.H.264
03:24:49.218 WARN : MuxAfterDone is detected, binary merging is automatically enabled
03:24:49.220 INFO : Start downloading...Aud audio_eng_ec3 | EC-3 | eng
03:24:49.220 INFO : Start downloading...Vid 1920x1080 | 6000 Kbps | avc1.640028
03:24:49.783 WARN : Reading media info...
03:24:50.715 WARN : Reading media info...
03:24:52.545 INFO : [0x12c]: Video, h264 (High) ([27][0][0][0]), 1920x1080, 29.97 fps
03:24:52.545 INFO : [0x12d]: Audio, eac3 ([135][0][0][0]), 192 kb/s
03:25:18.025 INFO : Binary merging...
03:26:32.506 INFO : Binary merging...
03:27:05.701 WARN : Wild.Cards.S01E01.The.Infinity.Thief.1080p.CBC.WEB-DL.AAC2.0.H.264.ts
03:27:05.701 WARN : Wild.Cards.S01E01.The.Infinity.Thief.1080p.CBC.WEB-DL.AAC2.0.H.264.eng.ts
03:27:05.701 WARN : Muxing to Wild.Cards.S01E01.The.Infinity.Thief.1080p.CBC.WEB-DL.AAC2.0.H.264.MUX.mkv
03:28:27.753 WARN : Cleaning files...
03:28:28.001 WARN : Rename to Wild.Cards.S01E01.The.Infinity.Thief.1080p.CBC.WEB-DL.AAC2.0.H.264.mkv
03:28:28.005 INFO : Done
stabbedbybrick commented 8 months ago

The audio label has been fixed in the latest commit. It should now use DDP5.1 if EC-3 exists.

stabbedbybrick commented 8 months ago

Since this has been solved with https://github.com/stabbedbybrick/freevine/commit/534e2f19cde4df077aef8d0fe57f48478bdc592e, I'll close this as completed.