Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem: streaming a DVB-T Channel
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
piano
n00b
n00b


Joined: 24 Mar 2006
Posts: 3

PostPosted: Fri Mar 24, 2006 8:32 am    Post subject: Problem: streaming a DVB-T Channel Reply with quote

Hi,

i try to stream some DVB-T Channel with Videolan Client 0.8.2 to my network. I succesfully emerged the VLC:

Code:
[00000000] main root debug: VLC media player - version 0.8.2 Janus - (c) 1996-2005 VideoLAN
[00000000] main root debug: libvlc was configured with ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-altivec --disable-utf8 --enable-sout --enable-httpd --enable-vlm --enable-gnutls --enable-v4l --enable-cdda --enable-cddax --enable-vcd --enable-vcdx --enable-dvb --enable-pvr --enable-ogg --enable-mkv --enable-flac --enable-vorbis --enable-theora --enable-x11 --enable-xvideo --enable-glx --enable-opengl --enable-freetype --enable-fribidi --enable-dvdread --enable-dvdplay --enable-dvdnav --disable-fb --enable-svgalib --disable-glide --disable-aa --disable-caca --enable-oss --enable-esd --enable-arts --enable-alsa --enable-wxwindows --enable-ncurses --disable-xosd --disable-lirc --disable-joystick --enable-livedotcom --with-livedotcom-tree=/usr/lib/live --enable-mad --enable-faad --enable-a52 --enable-dts --enable-libmpeg2 --disable-ggi --disable-glide --enable-sdl --enable-png --enable-libxml2 --disable-smb --disable-daap --disable-corba --disable-mod --disable-speex --disable-mozilla --disable-pth --disable-portaudio --disable-slp --disable-hal --disable-x264 --disable-skins2 --with-wx-config=gtk2-ansi-release-2.6 --with-wx-config-path=/usr/lib/wx/config --enable-ffmpeg --with-ffmpeg-zlib --with-ffmpeg-mp3lame --build=i686-pc-linux-gnu


with the USE Flags

Code:
media-video/vlc dvd ffmpeg mpeg mad wxwindows aac dts a52 ogg flac theora oggvor
bis matroska freetype bidi xv svga gnutls stream vlm httpd cdda vcd cdio live


I use the integrated DVB-T drivers from Kernel 2.6.15.

I can watch TV when starting vlc like this:
Code:
vlc -vvv dvb-t:adapter=0:frequency=538000000:bandwidth=8 --programs=1

(Didnt get it to do this in the GUI :roll: )

So everythings fine except streaming ... i tryed the following -simple- command (without any transcoding, just streaming it):
Code:
vlc -vvv dvb-t:adapter=0:frequency=538000000:bandwidth=8 --programs=1 --sout '#standard{access=http,mux=ts,url=172.23.23.103:8081}'


Thats the serverside output:
Code:
[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/lib/vlc'
[00000001] main vlc debug: recursively browsing `plugins'
[00000001] main vlc debug: module bank initialized, found 199 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"
[00000252] main playlist debug: waiting for thread completion
[00000252] main playlist debug: thread 3075500976 (playlist) created at priority 0 (src/playlist/playlist.c:152)
[00000253] main private debug: waiting for thread completion
[00000253] main private debug: thread 3067108272 (preparser) created at priority 0 (src/playlist/playlist.c:174)
[00000254] main interface debug: looking for interface module: 1 candidate
[00000064] main module debug: using interface module "hotkeys"
[00000254] main interface debug: interface initialized
[00000254] main interface debug: thread 3058715568 (interface) created at priority 0 (src/interface/interface.c:211)
[00000252] main playlist debug: adding playlist item `dvb-t:adapter=0:frequency=538000000:bandwidth=8' ( dvb-t:adapter=0:frequency=538000000:bandwidth=8 )
[00000256] main interface debug: looking for interface module: 3 candidates
Remote control interface initialized, `h' for help
[00000062] main module debug: using interface module "rc"
[00000256] main interface debug: interface initialized
[00000256] main interface debug: thread 3050322864 (manager) created at priority 0 (src/interface/interface.c:196)
[00000252] main playlist debug: creating new input thread
[00000258] main input debug: waiting for thread completion
[00000258] main input debug: thread 3041930160 (input) created at priority 0 (src/input/input.c:230)
[00000259] main stream output debug: stream=`transcode'
[00000260] main private debug: looking for sout stream module: 1 candidate
[00000259] main stream output debug: stream=`standard'
[00000263] main private debug: looking for sout stream module: 1 candidate
[00000263] main private debug: set sout option: sout-standard-access to http
[00000263] main private debug: set sout option: sout-standard-mux to ts
[00000263] main private debug: set sout option: sout-standard-url to 172.23.23.103:8081
[00000263] stream_out_standard private debug: creating `http/ts://172.23.23.103:8081'
[00000263] stream_out_standard private debug: extention is 103:8081
[00000263] stream_out_standard private debug: extention -> mux=(null)
[00000263] stream_out_standard private debug: using `http/ts://172.23.23.103:8081'
[00000265] main private debug: looking for sout access module: 1 candidate
[00000265] main private: creating httpd
[00000268] main private debug: thread 3032480688 (httpd host thread) created at priority 0 (src/misc/httpd.c:1163)
[00000068] main module debug: using sout access module "access_output_http"
[00000263] stream_out_standard private debug: access opened
[00000269] main private debug: looking for sout mux module: 1 candidate
[00000269] mux_ts private debug: Open
[00000269] mux_ts private debug: shaping=200000 pcr=70000 dts_delay=400000
[00000014] main module debug: using sout mux module "mux_ts"
[00000259] main stream output debug: muxer support adding stream at any time
[00000263] stream_out_standard private debug: mux opened
[00000188] main module debug: using sout stream module "stream_out_standard"
[00000260] main private debug: set sout option: sout-transcode-venc to ffmpeg
[00000260] main private debug: set sout option: sout-transcode-vcodec to mpeg4
[00000260] main private debug: set sout option: sout-transcode-width to 176
[00000260] main private debug: set sout option: sout-transcode-height to 128
[00000260] main private debug: set sout option: sout-transcode-acodec to mp3
[00000260] main private debug: set sout option: sout-transcode-audio-sync to (null)
[00000260] stream_out_transcode private debug: codec audio=mp3  0Hz 0 channels 64Kb/s
[00000260] stream_out_transcode private debug: codec video=mpeg 176x128 scaling: 1.000000 800kb/s
[00000193] main module debug: using sout stream module "stream_out_transcode"
[00000258] main input debug: `dvb-t:adapter=0:frequency=538000000:bandwidth=8' gives access `dvb-t' demux `' path `adapter=0:frequency=538000000:bandwidth=8'
[00000258] main input debug: creating demux: access='dvb-t' demux='' path='adapter=0:frequency=538000000:bandwidth=8'
[00000270] main demuxer debug: looking for access_demux module: 0 candidates
[00000270] main demuxer warning: no access_demux module matched "dvb-t"
[00000258] main input debug: creating access 'dvb-t' path='adapter=0:frequency=538000000:bandwidth=8'
[00000271] main access debug: looking for access2 module: 5 candidates
[00000271] dvb access debug: Opening device /dev/dvb/adapter0/frontend0
[00000271] dvb access debug: Frontend Info:
[00000271] dvb access debug:   name = Conexant CX22702 DVB-T
[00000271] dvb access debug:   type = OFDM (DVB-T)
[00000271] dvb access debug:   frequency_min = 177000000 (kHz)
[00000271] dvb access debug:   frequency_max = 858000000 (kHz)
[00000271] dvb access debug:   frequency_stepsize = 166666
[00000271] dvb access debug:   frequency_tolerance = 0
[00000271] dvb access debug:   symbol_rate_min = 0 (kHz)
[00000271] dvb access debug:   symbol_rate_max = 0 (kHz)
[00000271] dvb access debug:   symbol_rate_tolerance (ppm) = 0
[00000271] dvb access debug:   notifier_delay (ms) = 0
[00000271] dvb access debug: Frontend Info capability list:
[00000271] dvb access debug:   inversion auto
[00000271] dvb access debug:   forward error correction 1/2
[00000271] dvb access debug:   forward error correction 2/3
[00000271] dvb access debug:   forward error correction 3/4
[00000271] dvb access debug:   forward error correction 5/6
[00000271] dvb access debug:   forward error correction 7/8
[00000271] dvb access debug:   forward error correction auto
[00000271] dvb access debug:   card can do QPSK
[00000271] dvb access debug:   card can do QAM 16
[00000271] dvb access debug:   card can do QAM 64
[00000271] dvb access debug:   card can do QAM auto
[00000271] dvb access debug:   transmission mode auto
[00000271] dvb access debug:   guard interval mode auto
[00000271] dvb access debug:   hierarchy mode auto
[00000271] dvb access debug:   card can recover from a cable unplug
[00000271] dvb access debug: End of capability list
[00000271] dvb access debug: trying to tune the frontend...
[00000271] dvb access debug: using inversion=2
[00000271] dvb access debug: using bandwidth=8
[00000271] dvb access debug: using fec=9
[00000271] dvb access debug: using fec=9
[00000271] dvb access debug: using transmission=0
[00000271] dvb access debug: using guard=0
[00000271] dvb access debug: using hierarchy=0
[00000271] dvb access debug: Opening device /dev/dvb/adapter0/dvr0
[00000271] dvb access debug: setting filter on PAT
[00000271] dvb access debug: Opening device /dev/dvb/adapter0/demux0
[00000271] dvb access debug: DMXSetFilter: DMX_PES_OTHER for PID 0
[00000271] dvb access debug: Opening device /dev/dvb/adapter0/ca0
[00000271] dvb access error: CAMInit: opening device failed (No such file or directory)
[00000155] main module debug: using access2 module "dvb"
[00000273] main private debug: pre buffering
[00000273] main private debug: received first data for our buffer
[00000271] dvb access debug: frontend has acquired signal
[00000271] dvb access debug: frontend has acquired carrier
[00000271] dvb access debug: frontend has acquired stable FEC
[00000271] dvb access debug: frontend has acquired sync
[00000271] dvb access debug: frontend has acquired lock
[00000271] dvb access debug: - Bit error rate: 0
[00000271] dvb access debug: - Signal strength: 57
[00000271] dvb access debug: - SNR: 65535
[00000273] main private debug: prebuffering done 940 bytes in 2s - 0 kbytes/s
[00000258] main input debug: creating demux: access='dvb-t' demux='' path='adapter=0:frequency=538000000:bandwidth=8'
[00000274] main demuxer debug: looking for demux2 module: 36 candidates
[00000121] main module debug: using demux2 module "ts"
[00000274] ts demuxer debug: DEMUX_SET_GROUP -1 0x827cc30
[00000258] main input debug: starting in synch mode
[00000271] dvb access warning: unimplemented query in control
[00000258] main input debug: `dvb-t:adapter=0:frequency=538000000:bandwidth=8' successfully opened
libdvbpsi error (PSI decoder): TS discontinuity (received 11, expected 0)
[00000274] ts demuxer debug: PATCallBack called
[00000274] ts demuxer debug: new PAT ts_id=5121 version=18 current_next=1
[00000274] ts demuxer debug:   * number=0 pid=16
[00000274] ts demuxer debug:   * number=129 pid=4624
[00000274] ts demuxer debug:   * number=130 pid=4880
[00000274] ts demuxer debug:   * number=131 pid=5136
[00000274] ts demuxer debug:   * number=132 pid=5392
[00000274] ts demuxer debug:   * number=262 pid=4640
[00000274] ts demuxer debug:   * number=100 pid=4656
[00000274] ts demuxer debug:   * number=65 pid=4672
[00000268] main private debug: new connection (172.23.23.103)
[00000268] main private debug: connection closed(172.23.23.103)


The client gets disconnected after a few seconds without any received stream.
The client output:
Code:
main debug: adding playlist item `http://172.23.23.103:8081' ( http://172.23.23.103:8081 )
main debug: creating new input thread
main debug: waiting for thread completion
main debug: thread 3014654896 (input) created at priority 0 (src/input/input.c:230)
main debug: `http://172.23.23.103:8081' gives access `http' demux `' path `172.23.23.103:8081'
main debug: creating demux: access='http' demux='' path='172.23.23.103:8081'
main debug: looking for access_demux module: 0 candidates
main warning: no access_demux module matched "http"
main debug: creating access 'http' path='172.23.23.103:8081'
main debug: looking for access2 module: 6 candidates
access_http debug: http: server='172.23.23.103' port=8081 file='(null)
main debug: net: connecting to '172.23.23.103:8081'
main debug: looking for network module: 2 candidates
ipv4 debug: connection in progress
main debug: using network module "ipv4"
main debug: unlocking module "ipv4"
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 error: cannot pre fill buffer
main warning: cannot create a stream_t from access
main debug: unlocking module "access_http"
main debug: thread 3014654896 joined (src/input/input.c:386)
main: nothing to play



I really got no clue what happens here. I havent found anything to the libdvbpsi error, not with google and the people from VLC forum can't or won't help with that.

Someone got a working DVB-T stream with VLC?

Thanks for any help.

greets,
piano
Back to top
View user's profile Send private message
piano
n00b
n00b


Joined: 24 Mar 2006
Posts: 3

PostPosted: Fri Mar 24, 2006 10:25 am    Post subject: Reply with quote

Damnit :D it works without the programs-parameter ...

Code:
vlc -vvv dvb-t:adapter=0:frequency=538000000:bandwidth=8 --sout '#standard{access=http,mux=ts,url=172.23.23.103:8081}'


Does anybody kwow how to get the stream compatible to Windows Media Player? http or mms doesnt count.

I tryed:
Code:
vlc -vvv dvb-t:adapter=0:frequency=482000000:bandwidth=8 --sout '#transcode{vcodec=WMV2,acodec=mp3,vb=256,ab=128,channels=2}:standard{access=http,mux=asf,url=172.23.23.103:8081}'

and this creates 100% CPU load and alot of "main private warning: late buffer for mux input" in the server debug. And Windows Media Player buffers endless.

greets,
piano
Back to top
View user's profile Send private message
piano
n00b
n00b


Joined: 24 Mar 2006
Posts: 3

PostPosted: Tue Mar 28, 2006 9:30 am    Post subject: Reply with quote

Streaming works fine, but i cant get a working stream for Windows Media Player. I tried like it says in the Videolan Streaming Howto
http://www.videolan.org/doc/streaming-howto/en/ch04.html#id294900
with no sucsess. The Video stutters, WMP re-buffers every 30 seconds and i get some strange output in the console. Video bitrate is huge, i know, but network and pc are very well populated. If i try 256K, only the re-buffering-period takes about 60 seconds, the rest is the same.
This must be some general problem with the installation ... in my above posts are infos from VLC build, use flags. etc.

Is there a codec missing? Some missing use-flag? I use 4 DVB-T cards, the Hauppauge Nova-T with Kernel 2.6.15 drivers.

What i do:
Code:

vlc -vvv dvb-t:adapter=0:frequency=482000000:bandwidth=8 --sout '#transcode{vcodec=DIV3,vb=2048,scale=1,acodec=mp3,ab=128,channels=2}:std{access=mmsh,mux=asfh,url=172.23.23.103:1234}'


What i get:
Code:

[00000269] main private warning: late buffer for mux input (102998)
[00000269] main private warning: late buffer for mux input (80961)
[00000269] main private warning: late buffer for mux input (58847)
[00000269] main private warning: late buffer for mux input (36834)
[00000269] main private warning: late buffer for mux input (14797)
[00000260] stream_out_transcode private debug: late picture skipped (49519)



about 20 times. Its some ffmpeg output, i think

and then
Code:

[00000269] main private warning: late buffer for mux input (1771747)
[00000269] main private warning: late buffer for mux input (1792151)
[00000269] main private warning: late buffer for mux input (1817274)
[00000269] main private warning: late buffer for mux input (1834278)
[00000269] stream_out_transcode private debug: late picture skipped (8357)


all the time without break.

Somebody gets a working WMP-stream from DVB-T with VLC?

Help would be great!

greets,

piano
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum