Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

无法下载的音视频混合的播放列表 #417

Open
dreammu opened this issue Jul 10, 2024 · 0 comments
Open

无法下载的音视频混合的播放列表 #417

dreammu opened this issue Jul 10, 2024 · 0 comments

Comments

@dreammu
Copy link

dreammu commented Jul 10, 2024

音频流和视频流单独下载都是正常的,但是无法下载音视频混合的播放列表。

N_m3u8DL-RE "https://example.com/index.m3u8"
21:49:24.431 INFO : N_m3u8DL-RE (Beta version) 20230628
21:49:24.448 INFO : Loading URL: https://example.com/index.m3u8
21:49:25.639 INFO : Content Matched: HTTP Live Streaming
21:49:25.639 INFO : Parsing streams...
21:49:25.639 WARN : Master List detected, try parse all streams
21:49:25.642 WARN : Writing meta json
21:49:25.643 INFO : Extracted, there are 2 streams, with 1 basic streams, 1 audio streams, 0 subtitle streams
21:49:25.643 INFO : Vid 1920x1080 | 1859 Kbps | 25 | avc1.640032
21:49:25.643 INFO : Aud aac | aac_1 | default | 2CH
21:49:27.832 INFO : Parsing streams...
21:49:27.917 INFO : Selected streams:
21:49:27.917 INFO : Vid 1920x1080 | 1859 Kbps | 25 | avc1.640032 | | ~00m00s
21:49:27.917 INFO : Aud aac | aac_1 | default | 2CH | ~00m00s
21:49:27.917 WARN : Writing meta json
21:49:27.918 INFO : Save Name: m3u8_2024-07-10_21-49-25
21:49:27.919 ERROR: Failed

raw.m3u8:

#EXTM3U
#EXT-X-MEDIA:TYPE=AUDIO,URI="http://example.com/index_audio.m3u8",GROUP-ID="aac",NAME="aac_1",AUTOSELECT=YES,CHANNELS="2",LANGUAGE="default"
#EXT-X-STREAM-INF:BANDWIDTH=1859277,FRAME-RATE=25,RESOLUTION=1920x1080,CODECS="avc1.640032,mp4a.40.2",AUDIO="aac"
http://example.com/index_video.m3u8

meta.json:

[
  {
    "Bandwidth": 1859277,
    "Codecs": "avc1.640032",
    "Resolution": "1920x1080",
    "FrameRate": 25,
    "AudioId": "aac",
    "Url": "http://example.com/index_video.m3u8",
    "OriginalUrl": "https://example.com/index.m3u8",
    "SegmentsCount": 0
  },
  {
    "MediaType": "AUDIO",
    "GroupId": "aac",
    "Language": "default",
    "Name": "aac_1",
    "Channels": "2",
    "Url": "http://example.com/index_audio.m3u8",
    "SegmentsCount": 0
  }
]

meta_selected.json:

[
  {
    "Bandwidth": 1859277,
    "Codecs": "avc1.640032",
    "Resolution": "1920x1080",
    "FrameRate": 25,
    "Extension": "m4s",
    "AudioId": "aac",
    "Url": "http://example.com/index_video.m3u8",
    "OriginalUrl": "https://example.com/index.m3u8",
    "Playlist": {
      "IsLive": false,
      "RefreshIntervalMs": 15000,
      "TotalDuration": 0,
      "TargetDuration": 18,
      "MediaInit": {
        "Index": -1,
        "Duration": 0,
        "EncryptInfo": {
          "Method": "NONE"
        },
        "Url": "http://example.com/video_init.mp4"
      },
      "MediaParts": []
    },
    "SegmentsCount": 0
  },
  {
    "MediaType": "AUDIO",
    "GroupId": "aac",
    "Language": "default",
    "Name": "aac_1",
    "Channels": "2",
    "Extension": "m4s",
    "Url": "http://example.com/index_audio.m3u8",
    "Playlist": {
      "IsLive": false,
      "RefreshIntervalMs": 15000,
      "TotalDuration": 0,
      "TargetDuration": 18,
      "MediaInit": {
        "Index": -1,
        "Duration": 0,
        "EncryptInfo": {
          "Method": "NONE"
        },
        "Url": "http://example.com/audio_init.mp4"
      },
      "MediaParts": []
    },
    "SegmentsCount": 0
  }
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant