[ogg-dev] how to set default audio track?

Alexey Fisher bug-track at fisher-privat.net
Fri Nov 26 02:28:42 PST 2010


Hallo oggs,

i googled it but still can't find any answer: how can i set default
audio track?

I transcode my dvds to ogg, i use gst-launch for it:
gst-launch filesrc location=stream.dump ! mpegpsdemux name=demux \
oggmux name=mux ! filesink location=out.ogg \
demux.audio_80 ! a52dec mode=2 ! audioconvert ! audioresample !
audio/x-raw-float,rate=44100,channels=2 ! audiorate ! \
taginject tags="language-code=eng" ! vorbisenc ! queue ! mux. \
demux.audio_81 ! a52dec mode=2 ! audioconvert ! audioresample !
audio/x-raw-float,rate=44100,channels=2 ! audiorate ! \
taginject tags="language-code=ger" ! vorbisenc ! queue ! mux. \
demux.video_e0 ! mpeg2dec ! videocrop top=76 bottom=74 !
ffmpegcolorspace ! videorate ! theoraenc quality=55 ! queue ! mux.

on each vorbis track i set tag LANGUAGE= , it works fine. But i wont to
set default track or language. Are there any way to do it? at least with
oggz tools?
-- 
Regards,
        Alexey



More information about the ogg-dev mailing list