[vlc-devel] CD-DA plugins working?

R. Bernstein rocky at panix.com
Sat Apr 9 05:02:05 CEST 2005


Has anyone tried either of the CD-DA plugins recently? On my machine
they are both non-functional and it would be helpful to understand if
it's just my machine or more pervasive. 

With the libcdio plugin what happens is that the cut starts out okay
but gets progressively higher in pitch and faster.  The progress bar
moves too fast and is jumpy. Here is some of the weird stuff from the
message logs:

alsa debug: opening ALSA device `default'
main debug: thread 4053552048 (aout) created at priority 0 (alsa.c:615)
main debug: using audio output module "alsa"
main debug: output 'fl32' 44100 Hz Stereo frame=1 samples/8 bytes
main debug: mixer 'fl32' 44100 Hz Stereo frame=1 samples/8 bytes
main debug: no need for any filter
main debug: looking for audio mixer module: 3 candidates
main debug: using audio mixer module "trivial_mixer"
main debug: input 's16l' 44100 Hz Stereo frame=1 samples/4 bytes
main debug: filter(s) 's16l'->'fl32' 44100 Hz->44100 Hz Stereo->Stereo
main debug: looking for audio filter module: 22 candidates
main debug: using audio filter module "s16tofloat32"
main debug: found a filter for the whole conversion
main debug: filter(s) 'fl32'->'fl32' 48510 Hz->44100 Hz Stereo->Stereo
                                     ^^^^^^^^^^^^^^
>>>The 44100 Hz->44100 Hz seems right above. Where did 48510 Hz come from?

main debug: looking for audio filter module: 22 candidates
main debug: using audio filter module "bandlimited_resampler"
main debug: found a filter for the whole conversion
cddax debug: CDDAReadBlocks: called 80
cddax debug: CDDAReadBlocks: called 100
cddax debug: CDDAReadBlocks: called 120
cddax debug: CDDAReadBlocks: called 140
cddax debug: CDDAReadBlocks: called 160
cddax debug: CDDAReadBlocks: called 180
main warning: buffer is 40833 late, triggering upsampling
cddax debug: CDDAReadBlocks: called 200
cddax debug: CDDAReadBlocks: called 220
cddax debug: CDDAReadBlocks: called 240
cddax debug: CDDAReadBlocks: called 260
main warning: timing screwed, stopping resampling
cddax debug: CDDAReadBlocks: called 280
main warning: buffer is 71933 late, triggering upsampling
cddax debug: CDDAReadBlocks: called 300
cddax debug: CDDAReadBlocks: called 320
cddax debug: CDDAReadBlocks: called 340
cddax debug: CDDAReadBlocks: called 360
main warning: timing screwed, stopping resampling
main warning: buffer is 111088 late, triggering upsampling
cddax debug: CDDAReadBlocks: called 380
main warning: audio drift is too big (125139), dropping buffer
cddax debug: CDDAReadBlocks: called 400
cddax debug: CDDAReadBlocks: called 420
cddax debug: CDDAReadBlocks: called 440
cddax debug: CDDAReadBlocks: called 460
main warning: audio drift is too big (126665), dropping buffer
cddax debug: CDDAReadBlocks: called 480
main warning: audio drift is too big (121123), dropping buffer
cddax debug: CDDAReadBlocks: called 500
cddax debug: CDDAReadBlocks: called 520
cddax debug: CDDAReadBlocks: called 540
main warning: audio drift is too big (134936), dropping buffer

Should say this is with some patches I made. In particular I set
ACCESS_CAN_CONTROL_PACE, and ACCESS_CAN_FASTSEEK off. I don't see any
documentation on what these do. Can anyone elaborate? Also I had to 
fiddle with set p_access->info.i_size because I was getting this:

  main debug: b_seek=1 th*avg=23542 skip=833442788
  cddax debug: CDDASeek: lsn 354374, offset: 833489872

lsn 354374 was in fact past the end of the CD and I did some adjusting
there. With the non-libcdio plugin I get no sound out all and the same
jumpy progress bar. Here is the output there with some annotation.


main debug: CPU has capabilities 486 586 MMX 3DNow! MMXEXT SSE FPU 
main debug: looking for memcpy module: 4 candidates
main debug: using memcpy module "memcpymmxext"
main debug: waiting for thread completion
main debug: thread 4134005680 (playlist) created at priority 0 (src/playlist/playlist.c:149)
main debug: waiting for thread completion
main debug: thread 4123515824 (preparser) created at priority 0 (src/playlist/playlist.c:171)
main debug: looking for interface module: 1 candidate
main debug: using interface module "hotkeys"
main debug: interface initialized
main debug: thread 4113005488 (interface) created at priority 0 (src/interface/interface.c:211)
main: adding playlist item `cdda:///dev/cdrom' ( cdda:///dev/cdrom )
main debug: looking for interface module: 3 candidates
wxwindows debug: Using last windows config '(-1,0,0,1280,1024)(0,462,40,371,83)(1,494,229,500,300)(2,362,282,410,560)(3,8,109,360,360)'
wxwindows debug: id=0 p=(462,40) s=(371,83)
wxwindows debug: id=1 p=(494,229) s=(500,300)
wxwindows debug: id=2 p=(362,282) s=(410,560)
wxwindows debug: id=3 p=(8,109) s=(360,360)
main debug: using interface module "wxwindows"
main debug: interface initialized
main debug: thread 4088597424 (manager) created at priority 0 (src/interface/interface.c:196)
main debug: creating new input thread
main debug: waiting for thread completion
main debug: thread 4076989360 (input) created at priority 0 (src/input/input.c:226)
main debug: `cdda:///dev/cdrom' gives access `cdda' demux `' path `/dev/cdrom'
main debug: creating demux: access='cdda' demux='' path='/dev/cdrom'
main debug: looking for access_demux module: 0 candidates
main warning: no access_demux module matched "cdda"
main debug: creating access 'cdda' path='/dev/cdrom'
main debug: looking for access2 module: 6 candidates
cdda debug: title[0] start=0
cdda debug: title[0] end=7432
cdda debug: title[1] start=7432
cdda debug: title[1] end=28070
cdda debug: title[2] start=28070
cdda debug: title[2] end=48792
cdda debug: title[3] start=48792
cdda debug: title[3] end=90895
cdda debug: title[4] start=90895
cdda debug: title[4] end=101195
cdda debug: title[5] start=101195
cdda debug: title[5] end=122367
cdda debug: title[6] start=122367
cdda debug: title[6] end=133297
cdda debug: title[7] start=133297
cdda debug: title[7] end=172867
cdda debug: title[8] start=172867
cdda debug: title[8] end=184845
cdda debug: title[9] start=184845
cdda debug: title[9] end=204252
cdda debug: title[10] start=204252
cdda debug: title[10] end=231572
cdda debug: title[11] start=231572
cdda debug: title[11] end=248387
cdda debug: title[12] start=248387
cdda debug: title[12] end=262072
cdda debug: title[13] start=262072
cdda debug: title[13] end=284540
cdda debug: title[14] start=284540
cdda debug: title[14] end=304587
cdda debug: title[15] start=304587
cdda debug: title[15] end=354375
main debug: using access2 module "cdda"
main debug: pre buffering
main debug: received first data for our buffer
main debug: prebuffering done 47084 bytes in 0s - 249 kbytes/s
main debug: creating demux: access='cdda' demux='' path='/dev/cdrom'
main debug: looking for demux2 module: 35 candidates
main debug: looking for id3 module: 2 candidates
id3tag debug: checking for ID3 tag
main debug: b_seek=1 th*avg=31374 skip=17385812
main debug: using id3 module "id3tag"
main debug: unlocking module "id3tag"
main debug: looking for id3 module: 2 candidates
id3tag debug: checking for ID3 tag
main debug: b_seek=1 th*avg=28703 skip=17432896
main debug: using id3 module "id3tag"
main debug: unlocking module "id3tag"
ty warning: this does not look like a TY file, continuing anyway...
                                      ^^
>>>what's this? It seems to give lots of errors below.

ty debug: valid TY stream detected
main debug: selecting program id=0
main debug: using demux2 module "ty"

main debug: looking for decoder module: 18 candidates
main debug: using decoder module "libmpeg2"
main debug: thread 4064246704 (decoder) created at priority 0 (src/input/decoder.c:159)
cdda warning: unimplemented query in control
main debug: `cdda:///dev/cdrom' sucessfully opened
ty debug: parsing ty chunk #0
ty debug: chunk has 131068 stuff bytes at end
ty debug: Invalid record type 0x9a
ty debug: parsing ty chunk #1
main debug: b_seek=1 th*avg=27558 skip=84032
ty debug: chunk has 131068 stuff bytes at end
ty debug: Invalid record type 0x9a
ty debug: parsing ty chunk #2
main debug: b_seek=1 th*avg=29993 skip=84032
ty debug: Invalid record type 0xfe
ty debug: Invalid record type 0xfb
ty debug: Invalid record type 0xfb
ty debug: Invalid record type 0xfa
ty debug: Invalid record type 0xfb
ty debug: Invalid record type 0x08
ty debug: Invalid record type 0xfe
ty debug: Invalid record type 0x00
ty debug: Invalid record type 0x09
ty debug: Invalid record type 0xff
ty debug: Invalid record type 0xfe
ty debug: Invalid record type 0xfc
ty debug: Invalid record type 0xfe
ty debug: Invalid record type 0xff
ty debug: Invalid record type 0xfd
ty debug: Invalid record type 0xfa
ty debug: Invalid record type 0xfc
main debug: control type=0
main debug: control: stopping input
main debug: closing input
main debug: unlocking module "ty"
main debug: unlocking module "cdda"
main debug: unlocking module "libmpeg2"
                              ^^^^^^^
>>> This isn't mpeg2

main debug: thread 4064246704 joined (src/input/decoder.c:191)
main debug: killing decoder fourcc `mpgv', 0 PES in FIFO
                                    ^^^^
>>> This isn't mpgv

main debug: thread 4076989360 joined (src/input/input.c:382)


Thanks.

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list