winterbird at anime-avatar.net
Sat Apr 9 14:04:10 CEST 2005
Oded Shimon wrote:
>On Sat, Apr 09, 2005 at 10:04:39AM +0200, Winterbird wrote:
>>Korenko Taras wrote:
>>>Good morning/day/evening, List.
>>>Don't hit me please :) , but I have a silly question: How can I
>>>save two autiostreams (aid=(128 and 129) ) during decoding from
>>>*.vob to *.avi?
>>>Please point me to appropriate part of MEncoder's documentation.
>>the avi container doesn't support dual audistreams, it's better to put
>>it in a motroska container.
>>just encode the audio and video separatly, with the -nosound option when
>>you encode the video and the -novideo option when you encode the audio
>>streams, then use the mmg program from mkvtoolnix (www.matroska.org) to
>>merge the video and audio to one mkv file.
>There is no -novideo for MEncoder, MEncoder must have a video stream
>to run. I'm not sure how 'mmg' works, but if it can accept input from
>avi's, you can use:
>mencoder -o video.avi -nosound file.vob <encoding options>
>mencoder -o audio1.avi -ovc frameno -mc 0 -noskip file.vob -aid 128 -oac copy
>mencoder -o audio2.avi -ovc frameno -mc 0 -noskip file.vob -aid 129 -oac copy
>and then merge as necessary.
there is a entry in the manfile that says there is a novideo option, but
I admit that I havn't tested it...
mmg is the gui to mkvmerge, that merges mkv files, while mkvmerge is
somewhat hard to understand mmg is very simple, you'll understand when
you try it. mmg supports avi, real and ogm video, mp3, aac, ac3, pcm,
ogg, wav, dts, real and flac audio and vobsub, ssa and srt subtitles.
Well at least it was last time I checked, now they might have added more
also, about avi files; It's possible to insert more than one audiotrack,
but it's not recomended since the avi container not officially supports
it. That means that most players (like mplayer) can't handle it.
I think matroska is a great container, considering it creates small
files, supports multiple video/audio/subtitle streams as well as
attatchments and other fun stuff. And most of all it is open source. I
acctually have been meaning to ask if there is any possibility that
mencoder in the future will support encoding directly to mkv?
More information about the MEncoder-users