FLAC profile with FFMpeg 6 causes rip failure

The place to discuss linux version of MakeMKV
Post Reply
Reiver
Posts: 23
Joined: Wed Jul 26, 2017 8:45 am

FLAC profile with FFMpeg 6 causes rip failure

Post by Reiver »

Was working with latest MakeMKV 1.17.6 built against FFMpeg 4.4.4.
But having just rebuilt MakeMKV 1.17.6 against with FFMpeg 6.1.1, when trying to use FLAC profile for rips (and tested with the same previously working source) it seems to spend a longer time analyzing seamless segments before failing without reporting a reason. Debug output as follows;

Code: Select all

Saving 1 titles into directory /path using profile 'FLAC' from file '/usr/bin/../share/MakeMKV/appdata.tar:flac.mmcp.xml'
DEBUG: Code 9115 at ~'^ph:`pB9d =@Qs:29397334
DEBUG: Code 0 at #,^,3|@Ja7|GkI0:GVIu2:121262233
DEBUG: Code 0 at #,^,3|@Ja7|GkI0:GVIu2:121261635
DEBUG: Code 0 at {&_F)K@,CR*=( gAG\ s:213131571
DEBUG: Code 1 at J`8z0F0[qbcg|39vsy:121269731
DEBUG: Code 0 at J`8z0F0[qbcg|39vsy:29401819
The default profile is still fine so I can workaround with manual FLAC encode (after checking for any stream offsets). So curious if anyone else has issues with FFMpeg 6 (or FFMpeg 5 which did the) significant API changes that might be causing the problem inside the makemkvcon binary?
Macros
Posts: 1
Joined: Fri Aug 12, 2022 8:26 am

Re: FLAC profile with FFMpeg 6 causes rip failure

Post by Macros »

Hi Reiver,

we encountered he same issue.

In the GUI MakeMKV would be stuck at analyzing seamless segments and in the script I wrote to automate things the rip would always fail for the main title but succeed for smaller ones. Switching the profile to default also resolved the issues here.

Thank you very much for your post here because the log did not show any reason for the suddenly failing rips and I already tried several things (another drive, a newer ffmpeg, a recompile of MakeMKV) without success before finding this thread and solution/workaround!
bobthecat
Posts: 2
Joined: Sat Mar 18, 2017 8:41 am

Re: FLAC profile with FFMpeg 6 causes rip failure

Post by bobthecat »

Just to confirm that I have the same bug (I think). Running on Ubuntu 24.04 with ffmpeg 6.1.1 the flac profile fails (the default profile is fine)
Post Reply