Audio Problem [SNDCTL_DSP_GETCHANNELMASK: Invalid argument]
Rodrigo Oliveira <[email protected]>
| Newsgroups | gmane.comp.video.ogle.user |
|---|---|
| Message-ID | <[email protected]> |
Hi people! Ogle is a great software and I've used it with no problems in a desktop computer of mine. Recently, I installed linux in my notebook, Toshiba 2805-S301, but I'm having audio problems with it. The audio device is working with alsa (slackware 9.1) properly with xmms and other softwares. It is reported by lspci as 00:0c.0 Multimedia audio controller: Yamaha Corporation YMF-754 [DS-1E Audio Controller]. Running ogle 0.9.1, the messages are: #ogle libdvdread: Using libdvdcss version 1.2.5 for DVD access libdvdread: Using libdvdcss version 1.2.5 for DVD access 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 0x00000124 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x00000195 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00000b46 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x00210843 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x0021087c libdvdread: Elapsed time 0 libdvdread: Found 2 VTS's libdvdread: Elapsed time 0 xscreensaver-command not found. No accelerated IMDCT transform found SNDCTL_DSP_GETCHANNELMASK: Invalid argument @@+++++++++++display: frame rate: 0.000 fps +++++display: frame rate: 23.808 fps display: frame rate: 23.982 fps and I get no audio. I think that [SNDCTL_DSP_GETCHANNELMASK: Invalid argument] is the key clue. running ogle --bebug, I get: Build: Linux 2.4.20 #1 Mon Jan 20 13:47:56 GMT-3 2003 i686 unknown Thu Mar 13 00:13:43 GMT-3 2003 mmx Xv oss Runtime: Linux 2.4.22 #1 Wed Feb 18 21:26:28 BRT 2004 i686 unknown cpuinfo: processor : 0, vendor_id : GenuineIntel, cpu family : 6, model : 8, model name : Pentium III (Coppermine), stepping : 3, cpu MHz : 646.836, cache size : 256 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 pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr sse, bogomips : 1291.05, , /dev/dvd -> /dev/hdc Valid DVD devices: /dev/hdc hdparm v5.3 DMA is on for /dev/hdc /dev/hdc: IO_support = 3 (32-bit w/sync) unmaskirq = 0 (off) using_dma = 1 (on) keepsettings = 0 (off) readonly = 1 (on) readahead = 8 (on) Note[ogle_ctrl]: ogle 0.9.1 Debug[ogle_ctrl]: Started /usr/lib/ogle/ogle_cli with pid 4880 Debug[ogle_ctrl]: Started /usr/lib/ogle/ogle_nav with pid 4881 Debug[ogle_ctrl]: Started /usr/lib/ogle/ogle_mpeg_ps with pid 4882 Debug[ogle_ctrl]: Started /usr/lib/ogle/ogle_vout with pid 4883 Debug[ogle_vout]: CLK_TCK: 100 Debug[ogle_nav]: Opening DVD at "/dev/dvd" libdvdread: Using libdvdcss version 1.2.5 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 70:d1:b5:23:c0 Debug[ogle_nav]: play_PGC: first_play_pgc Debug[ogle_nav]: play_PGC: state.pgcN (1) Debug[ogle_nav]: play_PGC: state.pgcN (5) Debug[ogle_nav]: play_PGC: state.pgcN (38) Debug[ogle_nav]: play_PGC: state.pgcN (7) 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 subp demuxstream 0 libdvdread: Using libdvdcss version 1.2.5 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 70:d1:b5:23:c0 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 0x00000124 libdvdcss debug: getting title key the classic way libdvdcss debug: requesting AGID libdvdcss debug: drive authenticated, using variant 0 libdvdcss debug: authentication established libdvdcss debug: GetASF authenticated, ASF=1 libdvdcss debug: title key is 00:00:00:00:00 libdvdcss debug: unencrypted title libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x00000195 libdvdcss debug: getting title key the classic way libdvdcss debug: requesting AGID libdvdcss debug: drive authenticated, using variant 0 libdvdcss debug: authentication established libdvdcss debug: GetASF authenticated, ASF=1 libdvdcss debug: title key is c0:01:15:a3:34 libdvdread: Elapsed time 1 libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00000b46 libdvdcss debug: getting title key the classic way libdvdcss debug: requesting AGID libdvdcss debug: drive authenticated, using variant 0 libdvdcss debug: authentication established libdvdcss debug: GetASF authenticated, ASF=1 libdvdcss debug: title key is c0:01:15:a3:34 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x00210843 libdvdcss debug: getting title key the classic way libdvdcss debug: requesting AGID libdvdcss debug: drive authenticated, using variant 0 libdvdcss debug: authentication established libdvdcss debug: GetASF authenticated, ASF=1 libdvdcss debug: title key is c0:01:15:6d:4e libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x0021087c libdvdcss debug: getting title key the classic way libdvdcss debug: requesting AGID libdvdcss debug: drive authenticated, using variant 0 libdvdcss debug: authentication established libdvdcss debug: GetASF authenticated, ASF=1 libdvdcss debug: title key is c0:01:15:6d:4e libdvdread: Elapsed time 0 libdvdread: Found 2 VTS's libdvdread: Elapsed time 1 Debug[ogle_ctrl]: _new stream bf, 0 Note[ogle_nav]: Still picture select an item to continue. Debug[ogle_ctrl]: _new stream e0, 0 Debug[ogle_ctrl]: Started /usr/lib/ogle/ogle_mpeg_vs with pid 4884 Debug[ogle_mpeg_vs]: Using MMX accelerated media functions Debug[ogle_mpeg_vs]: ## req cap Debug[ogle_mpeg_vs]: got cap and stream Debug[ogle_mpeg_vs]: get ouput buffer Debug[ogle_ctrl]: got capability video_out Debug[ogle_mpeg_vs]: horizontal_size: 720, vertical_size: 480 Debug[ogle_mpeg_vs]: padded_width: 720, padded_height: 480 Debug[ogle_mpeg_vs]: frame rate: 30000/1001 (29.97) xscreensaver-command not found. Debug[ogle_ctrl]: _new stream bd, 20 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 4 matching visuals, using visual id: 23 Note[ogle_vout]: Found Xv extension 2.2, checking for suitable adaptors Note[ogle_vout]: Xv adaptor "Savage Streams Engine" port 61 image format 842094169 Debug[ogle_vout]: resize: 852, 480 Debug[ogle_vout]: resize: 852, 480 Debug[ogle_nav]: play_PGC_post: Debug[ogle_nav]: play_PGC: state.pgcN (39) Debug[ogle_nav]: play_PGC: state.pgcN (8) 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_mpeg_ps]: Backward scr discontinuity Debug[ogle_mpeg_ps]: system_clock_reference: [0.000000 s] Debug[ogle_mpeg_ps]: prev system_clock_reference: [0.091022 s] Debug[ogle_mpeg_ps]: demux: changed to scr_nr: 1 Note[ogle_nav]: Pause for 10 seconds, Debug[ogle_vout]: set_sync_point() 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 (2) 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 subp demuxstream 31 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.156038 s] Debug[ogle_mpeg_ps]: demux: changed to scr_nr: 2 Debug[ogle_mpeg_vs]: time offset not valid yet Debug[ogle_ctrl]: _new stream bd, 80 Debug[ogle_ctrl]: Started /usr/lib/ogle/ogle_audio with pid 4886 Debug[ogle_vout]: set_sync_point() No accelerated IMDCT transform found Debug[ogle_audio]: decode_a52: found sync Debug[ogle_audio]: Searching <speakers> for: Debug[ogle_audio]: 'Left' 'Right' 'Center' 'LeftSurround' 'RightSurround' 'LFE' Debug[ogle_audio]: or for: Debug[ogle_audio]: 'AC3' Debug[ogle_audio]: No channel configs found Note[ogle_audio]: Using audio driver 'oss' SNDCTL_DSP_GETCHANNELMASK: Invalid argument Note[ogle_audio]: wanted 0 channels, got 2 Debug[ogle_audio]: channels 2, encoding 1, resolution 16 Debug[ogle_audio]: byte order 1, rate 48000 Debug[ogle_audio]: fragments 16, size 4096 Debug[ogle_audio]: 2 channels decoded: Left Right Note[ogle_audio]: delay resolution: 0.010666496, 512 samples, rate: 48000 +Note[ogle_audio]: delay resolution: 0.005333248, 256 samples, rate: 48000 display: frame rate: 0.000 fps display: frame rate: 23.981 fps display: frame rate: 23.981 fps @display: frame rate: 23.981 fps display: frame rate: 23.981 fps Debug[ogle_ctrl]: child: 4883 killed (/usr/lib/ogle/ogle_vout) Debug[ogle_ctrl]: pid: 4883 terminated on signal: 13 (/usr/lib/ogle/ogle_vout) Debug[ogle_ctrl]: child: 4880 killed (/usr/lib/ogle/ogle_cli) Debug[ogle_ctrl]: pid: 4880 terminated on signal: 2 (/usr/lib/ogle/ogle_cli) Debug[ogle_ctrl]: child: 4881 killed (/usr/lib/ogle/ogle_nav) Debug[ogle_ctrl]: pid: 4881 terminated on signal: 2 (/usr/lib/ogle/ogle_nav) Debug[ogle_ctrl]: child: 4882 killed (/usr/lib/ogle/ogle_mpeg_ps) Debug[ogle_ctrl]: pid: 4882 terminated on signal: 2 (/usr/lib/ogle/ogle_mpeg_ps) Debug[ogle_ctrl]: child: 4884 exited with 0 (/usr/lib/ogle/ogle_mpeg_vs) Debug[ogle_ctrl]: pid: 4884 exited with status: 0 (/usr/lib/ogle/ogle_mpeg_vs) Debug[ogle_ctrl]: child: 4886 killed (/usr/lib/ogle/ogle_audio) Debug[ogle_ctrl]: pid: 4886 terminated on signal: 2 (/usr/lib/ogle/ogle_audio) Debug[ogle_ctrl]: removing shmid: 11894793 Debug[ogle_ctrl]: removing shmid: 11927562 Debug[ogle_ctrl]: removing shmid: 11960331 Debug[ogle_ctrl]: removing shmid: 11993100 Debug[ogle_ctrl]: removing shmid: 12025869 Debug[ogle_ctrl]: removing shmid: 12058638 Debug[ogle_ctrl]: removing shmid: 12091407 Debug[ogle_ctrl]: removing shmid: 12124176 Note[ogle_ctrl]: exiting The video is [OK]... But I've no Audio... Can anybody help me, please?? Thanks, [Rodrigo] ______________________________________________________________________ Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora: http://br.yahoo.com/info/mail.html