Hello,
I have been investigating more HTTP and UDP streaming. When i try to stream file such as wav.mp4 files (sending raw bytes to VLC), i get this kind of errors in the messages output:
main debug: adding playlist item `
http://localhost:1234' (
http://localhost:1234 )
main debug: creating new input thread
main debug: waiting for thread completion
main debug: thread 4072 (input) created at priority 1 (input/input.c:261)
main debug: `
http://localhost:1234' gives access `http' demux `' path `localhost:1234'
main debug: creating demux: access='http' demux='' path='localhost:1234'
main debug: looking for access_demux module: 0 candidates
main warning: no access_demux module matched "http"
main debug: creating access 'http' path='localhost:1234'
main debug: looking for access2 module: 7 candidates
access_http debug: http: server='localhost' port=1234 file='(null)
main debug: net: connecting to localhost port 1234
main debug: connection in progress
access_http debug: protocol 'HTTP' answer code 200
access_http debug: Content-Type: application/octet-stream
main debug: using access2 module "access_http"
main debug: pre-buffering...
main debug: received first data for our buffer
main error: recv failed (10054)
main error: recv failed (10054)
main debug: pre-buffering done 375220 bytes in 0s - 3612 kbytes/s
main debug: creating demux: access='http' demux='' path='localhost:1234'
main debug: looking for demux2 module: 44 candidates
wav debug: chunk: fcc=`fmt ` size=16
wav debug: format: 0x0001, fourcc: araw, channels: 1, freq: 44100 Hz, bitrate: 86Ko/s, blockalign: 2, bits/samples: 16, extra size: 0
wav debug: found Raw audio audio format
wav debug: chunk: fcc=`data` size=423360
main debug: selecting program id=0
main debug: using demux2 module "wav"
main debug: looking for a subtitle file in C:\Program Files\VideoLAN\VLC\
main debug: looking for decoder module: 27 candidates
araw debug: samplerate:44100Hz channels:1 bits/sample:16
main debug: using decoder module "araw"
main debug: thread 4480 (decoder) created at priority 2 (input/decoder.c:159)
main debug: `
http://localhost:1234' successfully opened
main debug: looking for audio output module: 3 candidates
aout_directx debug: OpenAudio
aout_directx debug: found device: Primary Sound Driver
aout_directx debug: found device: C-Media Wave Device
aout_directx debug: device supports 2 channels
aout_directx debug: device supports 1 channel
aout_directx debug: creating DirectSoundThread
main debug: thread 4460 (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/Mono frame=1 samples/4 bytes
main debug: mixer 'fl32' 44100 Hz Stereo/Mono frame=1 samples/8 bytes
main debug: filter(s) 'fl32'->'s16l' 44100 Hz->44100 Hz Stereo/Mono->Stereo/Mono
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 Mono frame=1 samples/2 bytes
main debug: filter(s) 's16l'->'fl32' 44100 Hz->44100 Hz Mono->Stereo/Mono
main debug: looking for audio filter module: 24 candidates
main debug: looking for audio filter module: 24 candidates
main debug: using audio filter module "s16tofloat32"
main debug: looking for audio filter module: 24 candidates
main debug: using audio filter module "trivial_channel_mixer"
main debug: found 2 filters for the whole conversion
main debug: filter(s) 'fl32'->'fl32' 48510 Hz->44100 Hz Stereo/Mono->Stereo/Mono
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
main error: recv failed (10054)
main error: recv failed (10054)
main error: recv failed (10054)
main error: recv failed (10054)
main error: recv failed (10054)
main error: recv failed (10054)
main error: recv failed (10054)
main error: recv failed (10054)
main error: recv failed (10054)
main error: recv failed (10054)
main error: recv failed (10054)
main error: recv failed (10054)
main error: recv failed (10054)
main error: recv failed (10054)
main error: recv failed (10054)
main error: recv failed (10054)
main error: recv failed (10054)
main error: recv failed (10054)
main error: recv failed (10054)
main error: recv failed (10054)
main error: recv failed (10054)
main error: recv failed (10054)
main error: recv failed (10054)
main error: recv failed (10054)
main error: recv failed (10054)
main debug: control type=0
main debug: control: stopping input
main debug: closing input
main debug: removing module "wav"
main debug: removing module "access_http"
main debug: removing module "araw"
main debug: thread times: real 0m1.312500s, kernel 0m0.031250s, user 0m0.000000s
main debug: thread 4480 joined (input/decoder.c:191)
main debug: killing decoder fourcc `araw', 0 PES in FIFO
main debug: removing module "s16tofloat32"
main debug: removing module "trivial_channel_mixer"
main debug: removing module "bandlimited_resampler"
aout_directx debug: closing audio device
aout_directx debug: DirectSoundThread exiting
main debug: thread times: real 0m1.296875s, kernel 0m0.000000s, user 0m0.000000s
main debug: thread 4460 joined (directx.c:598)
main debug: removing module "aout_directx"
main debug: removing module "float32tos16"
main debug: removing module "trivial_mixer"
main debug: thread times: real 0m1.468750s, kernel 0m0.000000s, user 0m0.000000s
main debug: thread 4072 joined (input/input.c:399)
What may go wrong here?
thanks a lot
sebastien