How can I stream a wav/pcm file?
Posted: 13 Jul 2011 03:10
I am trying to stream a wave file with VLC 1.1.10 in windows XP.
I do Ctrl-S, select my wave file, then click Stream at the bottom.
Then, it lists my wave file in the Source box, so I click Next.
I select HTTP in Destinations and click Add and leave the Port at 8080 and the Path at /
In Transcoding options, I leave Activate Transcoding checked (not sure if I should do this since my file is already a wave file...)
I create and save a new profile with WAV encapsulation, no Video, Audio with WAV codec, 128kb/s, 2 Channels, 48000 Sample Rate
I select the newly created profile and click Stream (I leave all options as-is).
It says Streaming and the rectangle slider handle starts moving across the slider bar
I try to connect to the stream using a new instance of VLC and I enter this URL: http://192.168.24.2:8080/ and then I click Play.
Nothing happens.
The message log is below. What am I doing wrong?
--------Message Log-------------------
qt4 warning: Input option: http-caching=1200
main debug: adding item `http://192.168.24.2:8080/'
qt4 debug: Adding a new MRL to recent ones: (same as before...stripped URL because of too many URLs)
main debug: rebuilding array of current - root Playlist
main debug: rebuild done - 1 items, index -1
main debug: processing request item (same as before...stripped URL because of too many URLs) node Playlist skip 0
main debug: resyncing on (same as before...stripped URL because of too many URLs)
main debug: (same as before...stripped URL because of too many URLs) is at 0
main debug: starting new item
main debug: creating new input thread
main debug: Creating an input for '(same as before...stripped URL because of too many URLs)'
main debug: thread started
main debug: using timeshift granularity of 50 MiB
main debug: using timeshift path 'C:\DOCUME~1\NEVILL~1\LOCALS~1\Temp'
main debug: thread (input) created at priority 1 (../.././src/input/input.c:220)
main debug: `(same as before...stripped URL because of too many URLs)' gives access `http' demux `' path `192.168.24.2:8080/'
main debug: creating demux: access='http' demux='' path='192.168.24.2:8080/'
main debug: looking for access_demux module: 0 candidates
main debug: no access_demux module matched "http"
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: creating access 'http' path='192.168.24.2:8080/'
main debug: looking for access module: 2 candidates
access_http debug: http: server='192.168.24.2' port=8080 file='/'
main debug: net: connecting to 192.168.24.2 port 8080
main debug: no fetch required for (null) (art currently (null))
main debug: connection succeeded (socket = 1628)
qt4 debug: IM: Setting an input
access_http debug: protocol 'HTTP' answer code 200
access_http debug: Content-Type: application/octet-stream
main debug: using access module "access_http"
main debug: TIMER module_need() : 40.000 ms - Total 40.000 ms / 1 intvls (Avg 40.000 ms)
main debug: Using AStream*Stream
main debug: pre buffering
main debug: received first data after 0 ms
main debug: pre-buffering done 1024 bytes in 0s - 1000000 KiB/s
main debug: looking for stream_filter module: 2 candidates
main debug: no stream_filter module matching "any" could be loaded
main debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms)
main debug: looking for stream_filter module: 1 candidate
main debug: using stream_filter module "stream_filter_record"
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: creating demux: access='http' demux='' path='192.168.24.2:8080/'
main debug: looking for demux module: 52 candidates
I've tried both wav and raw encapsulation. Should
I do Ctrl-S, select my wave file, then click Stream at the bottom.
Then, it lists my wave file in the Source box, so I click Next.
I select HTTP in Destinations and click Add and leave the Port at 8080 and the Path at /
In Transcoding options, I leave Activate Transcoding checked (not sure if I should do this since my file is already a wave file...)
I create and save a new profile with WAV encapsulation, no Video, Audio with WAV codec, 128kb/s, 2 Channels, 48000 Sample Rate
I select the newly created profile and click Stream (I leave all options as-is).
It says Streaming and the rectangle slider handle starts moving across the slider bar
I try to connect to the stream using a new instance of VLC and I enter this URL: http://192.168.24.2:8080/ and then I click Play.
Nothing happens.
The message log is below. What am I doing wrong?
--------Message Log-------------------
qt4 warning: Input option: http-caching=1200
main debug: adding item `http://192.168.24.2:8080/'
qt4 debug: Adding a new MRL to recent ones: (same as before...stripped URL because of too many URLs)
main debug: rebuilding array of current - root Playlist
main debug: rebuild done - 1 items, index -1
main debug: processing request item (same as before...stripped URL because of too many URLs) node Playlist skip 0
main debug: resyncing on (same as before...stripped URL because of too many URLs)
main debug: (same as before...stripped URL because of too many URLs) is at 0
main debug: starting new item
main debug: creating new input thread
main debug: Creating an input for '(same as before...stripped URL because of too many URLs)'
main debug: thread started
main debug: using timeshift granularity of 50 MiB
main debug: using timeshift path 'C:\DOCUME~1\NEVILL~1\LOCALS~1\Temp'
main debug: thread (input) created at priority 1 (../.././src/input/input.c:220)
main debug: `(same as before...stripped URL because of too many URLs)' gives access `http' demux `' path `192.168.24.2:8080/'
main debug: creating demux: access='http' demux='' path='192.168.24.2:8080/'
main debug: looking for access_demux module: 0 candidates
main debug: no access_demux module matched "http"
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: creating access 'http' path='192.168.24.2:8080/'
main debug: looking for access module: 2 candidates
access_http debug: http: server='192.168.24.2' port=8080 file='/'
main debug: net: connecting to 192.168.24.2 port 8080
main debug: no fetch required for (null) (art currently (null))
main debug: connection succeeded (socket = 1628)
qt4 debug: IM: Setting an input
access_http debug: protocol 'HTTP' answer code 200
access_http debug: Content-Type: application/octet-stream
main debug: using access module "access_http"
main debug: TIMER module_need() : 40.000 ms - Total 40.000 ms / 1 intvls (Avg 40.000 ms)
main debug: Using AStream*Stream
main debug: pre buffering
main debug: received first data after 0 ms
main debug: pre-buffering done 1024 bytes in 0s - 1000000 KiB/s
main debug: looking for stream_filter module: 2 candidates
main debug: no stream_filter module matching "any" could be loaded
main debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms)
main debug: looking for stream_filter module: 1 candidate
main debug: using stream_filter module "stream_filter_record"
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: creating demux: access='http' demux='' path='192.168.24.2:8080/'
main debug: looking for demux module: 52 candidates
I've tried both wav and raw encapsulation. Should