PDA

View Full Version : What container would be suitable for this?


mp3chan
6th January 2005, 19:41
I'm going to convert ogg/ogm anime containing DIVX video track, ogg audio track, and SRT subtitle track into MPEG2 video without changing Audio and Subtitle track. The reason I'm converting to MPEG-2 is because I'm going to give this anime to my sister which has very slow AMD 300 MHz computer. MPEG2 is the best it can play without choppyness.

What container would handle this combination (MPEG2, ogg, srt) the best? And what is the simplest method to do this conversion?

bond
6th January 2005, 20:12
hm i dont think .ogm can store mpeg-2 video!? .mp4 could handle this but its not really practical (as ogg vorbis audio is used)

so i think your best bet is using matroska :)
try the mkvmerge tool

mp3chan
7th January 2005, 05:48
No luck :( Matroska doesn't support MPEG1/2 video stream yet... I think I have to transcode the audio to MP2 and just use MPG container + separate .SRT file. Thanx for your suggestion ;)

Koepi
7th January 2005, 08:16
Well, if you don't care to much about the video quality (transcoding back to mpeg2 will sure look ...not too good), why not use a "simple profile" mpeg4 encode? i.e. without gmc, qpel, bframes xvid also produces a quite good image, but it can be decoded with much less cpu power (qpel and bframes need really much CPU power).

So you'd basically recode the video and remux to that ogm again.

Maybe it's just simpler to do a "full" reencode to mpeg2 with hardcoded subs though.

Cheers
Koepi

Atamido
7th January 2005, 08:51
Originally posted by mp3chan
No luck :( Matroska doesn't support MPEG1/2 video stream yet... You need one of the pre-release builds of mkvmerge, but it does work. Actually, I have an MPEG-2 + Vorbis music video in Matroska that is over a year old. It's just that the MPEG-2 code is just now getting to the point where it can be integrated into MKVMerge.

iapir
7th January 2005, 10:13
You need a trunk build of mkvmerge (http://haali.cs.msu.ru/mkv/) and Haali's splitter (http://haali.cs.msu.ru/mkv/). Playback of MPEG2 in Matroska also seems to work in VLC.

Mosu
7th January 2005, 13:37
Yes, trunk builds of mkvtoolnix support MPEG ES and MPEG PS (not VOBs, at least not fully). The way it stores MPEG-1 and -2 video in Matroska is considered to be final.

Edit: The trunk build link from iapir is wrong. The correct one is http://www.bunkus.org/videotools/mkvtoolnix/win32/pre/HEAD/

iapir
7th January 2005, 13:40
Oops, I copied the wrong link :scared:

mp3chan
7th January 2005, 18:46
Originally posted by Mosu
Yes, trunk builds of mkvtoolnix support MPEG ES and MPEG PS (not VOBs, at least not fully). The way it stores MPEG-1 and -2 video in Matroska is considered to be final.

Edit: The trunk build link from iapir is wrong. The correct one is http://www.bunkus.org/videotools/mkvtoolnix/win32/pre/HEAD/

Wow! This one works perfectly. Thank you very much for all the informations, Mosu, and also iapir :)

For Koepi's suggestion, I'll experiment from now on. Let's see if 300 MHz can play 640x480 MPEG-4

Latexxx
8th January 2005, 13:54
If you need a fast player I recommend mplayer which is faster than its direct show counterparts. Its windows version: ftp://ftp.mplayerhq.hu/MPlayer/releases/win32-beta/

Koepi
8th January 2005, 14:02
Yes, and be careful with the 2nd pass settings. I had serious playback problems with q1 frames on a pII 300. All frames >=q2 worked perfectly.

Cheers
Koepi

mp3chan
8th January 2005, 22:29
Wow! Thanx Koepi. MPEG-4 "simple profile" really does work perfectly on my old laptop PII 366 utilizes 55% - 85% of CPU with sound enable. I disabled qpel, b-frames, GMC and set quantization >= 2 . I wonder if trellis quantization has something to do with decoding process.

edit: I use VLC 0.8.1 to play the media.