[MPlayer-users] OGM dual audio mplayer

Federico 'Pain' Pistono pain at email.it
Sat Sep 11 15:59:33 CEST 2004


I used to play ogm file in dual audio with

mplayer -alang en file.ogm

or 

mplayer -alang jpn -slang en file.ogm

and it worked fine, but I have a file with inside it 2 audio streams and a text, but it doesn't tell me anything beside japanese

[file] File size is 733656492 bytes
STREAM: [file] spirited.away.[axp.dvdrip.part1of2].[dual.audio].[acdbc8ba].ogm
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x8671e68  
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x8671e68  
Checking for Nullsoft Streaming Video
DEMUXER: freeing demuxer at 0x8671e68  
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x8671e68  
Checking for REAL
DEMUXER: freeing demuxer at 0x8671e68  
Checking for SMJPEG
DEMUXER: freeing demuxer at 0x8671e68  
DEMUXER: freeing demuxer at 0x8672738  
DEMUXER: freeing demuxer at 0x8672738  
Searching demuxer type for filename spirited.away.[axp.dvdrip.part1of2].[dual.audio].[acdbc8ba].ogm ext: .ogm
Trying demuxer 18 based on filename extension
==> Found video stream: 0
Ogg stream 0 is video (new hdr)
======= VIDEO Format ======
  biSize 40
  biWidth 640
  biHeight 360
  biPlanes 1
  biBitCount 12
  biCompression 1145656920='XVID'
  biSizeImage 230400
===========================
==> Found audio stream: 1
Ogg : stream 1 is vorbis
==> Found audio stream: 2
Ogg : stream 2 is vorbis
Ogg stream 3 is text
Ogg stream length (granulepos): 102504
Ogg demuxer : found 2 audio streams, 1 video stream and 1 text stream
Ogg file format detected.
[V] filefmt:18  fourcc:0x44495658  size:640x360  fps:23,98  ftime:=0,0417
get_path('sub/') -> '/home/pain/.mplayer/sub/'
get_path('default.sub') -> '/home/pain/.mplayer/default.sub'
==========================================================================
Opening audio decoder: [libvorbis] Ogg/Vorbis audio decoder
dec_audio: Allocating 4096 + 65536 = 69632 bytes for output buffer.
 Name: Spirited away (Part 1 of 2) - High quality version
 Software: Made with BeSweet v1.5b23
 Encoder URL: http://DSPguru.doom9.org
 Language: Japanese[jpn]
OggVorbisComment: ENCODED_USING=Made with BeSweet v1.5b23
OggVorbisComment: ENCODER_URL=http://DSPguru.doom9.org
OggVorbisComment: LANGUAGE=Japanese[jpn]
OggVorbis: Bitstream is 2 channels, 48000Hz, 112001bit/s VBR
OggVorbis: Encoded by: Xiph.Org libVorbis I 20020717
OggVorbis: Init OK!
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 14000->192000 (112,0 kbit)
Selected audio codec: [vorbis] afm:libvorbis (OggVorbis Audio Decoder)
==========================================================================
X11 opening display: :0.0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
[x11] Current fstype setting honours ABOVE BELOW X atoms
Disabling DPMS
DPMSDisable stat: 1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
[libaf] Adding filter dummy 
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps = 2
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int 
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
ao2: 48000 Hz  2 chans  Signed 16-bit (Little-Endian)
audio_setup: using '/dev/dsp' dsp device
audio_setup: using '/dev/mixer' mixer device
audio_setup: using 'pcm' mixer device
audio_setup: sample format: Signed 16-bit (Little-Endian) (requested: Signed 16-bit (Little-Endian))
audio_setup: using 2 channels (requested: 2)
audio_setup: using 48000 Hz samplerate (requested: 48000)
audio_setup: frags: 128/128  (1024 bytes/frag)  free: 131072
AO: [oss] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps = 2
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps = 2
Starting playback...
[ffmpeg] aspect_ratio: 1,777778
VDec: vo config request - 640 x 360 (preferred csp: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1,78:1 - prescaling to correct movie aspect.
VO Config (640x360->640x360,flags=4,'MPlayer',0x32315659)
VO: [xv] 640x360 => 640x360 Planar YV12  [zoom]
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de> and others
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x59565955 (UYVY) packed
Xvideo image format: 0x30323449 (I420) planar
using Xvideo port 105 for hw scaling
[xv] dx: 0 dy: 0 dw: 640 dh: 360
*** [vo] Allocating (slices) mp_image_t, 640x368x12bpp YUV planar, 353280 bytes
[xv] dx: 0 dy: 0 dw: 640 dh: 361
*** [vo] Allocating (slices) mp_image_t, 640x368x12bpp YUV planar, 353280 bytes
Uninit audio filters... 0,124 ct:  0,017   73/ 73  21%  6%  6,1% 0 0 0%%
[libaf] Removing filter dummy 
uninit audio: libvorbis
uninit video: ffmpeg
DEMUXER: freeing demuxer at 0x8672738  
DEMUXER: freeing sh_video at 0x867c2c0  
DEMUXER: freeing sh_audio at 0x86750e0  
DEMUXER: freeing sh_audio at 0x8675188  
Successfully enabled DPMS
vo: uninit ...

Exiting... (Quit)



If i give 

mplayer -alang en file.ogm

 Playing spirited.away.[axp.dvdrip.part1of2].[dual.audio].[acdbc8ba].ogm.
Ogg file format detected.
==========================================================================
Opening audio decoder: [libvorbis] Ogg/Vorbis audio decoder
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 14000->192000 (112,0 kbit)
Selected audio codec: [vorbis] afm:libvorbis (OggVorbis Audio Decoder)
==========================================================================
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
Disabling DPMS
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int 
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
AO: [oss] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
Starting playback...
VDec: vo config request - 640 x 360 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1,78:1 - prescaling to correct movie aspect.
VO: [xv] 640x360 => 640x360 Planar YV12  [zoom]
Successfully enabled DPMS,312 ct:  0,029   94/ 94   6%  6%  3,7% 0 0 0%0%

Exiting... (Quit)


but it's in japanese.

Neither the -slang en works!


-- 
Federico 'Pain' Pistono - scream for me...
pain.altervista.org

 
 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 Hai una fotocamera digitale e vuoi stampare le tue immagini
* su vera carta fotografica professionale?
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=1533&d=11-9




More information about the MPlayer-users mailing list