Re: [Bug #2263] Audio playback problem

Tim Wright <[email protected]> Fri, 27 Aug 2004 09:59:42 +1200
Newsgroups gmane.comp.video.ogle.user
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 24 Aug 2004 12:34 am, Bj|rn Englund wrote:

>    <speakers>
>
>       <channel_config>
> 	<chtype>Mono</chtype>
>       </channel_config>
>
>    </speakers>

This worked fine! I had to copy the /usr/local/share/ogle/oglerc file to my 
home directory and change the channel_config section but it worked. Cheers :) 
Do you still want the debug information? I've attached it anyway.

I'm unsure what effect will this have on normal DVDs, but I'll try over the 
weekend and see :)

- -- 
Tim Wright
Lecturer
School of Mathematical and Computing Sciences
Victoria University of Wellington  04 463 6613
http://www.mcs.vuw.ac.nz/people/Tim-Wright
Public Key: http://www.mcs.vuw.ac.nz/~tim/key.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)

iD8DBQFBLl1OBxwvkDrH/B8RAp6/AJ99dw5mXmXDFjT5RwQEfKQt9kGkWACfdwJY
0nW7pwQrW8VcpQ8wdvcVhBI=
=Iums
-----END PGP SIGNATURE-----
debugogle.txt (text/plain, 10.2 KB)
Build: Linux 2.6.5-1.358 #1 Sat May 8 09:04:50 EDT 2004 i686 i686 Mon Aug 23 16:54:02 NZST 2004 mmx Xv oss alsa
Runtime: Linux 2.6.5-1.358 #1 Sat May 8 09:04:50 EDT 2004 i686 i686
cpuinfo:
processor : 0, vendor_id : GenuineIntel, cpu family : 6, model : 9, model name : Intel(R) Pentium(R) M processor 1500MHz, stepping : 5, cpu MHz : 598.212, cache size : 1024 KB, fdiv_bug : no, hlt_bug : no, f00f_bug : no, coma_bug : no, fpu : yes, fpu_exception : yes, cpuid level : 2, wp : yes, flags : fpu vme de pse tsc msr mce cx8 mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 tm pbe tm2 est, bogomips : 1186.20, ,

/dev/dvd -> /dev/cdrom
/dev/cdrom -> /dev/hdc
Valid DVD devices: /dev/hdc
hdparm v5.5
DMA is on for /dev/hdc

/dev/hdc:
 IO_support   =  0 (default 16-bit)
 unmaskirq    =  0 (off)
 using_dma    =  1 (on)
 keepsettings =  0 (off)
 readonly     =  1 (on)
 readahead    = 256 (on)
Note[ogle_ctrl]: ogle 0.9.2-cvs
Debug[ogle_ctrl]: Started /usr/local/lib/ogle/ogle_cli with pid 3964
Debug[ogle_ctrl]: Started /usr/local/lib/ogle/ogle_nav with pid 3965
Debug[ogle_ctrl]: Started /usr/local/lib/ogle/ogle_mpeg_ps with pid 3966
Debug[ogle_vout]: CLK_TCK: 100
Debug[ogle_ctrl]: Started /usr/local/lib/ogle/ogle_vout with pid 3967
Debug[ogle_nav]: Opening DVD at "/dev/dvd"
libdvdread: Using libdvdcss version 1.2.8 for DVD access
libdvdcss debug: opening target `/dev/dvd'
libdvdcss debug: using libc for access
libdvdcss debug: disc is scrambled
libdvdcss debug: requesting AGID
libdvdcss debug: drive authenticated, using variant 0
libdvdcss debug: authentication established
libdvdcss debug: GetASF authenticated, ASF=1
libdvdcss debug: decrypting disc key with player keys
libdvdcss debug: decrypted disc key is 19:de:ac:38:e6
libdvdcss debug: using CSS key cache dir: /home/tim/.dvdcss/KING_KING#2003080717102900/
libdvdread: Using libdvdcss version 1.2.8 for DVD access
libdvdcss debug: opening target `/dev/dvd'
libdvdcss debug: using libc for access
Debug[ogle_nav]: play_PGC: first_play_pgc
Debug[ogle_nav]: play_PGC: state.pgcN (2)
Debug[ogle_nav]: play_PG: state.pgN (1)
Debug[ogle_nav]: play_Cell: state.cellN (1)
Debug[ogle_nav]: sending audio demuxstream state disabled
Debug[ogle_nav]: id: bd, st: 80
Debug[ogle_nav]: sending video demuxstream state enabled
libdvdcss debug: disc is scrambled
libdvdcss debug: requesting AGID
libdvdcss debug: drive authenticated, using variant 0
libdvdcss debug: authentication established
libdvdcss debug: GetASF authenticated, ASF=1
libdvdcss debug: decrypting disc key with player keys
libdvdcss debug: decrypted disc key is 19:de:ac:38:e6
libdvdcss debug: using CSS key cache dir: /home/tim/.dvdcss/KING_KING#2003080717102900/

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x0000011f
libdvdcss debug: key found in cache
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x00000fba
libdvdcss debug: key found in cache
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x000010a0
libdvdcss debug: key found in cache
libdvdread: Elapsed time 0
libdvdread: Found 1 VTS's
libdvdread: Elapsed time 0
Debug[ogle_mpeg_vs]: Using MMX accelerated media functions
Debug[ogle_ctrl]: Started /usr/local/lib/ogle/ogle_mpeg_vs with pid 3968
Debug[ogle_nav]: play_Cell_post: state.cellN (1)
Debug[ogle_nav]: last cell in this PGC
Debug[ogle_nav]: play_PGC_post:
Debug[ogle_nav]: play_PGC: state.pgcN (3)
Debug[ogle_nav]: play_PG: state.pgN (1)
Debug[ogle_nav]: play_Cell: state.cellN (1)
Debug[ogle_nav]: sending audio demuxstream state enabled
Debug[ogle_nav]: id: bd, st: 80
Debug[ogle_mpeg_ps]: Backward scr discontinuity
Debug[ogle_mpeg_ps]: system_clock_reference: [0.000000 s]
Debug[ogle_mpeg_ps]: prev system_clock_reference: [6.240347 s]
Debug[ogle_mpeg_ps]: demux: changed to scr_nr: 1
Debug[ogle_mpeg_vs]: ## req cap
Debug[ogle_mpeg_vs]: got cap and stream
Debug[ogle_mpeg_vs]: y_size: 414720, uv_size: 103680, yuv_size: 622080
Debug[ogle_mpeg_vs]: get ouput buffer
Debug[ogle_mpeg_vs]: psize: 622592, nr_bufs: 5
Debug[ogle_mpeg_vs]: pcs: 672, pbs: 3739648
Debug[ogle_ctrl]: Getting 3740320 bytes sysv shm
Debug[ogle_ctrl]: got capability video_out
Debug[ogle_mpeg_vs]: horizontal_size: 720, vertical_size: 576
Debug[ogle_mpeg_vs]: padded_width: 720, padded_height: 576
Debug[ogle_mpeg_vs]: frame rate: 25
Debug[ogle_vout]: Found a running xscreensaver, version "4.14" (>= 3.34).
Debug[ogle_vout]: set_sync_point()
Note[ogle_vout]: using default config for ':0.0'
Note[ogle_vout]: Using 'X11' as source for geometry
Note[ogle_vout]: Xinerama extension not found/active
Note[ogle_vout]: Using 'XF86VidMode' as source for resolution
Note[ogle_vout]: Display w: 347, h: 260, hp: 1024, vp: 768
Note[ogle_vout]: Display sar: 266240/266496 = 0.999039
Note[ogle_vout]: Found 8 matching visuals, using visual id: 23
Note[ogle_vout]: Found Xv extension 2.2, checking for suitable adaptors
Note[ogle_vout]: Xv adaptor "ATI Radeon Video Overlay" port 69 image format 842094169
Debug[ogle_vout]: Xv createimage 720x576
Debug[ogle_vout]: XvShmCreateImage: 49
Debug[ogle_vout]: resize: 767, 576
Debug[ogle_ctrl]: Started /usr/local/lib/ogle/ogle_audio with pid 3970
Debug[ogle_vout]: resize: 767, 576
Debug[ogle_vout]: set_sync_point()
Debug[ogle_vout]: ss disable took 0.000657000 s
No accelerated IMDCT transform found
Debug[ogle_audio]: decode_a52: found sync
Debug[ogle_audio]: Searching <speakers> for:
Debug[ogle_audio]:  'Left' 'Right'
Debug[ogle_audio]: or for:
Debug[ogle_audio]:  'AC3'
Debug[ogle_audio]: <channel_config>
Debug[ogle_audio]:   <chtype>Mono</chtype>
Debug[ogle_audio]: </channel_config>
Debug[ogle_audio]: Didn't find matching channel_config, using the last one
Note[ogle_audio]: Using audio driver 'alsa'
Debug[ogle_audio]: Opening alsa pcm device: default
!Debug[ogle_audio]: Min channels: 1
Debug[ogle_audio]: Max channels: 10000
Debug[ogle_audio]: Channels: 1
Debug[ogle_audio]: Wanted buffer time 500000, got 341333
Debug[ogle_audio]: Buffer size 16384 frames
Debug[ogle_audio]: Period time: 10666 us
Debug[ogle_audio]: Period size: 512 frames
Debug[ogle_audio]: Stream parameters are 48000 Hz, S16_LE, 1 channels, sample size: 2
Debug[ogle_audio]: channels 1, encoding 1, resolution 16
Debug[ogle_audio]: byte order 1, rate 48000
Debug[ogle_audio]: fragments -1, size 4096
Debug[ogle_audio]: 1 channels decoded:  Mono
Note[ogle_audio]: delay resolution better than: 0.004999920, 240 samples, rate: 48000
Debug[ogle_audio]: 0.+049942626 s off, resyncing
Note[ogle_nav]: Jumping to Menu 2
Debug[ogle_nav]: play_PGC: state.pgcN (1)
Debug[ogle_nav]: play_PGC: state.pgcN (1)
Debug[ogle_nav]: play_PG: state.pgN (1)
Debug[ogle_nav]: play_Cell: state.cellN (1)
Debug[ogle_nav]: sending audio demuxstream state disabled
Debug[ogle_nav]: id: bd, st: 80
Debug[ogle_nav]: sending subp demuxstream 0
Debug[ogle_nav]: sending subp demuxstream state enabled
Debug[ogle_nav]: id: bd, st: 20
Debug[ogle_mpeg_ps]: Backward scr discontinuity
Debug[ogle_mpeg_ps]: system_clock_reference: [0.000000 s]
Debug[ogle_mpeg_ps]: prev system_clock_reference: [2.880000 s]
Debug[ogle_mpeg_ps]: demux: changed to scr_nr: 2
Debug[ogle_nav]: forced select button 1
Note[ogle_nav]: Still picture select an item to continue.
Debug[ogle_vout]: scr_nr: 2, OFFSET_NOT_VALID
Debug[ogle_vout]: scr_nr: 2, OFFSET_NOT_VALID
Debug[ogle_vout]: set_sync_point()
Debug[ogle_nav]: play_PGC: state.pgcN (3)
Debug[ogle_nav]: play_PGC: state.pgcN (1)
Debug[ogle_nav]: PGC pre commands didn't do a Jump, Link or Call
Debug[ogle_nav]: play_PG: state.pgN (1)
Debug[ogle_nav]: play_Cell: state.cellN (1)
Debug[ogle_nav]: sending audio demuxstream 0
Debug[ogle_nav]: oid: bd, ost: 80, nid: c0, nst: 00
Debug[ogle_nav]: sending audio demuxstream state enabled
Debug[ogle_nav]: id: c0, st: 00
Debug[ogle_nav]: sending subp demuxstream state disabled
Debug[ogle_nav]: id: bd, st: 20
Debug[ogle_mpeg_ps]: newid not private:
Debug[ogle_mpeg_ps]: oldid private
Debug[ogle_mpeg_ps]: Backward scr discontinuity
Debug[ogle_mpeg_ps]: system_clock_reference: [0.000000 s]
Debug[ogle_mpeg_ps]: prev system_clock_reference: [0.043886 s]
Debug[ogle_mpeg_ps]: demux: changed to scr_nr: 3
Debug[ogle_audio]: MPEG Audio
Debug[ogle_audio]: Closing alsa pcm device: default
Debug[ogle_audio]: flushing audio driver
Debug[ogle_audio]: flushed audio
Debug[ogle_audio]: Searching <speakers> for:
Debug[ogle_audio]:  'Mono'

Debug[ogle_audio]: <channel_config>
Debug[ogle_audio]:   <chtype>Mono</chtype>
Debug[ogle_audio]: </channel_config>
Debug[ogle_audio]: Found matching channel_config
Note[ogle_audio]: Using audio driver 'alsa'
Debug[ogle_audio]: Opening alsa pcm device: default
Debug[ogle_audio]: Min channels: 1
Debug[ogle_audio]: Max channels: 10000
Debug[ogle_audio]: Channels: 1
Debug[ogle_audio]: Wanted buffer time 500000, got 341333
Debug[ogle_audio]: Buffer size 16384 frames
Debug[ogle_audio]: Period time: 10666 us
Debug[ogle_audio]: Period size: 512 frames
Debug[ogle_audio]: Stream parameters are 48000 Hz, S16_LE, 1 channels, sample size: 2
Debug[ogle_audio]: channels 1, encoding 1, resolution 16
Debug[ogle_audio]: byte order 1, rate 48000
Debug[ogle_audio]: fragments -1, size 4096
Note[ogle_audio]: delay resolution better than: 0.004999920, 240 samples, rate: 48000
!Debug[ogle_ctrl]: child: 3964 exited with 0 (/usr/local/lib/ogle/ogle_cli)
Debug[ogle_ctrl]: pid: 3964 exited with status: 0 (/usr/local/lib/ogle/ogle_cli)
Debug[ogle_ctrl]: child: 3965 killed (/usr/local/lib/ogle/ogle_nav)
Debug[ogle_ctrl]: pid: 3965 terminated on signal: 2 (/usr/local/lib/ogle/ogle_nav)
Debug[ogle_ctrl]: child: 3966 killed (/usr/local/lib/ogle/ogle_mpeg_ps)
Debug[ogle_ctrl]: pid: 3966 terminated on signal: 2 (/usr/local/lib/ogle/ogle_mpeg_ps)
Debug[ogle_ctrl]: slaying child: 3967 /usr/local/lib/ogle/ogle_vout
Debug[ogle_ctrl]: slaying child: 3968 /usr/local/lib/ogle/ogle_mpeg_vs
Debug[ogle_ctrl]: slaying child: 3970 /usr/local/lib/ogle/ogle_audio
Debug[ogle_ctrl]: Removing shmid: 0f7b0000
Debug[ogle_ctrl]: Removing shmid: 0f7b0001
Debug[ogle_ctrl]: Removing shmid: 0f7b0002
Debug[ogle_ctrl]: Removing shmid: 0f7b0003
Debug[ogle_ctrl]: Removing shmid: 0f7b0004
Debug[ogle_ctrl]: Removing shmid: 0f7b0005
Debug[ogle_ctrl]: Removing shmid: 0f7b0006
Debug[ogle_ctrl]: Removing sysv shmid: 819215
ERROR[ogle_ctrl]: ogle_sysv_shmrm: Invalid argument
Note[ogle_ctrl]: exiting