VideoHelp Forum



Support our site by donate $5 directly to us Thanks!!!

Try StreamFab Downloader and download streaming video from Netflix, Amazon!



+ Reply to Thread
Results 1 to 7 of 7
  1. Code:
    N_m3u8dl-re https://r.cdn-ncplus.pl/vod/store01/ALE_44120402/_/hd4-hssdrm02.ism/Manifest --key 34d572450b2342c8997520fa9ea95fcd:137bbc22fc85123f2198095bf0241416 -M format=mp4 --save-name kot
    i'm having a really strange case.

    there are 2 audio tracks:
    Code:
    23:33:47.429 INFO : Aud *CENC Polski | 192 Kbps | ec-3 | pol | 6CH | 184 Segments | ~06m07s
    23:33:47.431 INFO : Aud *CENC Polski | 128 Kbps | mp4a.40.2 | pol | 2CH | 184 Segments | ~06m08s
    and when i try to grab the first one i get muxing errors

    Code:
    23:41:14.040 WARN : [aac @ 000001943c2cd3c0] Audio object type 0 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it
    means that your file has a feature which has not been implemented.
    23:41:14.044 WARN : [mov,mp4,m4a,3gp,3g2,mj2 @ 000001943e77f300] Failed to open codec in avformat_find_stream_info
    23:41:14.045 WARN : [aac @ 000001943c2cd3c0] Audio object type 0 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it
    means that your file has a feature which has not been implemented.
    23:41:14.046 WARN : [mov,mp4,m4a,3gp,3g2,mj2 @ 000001943e77f300] Could not find codec parameters for stream 0 (Audio: aac (ec-3 / 0x332D6365), 96000 Hz, 0 channels, fltp,
    192 kb/s): unspecified number of channels
    23:41:14.048 WARN : Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
    23:41:14.049 WARN : [mp4 @ 000001943e6c43c0] track 1: codec frame size is not set
    2
    any clues?
    i mean i know i can use the second audio and it works fine but i'd like to know what is the problem with this (it's decoded fine, i checked the file in cache dir and it's playable)

    also how can i force N_M3u8DL-RE to grab the second track from command line ?
    tried with
    Code:
    -sa codec="mp4a.40.2":lang="pol":br=128|channels="2"
    (and with all those options separate)
    but it always downloads the first one
    Last edited by monk87; 27th Dec 2025 at 18:02.
    Quote Quote  
  2. for mux error the error is clear from output log. update ffmpeg

    if does not work, and also about your audio error (second issue), just for 1 video only, forget your trouble, use simply clever-FFmpeg-GUI and mux video, audio 1 and audio 2 (or just video+audio 1 only)

    on end, about issue on second audio, try only -sa codec="mp4a.40.2"
    Quote Quote  
  3. Originally Posted by lomero View Post
    for mux error the error is clear from output log. update ffmpeg

    if does not work, and also about your audio error (second issue), just for 1 video only, forget your trouble, use simply clever-FFmpeg-GUI and mux video, audio 1 and audio 2 (or just video+audio 1 only)

    on end, about issue on second audio, try only -sa codec="mp4a.40.2"
    well this is pretty fucked up
    1. clever ffmpeg gui is not working for this audio file (and i have newest ffmpeg windows build from here https://github.com/BtbN/FFmpeg-Builds/releases

    2. adding codec also fails because it downloads the 6ch audio


    foobar is able to play it, it says it's "ATSC A/52B (AC-3, E-AC-3)" in codec info

    https://gofile.io/d/cDuWCP here's audio/video & manifest just in case
    Last edited by monk87; 28th Dec 2025 at 07:17.
    Quote Quote  
  4. run just RE "link" key
    and choose manually your res video and audio too (e-ac-3). still fails on final mux? have you update ffmpeg ?
    Quote Quote  
  5. The header of the eac3 file has been manipulated.
    Here is a working version you can mux.
    Image Attached Files
    Quote Quote  
  6. Get the second audio track
    Code:
    N_m3u8DL-RE https://r.cdn-ncplus.pl/vod/store01/ALE_44120402/_/hd4-hssdrm02.ism/Manifest --key 34d572450b2342c8997520fa9ea95fcd:137bbc22fc85123f2198095bf0241416 -sv best --select-audio bwMax=128 -mt -M mp4 --save-name kot
    Quote Quote  
  7. ok after checking with mp4info

    Code:
    File:
      major brand:      isml
      minor version:    1
      compatible brand: iso5
      compatible brand: iso6
      compatible brand: piff
      compatible brand: msdh
      fast start:       yes
    
    Movie:
      duration:   3680000000 (movie timescale units)
      duration:   368000 (ms)
      time scale: 10000000
      fragments:  yes
    
    Found 1 Tracks
    Track 1:
      flags:        7 ENABLED IN-MOVIE IN-PREVIEW
      id:           3
      type:         Audio
      duration: 368000 ms
      language: pol
      media:
        sample count: 0
        timescale:    10000000
        duration:     3680000000 (media timescale units)
        duration:     368000 (ms)
        bitrate (computed): 192.000 Kbps
        sample count with fragments: 11500
        duration with fragments:     3680000000
        duration with fragments:     368000 (ms)
      Sample Description 0
        Coding:       ec-3 (Dolby Digital Plus (Enhanced AC-3))
        Codec String: ec-3
        Sample Rate: 48000
        Sample Size: 16
        Channels:    2
        E-AC-3 Data Rate: 0
        E-AC-3 Substream 0:
            fscod       = 0
            bsid        = 0
            bsmod       = 0
            acmod       = 0
            lfeon       = 0
            num_dep_sub = 0
            chan_loc    = 0
        Dolby Digital Plus with Dolby Atmos: No
        E-AC-3 dec3 payload: []
    it turned out to be a isml container.
    so what i came up with is a fix with mp4box

    Code:
                    fixed_audio = audio_path[:-5] + "_fixed.ec3"
    
                    mp4box_cmd = [
                        "MP4Box",
                        "-raw", "3",
                        audioStream.demuxedFile,
                        "-out", fixed_audio
                    ]
    
                    result = subprocess.run(
                        mp4box_cmd,
                        stdout=subprocess.PIPE,
                        stderr=subprocess.PIPE,
                        text=True
                    )
    and this fixed file can be merged with mkvmerge without any problem

    Code:
    Muxing with mkvmerge (EC-3 / MP4 container)...
    ['C:\\temp/bin/mkvmerge.exe', '-o', 'C:\\temp/output\\Kot.mkv', '--no-audio', 'C:\\temp/cache\\80081af8dde2d5777eaccf5d925fafea\\demuxed_video.mp4', '--no-video', '--no-subtitles', '--audio-tracks', '0', '--language', '0:pol', 'EC-3_pol_demuxed_audio_fixed.ec3']
    mkvmerge v63.0.0 ('Everything') 32-bit
    'C:\temp\cache\80081af8dde2d5777eaccf5d925fafea\demuxed_video.mp4': Using the demultiplexer for the format 'QuickTime/MP4'.
    'EC-3_pol_demuxed_audio_fixed.ec3': Using the demultiplexer for the format 'AC-3'.
    'C:\temp\cache\80081af8dde2d5777eaccf5d925fafea\demuxed_video.mp4' track 0: Using the output module for the format 'AVC/H.264'.
    'EC-3_pol_demuxed_audio_fixed.ec3' track 0: Using the output module for the format 'AC-3'.
    The file 'C:\temp\output\Kot.mkv' has been opened for writing.
    'C:\temp\cache\80081af8dde2d5777eaccf5d925fafea\demuxed_video.mp4' track 0: Extracted the aspect ratio information from the MPEG-4 layer 10 (AVC) video data and set the display dimensions to 1920/1080.
    Progress: 100%
    The cue entries (the index) are being written...
    Multiplexing took 1 second.
    thanks for all the other ideas
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!