[MAJOR] [REGRESSIONS] 1.0.9.3 Lower video bitrate + chopped audio on flix

Discussion in 'AnyStream' started by 0x0x0x0x0, Mar 24, 2021.

  1. 0x0x0x0x0

    0x0x0x0x0 Well-Known Member

    As usual, after getting a season I run a series of scripts that invoke various programs to check that I've got a full season and the downloads are actually good. This time round I noticed audio inconsistencies with flix are were longer than usual, so I verified things manually, and found that audio does get chopped at the end.

    While preparing the log files, I noticed a massive disparity in the final file size between 1.0.9.1 and 1.0.9.3: an episode downloaded with .1 was 2442999901 bytes long while the same episode downloaded with 1.0.9.3 was merely 1541053674 bytes long, so I dug even deeper and found:

    with .9.1:-
    Code:
    Video
    ID                                       : 1
    Format                                   : AVC
    Format/Info                              : Advanced Video Codec
    Format profile                           : High@L4
    Format settings                          : CABAC / 4 Ref Frames
    Format settings, CABAC                   : Yes
    Format settings, Reference frames        : 4 frames
    Codec ID                                 : avc1
    Codec ID/Info                            : Advanced Video Coding
    Duration                                 : 42 min 2 s
    Bit rate mode                            : Variable
    Bit rate                                 : 7 104 kb/s
    Maximum bit rate                         : 20.0 Mb/s
    Width                                    : 1 920 pixels
    Height                                   : 1 080 pixels
    Display aspect ratio                     : 16:9
    Frame rate mode                          : Constant
    Frame rate                               : 23.976 (24000/1001) FPS
    Color space                              : YUV
    Chroma subsampling                       : 4:2:0
    Bit depth                                : 8 bits
    Scan type                                : Progressive
    Bits/(Pixel*Frame)                       : 0.143
    Stream size                              : 2.09 GiB (92%)
    Writing library                          : x264 core 148 r2715 7e75228
    
    identical episode with .9.3 (downloaded about 5 mins earlier):-
    Code:
    Video
    ID                                       : 1
    Format                                   : AVC
    Format/Info                              : Advanced Video Codec
    Format profile                           : High@L4
    Format settings                          : CABAC / 4 Ref Frames
    Format settings, CABAC                   : Yes
    Format settings, Reference frames        : 4 frames
    Codec ID                                 : avc1
    Codec ID/Info                            : Advanced Video Coding
    Duration                                 : 42 min 2 s
    Bit rate mode                            : Variable
    Bit rate                                 : 4 245 kb/s
    Maximum bit rate                         : 20.0 Mb/s
    Width                                    : 1 920 pixels
    Height                                   : 1 080 pixels
    Display aspect ratio                     : 16:9
    Frame rate mode                          : Constant
    Frame rate                               : 23.976 (24000/1001) FPS
    Color space                              : YUV
    Chroma subsampling                       : 4:2:0
    Bit depth                                : 8 bits
    Scan type                                : Progressive
    Bits/(Pixel*Frame)                       : 0.085
    Stream size                              : 1.25 GiB (87%)
    Writing library                          : x264 core 148 r2715 7e75228
    
    I haven't checked if A suffers from the same problem yet.

    As for the audio, the tail of the audio track doesn't seem to get written on occasion with 1.0.9.3.
     

    Attached Files:

  2. Xander

    Xander Well-Known Member

    Dont have any logs for it but i also noticed the differences (file size/bit rates)
    grabbed the wrong audio track for a show so re-downloaded it and got way different bit rates.
     
  3. nexro

    nexro New Member

    Same here.
     
  4. 0x0x0x0x0

    0x0x0x0x0 Well-Known Member

    Having looked more closely at the MP4 box decomposition, I noticed that in the truncated (1.0.9.3) version the second entry in the sample-to-chunk (stsc) box has the first chunk number set to chunk #1248, whereas the 1.0.9.1 has the first chunk # at 1252 and the chunk offset box (stco) is 4 entries shorter in .3, could be source of lip-sync issues described in https://forum.redfox.bz/threads/htt...ds-anystream-beta-1-0-9-3-disney-80536.80645/ if the MP4 players there properly rely on box structures instead of just ignoring them (a la pc players, I suspect)...
     
  5. yabbux

    yabbux New Member

    Hi,
    does anyone know if this bug is still present on 1.1.1.0?
    I'm still on 1.0.9.0 and am hesitant to upgrade.
     
  6. RedFox 1

    RedFox 1 Super Moderator

    I haven't found any bugs in the new version.
     
  7. 0x0x0x0x0

    0x0x0x0x0 Well-Known Member

  8. RedFox 1

    RedFox 1 Super Moderator

  9. 0x0x0x0x0

    0x0x0x0x0 Well-Known Member

    So going back to what I said in #7, it looks like the bugs (both of them) are gone, if the truncation did happen (and I have a low degree of confidence that it might have) it's so rare that is fixable by re-downloading