Time for some Ogg Vorbis and Matroska love

The next phase in the big fat fileserver project is to start filling it with content. Since optical media is so archaic, I'm ripping my DVDs and CDs to disk so I can easily access the content (even streamed to my cell phone) without having to dig through shelves and boxes of disks.

Once ripped, I'm going to compress everything (hey, 7TB doesn't go as far as it used to), but I need to choose containers and codecs.

This will take some experimentation, starting with the Matroska (mkv) and Ogg Vorbis (ogm) containers.

I can generate those files through Handbrake, but how do I play them back? Fortunately, this can be done using my media player of choice:

- OGM & OGV Video (with no extra plugins)
Add ;OGM;OGV to the Extension List in the DirectShow Decoder config (Prefs > Plugins > Input > in_dshow.dll > config).
Note: Assumes that the required Ogg DirectShow Splitters/Filters are already installed on your system.
If not, we recommend latest Gabest OggSplitter.
Extract OggSplitter.ax to a folder of your choice, eg. C:\DirectShow
To register, use: Start -> Run -> regsvr32 "c:\directshow\oggsplitter.ax"
Plus latest ffdshow.
Set "Theora" to libtheora or libavcodec in ffdshow video decoder config
and "Vorbis" to Tremor in ffdshow audio decoder config.

Note 1:
Winamp is currently a 32-bit program, so you need to install the 32-bit version of ffdshow, not the 64-bit version, regardless of whether your OS is x64 (64-bit version has "64" in the filename, 32-bit version doesn't, heh).

Note 2:
Windows Vista & 7 users will need to run the Command Prompt in admin mode for the splitter to register successfully.
Go to: Start -> Programs -> Accessories
Right-click "Command Prompt", select "Run as administrator"
Then type in: regsvr32 "c:\directshow\oggsplitter.ax"
(make sure the path is correct, if using a different one to my example).

- MKV (Matroska) Video
Winamp 5.57+ Pro users have native support for the following codecs in MKV:
Video codecs: h.264 (avc), h.263 (requires extra h263 decoder from the EP), mp4v pt.2 (simple/advanced)
Audio codecs: mp3, aac, ac3 (requires extra ac3 decoder from the EP), vorbis.
For non-Pro users (or even for Pro users with MKV files that use codecs not covered by native support):
With Winamp closed, remove in_mkv.dll (if present) from the Winamp\Plugins folder.
Reopen Winamp.
Add ;MKV to the Extension List in the DirectShow Decoder config by going to:
Preferences > Plugins > Input > Double Click "Nullsoft DirectShow Decoder..."
Also, Haali Matroska Splitter and ffdshow may need to be installed for video playback to function properly.
Set H.264, H.263, DivX, Xvid, Other MPEG4, mpeg-1 & mpeg-2 to libavcodec in ffdshow Video decoder config.
Set AC3 to liba52, Vorbis to Tremor, AAC to libfaad2, MP3 to libmad & DTS to libdts in ffdshow Audio decoder config.

Note: Haali's Matroska Splitter will conflict with Gabest's MP4 Splitter (see MP4 below) :-(
You can only have one installed, not both.
Gabest's MP4 Splitter is better for MP4 & MOV, but only Haali's Matroska Splitter also supports MKV.

No comments:

Post a Comment