[streaming] Re: FM Streaming from PVR 150

Gregor Fuis videolan at email.si
Thu Sep 8 12:57:31 CEST 2005


Christophe Massiot wrote:

> At 11:53 +0200 8/09/05, Gregor Fuis wrote:
>
>> Hello,
>>
>> Is there a chance that i can stream a radio channel with vlc just 
>> like i can stream tv channel from pvr 150 card.
>> I tried to change frequency in my command line from tv to radio 
>> frequency but it streams nothing. Do i have to select
>> something different than on tv channel streaming?
>>
>> My command line for radio is
>> ./vlc -vvv pvr:// --pvr-device=/dev/video0 --pvr-caching=300 
>> --pvr-frequency=98900 --pvr-channel=6 --sout 
>> '#duplicate{dst=std{access=udp,mux=ts,url=227.111.1.1:12345}}'
>
>
> This is not currently implemented, but you can work around it by 
> running two commands :
> ivtv-radio -f 98.9 -j
> and in another terminal :
> vlc -vvv stream:/dev/video0 --file-caching=300 --sout etc.
>
I tried that but it doesnt work.Here is my debug info if you think it 
can help. Do i have to compile with some diferent  options to stream 
radio. I didn't compile it with video4linux support.

Thanks

[root at dvbtoiptest vlc]# ./vlc -vvv stream:/dev/video0 --file-caching=300 
--sout '#duplicate{dst=std{access=udp,mux=ts,url=227.111.1.1:12345}}'
VLC media player 0.8.4-svn Janus
[00000001] main vlc debug: opening config file /root/.vlc/vlcrc
[00000001] main vlc debug: checking builtin modules
[00000001] main vlc debug: checking plugin modules
[00000001] main vlc debug: loading plugins cache file 
/root/.vlc/cache/plugins-04041e.dat
[00000001] main vlc debug: recursively browsing `modules'
[00000001] main vlc debug: recursively browsing `/usr/local/lib/vlc'
[00000001] main vlc debug: recursively browsing `plugins'
[00000001] main vlc debug: module bank initialized, found 196 modules
[00000001] main vlc debug: opening config file /root/.vlc/vlcrc
[00000000] main root debug: VLC media player - version 0.8.4-svn Janus - 
(c) 1996-2005 the VideoLAN team
[00000000] main root debug: libvlc was configured with ./configure 
--enable-dvb --enable-dvbpsi --with-dvbpsi-tree=../libdvbpsi/trunk/ 
--enable-ffmpeg --with-ffmpeg-tree=../ffmpeg/ --enable-pvr --enable-x264 
--with-x264-tree=../x264/trunk/ --enable-livedotcom 
--with-livedotcom-tree=../live/ --enable-release --disable-hal 
--enable-optimize-memory
[00000001] main vlc debug: translation test: code is "C"
[00000001] main vlc debug: opening config file /root/.vlc/vlcrc
[00000001] main vlc debug: checking builtin modules
[00000001] main vlc debug: checking plugin modules
[00000001] main vlc debug: loading plugins cache file 
/root/.vlc/cache/plugins-04041e.dat
[00000001] main vlc debug: recursively browsing `modules'
[00000001] main vlc debug: recursively browsing `/usr/local/lib/vlc'
[00000001] main vlc debug: recursively browsing `plugins'
[00000001] main vlc debug: module bank initialized, found 196 modules
[00000001] main vlc debug: opening config file /root/.vlc/vlcrc
[00000001] main vlc debug: CPU has capabilities 486 586 MMX MMXEXT SSE 
SSE2 FPU
[00000001] main vlc debug: looking for memcpy module: 3 candidates
[00000010] main module debug: using memcpy module "memcpymmxext"
[00000246] main playlist debug: waiting for thread completion
[00000246] main playlist debug: thread 21965744 (playlist) created at 
priority 0 (src/playlist/playlist.c:154)
[00000247] main private debug: waiting for thread completion
[00000247] main private debug: thread 103308208 (preparser) created at 
priority 0 (src/playlist/playlist.c:176)
[00000248] main interface debug: looking for interface module: 1 candidate
[00000033] main module debug: using interface module "hotkeys"
[00000248] main interface debug: interface initialized
[00000248] main interface debug: thread 62839728 (interface) created at 
priority 0 (src/interface/interface.c:211)
[00000246] main playlist debug: adding playlist item 
`stream:/dev/video0' ( stream:/dev/video0 )
[00000250] main interface debug: looking for interface module: 3 candidates
[00000156] main module debug: using interface module "wxwidgets"
[00000250] main interface debug: interface initialized
[00000250] main interface debug: thread 45267888 (manager) created at 
priority 0 (src/interface/interface.c:196)
[00000250] wxwidgets interface debug: Using last windows config 
'(-1,0,0,1024,768)(0,281,90,399,74)'
[00000250] wxwidgets interface debug: id=0 p=(281,90) s=(399,74)
[00000246] main playlist debug: nothing requested, starting
[00000246] main playlist debug: creating new input thread
[00000253] main input debug: waiting for thread completion
[00000254] main stream output debug: stream=`duplicate'
[00000255] main private debug: looking for sout stream module: 1 candidate
[00000255] stream_out_duplicate private debug: creating 'duplicate'
[00000255] stream_out_duplicate private debug:  * adding 
`std{access=udp,mux=ts,url=227.111.1.1:12345}'
[00000254] main stream output debug: stream=`std'
[00000257] main private debug: looking for sout stream module: 1 candidate
[00000257] main private debug: set sout option: sout-standard-access to udp
[00000257] main private debug: set sout option: sout-standard-mux to ts
[00000257] main private debug: set sout option: sout-standard-url to 
227.111.1.1:12345
[00000257] stream_out_standard private debug: creating 
`udp/ts://227.111.1.1:12345'
[00000257] stream_out_standard private debug: extention is 1:12345
[00000257] stream_out_standard private debug: extention -> mux=(null)
[00000257] stream_out_standard private debug: using 
`udp/ts://227.111.1.1:12345'
[00000259] main private debug: looking for sout access module: 1 candidate
[00000261] main private debug: looking for network module: 1 candidate
[00000192] main module debug: using network module "ipv4"
[00000192] main module debug: unlocking module "ipv4"
[00000261] main private debug: thread 73329584 (sout write thread) 
created at priority 0 (udp.c:284)
[00000259] access_output_udp private debug: udp access output 
opened(227.111.1.1:12345)
[00000234] main module debug: using sout access module "access_output_udp"
[00000257] stream_out_standard private debug: access opened
[00000263] main private debug: looking for sout mux module: 1 candidate
[00000263] mux_ts private debug: Open
[00000253] main input debug: thread 84384688 (input) created at priority 
0 (src/input/input.c:230)
[00000263] mux_ts private debug: shaping=200000 pcr=70000 dts_delay=400000
[00000015] main module debug: using sout mux module "mux_ts"
[00000254] main stream output debug: muxer support adding stream at any time
[00000257] stream_out_standard private debug: mux opened
[00000048] main module debug: using sout stream module "stream_out_standard"
[00000038] main module debug: using sout stream module 
"stream_out_duplicate"
[00000253] main input debug: `stream:/dev/video0' gives access `stream' 
demux `' path `/dev/video0'
[00000253] main input debug: creating demux: access='stream' demux='' 
path='/dev/video0'
[00000264] main demuxer debug: looking for access_demux module: 0 candidates
[00000264] main demuxer warning: no access_demux module matched "stream"
[00000253] main input debug: creating access 'stream' path='/dev/video0'
[00000265] main access debug: looking for access2 module: 4 candidates
[00000265] access_file access debug: opening file `/dev/video0'
[00000107] main module debug: using access2 module "access_file"
[00000267] main private debug: pre buffering
[00000265] access_file access error: read failed (Input/output error)
[00000265] access_file access error: read failed (Input/output error)
[00000265] access_file access error: read failed (Input/output error)
[00000265] access_file access error: read failed (Input/output error)
[00000265] access_file access error: read failed (Input/output error)
[00000265] access_file access error: read failed (Input/output error)
[00000265] access_file access error: read failed (Input/output error)
[00000267] main private debug: prebuffering done 0 bytes in 5s - 0 kbytes/s
[00000267] main private error: cannot pre fill buffer
[00000253] main input warning: cannot create a stream_t from access
[00000107] main module debug: unlocking module "access_file"
[00000255] main private debug: destroying chain... (name=duplicate)
[00000255] stream_out_duplicate private debug: closing a duplication
[00000257] main private debug: destroying chain... (name=std)
[00000263] mux_ts private debug: Close
[00000015] main module debug: unlocking module "mux_ts"
[00000261] access_output_udp private debug: packet has been sent too 
late (1126176844158022)
[00000261] main private debug: thread 73329584 joined (udp.c:331)
[00000259] access_output_udp private debug: udp access output closed
[00000234] main module debug: unlocking module "access_output_udp"
[00000048] main module debug: unlocking module "stream_out_standard"
[00000257] main private debug: destroying chain done
[00000038] main module debug: unlocking module "stream_out_duplicate"
[00000255] main private debug: destroying chain done
[00000253] main input debug: thread 84384688 joined (src/input/input.c:386)

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



More information about the streaming mailing list