[Solved] Anastasia error LIBMKV_TRACE Error in p->FetchFrames(2,true) on BD+ title

Please post here for issues related to Blu-ray discs
Post Reply
Message
Author
mediacable
Posts: 8
Joined: Sun Dec 25, 2022 9:53 pm

[Solved] Anastasia error LIBMKV_TRACE Error in p->FetchFrames(2,true) on BD+ title

#1 Post by mediacable » Tue Apr 04, 2023 1:26 am

The main movie title in Anastasia (1997) BluRay (https://www.blu-ray.com/movies/Anastasi ... ay/129468/), title 11, does not rip on the 1.17.## versions of MakeMKV with a LIBMKV_TRACE: Exception: Error in p->FetchFrames(2,true) error.

This happens on Windows and Linux.

The disc reads successfully in ddrescue using multiple BluRay drives (Pioneer, Asus, LG) and computers. It receives the same MD5sums with no read errors - so the disc seems fine?

From the MakeMKV console output:
MakeMKV v1.17.3 linux(x64-release) started
Debug logging enabled, log will be saved as /home/arch/MakeMKV_log.txt
The program can't find any usable optical drives.
Opening files on harddrive at /Media/Data/ToDo_notinsnapraid/Anastasia (1997)/BluRay
Loaded content hash table, will verify integrity of M2TS files.
File 00010.mpls was added as title #0
File 00013.mpls was added as title #1
File 00014.mpls was added as title #2
File 00011.mpls was added as title #3
File 00017.mpls was added as title #4
File 00016.mpls was added as title #5
File 00020.mpls was added as title #6
File 00012.mpls was added as title #7
File 00018.mpls was added as title #8
File 00019.mpls was added as title #9
File 00015.mpls was added as title #10
File 00800.mpls was added as title #11
File 00301.mpls was added as title #12
File 00414.mpls was added as title #13
File 00419.mpls was added as title #14
File 00415.mpls was added as title #15
File 00416.mpls was added as title #16
File 00417.mpls was added as title #17
File 00418.mpls was added as title #18
File 00420.mpls was added as title #19
File 00421.mpls was added as title #20
File 00422.mpls was added as title #21
File 00423.mpls was added as title #22
File 00072.mpls was added as title #23
Title 00801.mpls is equal to title 00800.mpls and was skipped
Title 00851.mpls is equal to title 00800.mpls and was skipped
Title 00850.mpls is equal to title 00800.mpls and was skipped
File 00202.mpls was added as title #24
File 00453.mpls was added as title #25
File 00454.mpls was added as title #26
File 00455.mpls was added as title #27
File 00410.mpls was added as title #28
File 00411.mpls was added as title #29
File 00412.mpls was added as title #30
File 00413.mpls was added as title #31
File 00315.mpls was added as title #32
File 00424.mpls was added as title #33
File 00425.mpls was added as title #34
Title 00071.m2ts is equal to title 00072.mpls and was skipped
File 00077.m2ts was added as title #35
File 00050.m2ts was added as title #36
File 00053.m2ts was added as title #37
File 00054.m2ts was added as title #38
File 00051.m2ts was added as title #39
File 00056.m2ts was added as title #40
File 00055.m2ts was added as title #41
File 00059.m2ts was added as title #42
File 00058.m2ts was added as title #43
File 00052.m2ts was added as title #44
File 00057.m2ts was added as title #45
File 00070.m2ts was added as title #46
File 00078.m2ts was added as title #47
File 00200.m2ts was added as title #48
File 00300.m2ts was added as title #49
File 00404.m2ts was added as title #50
File 00500.m2ts was added as title #51
File 00501.m2ts was added as title #52
File 00502.m2ts was added as title #53
File 00503.m2ts was added as title #54
File 00504.m2ts was added as title #55
File 00505.m2ts was added as title #56
File 00073.m2ts was added as title #57
File 00074.m2ts was added as title #58
File 00076.m2ts was added as title #59
File 00075.m2ts was added as title #60
File 00100.m2ts was added as title #61
File 00101.m2ts was added as title #62
File 00102.m2ts was added as title #63
File 00103.m2ts was added as title #64
File 00104.m2ts was added as title #65
File 00105.m2ts was added as title #66
File 00107.m2ts was added as title #67
File 00108.m2ts was added as title #68
File 00109.m2ts was added as title #69
File 00110.m2ts was added as title #70
File 00111.m2ts was added as title #71
File 00112.m2ts was added as title #72
File 00113.m2ts was added as title #73
File 00114.m2ts was added as title #74
File 00115.m2ts was added as title #75
File 00116.m2ts was added as title #76
File 00117.m2ts was added as title #77
File 00118.m2ts was added as title #78
File 00119.m2ts was added as title #79
File 00120.m2ts was added as title #80
File 00121.m2ts was added as title #81
File 00122.m2ts was added as title #82
File 00801.m2ts was added as title #83
File 00802.m2ts was added as title #84
File 00803.m2ts was added as title #85
File 00804.m2ts was added as title #86
File 00805.m2ts was added as title #87
File 00806.m2ts was added as title #88
File 00807.m2ts was added as title #89
File 00808.m2ts was added as title #90
File 00809.m2ts was added as title #91
File 00810.m2ts was added as title #92
File 00811.m2ts was added as title #93
File 00812.m2ts was added as title #94
File 00813.m2ts was added as title #95
File 00814.m2ts was added as title #96
File 00815.m2ts was added as title #97
File 00816.m2ts was added as title #98
File 00817.m2ts was added as title #99
File 00818.m2ts was added as title #100
File 00819.m2ts was added as title #101
File 00820.m2ts was added as title #102
File 00821.m2ts was added as title #103
File 00201.m2ts was added as title #104
File 00822.m2ts was added as title #105
File 00823.m2ts was added as title #106
File 00824.m2ts was added as title #107
File 00825.m2ts was added as title #108
File 00826.m2ts was added as title #109
File 00827.m2ts was added as title #110
File 00828.m2ts was added as title #111
File 00829.m2ts was added as title #112
File 00830.m2ts was added as title #113
File 00831.m2ts was added as title #114
File 00833.m2ts was added as title #115
File 00834.m2ts was added as title #116
File 00835.m2ts was added as title #117
File 00842.m2ts was added as title #118
File 00843.m2ts was added as title #119
File 00844.m2ts was added as title #120
File 00845.m2ts was added as title #121
File 00846.m2ts was added as title #122
File 00847.m2ts was added as title #123
File 00848.m2ts was added as title #124
File 00849.m2ts was added as title #125
File 00850.m2ts was added as title #126
File 00851.m2ts was added as title #127
File 00852.m2ts was added as title #128
File 00853.m2ts was added as title #129
File 00854.m2ts was added as title #130
File 00855.m2ts was added as title #131
File 00856.m2ts was added as title #132
File 00857.m2ts was added as title #133
File 00858.m2ts was added as title #134
File 00859.m2ts was added as title #135
File 00720.m2ts was added as title #136
File 00910.m2ts was added as title #137
File 00911.m2ts was added as title #138
File 00946.m2ts was added as title #139
File 00947.m2ts was added as title #140
File 00948.m2ts was added as title #141
File 00949.m2ts was added as title #142
Operation successfully completed
Saving 1 titles into directory /Media/Data/ToDo_notinsnapraid/Anastasia (1997)/BluRay using profile 'Default with Forced Subs On' from file '/home/arch/.MakeMKV/default-with-forced-subs.mmcp.xml'
AV synchronization issues were found in file '/Media/Data/ToDo_notinsnapraid/Anastasia (1997)/BluRay/Anastasia_00800_t11.mkv' (title #12)
AV sync issue in stream 0 at 0:01:29.255 : video frame timecode differs by -46.922ms
DEBUG: Code 15 at yydtIj[DpWZiftl;XDn :29396966
DEBUG: Code 0 at /31YI'FHc4oKoiOda"Zi:121267040
DEBUG: Code 0 at yydtIj[DpWZiftl;XDn :213135021
DEBUG: Code 0 at Ntk,YV8D[K>W7;fAp/mIm:213137068
DEBUG: Code 0 at f?F<@r)}OQ"&0">D?H.a:29394022
DEBUG: Code 0 at Ntk,YV8D[K>W7;fAp/mIm:213137068
DEBUG: Code 0 at f?F<@r)}OQ"&0">D?H.a:29404878
DEBUG: Code 0 at f?F<@r)}OQ"&0">D?H.a:29405384
DEBUG: Code 0 at f?F<@r)}OQ"&0">D?H.a:29403383
DEBUG: Code 0 at Ntk,YV8D[K>W7;fAp/mIm:213137068
DEBUG: Code 0 at l<ZQl*'e@q9u|1Om:213132537
DEBUG: Code 0 at Ntk,YV8D[K>W7;fAp/mIm:213137068
DEBUG: Code 0 at 1#drGJv(/"xU^S9S/:121264464
DEBUG: Code 0 at 1#drGJv(/"xU^S9S/:121263912
DEBUG: Code 0 at 1#drGJv(/"xU^S9S/:213130145
DEBUG: Code 0 at Ntk,YV8D[K>W7;fAp/mIm:213137068
LIBMKV_TRACE: Exception: Error in p->FetchFrames(2,true)
Failed to save title 11 to file /Media/Data/ToDo_notinsnapraid/Anastasia (1997)/BluRay/Anastasia_00800_t11.mkv
0 titles saved, 1 failed
Attached is the full MakeMKV debugging log.

Seems to be related to viewtopic.php?f=3&t=30254 where VLC will play the main title through libmmbd but there is artifacting across the entire movie, with h264 decoding errors in the VLC log.

--- Solved ---

I figured out what I was doing wrong - when I mount the ISO I was not linking the BDSVM folder needed for BD+
i.e.

Code: Select all

mount Anastasia-1997_BluRay.iso iso/
ln -s iso/AACS AACS
ln -s iso/BDMV BDMV
ln -s iso/BDSVM BDSVM
ln -s iso/CERTIFICATE CERTIFICATE
ln -s Anastasia-1997_BluRay_discatt_PIONEER-BD-RWBDR-XS07U.dat discatt.dat
I then open MakeMKV -> File -> Open discatt.dat which then opens the ISO image and now it is able to process the BD+ code.
Attachments
MakeMKV_log.txt
(28.09 KiB) Downloaded 160 times
Last edited by mediacable on Sun Apr 16, 2023 9:35 pm, edited 2 times in total.

mediacable
Posts: 8
Joined: Sun Dec 25, 2022 9:53 pm

Re: Anastasia error LIBMKV_TRACE Error in p->FetchFrames(2,true)

#2 Post by mediacable » Tue Apr 04, 2023 3:14 am

On inspection this is a BD+ disc and this wasn't detected by MakeMKV.

As part of my backup strategy I remove bus encryption with MakeMKV (makemkvcon backup disc:/dev/sr0), grab the discatt.dat file, and then ddrescue the disk.

Mounting that ISO with the discatt.dat file and opening it in MakeMKV does not trigger BD+ processing.

If I instead make an encrypted backup and then open the discatt.dat file MakeMKV processes the BD+ code from that backup.

Functionally, this should be the same so I'm not sure why MakeMKV is skipping BD+ processing in my work flow, and it also doesn't solve the issue when streaming a BD+ video from VLC which is apparently the problem in thread I linked above: viewtopic.php?f=3&t=30254

But, the title successfully ripped this time. I'm curious to know if anyone else has encountered this or if I'm doing something wrong in my workflow.

Post Reply