www.makemkv.com

MakeMKV support forum
It is currently Thu Apr 24, 2014 11:14 am

All times are UTC




Post new topic Reply to topic  [ 14 posts ] 
Author Message
PostPosted: Sat Jun 23, 2012 3:10 pm 
Offline

Joined: Sat Mar 07, 2009 10:12 am
Posts: 70
I've been trying out the Flac transcoding but haven't had any luck so far, seems to crash every time I try. I've changed builds of ffmpeg, different Blu-ray's and it makes no difference (audio track selected was TrueHD).

Running Windows 7 64-bit, used latest ffmpeg from zeranoe, it just crashes, asks to send error report then MakeMKV cancels the job.

I've attached the log if that can help.


Attachments:
MakeMKV_log.txt [3.86 KiB]
Downloaded 140 times
Top
 Profile  
 
PostPosted: Fri Aug 17, 2012 12:46 pm 
Offline

Joined: Wed Nov 26, 2008 2:26 am
Posts: 3059
As of 1.7.7 MakeMKV comes with its own ffmpeg executable. Just clear the ffmpeg location in preferences and it'll revert to using builtin mmffmpeg.


Top
 Profile  
 
PostPosted: Mon Aug 20, 2012 7:36 pm 
Offline

Joined: Wed Dec 07, 2011 9:05 pm
Posts: 17
I have cleared the FFMPEG location in the settings but with 1.7.7 each time I try to convert to FLAC I get: "Unable to execute external program 'ffmpeg' as its path is not set in preferences". :/
MakeMKV 1.7.7 on 64-Bit Linux. BTW: What is the location of the mmffmpeg binary? Is it in the MakeMKV binary?


Top
 Profile  
 
PostPosted: Wed Sep 12, 2012 5:35 am 
Offline

Joined: Wed Nov 26, 2008 2:26 am
Posts: 3059
Linux is a special case - mmffmpeg comes pre-compiled only on Windows and Mac, for Linux you have to compile one yourself from source.


Top
 Profile  
 
PostPosted: Sun Sep 23, 2012 1:27 pm 
Offline

Joined: Wed Dec 07, 2011 9:05 pm
Posts: 17
@mike admin:
Will your 24 bit patch get into upstream in time? Have you sent the patch so the ffmpeg developers?
So long, a pre-compiled binary of mmffmpeg would be very handy on Linux too, because I have compiled and installed it and I'm still getting only 16 bit FLACs... Maybe I miss something, I don't know. :/


Top
 Profile  
 
PostPosted: Sun Sep 23, 2012 5:11 pm 
Offline

Joined: Sat Jan 22, 2011 7:09 pm
Posts: 761
holunder2 wrote:
@mike admin:
Will your 24 bit patch get into upstream in time? Have you sent the patch so the ffmpeg developers?
So long, a pre-compiled binary of mmffmpeg would be very handy on Linux too, because I have compiled and installed it and I'm still getting only 16 bit FLACs... Maybe I miss something, I don't know. :/


Justin (Ruggles) has a patch for 24-bit FLAC which looks a tad cleaner that the MakeMKV one. It's mostly ready and just needs cleanup, but it's not terribly high on his priority list.

In any case, since you can build from source, may I suggested applying the MakeMKV patch?

http://www.makemkv.com/download/ffmpeg/


Top
 Profile  
 
PostPosted: Sun Sep 23, 2012 5:56 pm 
Offline

Joined: Wed Dec 07, 2011 9:05 pm
Posts: 17
Hey,
the result that I still got 16 bit FLAC was as I had installed the mmffmpeg over my system's ffmpeg and I suspect this was the problem. So I made a fine Arch package and installed it into /opt and wrote
Code:
LD_LIBRARY_PATH=/opt/mmffmpeg/lib /opt/mmffmpeg/bin/ffmpeg
into the FFMPEG location field in MakeMKV. When I run this in a terminal it works. But in MakeMKV the program freezes at conversion and even
Code:
/usr/lib/ld-2.16.so --library-path /opt/mmffmpeg/lib /opt/mmffmpeg/bin/ffmpeg
doesn't work. Then I tried to put this into a wrapper:
Code:
#!/bin/sh
[command 1 / command 2]

made it executable and set the FMPEG location to /home/username/.MakeMKV/mmffmpegwrapper.sh but MakeMKV still freezes at conversation.
I didn't applied the mmffmpeg patch from http://www.makemkv.com/download/ffmpeg/ because it is already integrated in the main archive. I think so. ;)

So, now I can't use mmffmpeg although it is installed. :/

EDIT: Oh, a friend told me, I need to set $@ at the end of the line, so
Code:
#!/bin/sh
LD_LIBRARY_PATH=/opt/mmffmpeg/lib /opt/mmffmpeg/bin/ffmpeg $@

works!! :) The wrapper is necessary, but it works now and I get 24 bit FLACs, yeah! :)


Top
 Profile  
 
PostPosted: Mon Oct 01, 2012 6:30 pm 
Offline

Joined: Wed Dec 07, 2011 9:05 pm
Posts: 17
Hey, I have sent the patch to ffmpeg devs, regardless of @Romansh's hint on another patch. They ask for the name of the author, please respond: http://ffmpeg.org/trac/ffmpeg/ticket/210


Top
 Profile  
 
PostPosted: Sat Oct 13, 2012 7:39 am 
Offline

Joined: Wed Nov 26, 2008 2:26 am
Posts: 3059
This patch is Public domain. No copyright is claimed. Feel free to give a link to this page.


Top
 Profile  
 
PostPosted: Sat Oct 27, 2012 7:29 am 
Offline

Joined: Wed Nov 26, 2008 2:26 am
Posts: 3059
holunder2 wrote:
works!! :) The wrapper is necessary, but it works now and I get 24 bit FLACs, yeah! :)

When building ffmpeg, pass "--disable-shared --enable-static" to configure and you won't be needing any wrapper. The ffmpeg executable will be self-contained with no dependencies on any (non-system) libraries.


Top
 Profile  
 
PostPosted: Sun Oct 28, 2012 5:33 am 
Offline

Joined: Sat Jan 22, 2011 7:09 pm
Posts: 761
Romansh wrote:
holunder2 wrote:
@mike admin:
Will your 24 bit patch get into upstream in time? Have you sent the patch so the ffmpeg developers?
So long, a pre-compiled binary of mmffmpeg would be very handy on Linux too, because I have compiled and installed it and I'm still getting only 16 bit FLACs... Maybe I miss something, I don't know. :/


Justin (Ruggles) has a patch for 24-bit FLAC which looks a tad cleaner that the MakeMKV one. It's mostly ready and just needs cleanup, but it's not terribly high on his priority list.


http://patches.libav.org/patch/29771/


Top
 Profile  
 
PostPosted: Tue Nov 06, 2012 12:19 am 
Offline

Joined: Sat Jan 22, 2011 7:09 pm
Posts: 761
http://git.libav.org/?p=libav.git;a=commit;h=13e1ee6c
http://git.videolan.org/?p=ffmpeg.git;a=commit;h=13e1ee6c


Top
 Profile  
 
PostPosted: Tue Nov 06, 2012 12:55 am 
Offline

Joined: Wed Dec 07, 2011 9:05 pm
Posts: 17
@Romansh: Wow, great! Thank you very much for you work! ♥


Top
 Profile  
 
PostPosted: Tue Nov 06, 2012 4:08 pm 
Offline

Joined: Sat Jan 22, 2011 7:09 pm
Posts: 761
holunder2 wrote:
@Romansh: Wow, great! Thank you very much for you work! ♥


I'm not Justin though ;-) :P


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group