[MPlayer-users] What's the status of ogg theora/vorbis output in mencoder?

Miro Kropacek miro.kropacek at gmail.com
Tue Feb 3 11:45:43 CET 2009


Hi guys,

I decided to join your ML because I can't find any reliable information
about $SUBJ on the net. Someone says it's absolutely horrible, someone else
it's OK but in fact I have no clue how to test it. I need to split one
(generic -- mpeg, xvid, ...) video into two videos in ogg theora/vorbis
format (because this is the one which we support in our applications).

This is what I do for AVI container (with some non-theora / non-vorbis codec
inside):

mencoder.exe -ovc copy -oac copy -ss 0 -endpos 30 -o part1.avi movie.avi

and works great but for OGG theora/vorbis:

mencoder.exe -ovc copy -oac copy -ss 0 -endpos 30 -o part1.avi
Madagascar.ogv
MEncoder Sherpya-SVN-r28311-4.2.5 (C) 2000-2009 MPlayer Team
CPU: Intel(R) Core(TM)2 Duo CPU     E8200  @ 2.66GHz (Family: 6, Model: 23,
Step
ping: 6)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

success: format: 0  data: 0x0 - 0x2ad49b6
Ogg stream 0 is of an unknown type
[Ogg] stream 1: video (Theora v3.2.1), -vid 0
[Ogg] stream 2: audio (Vorbis), -aid 0
Ogg file format detected.
VIDEO:  [theo]  1280x720  24bpp  24.000 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:18  fourcc:0x6F656874  size:1280x720  fps:24.000  ftime:=0.0417
videocodec: framecopy (1280x720 24bpp fourcc=6f656874)
Audio format 0x73627276 is incompatible with '-oac copy', please try '-oac
pcm'
instead or use '-fafmttag' to override it.

Exiting...

So you see -- I'm forced to use AVI container (which is quite OK, not a big
deal) but Vorbis is unable to copy. Any idea why? When I tried -fafmttag 55,
it gives me a lot of skipping frame messages but in fact, the sound doesn't
work either.

When I use -oac mp3lame for example (and the rest remains), sound is OK but
the video is still missing (even when I see it's bundled into AVI
container).

So I'd like to ask if I'm out of luck and have to convert whole movie to ogg
theora/vorbis first and then to do manual splitter (based on ogg sources) or
there's some other way to do it?

Best regards,
Miro Kropacek



More information about the MPlayer-users mailing list