Why VLC is not able to stream music CD ?
Posted: 27 Sep 2006 12:27
by francesco75
When I try to stream any kink of music cd via VLC it just start to play the CD. It do not seem to start the stream at all. I've tried both the wizard an the "normal" way without results.
I have no problem with DVD.
Any idea, suggestion ?
Thanks in advance !
Posted: 29 Sep 2006 00:32
by DJ
What's the command line?
Posted: 29 Sep 2006 13:04
by francesco75
I tried both:
vlc cdda://D: :sout=#duplicate{dst=std{access=rtp,mux=ts,dst=192.168.2.27:1234}}
or
vlc cdda://D: :sout=#transcode{acodec=mp3,ab=256,channels=2}:duplicate{dst=std{access=rtp,mux=ts,dst=192.168.2.27:1234}}
without results. VLC just start to play the CD.
Posted: 29 Sep 2006 17:32
by dionoea
Could you open the "messages" window (before starting the stream) and paste all the debug messages you get here ?
Posted: 29 Sep 2006 18:38
by francesco75
OK, but It's very long:
main debug: adding playlist item `cdda://D:' ( cdda://D: )
main debug: creating new input thread
main debug: waiting for thread completion
main debug: thread 4624 (input) created at priority 1 (input/input.c:261)
main debug: stream=`duplicate'
main debug: looking for sout stream module: 1 candidate
stream_out_duplicate debug: creating 'duplicate'
stream_out_duplicate debug: * adding `std{access=rtp,mux=ts,dst=192.168.2.27:1234}'
main debug: stream=`std'
main debug: looking for sout stream module: 1 candidate
main debug: set sout option: sout-standard-access to rtp
main debug: set sout option: sout-standard-mux to ts
main debug: set sout option: sout-standard-dst to 192.168.2.27:1234
stream_out_standard debug: creating `rtp/ts://192.168.2.27:1234'
stream_out_standard debug: extension is 27:1234
stream_out_standard debug: extension -> mux=(null)
stream_out_standard debug: using `rtp/ts://192.168.2.27:1234'
main debug: looking for sout access module: 1 candidate
main debug: net: connecting to 192.168.2.27 port 1234
main debug: thread 4472 (sout write thread) created at priority 15 (udp.c:268)
access_output_udp debug: udp access output opened(192.168.2.27:1234)
main debug: using sout access module "access_output_udp"
stream_out_standard debug: access opened
main debug: looking for sout mux module: 1 candidate
mux_ts debug: shaping=200000 pcr=70000 dts_delay=400000
main debug: using sout mux module "mux_ts"
main debug: muxer support adding stream at any time
stream_out_standard debug: mux opened
main debug: using sout stream module "stream_out_standard"
main debug: using sout stream module "stream_out_duplicate"
main debug: `cdda://D:' gives access `cdda' demux `' path `D:'
main debug: creating demux: access='cdda' demux='' path='D:'
main debug: looking for access_demux module: 0 candidates
main warning: no access_demux module matched "cdda"
main debug: creating access 'cdda' path='D:'
main debug: looking for access2 module: 5 candidates
cdda debug: using winNT/2K/XP ioctl layer
cdda debug: separate items : 1 - single track : 0
cdda debug: starting Audio CD playback
cdda debug: p_sectors: 0, 33
cdda debug: p_sectors: 1, 21133
cdda debug: p_sectors: 2, 39708
cdda debug: p_sectors: 3, 63075
cdda debug: p_sectors: 4, 89408
cdda debug: p_sectors: 5, 105220
cdda debug: p_sectors: 6, 125130
cdda debug: p_sectors: 7, 143395
cdda debug: p_sectors: 8, 154858
cdda debug: p_sectors: 9, 172308
cdda debug: p_sectors: 10, 194620
cdda debug: p_sectors: 11, 219208
cdda debug: p_sectors: 12, 238158
cdda debug: p_sectors: 13, 265395
cdda debug: p_sectors: 14, 292220
cdda debug: p_sectors: 15, 312330
cdda debug: track[0] start=33
main debug: adding playlist item `Audio CD - Track 1' ( cdda://D: )
cdda debug: track[1] start=21133
main debug: adding playlist item `Audio CD - Track 2' ( cdda://D: )
cdda debug: track[2] start=39708
main debug: adding playlist item `Audio CD - Track 3' ( cdda://D: )
cdda debug: track[3] start=63075
main debug: adding playlist item `Audio CD - Track 4' ( cdda://D: )
cdda debug: track[4] start=89408
main debug: adding playlist item `Audio CD - Track 5' ( cdda://D: )
cdda debug: track[5] start=105220
main debug: adding playlist item `Audio CD - Track 6' ( cdda://D: )
cdda debug: track[6] start=125130
main debug: adding playlist item `Audio CD - Track 7' ( cdda://D: )
cdda debug: track[7] start=143395
main debug: adding playlist item `Audio CD - Track 8' ( cdda://D: )
cdda debug: track[8] start=154858
main debug: adding playlist item `Audio CD - Track 9' ( cdda://D: )
cdda debug: track[9] start=172308
main debug: adding playlist item `Audio CD - Track 10' ( cdda://D: )
cdda debug: track[10] start=194620
main debug: adding playlist item `Audio CD - Track 11' ( cdda://D: )
cdda debug: track[11] start=219208
main debug: adding playlist item `Audio CD - Track 12' ( cdda://D: )
cdda debug: track[12] start=238158
main debug: adding playlist item `Audio CD - Track 13' ( cdda://D: )
cdda debug: track[13] start=265395
main debug: adding playlist item `Audio CD - Track 14' ( cdda://D: )
cdda debug: track[14] start=292220
main debug: adding playlist item `Audio CD - Track 15' ( cdda://D: )
main debug: using access2 module "cdda"
main debug: creating access filter 'access_filter_timeshift'
main debug: looking for access_filter module: 1 candidate
access_filter_timeshift debug: ACCESS_CAN_CONTROL_PACE
main warning: no access_filter module matching "access_filter_timeshift" could be loaded
main warning: failed to insert access filter access_filter_timeshift
main debug: pre buffering
main error: cannot pre fill buffer
main warning: cannot create a stream_t from access
main debug: removing module "cdda"
main debug: destroying chain... (name=duplicate)
stream_out_duplicate debug: closing a duplication
main debug: destroying chain... (name=std)
main debug: removing module "mux_ts"
access_output_udp debug: packet has been sent too late (14202652110)
main debug: thread times: real 0m0.090129s, kernel 0m0.000000s, user 0m0.000000s
main debug: thread 4472 joined (udp.c:316)
access_output_udp debug: udp access output closed
main debug: removing module "access_output_udp"
main debug: removing module "stream_out_standard"
main debug: destroying chain done
main debug: removing module "stream_out_duplicate"
main debug: destroying chain done
main debug: thread times: real 0m0.210302s, kernel 0m0.030043s, user 0m0.020028s
main debug: thread 4624 joined (input/input.c:399)
main debug: creating new input thread
main debug: waiting for thread completion
main debug: `cdda://D:' gives access `cdda' demux `' path `D:'
main debug: creating demux: access='cdda' demux='' path='D:'
main debug: looking for access_demux module: 0 candidates
main warning: no access_demux module matched "cdda"
main debug: creating access 'cdda' path='D:'
main debug: looking for access2 module: 5 candidates
cdda debug: using winNT/2K/XP ioctl layer
main debug: thread 4624 (input) created at priority 1 (input/input.c:261)
cdda debug: separate items : 0 - single track : 1
cdda debug: p_sectors: 0, 33
cdda debug: p_sectors: 1, 21133
cdda debug: p_sectors: 2, 39708
cdda debug: p_sectors: 3, 63075
cdda debug: p_sectors: 4, 89408
cdda debug: p_sectors: 5, 105220
cdda debug: p_sectors: 6, 125130
cdda debug: p_sectors: 7, 143395
cdda debug: p_sectors: 8, 154858
cdda debug: p_sectors: 9, 172308
cdda debug: p_sectors: 10, 194620
cdda debug: p_sectors: 11, 219208
cdda debug: p_sectors: 12, 238158
cdda debug: p_sectors: 13, 265395
cdda debug: p_sectors: 14, 292220
cdda debug: p_sectors: 15, 312330
cdda debug: track[0] start=33
cdda debug: track[1] start=21133
cdda debug: track[2] start=39708
cdda debug: track[3] start=63075
cdda debug: track[4] start=89408
cdda debug: track[5] start=105220
cdda debug: track[6] start=125130
cdda debug: track[7] start=143395
cdda debug: track[8] start=154858
cdda debug: track[9] start=172308
cdda debug: track[10] start=194620
cdda debug: track[11] start=219208
cdda debug: track[12] start=238158
cdda debug: track[13] start=265395
cdda debug: track[14] start=292220
main debug: using access2 module "cdda"
main debug: creating access filter 'access_filter_timeshift'
main debug: looking for access_filter module: 1 candidate
access_filter_timeshift debug: ACCESS_CAN_CONTROL_PACE
main warning: no access_filter module matching "access_filter_timeshift" could be loaded
main warning: failed to insert access filter access_filter_timeshift
main debug: pre buffering
main debug: received first data for our buffer
main debug: prebuffering done 47084 bytes in 0s - 87 kbytes/s
main debug: creating demux: access='cdda' demux='' path='D:'
main debug: looking for demux2 module: 44 candidates
wav debug: chunk: fcc=`fmt ` size=16
wav debug: format: 0x0001, fourcc: araw, channels: 2, freq: 44100 Hz, bitrate: 172Ko/s, blockalign: 4, bits/samples: 16, extra size: 0
wav debug: found Raw audio audio format
wav debug: chunk: fcc=`data` size=0
main debug: selecting program id=0
main debug: using demux2 module "wav"
main debug: looking for a subtitle file in C:\Programmi\VideoLAN\VLC\
main debug: looking for decoder module: 27 candidates
araw debug: samplerate:44100Hz channels:2 bits/sample:16
main debug: using decoder module "araw"
main debug: thread 4540 (decoder) created at priority 2 (input/decoder.c:159)
main debug: `cdda://D:' successfully opened
main debug: looking for audio output module: 3 candidates
aout_directx debug: OpenAudio
aout_directx debug: found device: Driver audio principale
aout_directx debug: found device: SoundMAX Digital Audio
aout_directx debug: device supports 2 channels
aout_directx debug: device supports 1 channel
aout_directx debug: creating DirectSoundThread
main debug: thread 4820 (DirectSound Notification Thread) created at priority 15 (directx.c:372)
aout_directx debug: DirectSoundThread ready
main debug: using audio output module "aout_directx"
main debug: output 's16l' 44100 Hz Stereo frame=1 samples/4 bytes
main debug: mixer 'fl32' 44100 Hz Stereo frame=1 samples/8 bytes
main debug: filter(s) 'fl32'->'s16l' 44100 Hz->44100 Hz Stereo->Stereo
main debug: looking for audio filter module: 24 candidates
main debug: using audio filter module "float32tos16"
main debug: found a filter for the whole conversion
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: 24 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
main debug: looking for audio filter module: 24 candidates
main debug: using audio filter module "bandlimited_resampler"
main debug: found a filter for the whole conversion
Posted: 29 Sep 2006 22:40
by dionoea
try using --sout instead of :sout maybe.