cbusillo / BD_to_AVP

3D Blu-ray to Apple Vision Pro converter
GNU General Public License v3.0
99 stars 5 forks source link

Playback issue when audio when transcoded to aac #7

Closed ddevler closed 7 months ago

ddevler commented 7 months ago

I originally brought up this issue on Reddit while back. The playback would pause instantly and not work. I finally had some time to track down the cause on certain titles. It appears to generate a bad aac track on some movies.

media info Venom: only includes 1st audio track since that is what is converted.

General
Unique ID                                : 153940941865610796757254742812712019926 (0x73CFF26C02C9F636185E17160AFCA7D6)
Complete name                            : /Volumes/data02/Venom 3D (2018).mkv
Format                                   : Matroska
Format version                           : Version 2
File size                                : 40.1 GiB
Duration                                 : 1 h 52 min
Overall bit rate mode                    : Variable
Overall bit rate                         : 51.2 Mb/s
Frame rate                               : 23.976 FPS
Movie name                               : Venom (2018)
Encoded date                             : 2024-03-29 02:40:49 UTC
Writing application                      : MakeMKV v1.17.6 darwin(arm64-release)
Writing library                          : libmakemkv v1.17.6 (1.3.10/1.5.2) darwin(arm64-release)

Video
ID                                       : 1
ID in the original source medium         : 4113 (0x1011)
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : Stereo High@L4.1 / High@L4.1
Count of views                           : 2
MultiView_Layout                         : Both Eyes laced in one block (left eye first)
Format settings                          : CABAC / 2 Ref Frames
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 2 frames
Format settings, GOP                     : M=1, N=10
Format settings, Slice count             : 6 slices per frame
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 1 h 52 min
Bit rate mode                            : Variable
Bit rate                                 : 34.3 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.689
Stream size                              : 26.9 GiB (67%)
Language                                 : English
Default                                  : No
Forced                                   : No
Original source medium                   : Blu-ray

Audio #1
ID                                       : 2
ID in the original source medium         : 4352 (0x1100)
Format                                   : DTS XLL
Format/Info                              : Digital Theater Systems
Commercial name                          : DTS-HD Master Audio
Codec ID                                 : A_DTS
Duration                                 : 1 h 52 min
Bit rate mode                            : Variable
Bit rate                                 : 2 322 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 bits
Compression mode                         : Lossless
Stream size                              : 1.82 GiB (5%)
Title                                    : Surround 5.1
Language                                 : English
Default                                  : Yes
Forced                                   : No
Original source medium                   : Blu-ray

Error log from console.app:

default 14:13:17.128158-0700    QuickTime Player    <<<< FAQ >>>> subaq_enqueueAQBufferIntoAudioQueue: [0x129612fa0:0x129613290:0x6000022ede60] RP/DN.02 enqueueing #9 from 3.904 to 4.395 (duration = 0.490667) totalDurationEnqueued: -0.490667; start time: 0.000
default 14:13:17.128921-0700    QuickTime Player    <<<< FAQ >>>> subaq_enqueueAQBufferIntoAudioQueue: [0x129612fa0:0x129613290:0x6000022ede60] RP/DN.02 enqueueing #10 from 4.395 to 4.885 (duration = 0.490667) totalDurationEnqueued: 0.000000; start time: 0.000
default 14:13:17.129391-0700    QuickTime Player    <<<< FAQ >>>> subaq_enqueueAQBufferIntoAudioQueue: [0x129612fa0:0x129613290:0x6000022ede60] RP/DN.02 enqueueing #11 from 4.885 to 5.376 (duration = 0.490667) totalDurationEnqueued: 0.490667; start time: 0.000
default 14:13:17.129873-0700    QuickTime Player    <<<< FAQ >>>> subaq_enqueueAQBufferIntoAudioQueue: [0x129612fa0:0x129613290:0x6000022ede60] RP/DN.02 enqueueing #12 from 5.376 to 5.867 (duration = 0.490667) totalDurationEnqueued: 0.981333; start time: 0.000
default 14:13:17.130330-0700    QuickTime Player    <<<< FAQ >>>> subaq_enqueueAQBufferIntoAudioQueue: [0x129612fa0:0x129613290:0x6000022ede60] RP/DN.02 enqueueing #13 from 5.867 to 6.357 (duration = 0.490667) totalDurationEnqueued: 1.472000; start time: 0.000
default 14:13:17.130403-0700    QuickTime Player    <<<< FAQ TIMING SHIM >>>> FigAudioQueueTimingShimPrime: [0x6000022ede60] Calling AudioQueuePrime(0x101c00da)
error   14:13:17.131072-0700    QuickTime Player    <private>:230    section length of 0
error   14:13:17.131124-0700    QuickTime Player    <private>:738    Error deserializing section data
error   14:13:17.131166-0700    QuickTime Player    <private>:140    Error deserializing LFE channel
error   14:13:17.131201-0700    QuickTime Player    <private>:156    Error in deserializing element
error   14:13:17.131254-0700    QuickTime Player    <private>:228    Error deserializing packet
error   14:13:17.131330-0700    QuickTime Player      ACMP4AACBaseDecoder.cpp:1438  (0x13a078440) Error decoding packet 0: err = -1, packet length: 1023
error   14:13:17.131390-0700    QuickTime Player      ACMP4AACBaseDecoder.cpp:1442  '21 1A 84 BD 0E 12 4B D5 A0 D8 AF E7 DB 57 93 7C 4C 9A 7D 3E 7D B2 EF 58 D0 C3 C3 31 59 F6 22 90 03 B4 78 5A 87 35 AD 32 85 72 53 77 C9 F1 31 A8 ED 02 36 C5 FA E5 3E C2 62 3E 2B 5B BE 70 2A FD C0 E8 09 5B 10 41 4C 71 88 D4 0C 41 44 6B E4 BB 6F 06 D8 C6 39 D4 3F 0F 1B 4A 2E 06 EB F5 F4 B0 3F 65 C2 84 80 EE F6 21 AC 9A 40 C9 D1 42 68 44 BA 48 50 51 71 AB 06 32 46 05 49 61 A7 75 AD A5 00 20 B6 0F BE 4A 42 EB 96 F1 79 33 B2 F1 5A 96 5E 90 C4 15 EB 3C 4C 1F 1C 05 F7 FC 4D 6D 7D F0 7B 73 EC E7 AB D5 EE DA 38 CC 73 53 32 54 F7 94 0A 8E B1 A0 2E 6C F5 06 7B 21 C7 D3 34 79 57 1F 30 B5 05 6F F3 6D E0 21 D3 BE B3 B3 8C D0 93 12 16 8D 37 D7 3E F4 50 F5 AB 69 AB D6 B3 38 84 4C D3 62 F7 AD 42 D0 A1 28 81 C1 47 2A 95 0C 09 80 91 1A 96 C6 29 1B 4C 82 63 51 5E DD 74 F8 F9 F3 9D 67 51 B5 D6 B3 CE F1 B5 2B 32 2E 64 52 F2 E5 0D 5D D6 97 50 71 4F E7 6D FE 47 49 37 66 FE 0F 12 87 CC 1A 6C 81 C9 CC F7 EE 5F CD 1D 87 26 83 B8 73 4E 94 AB 73 E4 D7 C3 AB 7E 9F 67 77 87 F0 22 86 01 7A D3 DF 06 40 E3 5B 08 41 52 38 3C 83 D8 B0 10 F9 14 14 BF 48 AD 5F D2 55 7B 9F 15 D5 02 28 C8 4D 6B DB A3 91 8E E2 91 DD 88 95 72 1A 6C 69 72 4A 58 41 69 0B E8 E3 6D 41 31 F2 68 8F 9A F1 5C F7 0A E5 B7 BF BD 3B 8E 7D 09 2C F3 96 F4 CC E5 DD 26 4D 77 CA DB E7 E5 8E FB 25 99 35 4B 8F 54 B8 C9 56 56 D9 08 26 84 9D 18 04 34 0E D5 7F 06 E1 63 B6 90 90 8B 88 91 93 81 2E 41 8A D5 98 C7 61 4E 9D 94 3D 8D 1C D0 23 26 DD 11 52 AC 68 58 BA 95 D2 95 B0 39 1B 97 5F B2 2E 43 CC A1 EC DB 53 F9 20 C0 E7 76 7A 2C BB 5C 87 4B 05 C3 D6 40 BD 8D 42 10 04 42 01 29 09 58 B4 97 1D'
error   14:13:17.131422-0700    QuickTime Player      ACMP4AACBaseDecoder.cpp:1447  '66 B2 AE A6 6B 5B 8B 24 CD 7A 89 57 55 75 26 4C B0 95 36 55 88 A5 F6 40 64 29 12 B6 75 A9 29 C6 20 4C 83 34 D9 28 84 C4 8E AB 92 7E 87 16 C3 44 F5 EE C8 B0 8E A6 E2 78 E7 A7 D3 08 DD D3 20 3A 0E 1A 88 30 12 00 07 69 0B 36 18 86 88 92 E9 04 65 F0 6A 65 EC 0D AB 26 08 AA 5E 0E 2F 91 09 EC 1A AF BD 2F 13 6C 1A 85 D7 65 A9 5E 9A 6E 7E 92 26 FC 71 D8 BB 66 E8 12 AE DE D0 1E 0E F9 8B 41 4D 1E B1 EA 59 17 EE E3 1D CE AB 85 BA 25 4B 03 37 74 F7 07 8B 83 D9 C4 D2 BA B0 19 D3 C8 B7 A9 65 76 9A EC 8C FD 11 6A 98 CF 5C AC 0C B0 D8 3A 84 E8 29 E6 6D 2F 74 2F F0 EA 20 F9 93 FD 35 AE 1F 3A DA 37 84 D9 2F 67 D9 F0 AE D8 5E 01 80 50 DD E8 48 53 15 4D 15 B4 6A 8D B7 89 AA 4E 2F A0 DB 6C 15 9A 2B 77 1F 53 03 DC 28 24 9E 8C 57 EC 2B 54 E5 DC 94 7F 42 E8 EC 73 9A AE B1 30 8C 6A 12 54 D4 30 93 58 C7 5F EB 6C DF 13 8E F5 E6 B8 C7 B5 56 AE DA 9B AC C7 3B 98 7E 65 54 50 17 57 AD 72 58 58 47 C8 74 90 93 75 59 AE DF F6 69 19 63 33 78 C9 91 6C 78 14 B8 88 30 64 96 43 D6 EE 63 EC 01 79 A4 82 88 B6 2F 34 D8 37 CB 03 46 CA DC 94 60 12 04 92 E5 B1 66 68 8C 86 34 C9 60 91 4D 68 C5 01 AF 23 84 8B 82 DA E8 5B 6B D2 45 82 B9 3A A2 98 D0 B9 47 25 87 A6 7D AF 6D 10 B4 D9 CA 55 9C 22 FA 67 62 B8 9B 7A 03 DB AC 31 98 EB A4 4E 52 99 C6 A9 18 62 AF 59 E2 61 78 DE 3F C7 5C 73 39 E3 8C B9 C6 AB 9F 6D F1 AB 8D 65 66 F7 8A DC 55 7E 64 BA 03 F7 BD 52 CA 66 BF D8 F2 AA 6A 7D 5F 35 29 F6 76 94 E1 ED A9 A5 CF B5 E3 50 30 E8 7C 75 DB 9B 45 29 8B E0 8C E1 02 D2 AC A5 81 88 44 6B 0B A9 AD 15 24 8D B5 80 D2 17 25 CB 24 E2 C2 74 4E 83 B2 4B 8A 7C F9 6E E3 63 F0'
error   14:13:17.136461-0700    QuickTime Player         AudioQueueObject.cpp:2462  Prime: Exiting because mConverterError is 1650549857 (0x5dc0 req, 0x0 primed)
error   14:13:17.136743-0700    QuickTime Player         AudioQueueObject.cpp:2486  Prime: failed (1650549857); will stop (24000/0 frames)
error   14:13:17.137001-0700    QuickTime Player    <private>:236    section length exceeds max SFB
error   14:13:17.137511-0700    QuickTime Player    <private>:738    Error deserializing section data
error   14:13:17.137968-0700    QuickTime Player    <private>:140    Error deserializing LFE channel
error   14:13:17.138195-0700    QuickTime Player    <private>:156    Error in deserializing element
error   14:13:17.138420-0700    QuickTime Player    <private>:228    Error deserializing packet
error   14:13:17.138629-0700    QuickTime Player      ACMP4AACBaseDecoder.cpp:1438  (0x13a078440) Error decoding packet 1: err = -1, packet length: 1024
error   14:13:17.138792-0700    QuickTime Player      ACMP4AACBaseDecoder.cpp:1442  '21 1A 84 95 89 94 4B D5 21 18 AE 3F 13 87 AF 38 D6 B5 CF DF BD FE BD DB AA 6A E4 E7 6D B1 F9 C5 AA 6E C5 79 11 ED 54 ED D9 E9 7F 1D 46 FD 57 7E 7D 41 71 A5 7E 6F 4C AF 8D ED E1 91 0C 3A 84 C8 31 23 A7 02 8A 46 92 03 0F 60 22 7D F0 93 4A 00 8D 2B F0 01 8C 56 34 13 40 5C F7 1F 3B 5A 10 DD B9 93 02 0D 0B BE 47 CC DD 7E 1E 29 02 D2 3C 8B 25 AB 8B 17 11 5A 0A B9 58 9A 9A 27 88 8B AC 91 DA FB DE 82 5B 22 6E 85 98 45 66 F0 2D 62 08 18 80 81 9C 57 30 24 F7 73 AB 2A 30 CE 56 98 4B D5 20 7C 6C 1F 0B 07 C2 C1 7B 7E BC FE 37 BA 9A BA F3 DF C7 1E 3A CD 54 E1 A9 1C D6 EA B3 3F 4A BA 95 56 06 B7 9E 80 22 97 C1 46 18 CB 77 E1 D9 04 61 88 25 04 CE 32 4F 02 A0 01 0E A7 FA B0 E1 CF 5E BA 0E C3 0D 8C 84 30 3A 69 84 E2 D0 E5 E9 F9 C3 85 1C A4 2E 46 81 8A AD 82 C1 C4 7D 30 37 15 12 BE AB 5C DA F9 40 B1 92 B9 2E 39 32 D1 86 30 53 B5 30 FC 80 47 0D 4B 64 11 0F AA A4 AF 5F 5C 6B C6 AA 4F 6D EB 25 2E EC 6F 6B 2A B7 95 84 51 52 87 F0 FD 40 89 E0 F5 5D 80 CF B0 58 70 40 C3 76 94 77 AD E7 AF 8B EE 2D 15 89 C1 9D F9 5C 10 28 A6 AD 20 F0 F9 C7 48 45 30 44 A4 F9 B4 BC E0 38 41 31 D4 0A 1F 02 4B 32 DF 06 65 3C 94 88 9E 7E 57 4A C8 9A 6A 76 3E 21 94 89 B5 82 A5 78 4C D0 CF 27 04 2B E1 62 D0 19 37 CF B5 2C CA BB 14 F3 9A 37 26 71 54 AC 9B C8 A5 58 F5 7D A1 64 CF 99 AE E1 1F A1 0D BE 15 5D 91 B8 9A 29 DD 99 E4 69 2B 7A 6C C3 4C 50 86 C3 BF 7A A8 CE 95 7F 06 B2 B6 A4 A7 C8 65 0D 36 84 F0 5B 13 73 52 A3 0E AA 3E 70 4E DE 5E 31 1A 6A D8 79 5A 0A 82 99 71 91 8E E7 F8 ED 13 59 E8 FE 7A 10 AB 15 63 11 2F A7 DE 13 BC F7 DB 0B C9 B5 8C AC 91 98 7E FA A2'
error   14:13:17.138931-0700    QuickTime Player      ACMP4AACBaseDecoder.cpp:1442  '05 F7 50 9F D6 40 BE 0D 42 18 04 AE 83 83 D1 5F 17 4B EE 74 AD 6F 7A AB 55 C8 9E 2E 88 2D BB 64 02 62 FF 2F F9 25 49 50 BE 99 97 2A 61 4A 48 F5 BC 65 7A 7A 2C 9B 16 F9 88 5E 62 CA 1C EB 38 20 90 49 57 33 00 38 30 66 26 98 AD B3 32 BE 3B DE D0 77 8F D9 3F 12 04 BA 7F 8E 06 73 90 90 1E C0 84 D0 19 64 12 9B 9E 14 34 A2 38 49 BE 2C 32 68 26 91 A9 D4 10 63 29 17 00 B1 20 D9 49 B6 4C C2 76 49 86 CE 45 01 45 86 48 EC C3 32 25 D4 CA 8E 62 BD C8 BA 5E 01 5C 9A 07 DB F1 BD 23 0D 1E E0 D8 38 2D 7E 97 A6 52 22 8D 9C CD DF 37 73 57 E7 5A 15 15 08 4A 86 F4 4D 16 3A 19 04 57 55 C3 A7 A3 0F 50 64 94 B8 4A 7A 37 9C E1 BE 26 3A 86 A9 56 B2 43 57 E4 32 92 58 C6 5E 67 29 74 38 F7 AB 22 A3 73 68 0E 4E 04 DB 43 C8 F2 49 AC 2C 98 DA BB 95 15 2E DB A5 70 26 77 4D 0C 78 78 E1 92 3C 25 D8 12 66 58 CB FA 7B 42 BA 70 39 1E 4F 9E 23 1A 84 75 31 84 49 D5 A0 58 EE 7F DA B2 F7 3D FF 55 F1 5A 9B EA B5 AB 36 59 CA B9 63 3F 33 2F 25 50 31 A0 79 E9 9C 95 4B 2D 95 0C 4B FE 0D 81 EE AF E1 A2 82 5D 54 67 35 F6 D3 13 37 2F 8B 3D B6 8A 7B 56 1F 65 EA 85 CD 3E 00 93 5E 66 2C FE 40 CB 66 EA 54 95 BD 18 F7 82 FD AC 93 D5 3B 64 A3 41 89 14 A3 28 44 4B 79 B4 4A 63 78 0C D5 B5 B1 1D 8A 8E 39 4E 92 59 65 C8 87 04 72 82 BC C4 72 35 56 F5 E4 F2 94 B4 98 CC 86 4E 72 24 34 99 3D 66 F2 58 C1 74 80 4E 06 32 34 D4 2A A5 A5 25 4D 42 11 B5 9E 75 7E FE 7B DF C6 56 9C 4A E2 AB D9 BF 30 D4 AA DE F3 26 6D 54 5D 4A 0E E7 72 57 AB 5A FC EC 38 11 83 81 AD E0 CD 46 1B 16 04 A5 77 9E F5 B5 B9 7E 80 10 A7 42 0D F3 AA F3 B2 F6 7C 4A 95 2E A1 1A EC 04 17 DE EA 1F B2 2C 51 70 E0'
default 14:13:17.139400-0700    QuickTime Player    [0x901c00e6|Reset] scope = 0, element = 0
default 14:13:17.139575-0700    QuickTime Player    [0x901c00e6|SetBusCount] Setting input bus count = 1 (not changed)
default 14:13:17.139661-0700    QuickTime Player    [0x901c00e6|setProperty] (scope=1, element=0): enable reverb send decorrelation filters = true (not changed)
default 14:13:17.139708-0700    QuickTime Player    [0x901c00e6|SetAudioChannelLayout] [InputElement #0] Setting audio channel layout tag = MPEG_5_1_D
default 14:13:17.139820-0700    QuickTime Player    [0x901c00e6|setProperty] (scope=0, element=0): only frequency domain filtering = true (not changed)
default 14:13:17.139918-0700    QuickTime Player    [0x901c00e6|SetAudioChannelLayout] [OutputElement] Setting audio channel layout tag = Stereo
default 14:13:17.140032-0700    QuickTime Player               AQMEIO_HAL.cpp:1873  custom HRTF mode = 0
default 14:13:17.140064-0700    QuickTime Player    SpatializationManager.cpp:1609  Retrieving preset file aumx-3dem-appl-headphone-general-multichannel.aupreset: 0x6000029c0d20
default 14:13:17.140146-0700    QuickTime Player    [0x901c00e6|RestoreState] repeated call, suppressing logs for properties that do not change
default 14:13:17.140233-0700    QuickTime Player    [0x901c00e6|setProperty] (scope=0, element=0): optional feature support dictionary = {
    NearFieldHOA = 0;
    NearFieldHRTF = 0;
    SourceDiffuse = 0;
    SourceDirectivity = 0;
    SourceDivergence = 0;
    SourceExtent = 0;
} (not changed)
default 14:13:17.141036-0700    QuickTime Player    [0x901c00e6|setProperty] (scope=0, element=0): personalized HRIR type = 0 (not changed)
default 14:13:17.141892-0700    QuickTime Player    <<<< FAQRP >>>> faqrp_startTimebaseAndAudioQueue: (0x600002cea900) with timebase 0x12a805ec0, calling FigAudioQueueStart2(itemTime = 0.000, hostClockTime = nan = now nan)
default 14:13:17.144963-0700    QuickTime Player               AQMEIO_HAL.cpp:1410  User-selected BT device category is 0
default 14:13:17.145209-0700    QuickTime Player               AQMEIO_HAL.cpp:1769  user spatial mode for app com.apple.QuickTimePlayerX: 1
default 14:13:17.145276-0700    QuickTime Player    SpatializationManager.cpp:183   Spatial info for binding = Default-Output: {
    App = QuickTime Player
    Route = head-tracked headphones
    contentType = 'moov'
    mSpatialMode = 1
    overrideSpatialMode = 0
    preferencesVersion = 1

    Spatial preferences: {
        prefersHeadTrackedSpatialization = 1
        prefersLossyAudioSources = 0
        maxSpatializableChannels = 16
        alwaysSpatialize = 0
        spatialAudioSourceCount = 3
        spatialAudioSources = [ 'mlti', 'binh', 'most' ]
    }
}
default 14:13:17.152482-0700    QuickTime Player    [0x901c00e6|Reset] scope = 0, element = 0
default 14:13:17.152841-0700    QuickTime Player    [0x901c00e6|SetBusCount] Setting input bus count = 1 (not changed)
default 14:13:17.153275-0700    QuickTime Player    [0x901c00e6|setProperty] (scope=1, element=0): enable reverb send decorrelation filters = true (not changed)
default 14:13:17.153414-0700    QuickTime Player    [0x901c00e6|SetAudioChannelLayout] [InputElement #0] Setting audio channel layout tag = MPEG_5_1_D
default 14:13:17.153753-0700    QuickTime Player    [0x901c00e6|setProperty] (scope=0, element=0): only frequency domain filtering = true (not changed)
default 14:13:17.155940-0700    QuickTime Player    [0x901c00e6|setProperty] (scope=0, element=0): personalized HRIR type = 0 (not changed)
default 14:13:17.159107-0700    QuickTime Player    <<<< FAQ >>>> subaq_enqueueAQBufferIntoAudioQueue: [0x129612fa0:0x129613290:0x6000022ede60] RP/DN.02 enqueueing #17 from 7.829 to 8.320 (duration = 0.490667) totalDurationEnqueued: 0.490667; start time: 0.000
default 14:13:17.159929-0700    QuickTime Player    <<<< FAQ >>>> subaq_enqueueAQBufferIntoAudioQueue: [0x129612fa0:0x129613290:0x6000022ede60] RP/DN.02 enqueueing #19 from 8.811 to 9.301 (duration = 0.490667) totalDurationEnqueued: 1.472000; start time: 0.000
default 14:13:17.160012-0700    QuickTime Player    <<<< FAQRP >>>> faqrp_startTimebaseAtAnchorAudioTimeStamp: (0x600002cea900) audio queue start error 1650549857 = 'bada'.
default 14:13:17.162111-0700    QuickTime Player    Time control status = 2
default 14:13:17.162004-0700    QuickTime Player    <<<< FigFilePlayer >>>> playerfig_TryFailingCurrentItemForRenderPipelineError: (0x139739a60:0x12a059600) posting FailedToPlayToEnd (deferred), error 1650549857
default 14:13:17.162601-0700    QuickTime Player    <<<< AVError >>>> AVLocalizedErrorWithUnderlyingOSStatus: Returning error (AVFoundationErrorDomain / -11821) status (1650549857)
default 14:13:17.162563-0700    QuickTime Player    <<<< FigFilePlayer >>>> playerfig_setRateForReason: [0x139739a60] P/DN called, rate = 0.000, current playback state Playing (rate = 1.000), reason: PlaybackFailed
default 14:13:17.164288-0700    QuickTime Player    <<<< FigFilePlayer >>>> playerfig_getNextPlaybackState: [0x139739a60] P/DN called. reason PlaybackFailed, options:
default 14:13:17.164547-0700    QuickTime Player    <<<< FigFilePlayer >>>> playerfig_getNextPlaybackState: [0x139739a60] P/DN player rate is 0. new playback state Paused
cbusillo commented 7 months ago

I haven’t seen this issue anywhere else. Do you have the original source media to encode from to eliminate an issue with the mkv you have?

cbusillo commented 7 months ago

Also what command line options are you using? Are you transcoding the audio?

ddevler commented 7 months ago

I ran into this initially with some documentary discs. However I just also ran into it with a movie. Same issue from disc, iso or mkv. I just went with mkv so didn't have to wait on the process as I was experimenting to track down the cause.

The cause is the aac transcode option. --transcode-audio I guess you could say venom corrupted the audio track.

cbusillo commented 7 months ago

I guess you could say venom corrupted the audio track.

Who is the funny person now?!

I have no idea why the audio would get corrupted, all I am doing is passing the terminal bitrate. Can you paste your command here so we can see if there is anything interesting there?


    audio_input = ffmpeg.input(str(input_path))
    audio_transcoded = ffmpeg.output(
        audio_input,
        str(f"file:{transcoded_audio_path}"),
        acodec="aac",
        audio_bitrate=f"{bitrate}k",
    )
    run_ffmpeg_print_errors(audio_transcoded, overwrite_output=True)```
ddevler commented 7 months ago

It's very basic. I actually ran through code this time. poetry run bd-to-avp --source /Volumes/data02/Venom\ 3D\ \(2018\).mkv --crop-black-bars --transcode-audio --output-root-folder ~/temp

ddevler commented 7 months ago

I should have a bit of free time this weekend. I'll see if "libfdk_aac" has the same issue.

cbusillo commented 7 months ago

No bitrate supplied so it should be using the default. It's such a simple ffmpeg that I can't think of anything that would cause corrupted audio. During the encode, are there any errors after "Combine stereo HEVC streams to MV-HEVC."

cbusillo commented 7 months ago

I'm testing now to see if aac_at works by default.

ddevler commented 7 months ago

It was just the standard output. I still have it in console. There was no message about it transcoding the audio or any errors during the process.

It works fine if I don't transcode the audio.

Processing /Volumes/data02/_3D_issues/Venom 3D (2018).mkv
Running Get disc and MVC video properties \

Detecting crop parameters...
Getting subtitle tracks from /Volumes/data02/Venom 3D (2018).mkv
Running ffmpeg to extract video, audio, and subtitles from MKV
Running Extract subtitle track from MKV /

Running FRIM to split MVC to stereo. |

Running Combine stereo HEVC streams to MV-HEVC. \

Running Remux audio and video to final output. |

Removed existing directory: /Users/user/temp/Venom 2018
cbusillo commented 7 months ago

That doesn't show a transcode, is that one where you did not use --transcode-audio?

Either way I pushed a new version using aac_at instead of aac... You should be able to update.

BTW, I noticed you are using poetry still, thats only for old versions, unless you are cloning the source and running that manually.

Thanks for letting me know about this issue, hopefully switching encoders fixes your issue.

ddevler commented 7 months ago

I cloned the code when testing the black bars update. It's up to date on master. I was going to experiment with audio settings, but you beat me to it.

The change works. It doesn't have any playback issues with new aac codec. I only used that for documentaries since audio quality didn't really matter. It took me bit time to track down the cause of the playback failure.

cbusillo commented 7 months ago

Just checking on the Poetry thing. You never know what people do and don’t know until you check :)

I’m glad you were able to figure it out. Easy change!

BTW, I left your first issue open just in case I ever have time or inspiration. I haven’t yet.