Resync dts-hd ma to flac issue with zidoo z9x

Discussion in 'HDD Media player(RTD 1619DR)' started by Stefano C, Jan 26, 2022.

  1. Stefano C

    Stefano C Member

    Hi, I have a problem with my zidoo z9x: if I convert and resync audio dts-hd ma (taken from 24 fps video ) to flac changing to 23.976 fps (for muxing with 23.976 fps video) during reproduction video stutters. Somebody could help me? Thanks
     
    Last edited: Jan 27, 2022
  2. Whitfield

    Whitfield Active Member

    Why to 23.764? Simply stretch from 24 to (24000:1001) and output as FLAC. Eac3to can do that for you.
     
  3. Stefano C

    Stefano C Member

    sorry, I wrote wrong... from 24 to 23,976 fps I mean
     
  4. Whitfield

    Whitfield Active Member

    Ah, ok. I'm wondering how you did the audio conversion. Maybe the audio has an unsupported samplerate.
    If you didn't use eac3to, try it. It also can be helpful if you'd post mediainfo of the file.
     
  5. Stefano C

    Stefano C Member

    Hi and thanks for yout replies...

    I tried converting my resynched audio (23,976 .flac from 24 fps DTS-HD MA) with x-media recode in .eac3 and always worked fine (same video muxed for both audio, .flac and .eac3).
    I tried other video files muxed with 23,976 .flac resynched from 24 fps DTS and everything was fine.
    For these reasons I think the problem is related to .flac from DTS-HD Ma.


    I haven't yet used eac3to, but I have used audacity changing from 24 fps to 23.976 and I have saved in .flac

    Like this:

    original audio info:
    Audio #2
    ID : 3
    Format : DTS XLL
    Format/Info : Digital Theater Systems
    Commercial name : DTS-HD Master Audio
    Codec ID : A_DTS
    Duration : 2 o 10 min
    Bit rate mode : Variabile
    Bit rate : 2.352 kb/s
    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 : 16 bit
    Compression mode : No loss
    Delay relative to video : 4 ms
    Stream size : 2,14 GiB (6%)
    Default : No
    Forced : No

    resynched audio info (from dts-hd ma):
    Audio
    Format : FLAC
    Format/Info : Free Lossless Audio Codec
    Duration : 2 h 10 min
    Bit rate mode : Variable
    Bit rate : 3 015 kb/s
    Channel(s) : 6 channels
    Channel layout : L R C LFE Ls Rs
    Sampling rate : 48.0 kHz
    Bit depth : 24 bits
    Compression mode : Lossless
    Stream size : 2.75 GiB (100%)
    Writing library : libFLAC 1.3.1 (UTC 2014-11-25)

    converted eac3 audio info (from resynched .flac):
    Format : E-AC-3
    Format/Info : Enhanced AC-3
    Commercial name : Dolby Digital Plus
    Codec ID : A_EAC3
    Duration : 2 h 10 min
    Bit rate mode : Constant
    Bit rate : 960 kb/s
    Channel(s) : 6 channels
    Channel layout : L R C LFE Ls Rs
    Sampling rate : 48.0 kHz
    Frame rate : 31.250 FPS (1536 SPF)
    Bit depth : 32 bits
    Compression mode : Lossy
    Stream size : 895 MiB (12%)
    Writing library : Lavc59.20.100 eac3
    Service kind : Complete Main
    Default : No
    Forced : No


    video info:
    Video
    ID : 1
    Format : HEVC
    Format/Info : High Efficiency Video Coding
    Format profile : Main 10@L5.1@High
    HDR format : SMPTE ST 2086, HDR10 compatible
    Codec ID : V_MPEGH/ISO/HEVC
    Duration : 2 h 10 min
    Bit rate : 3 674 kb/s
    Width : 3 840 pixels
    Height : 2 080 pixels
    Display aspect ratio : 1.85:1
    Frame rate mode : Constant
    Frame rate : 23.976 (24000/1001) FPS
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 10 bits
    Bits/(Pixel*Frame) : 0.019
    Stream size : 3.34 GiB (93%)
    Default : Yes
    Forced : No
    Color range : Limited
    Color primaries : BT.2020
    Transfer characteristics : PQ
    Matrix coefficients : BT.2020 non-constant
    Mastering display color primaries : Display P3
    Mastering display luminance : min: 0.0001 cd/m2, max: 1000 cd/m2
    Maximum Content Light Level : 267 cd/m2
    Maximum Frame-Average Light Level : 89 cd/m2



    summary:
    video+flac= stuttering
    video+eac3= ok

    Any ideas? Maybe some settings on zidoo z9x could make this problem?
     
  6. Whitfield

    Whitfield Active Member

    Weird to see DTSMA source 16 bit in the first step going to FLAC 24bit. Secondly, in the second step bitdepth is going up to 32bit. At first sight, It doesn't make sense
    I don't know the reason, but something's definitely screwed up.

    Try latest portable UsEAC3to GUI package to convert in one step. Extract the zip, run UsEac3To.exe.
    If you need help with it, let me know. Download here:

    https://www.videohelp.com/download/eac3to334-UsEac3to132.zip


    [EDIT] Re-reading your post, I looked over the fact that eac3 audio is your desired end result. I'd still recommend to do the DTSMA stretching to FLAC with the tool I suggested.
     
    Last edited: Jan 28, 2022
  7. Stefano C

    Stefano C Member

    To be honest no, I'd like to have a .flac with lpcm audio usable with my video but it seems zidoo have problem with flac from dts-hd ma... I'll try to resync and convert dts-hd ma audio with UsEAC3to GUI to .flac if it's possible and I'll try muxing resulting audio with video...then I'll play it and I'll discover if this is the solution
     
  8. Whitfield

    Whitfield Active Member

    I have many multichannel FLAC tracks (also from DTSMA) and they all play back fine on all my mediaplayers, including the Z9X. The FLAC source being DTSMA shouldn't be an issue. Nor should audio streching/shrinking be.

    In your case of DTSMA 24fps to FLAC 23.976fps conversion, take a note of what eac3to internally would do in this specific order:

    1 decode DTSMA into PCM
    2 time-stretch PCM samples with a factor 1.001
    3 resample PCM back to 48kHz
    4 encode PCM to FLAC

    By default, bitdepth isn't changed. Again, I wouldn't know what exactly went wrong with your way of converting to synced FLAC.

    Looking at your case at an entirely other angle; you could change framerate of video to 24 fps...
     
  9. Stefano C

    Stefano C Member

    Hi and sorry if I take so much time to respond but I have a few troubles. I have done a few test and it seems .flac audacity resynched (changing frame rate) was my problem. I tried with useac3to with good result but the output .flac hase lower bitrate than original. Any ideas to have lossless conversion?
    I used this command line, was it right?
    : 3: %_3eng.flac -24.000 -changeTo23.976

    Thanks.
     

Share This Page