So ... you've obtained an .ogm or .mkv video file and you want to convert it to something else (in my case either a DVD or a SmartMovie .avi for the P800). These .ogm and .mkv files are Ogg media files and Matroska video files respectively. Both are container formats like .avi or .mov and can contain various types of video and audio.
The Mac video Swiss army knife ffmpegX does not (yet) like ogm or mkv containers, so you need to demux the video and audio streams before converting them. The apps you need to demux are OGMTools and MKVToolNix by Shawn Holwegner. These are both ports of Linux apps by Moritz Bunkus. This means they are command line apps, but don't worry! They couldn't be simpler to use.
Just download the installer packages, unstuff, and install. They will install several ogm and mkv tools into your /usr/local/bin folder. You don't have to worry about that, all it means is that they are easily accessible. Now all you have to do is open a Terminal window, and (if you have an ogm file) type:
ogmdemux (including a space at the end - do not hit enter!)
Now drag your ogm file into your terminal window. This will fill in the correct path to the file. Hit enter to begin the demux process.
or (if you have an mkv file)
mkvextract tracks (including a space at the end - do not hit enter!)
Now drag your mkv file into your terminal window. This will fill in the correct path to the file. Do not hit enter. Continuing on the same line, type
1:video.vid 2:audio.audHit enter to begin the demux process.
For both .ogm and .mkv files the demuxing process will take a minute or two for a 700MB file. When the process is complete, you will have the demuxed audio and video files in your home folder.
Once you have your separate audio and video, ffmpegX should be able to convert them to whatever format you desire - unless your audio is in the ogg vorbis format, in which case I would recommend you download and install this Ogg Vorbis for Quicktime plugin, and then use iTunes to convert your ogg to an mp3. To convert your ogg launch iTunes, option-click the Advanced menu, choose 'convert to mp3' (if this says something other than mp3 you need to change your iTunes import preferences), and finally choose your ogg.
Note: ffmpegX should be able to recognise your .vid and .aud files, but if you need to you can use ogminfo and mkvinfo to find out what type of video and audio are inside your ogm or mkv.
Edit: correction to the mkvextract instructions thanks to Jasper's comment below.
Hmm that's odd. Open a terminal window and type "ls /usr/local/bin/", do you see the mkvextract app in that folder?
i have the same problem, and yes i do see it when i do "ls /usr/local/bin" do you have any ideas on what can be done
you have to type ./mkvextract to get it to use the command in the usr/local/bin directory and you have to be in the usr/local/bin directory for this.
I think for some reason you don't have /usr/local/bin in your PATH variable. You can type echo "$PATH" to see what yours is currently set to. You should see /usr/local/bin amongst the results (they are seperated from each other by colons).
If you don't have /usr/local/bin in there, you can add it by opening a new Terminal window and typing this line (if you have no idea what this does copy and paste is probably a good idea):
echo 'export PATH=${PATH}:/usr/local/bin' >> ~/.profile
When you're done you must close the Terminal window and open a new one for the changes to take effect.
Can someone decipher the above for those of use who aren't experts with Terminal? I've tried everything described here and still end up with "command not found." I also have yet to see "usr/local/bin." And when I type "ls /usr/local/bin/," all I see is "mediapipe."
Maybe this is something that will only work in Panther? Beats me.
Have you already installed the .pkg for OGMTools and MKVToolNix? Try a Finder search for 'ogmdemux' and 'mkvextract'.
I did install both, twice even. or at least I thought I did. I tried the Finder search that you suggested, with Visibility set to All, and came up with nothing. Then I thought I'd try the same thing with the Mediapipe file I mentioned above, and it popped right up, in the usr/local/bin directory.
Any idea why the installers didn't work? I didn't get any error messages -- in fact, both times I got a confirmation that installation was successful. But clearly it wasn't.
My OS is 10.2.8.
I did have the mkvextract app in my bin folder.
I tried with ./mkvextract now I have a new error message :
Error: Unknown mode
Maybe the problem comes from my mkv file...
Some info straight from Shawn Holwegner:
Regrettably, my installer package of MKVToolNix has never been built for 10.2.x - it requires iconv, which was not introduced until MacOS X 10.3.x, and several other libraries (expat, et al) were too much of a pain to keep in sync between 10.2, and 10.3.
However, it should be possible to build mkvtoolnix utilizing the DarwinPorts system under 10.2, provided that you have Developer Tools installed.
You may find further information on DarwinPorts at:
http://darwinports.opendarwin.org/
Hi I have system 10.3.4 and I receive the unknown mode error also. Like so:
Error: Unknown mode '/folder/movie.mkv'.
any fixes?
Good info here, but I found a better way to use the OGM tools.
http://forums.3ivx.com/cgi-bin/ikonboard/topic.cgi?forum=9&topic=591
The tools are hosted at
http://home.comcast.net/~piewalker/ogmtools.zip
To demux an OGM:
1) download and unzip the tools
2) Run Terminal
3) Drag the appropriate tool (ogmdemux) to the terminal window
4) Drag the ogm file to the Terminal window
5) Press Return. No worries about path names and such. This was the only method I got to demux and ogm file.
Hi there.. nice site BTW. I have tried your trick, but I got the same "unknown mode" as above.
does anyone understood this? or is it just the .mkv file that's a bit strange and cannot be processed?
Thanks
The final solution with the /usr/local/bin/mkvextract tracks my_file.mkv 1
utput.vid 2: output.ogg is working perfectly. Thanks very much. It's very nice to have dedicated people around who actually care about the fact that users are having difficulty. This makes me glad I switched to mac. Nice app, by the way.
Powerbook 15" G4 1.25GHz 512MB, 80GB
Hmm, only one question. Will ffmpegx read .vid files? This is a stupid question, because I haven't tried it yet, but I'm curious.
For the video: that should be fine - ffmpegX should be able to recognise what video is inside the 'vid' file. Convert it to mpeg2 or xvid or whatever you want.
For the audio: make sure you have the Ogg for Quicktime plugin installed before converting to mp3 with iTunes. Regular 3 minute songs in Ogg format take a few seconds to open in iTunes, so a 90 min movie soundtrack will take several minutes.
I'm working on an mkv file, and have managed to get the audio (ogg) and video (vid) files extracted. iTunes OGG plugin is fscked, btw -- won't convert large files, apparently, and is really slow.
No prob -- I got my OGG file converted to an AIF file using JustOGG 1.0.1 (sheesh, why is there no good OSX utility for this? Classic sucks). So now, I've got an .aif and .vid file....and FFMpegX is choking on the .vid, because the codec is a RealVideo 9 codec. VLC won't play the original MKV file for the same reason ("mkv: unknow codec id=`V_REAL/RV40' main: no suitable decoder module for fourcc `undf'. VLC probably does not support this sound or video format.")
So, I download the RealPlayer 10, hoping it'll throw some codec support my way -- no juice. Any assistance in how to get this converted to something usable on my Mac?
Oh, and I tried the command-line MPlayer, and it wouldn't play the original MKV file, either.
Thanks, friends....
An update...I D/L the RealVideo 9 codecs for OSX from mplayer.hu....but I have *no* idea where to put them -- and can't find a reference anywhere online. Suggestions?
Lincoln
Lincoln: You had an .ogm file containing RealVideo and Ogg? Ouch. What a combination!
The RealVideo9 codec probably goes into your /Library/Quicktime folder. If it works (and you have QuickTime Pro) you should then be able to export the RealVideo to whatever you want. Good luck - RealVideo support on OS X is spotty at best, Mac developers tend to ignore it for some reason
Hi Thoughton:
It's actually a .mkv file, not .ogm. But it's still a bizarre combo.
Unfortunately, your suggestion didn't work. I can now get this to play the audio in MPlayer, but when I view the stats for it, it says the video is N/A. And, I continue to get the VLC error, citing RA40 as the unsupported codec (RP9).
And the fun continues....
Hi,
I'm quite new with Mac and got trouble with mkv file, similar to others above. Read and tried all the stuff mentioned with various results. I'm on G4, Mac OS 10.3.4
With "mkvextrack" command i got "Command not found"
With "ls /usr/local/bin/" command I do see mkvextract tool.
With echo "$PATH" I see "/bin:/sbin:/usr/bin:/usr/sbin" (???)
I do... "echo 'export PATH=${PATH}:/usr/local/bin' >> ~/.profile"
After "echo 'export PATH=${PATH}:/usr/local/bin' >> ~/.profile"
I do "$PATH" again. and got "tcsh: /bin:/sbin:/usr/bin:/usr/sbin: Command not found."
I try "/usr/local/bin/mkvextract tracks my_file.mkv 1
utput.vid 2
utput.ogg"
(my_file.mkv is in a folder on the Desktop)
and the result:
"/usr/local/bin/mkvextract tracks my_file.mkv 1
utput.vid 2
utput.ogg
(mkvextract) Error: Couldn't open input file my_file.mkv (No such file or directory).
progress: 100%"
Any ideas what to do? It's probably my weak Mac skills. Thanks
I think you were almost there when you did "/usr/local/bin/mkvextract tracks my_file.mkv 1
utput.vid 2
utput.ogg"
Try that step again, but instead of typing "my_file.mkv" make sure you have the correct path to your mkv file (easiest way is to drag the mkv from your desktop into the terminal window) (then continue typing 1
utput.vid 2
utput.ogg)
PS Dan, I think the PATH command didn't work for you because you are using the tcsh shell (as shown in your error "tcsh: /bin:/sbin:/usr/bin:/usr/sbin: Command not found."). Apple made the bash shell the default in 10.3 and bash uses the PATH command. I think tcsh uses something else. You still have the tcsh shell because you upgraded to 10.3 rather than doing a fresh install. It is possible for you to switch to the bash shell now, but I don't know how you do it.
YES!!
Thanks! Working fine now.. was my Mac skills.. didn't have the catalouge structure for OS X "/users/daniel/desktop/movie/my_file.mkv" ..so simple, when you know it.
Just drag and drop, Mac love 4ever.
Lincoln:
Now that Real have started moving towards open source there is a new version of ffmpegX (0.0.9m) - released a couple of days ago - which includes initial support for converting RealVideo.
I tried using the .vid file in ffmpegX but no file shows up. The file also seems small, it is 24 megabytes. Any help?
Doggle: do you have an admin account on the Mac you're using?
Bryan: How big was your original file?
okay, I'm dealing with some .ogms here and I got everything installed perfect but when i go to demux, Terminal sits for a sec and then a new command line and no file... something I'm over looking?
Getting the same problems as some others above. I am obviously in the tcsh shell which is described above. Please help me to get to the bottom of this!
I also get "permission denied" after following the instructions above, how can I move forward? I guess I need to get out of current shell (yes, I didn't do a clean install... sorry...).
Thanks for all you writing in, I appreciate all the help so far.
Sincerely,
Fredrik
After some fiddling around I get the following error message:
Error: Missing output file name in argument '2:'.
[fredriks-Computer:~] fredrik% /usr/local/bin/mkvextract tracks /Users/fredrik/Desktop/djungle.mkv 1:djungle.vid 2: djungle.ogg
What am I doing wrong?
Thanks,
Fredrik
Frederik: it looks like you have a space after the "2:" and before "djungle.ogg". Remove that and you should be sweet.
Chris: need more info I'm afraid
Did you do a clean install of 10.3 or an upgrade install?
Ok, THis Is What I Get... ogg_sync_pageseek failed after doing ogmdemux and dragging and dropping my .OGM video... Everything Is IN Place And It Should Work Perfectly! But It Isi'nt! HELP ME!
Not to sound harsh to all the people out there struggling with the Terminal but to really appreciate and make best use of OSX (like it sounds like many of you are trying to do) then the command line (Terminal) is something you really have to get to grips with.
There are plenty of tutorials aimed at beginners on the net (just Google it!) and the terminal itself has online documentation for most of the standard commands
try opening a terminal window and typing: 'man ls'
This will display the manual page (man page) for the 'ls' command including syntax etc.
If you don't know what a command does or how to use it properly then theres no harm it trying 'man -command-'.
(Note: this often won't work with 3rd party commands you install)
Finally Google will pretty much always tell you what ever you need to know. Don't be lazy and post on a forum everytime you have a minor snag (not to say forums are bad; but ask questions only if you cannot find the answer yourself) Learning is a proactive thing, use the internet it has all your answers.
Max, proactive learning is always a good thing, but check out the initial story. I just wasted 45 minutes of my time (not a complaint, just a fact! The guy who took the trouble to write the piece gave a good number of people a solution) because the story gives the clear impression that his solution couldn't be more simple. It should use a different tone entirely: this may work for you. If it doesn't, then you'll be in command-line wilderness, and will likely not figure it out unless you have an undertanding of the command-line.
So all these people who are commenting that the process didn't work are quite naturally wondering if there's a gotcha that's easy to resolve.
Picture a mechanically-minded person saying to his mom, "spark-plugs? Just do it yourself, it's easy! Step 1: open the hood. Step 2: change the spark-plugs". Should it come as a surprise that she says she's stuck at step 1"? Then he says "well, do you even need to change them? Did you check the gap? Is there residue on the tips? Are you learning proactively?"
Your advice was cordial, but it seems to me to be perpetuating the problem further still! Do you think that people are going to figure out why the above tip didn't work by researching the error messages they get, troubleshoot, figuring it out as they go with man pages and Google??? No. What you describe is "learning *nix, knowing the command-line interface". NOT "getting this dang movie to play."
So one guy is leading people down the garden path, and then you're giving them generic advice about how to learn!
You aren't obnoxious in any way, and you guys are giving your time to help out people in the community! But I think a lot of rigamarole could be avoided with a more accurate classification of the tip's success-rate, and level of knowlege required.
Thanks for this solution! Everything worked perfectly, my video.vid was recognised by ffmpegx as an mpeg4 stream, and the audio.aud was recognised as 5.1 channel ac3! I used ffmpeg's "mux as" tool and made an avi, then I converted the avi using the "Fast DVD" preset. And you know what? It worked! I just wish ffmpeg would automatically add chapters...
looks like its working for everyone. Just have a quick questions. Im having problems accessing the kvextract. Here is my output:
xxx-xxx-Computer:~ xxx$ ls /usr/local/bin/
base64tool mkvinfo pcpmac psetfinfo
mencoder mkvmerge pgetfinfo psync
mkvextract mplayer pmvmac unace
xxx-xxx-Computer:~ xxx$ /usr/local/bin/kvextract tracks /Movies/xxx.mkv 1:video.vid 2:audio.aud
-bash: /usr/local/bin/kvextract: No such file or directory
the program is there but it somehow i can't access it. any suggestion??
thx
Skye
just wondering if the mkv container has V_REAL/RV40 video will ffmpegX work? anyone know what I need to convert REAL video?
thx
Skye
RealVideo has always been hard to convert, the newest ffmpegX has some support for it, but I don't know if it will work with the latest RealVideo codecs.
Also a recent story on MacOSXHints had some info on using Mencoder to convert it. I commented on it here:
http://emandtim.no-ip.com/tim/weblog/000069.php
Good luck!
JasonSouthern: If you selected 'keep elementary streams' in ffmpegX, you can use those m2v and ac3 streams in either Sizzle (shareware) or DVD Studio Pro (lots of $$$) to add chapter markers.
Hello,
I am trying to convert a (mkv) video. I am runniong Mac OSX 10.3.2 (Native, meaning cam witht he computer).
I have installed the tool needed (I think)The MKVToolNix and OGMTools
When I type "ls /usr/local/bin/" The "mkvextract" app is not listed. How can I get this fixed?
I have also tried the drag and drop Method listed above and I get the permission denided error.
Hello,
I am trying to convert a (mkv) video. I am runniong Mac OSX 10.3.2 (Native, meaning cam witht he computer).
I have installed the tool needed (I think)The MKVToolNix and OGMTools
When I type "ls /usr/local/bin/" The "mkvextract" app is not listed. How can I get this fixed?
I have also tried the drag and drop Method listed above and I get the permission denided error.
BTW, I am getting -Bash Not Tech
Hi Bobby Kellogg - the first thing I'd try is running the MKVToolNix installer again. Also are you an admin account on the Mac you are using?
Im having the permission problem as well. I don't get it. I'm the admin on this computer... it's my computer! I am getting -bash too, as i am running 10.3 from a clean install.....HELP!
Actually, I'm getting the following error "avilib - Error opening AVI file - Permission denied" --- dunno what it means. I've checked permissions on the file itself, I've got em, and on the mkvextract executable, and I've got em there too.
Where is your avi file located? It might be that one of the enclosing folders has funny permissions. I'd suggest moving the avi to the top level of your home folder and try again, see if you get the same error. If you do get the same error it looks to be a problem with avilib itself, I'd suggest you contact Shawn Holwegner directly via email.
To solve the 'command not found' problem :
drag the installed files from the ~usr/local/bin folder into the ~usr/bin folder. Re-open Terminal and the command now works.
Note that since the usr folder is invisible you can't just open it to find the installed files nor to drag them to their proper location. I used the good old "command-F" shortcut to display the folder that contains "usr" in the name and whose visibility is invisible.
I've successfully de-muxed a mkv file using the MKVtoolnix.
Now that I have my .rm (rv40) codec and my .ogg
I can't find an application that will convert the .rm file so I can mux them as an avi. I've read that mplayer and mencoder might be able to do this, but I cant seem to get them to read the .rm file. Using ffmpegx with the Real-libs properly installed I get the followin message.
AltiVec found
CPU: PowerPC
Reading /Users/bbhhjr/.mplayer/codecs.conf: Can't open '/Users/bbhhjr/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: 61 audio & 169 video codecs
File not found: 'frameno.avi'
Failed to open frameno.avi
Reading config file /Users/bbhhjr/.mplayer/mencoder: No such file or directory
font: can't open file: /Users/bbhhjr/.mplayer/font/font.desc
Font /usr/local/share/mplayer/font/font.desc loaded successfully! (206 chars)
success: format: 0 data: 0x0 - 0x2539d0d6
REAL file format detected.
sh: line 1: 569 Bus error '/Library/Application Support/ffmpegX/mencoder' /Users/bbhhjr/Desktop/output.rm -oac mp3lame -lameopts cbr:br=128:vol=0 -srate 48000 -aid 0 -ovc xvid -sws 0 -xvidencopts bitrate=940:max_key_interval=240 -ofps 29.97 -vop scale=576:432 -noodml -o /Users/bbhhjr/Desktop/output.rm.ff.avi
any experts with any ideas? Thanks.
Realvideo is notoriously hard to convert to anything, especially the newer codecs (like your RM9 one).
There was a MacOSXHints a few weeks ago about using Mencoder (http://www.macosxhints.com/article.php?story=2004080611133271) to convert Real streams. This may help you.
*sigh* I wasn't expecting an easy answer. I think it will be easier to hunt down the jerks who created these OGM and MKV files and beat them up.
(that's always my answer)
Seriously though, what's with kids these days and all their crazy codecs? The files I received in OGM format don't look very high quality compared to their file sizes...that is on what little software their is to play them with. On several devices and with several other applications I have they look like crap compared to any one of the upteen million other more mainstream codecs that do work without hassle.
What are the chances someone will create a simple drag and drop GUI to convert some of these fringe codecs?
Hiya! I'm a Mac newbie, but I followed all the above instructions... and I got this result:
(mkvextract) No segment/level 0 element found.
progress: 100%
Can anyone tell me what this means?
well the process worked for me.......except my .mkv file has subtitle tracks!!! - is there a command to extract these? -Thanks in advance. GD
Gazebo: sorry, I don't know what "No segment" means. My first thought would be a corrupt/abnormal mkv file.
GreenDeeble: You ocan extract subtitles using the same mkvextract command. Type mkvextract on it's own for options, but something like this should work:
mkvextract tracks (drag your file to terminal) 1:video.vid 2:audio.aud 3:subs.srt
You need to find out what number your subtitle track is, by typing:
mkvinfo (drag your file to terminal)
(Look for 'track type: subtitles' and see what track number it is)
Macslut: I mostly agree with you about all these different codecs. Ogm especially. Mkv at least has some redeeming qualities, in that you can easily store a whole range of different tracks inside it (for instance, video, plus several different language tracks, plus several subtitle tracks).
You should be aware however that the mere fact that the video is inside mkv container has no effect on the quality of the video itself. Someone could store low quality mpeg1 video inside an mkv container, or alternatively they could store virtually perfect quality DV inside it.
I think you can change to the 'bash shell' temporarily if you are in tsch by typing 'exec bash' - however I have still had no luck getting this to work and I have searched and tried many of the suggestions above.
If someone could point me in the right direction I'd appreciate it;
I'm using 10.3.5 and the terminal default is tsch. "ls /usr/local/bin" reveals 'pcpmac pgetfinfo pmvmac psetfinfo psync'
a system search shows 'mkvextract' in a different 'bin' folder it's path is macintosh HD/local/bin - has this been installed in the correct location?
Two suggested commands that I've tried for instance;
"/local/bin/mkvextract /Volumes/LaCie\ Big\ Disk/FILMS/video/Video.mkv 1:video.vid 2:audio.aud"
this gives me 'Error: Unknown mode'
mkvextract tracks /Volumes/LaCie\ Big\ Disk/FILMS/video/Video.mkv 1:video.vid 2:audio.aud
this gives me bash: mkvextract: command not found
apologies if I'm a bit slow - this is my first attempt at using the terminal and I'd love to find out where I'm going wrong.
thx in advance
Jim
Hi Jim,
Sorry for the delay, I've been overseas on holiday
I'm not sure why your mkvextract got installed in a different place, but I suspect it's not working for you because you appear to have a space in your HD name ("Lacie big disk"). Unix doesn't like spaces. As a result it is truncating your command to
local/bin/mkvextract /Volumes/LaCie(The 'unknown mode' error occurs when you don't specify 1: and 2: etc.)
Thanks thoughton for your reply, since posting I had managed to obtain another version of this file - although your info will come in useful next time.
cheers
J
MKV/Mac OSX/Subtitles
Well, unfortunately, looks like mkvextract does not support VobSubs, and this is a format a lot of people use. it says "vobsub not recognized, will ignore."
Man, this is a hassle- all just so I can watch something on my standalone DIVX player--- argh.
So, is there a way of converting mkv to whatever on OS X 10.2? There was some mention of it, but has anyone figured it out?
This has been very helpful!
I am at the point now where I have extracted the tracks (audio, video, subtitle) using mkvextract.
However, ffmpegx does not want to recognize the audio or the video.
If I drag and drop the video.vid or the audio.aud (or whatever I name them), They are "Unrecognized". I can run the files using the "Play" button on the GUI. if I look at the info log after trying to reencode the audio or the video. it says that it can't recognize the format.
Running mkvinfo, I can see that the video is of type "V_MPEG4/ISO/AVC" and the audio is of type "A_AAC/MPEG4/LC/SBR". I can play the .mkv just fine w/ VLC, but want to get it to a format I can burn to DVD.
Any suggestions would be appreciated.
Hi Kevin, thanks for dropping in!
Your video track appears to be an H264 elementary stream. ffmpegX support for H264 is still fairly new, so I guess that is why it's having trouble with yours.
It is probably worth trying to open the video file in QuickTime 7 if you have it, and (hopefully) export it as some other format (something lossless would be a good intermediate step). If that doesn't work you could try VLC's (extremely buggy) transcoding options. Other than that I'm outta ideas
The audio is some kind of AAC, but since ffmpegX cannot recognise it I suspect it is 5.1 channel AAC. If it is 5.1 channel you need to use a program called FAAD. There's an illuminating thread on it over at VideoHelp.com, basically you use FAAD to downsample the 5.1 AAC to stereo AAC, then use ffmpegX on the stereo copy.
Hope this helps!
I am running os 10.4.
I ran the installer
I am in the /usr/local/bin folder
I ran the command with the ./ in front of mkvextract tracks filenamewithlocation 1:video.vid
"No EBML head found. nl progress:100%" is the error I get.
Do I not have a complete mkv file? I get the same error message when I use the mkvinfo command.
I've had sucess with the MKVTools, now I'm attempting OGM. However, I get "ogg_sync_pageseek failed" a lot. This is the one error I haven't been able to interpret. I know someone else asked what that meant, but I don't believe he was answered directly. Google gave me nothing useful. I assume this error might mean some sort of sync problem with the ogm itself.
Curious. I'm also getting "More than one input file given. Aborting."
I'm pretty sure I'm only using one ogm.
this thread kicks ass, but did anyone else get this error?
dyld: /usr/local/bin/mkvextract can't open library: /usr/lib/libbz2.1.0.dylib (No such file or directory, errno = 2)
Trace/BPT trap
thanks...
Andrew Robinson: an ogm container is capable of holding more than 1 audio stream (for instance it might have 2 different languages). You could use ogminfo on the original ogm file to find out more information about the audio tracks (e.g. whether they are mp3 or ogg or ac3 etc). Once you know what format they are you should be able to find something that can play them (and find out what they are).
Hey! After a very frustrating experience I finally have some answers! Hopefully, this will save many of you from the waste of time.
1. The files will be unpacked into your user/local/bin dir unless you specify otherwise. If you don't know how to get them out via the command line... I recommend using ONYX, and enabling hidden files/folders. Then you should be able to access the files that were previously unviewable.
2. I did need to use the ./mkvextract syntax.
3. I also needed to use sudo ./mkvextract and then enter my password. If you are having trouble, try typing in "sudo" before. (this may be common knowledge to most unix geeks... however, I am not a command-line expert to say the least.)
4. Check the MKV info in VLC to see how your files are encoded so you can give them the appropriate file extension upon running the mkv command.
5. Make Sure you have a complete file before trying to get this to work. That was a big problem I had early on.
Hope that helps everyone! What a great thread.
MATT
I got the same error than you,
dyld: /usr/local/bin/mkvextract can't open library: /usr/lib/libbz2.1.0.dylib (No such file or directory, errno = 2)
Trace/BPT trap
when I wrote
/usr/local/bin/mkvextract tracks my_file.mkv 1:video.vid 2:audio.aud
but I can't figure out what the "developer tools" are...
apparently, it worked for you after installing them?
but
when I type mkvinfo, I can read all the information of the file
and
when I type ls /usr/local/bin/, mkvextract is there with mkvinfo and mkvmerge
SO
what is it that I miss
Shiva: the 'developer tools' is another name for Apple's XCode. You can download it here: http://developer.apple.com/tools/download/(you'll need to sign up for a free ADC membership).
MMMhh well...
I installed xcode1.5 (I run osx 10.3.4)
and have still exactly the same error
dyld: /usr/local/bin/mkvextract can't open library: /usr/lib/libbz2.1.0.dylib (No such file or directory, errno = 2)
Trace/BPT trap
Any idea?
I must confess I'm quite a novice with all this stuff
Hi,
I downloaded and installed OGMTools and MKVToolNix, I then went in the terminal and type : mkvextract (with a space at the end) and I drag my MKV file in the window and when I hit enter I got this message : tcsh: mkvextract: Command not found.
What did I do wrong?
Thank you