VideoHelp Forum

Try DVDFab and download streaming video, copy, convert or make Blu-rays,DVDs! Download free trial !
+ Reply to Thread
Page 1 of 2
1 2 LastLast
Results 1 to 30 of 60
Thread
  1. 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
    Quote Quote  
  2. 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 Selur
    Last edited by Selur; 19th Apr 2012 at 15:38.
    Quote Quote  
  3. 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
    Quote Quote  
  4. 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.
    -> fixed (I accidentally checked the audioCheckBox instead of the subtitleCheckBox)

    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,..
    Quote Quote  
  5. Thanks for your time.
    I'm looking forward to it.

    Cheers
    Quote Quote  
  6. 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
    Quote Quote  
  7. 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 15:39.
    Quote Quote  
  8. Think I got it know,.. and I finally start to understand the .app structure better,..
    Last edited by Selur; 19th Apr 2012 at 17:13.
    Quote Quote  
  9. 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,...
    Thanks for trying to help.
    Quote Quote  
  10. 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,..
    Quote Quote  
  11. 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.
    So apparently I need to install Xcode first.

    I will try and install Xcode.
    Quote Quote  
  12. 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"
    in a terminal an post what the output is.
    Installing mkvmerge,mkvextract,... will not fix the problem,... since MkvExtractor will only look inside the .add folder
    Quote Quote  
  13. 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"
    This is what I got:
    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
    No Idea what that means.
    Quote Quote  
  14. That means there is this one or more libaries missing in the package,... -> I'll look on my system
    Quote Quote  
  15. Attached a version with libmagic.1.dylib included. -> try the command line with this version
    Last edited by Selur; 21st Apr 2012 at 18:25.
    Quote Quote  
  16. 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
    Are you sure you zipped the latest version
    Quote Quote  
  17. that's strange because it is included in the package (MkvExtractor.app/Contents/Frameworks/libmagic.1.dylib) thought that would fix the problem,..
    Quote Quote  
  18. 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
    Quote Quote  
  19. Aha.
    I used
    Code:
    sudo cp ...
    And now I get the following:

    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
    So I will do the same and let you know how it went.
    Quote Quote  
  20. grrr,.. that one like libmagic isn't included in the official mkvtoolnix downloads,.. :/
    Quote Quote  
  21. 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
    Quote Quote  
  22. 1. let me look, I thing I got it somewhere on my mac
    2. I will contact Jonathan who makes the mkvtoolnix mac packages.
    Quote Quote  
  23. 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.
    Quote Quote  
  24. 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
    Quote Quote  
  25. 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
    Is there a library pack that I need to download so I have most common dylib files.
    My mac is only 2 old and I"m still a bit new to mac so...
    Quote Quote  
  26. personally I installed MacPorts and install most of the small tools through it,... attached libogg
    Quote Quote  
  27. 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
    Quote Quote  
  28. 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
    Quote Quote  
  29. 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
    Could you send your version please? thnx
    Quote Quote  
  30. 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,..
    Quote Quote  



Similar Threads