[MEncoder-users] Two questions. Extract audio stream and make mpeg2 from jpeg

Gennady Ovcharov auchahen at vpi-minsk.com
Mon Feb 19 15:03:46 CET 2007


Hi All

Question #1
------------------------------------------------------------
I have dvd with -identify

# mplayer dvd://1 -dvd-device [path] -identify

MPlayer 1.0rc1-3.4.2 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 2.66GHz (Family: 15, Model: 4, Stepping: 1)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled with runtime CPU detection.

Playing dvd://1.
ID_DVD_TITLES=2
ID_DVD_TITLE_1_CHAPTERS=28
ID_DVD_TITLE_1_ANGLES=1
ID_DVD_TITLE_2_CHAPTERS=2
ID_DVD_TITLE_2_ANGLES=1
ID_DVD_TITLE_1_LENGTH=9644.000
ID_DVD_TITLE_2_LENGTH=5.000
ID_DVD_DISC_ID=6AFBAB1837D939997B606D93DDC97CEA
There are 2 titles on this DVD.
ID_DVD_CURRENT_TITLE=1
There are 28 chapters in this DVD title.
There are 1 angles in this DVD title.
audio stream: 0 format: ac3 (5.1) language: en aid: 128.
ID_AUDIO_ID=128
ID_AID_128_LANG=en
audio stream: 1 format: ac3 (5.1) language: fr aid: 129.
ID_AUDIO_ID=129
ID_AID_129_LANG=fr
audio stream: 2 format: ac3 (stereo) language: ru aid: 130.
ID_AUDIO_ID=130
ID_AID_130_LANG=ru
number of audio channels on disk: 3.
...

Can I extract only one audio stream (-sid 128) and convert his into 
mp3lame  "on fly", using only mplayer/mencoder?

Question #2
------------------------------------------------------------
Can I encoding mpeg2 video stream with duration 300 seconds from ONE 
jpeg file, using only mplayer/mencoder?

Thanks,
Gennady Ovcharov





More information about the MEncoder-users mailing list