Hi,
At the moment I'm using iMKVExtract to extraxt srt from a mkv file.
Which is a very slow process since I have multiple mkv files.
Is there a way to extract srt from several mkv files?
It would also be nice if the srt's automatically get the same name as the mkv.
So if you know a way to do this, I would really appreciate it.
It may be a GUI or with a script.
(If I'm not mistaken there is a tool like this for windows and it's called mkvcleaver but haven't found anything for mac)
Greets and thanks in advance.
Gosa
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 30 of 60
Thread
-
-
wrote a small tool that allows to extract (all) video and/or audio and/or subtitle stream from mkv files.
1. start tool
2. drag&drop the mkv's in the empty list (you can also drop folders)
3. set output folder
4. start extraction
5. wait till it's finished
it's not tested a lot but, judging from my tests it's doing what it's ment to do,..
Cu SelurLast edited by Selur; 19th Apr 2012 at 14:38.
-
Hi,
Thanks for the reply!
I tried it but nothing seems to happen.
But I might be missing something simple.
What I did was unzipping the file.
I dragged the app into my programs and I ran the program.
Then I followed the steps so I dragged the mkv-files, then I set the output folder.
I wanted to select Subtitle Stream but it didn't allow me to select the sub alone.
I got the following message: You need to select at least one type of stream to extract.
So I selected the audio and video as well and then it started.
Then it went very fast so I had a feeling that it wasn't really extracting.
When I went to the output folder, nothing was there.
Do I need to do something else? Or does your app work with another app? Maybe I need to install something extra?
I have a mac osx lion 10.7.3 by the way.
Cheers -
I wanted to select Subtitle Stream but it didn't allow me to select the sub alone.
I got the following message: You need to select at least one type of stream to extract.
hmm,.. worked fine here,.. (mkvmerge and mkvextract 5.5 are included,..)
-> give a few minutes, I'll add some additional status info, so bugs are easier to track,.. -
Okay, I figured out where the main problem is. The mkvmerge/mkvextract versions I added to the package and that are available on the mkvtoolnix homepage are not statically compiled and do not come with all the required libraries they need.
-> I'll probably compile mkvmerge&co myself then -
Attached a version that looks for mkvmerge&mkvextract inside /opt/local/bin which is where MacPorts installs them.
I'll later look into compiling mkvmerge&mkvextract statically, so that MacPorts isn't needed.Last edited by Selur; 19th Apr 2012 at 14:39.
-
Think I got it know,.. and I finally start to understand the .app structure better,..
Last edited by Selur; 19th Apr 2012 at 16:13.
-
Hi,
Does this version need mkvextract and mkvmerge installed in /opt/local/bin or does it work statically?
I tried the new zip and after running it I get the following:
p, li { white-space: pre-wrap; } setting output folder to /Users/SG/Movies/new,..
starting extraction,...
file: /Users/SG/Movies/test.mkv, audio: 1, video: 1, subtitle: 1, output: /Users/SG/Movies/new
starting: "/Applications/MkvExtractor 3.app/Contents/MacOS/mkvmerge" -I "/Users/SG/Movies/test.mkv"
analyzing output of analyzer,...
video - id: 0, type: V_MPEG4/ISO/AVC
audio - id: 1, type: A_AAC
subtitle - id: 2, type: S_TEXT/ASS
extracting content for /Users/SG/Movies/test.mkv
starting: "/Applications/MkvExtractor 3.app/Contents/MacOS/mkvextract" tracks "/Users/SG/Movies/test.mkv" --ui-language en_US --raw 1:"/Users/SG/Movies/new/test_1.264" 2:"/Users/SG/Movies/new/test_2.aac" 3:"/Users/SG/Movies/new/test_3.ass"
finished extraction for /Users/SG/Movies/test.mkv
input queue is finished,... -
mkvextract&mkvmerge are included (but dynamically linked)
output looks okay.
-> did you check if '/Users/SG/Movies/new/' contains the extracted files?
(btw. it should also work if you just enable the subtitle extraction)
atm. there's a lot of unneeded stuff in the log, but I think I leave it there for a while until I'm sure everthing is working,.. -
Hi,
Sadly there is nothing in the /Users/SG/Movies/new/
I think it's because I don't have mkvmerge and mkvextract installed.
So i need to do that first.
I installed macports and I tried "sudo port install mkvtoolnix" but I get
Code:Warning: xcodebuild exists but failed to execute Warning: Xcode does not appear to be installed; most ports will likely fail to build.
I will try and install Xcode. -
it would help if you call:
Code:"/Applications/MkvExtractor 3.app/Contents/MacOS/mkvextract" tracks "/Users/SG/Movies/test.mkv" --ui-language en_US --raw 1:"/Users/SG/Movies/new/test_1.264" 2:"/Users/SG/Movies/new/test_2.aac" 3:"/Users/SG/Movies/new/test_3.ass"
Installing mkvmerge,mkvextract,... will not fix the problem,... since MkvExtractor will only look inside the .add folder -
Hi,
This is what I excuted:
Code:MBPSG:opt SG$ "/Applications/MkvExtractor 3.app/Contents/MacOS/mkvextract" tracks "/Users/SG/Movies/test.mkv" --ui-language en_US --raw 1:"/Users/SG/Movies/new/test_1.264" 2:"/Users/SG/Movies/new/test_2.aac" 3:"/Users/SG/Movies/new/test_3.ass"
Code:dyld: Library not loaded: /opt/local/lib/libmagic.1.dylib Referenced from: /Applications/MkvExtractor 3.app/Contents/MacOS/mkvextract Reason: image not found Trace/BPT trap: 5
-
That means there is this one or more libaries missing in the package,... -> I'll look on my system
-
Attached a version with libmagic.1.dylib included. -> try the command line with this version
Last edited by Selur; 21st Apr 2012 at 17:25.
-
Hi,
I tried with the new zip and I still got:
Code:dyld: Library not loaded: /opt/local/lib/libmagic.1.dylib Referenced from: /Applications/MkvExtractor.app/Contents/MacOS/mkvextract Reason: image not found Trace/BPT trap: 5
-
that's strange because it is included in the package (MkvExtractor.app/Contents/Frameworks/libmagic.1.dylib) thought that would fix the problem,..
-
Hi,
I went to the directory with Terminal and it's indeed in the Framework directory.
I tried to copy to the lib directory but there is some kind of permision problem:
Code:MBPSG:Frameworks SG$ cp libmagic.1.dylib /opt/local/lib/libmagic.1.dylib cp: /opt/local/lib/libmagic.1.dylib: Permission denied
-
Aha.
I used
Code:sudo cp ...
Code:dyld: Library not loaded: /opt/local/lib/libvorbis.0.dylib Referenced from: /Applications/MkvExtractor.app/Contents/MacOS/mkvextract Reason: image not found Trace/BPT trap: 5
-
grrr,.. that one like libmagic isn't included in the official mkvtoolnix downloads,.. :/
-
Hi,
Well I copied the magic file but like I posted I need
libvorbis.0.dylib
Have no idea where to get that. I thought I would maybe find it in the frameworks directory but it wasn't there.
Do you know where I can get it?
Thanks -
1. let me look, I thing I got it somewhere on my mac
2. I will contact Jonathan who makes the mkvtoolnix mac packages. -
Great,
I will patiently wait
Thanks for sticking arround and helping out.
i'm so looking forward to be able to extract multiple subtitles at once
It's gonna save me a lot of time. -
attached libvorbis.0.dylib, post if you need other libs,..
Hoping Jonathan will include all the binaries in the official build, than I could add the offical .app into my .app -
Hi,
I'm still missing library files.
Code:dyld: Library not loaded: /opt/local/lib/libogg.0.dylib Referenced from: /Applications/MkvExtractor.app/Contents/MacOS/mkvextract Reason: image not found Trace/BPT trap: 5
My mac is only 2 old and I"m still a bit new to mac so... -
personally I installed MacPorts and install most of the small tools through it,... attached libogg
-
Hi,
I didn't want to annoy you but I can't find liblzo2.2.dylib
If you happen to know which dylib mkvmerge and mkvextract use, feel free to zip them up.
It will spare some time sending each dylib
For now I have only three files:
Code:ls /opt/local/lib libmagic.1.dylib libogg.0.dylib libvorbis.0.dylib
-
belief me if I would now which libraries are needed I would already have made a complete zip package,..
(btw. you are not annoying, this way I too learn which libraries mkvtoolnix needs )
liblzo2.2.dylib attached -
You're definitly the most patient person I know on any forum I've ever been, lol.
This time it asks for another dylib but with another reason:
Code:dyld: Library not loaded: /opt/local/lib/libiconv.2.dylib Referenced from: /Applications/MkvExtractor.app/Contents/MacOS/mkvextract Reason: Incompatible library version: mkvextract requires version 8.0.0 or later, but libiconv.2.dylib provides version 7.0.0 Trace/BPT trap: 5
-
attached libiconv.2.dylib
at least now I know why there are not so many small encoding guis&co for mac out there,.. it's a pain to deploy them unless mac a macport,..
Similar Threads
-
Extract SRT From MKV
By Valentin in forum MacReplies: 4Last Post: 12th Sep 2014, 20:14 -
How to extract .srt from mkv file
By Wooody in forum SubtitleReplies: 13Last Post: 18th Oct 2012, 05:43 -
Batch hard encode multiple language srt to multiple videos
By clonius in forum SubtitleReplies: 4Last Post: 15th Jul 2010, 14:06 -
Batch Extract Audio from MKV
By Grim187 in forum Video ConversionReplies: 4Last Post: 25th May 2009, 00:58 -
Batch extract audio from multiple DV files?
By Colmino in forum Camcorders (DV/HDV/AVCHD/HD)Replies: 4Last Post: 21st May 2008, 10:55