DVB-T Streaming problem with VLC 0.9.4

About encoding, codec settings, muxers and filter usage
thexmanukuk
New Cone
New Cone
Posts: 6
Joined: 13 Oct 2008 22:24

DVB-T Streaming problem with VLC 0.9.4

Postby thexmanukuk » 14 Oct 2008 20:59

Firstly im new to VLC and have spent the last few days reading page after page of this forum amongst other websites trying to find an answer to a problem Im currently having.

Firstly Im using an HVR3000 Hauppauge card on a Core2Duo 3.0 ghz PC, 3 gig of RAM, and a GEFORCE 8800 GTS card and VLC 0.9.4, I can start a stream running either via the GUI or the command line with the following syntax (I can watch TV fine my problems start wheni transcode)

vlc.exe dvb-t:// :dvb-frequency=722000 :dvb-bandwidth=8 :sout=#transcode{vcodec=WMV2,vb=768,scale=1,acodec=mp3,ab=96,channels=1}:duplicate{dst=std{access=mmsh,mux=asf,dst=127.0.0.1:1234}} --verbose=2

The stream starts but when i access it via WMP or even VLC in another session the audio is spot on but the picture is over contrasted and very blocky, it tends to buffer a lot also, ive tried the sout-display-delay=xxx option on the end of the syntax but it makes no difference.

Examples

http://213.146.131.4/~nickc/snap.jpg
http://213.146.131.4/~nickc/snap2.jpg

The VLC logs show the following, i get the same problem if i stream an analog signal, im no expert but the messages at the bottom that say "late picture skipped" and "late buffer for mux input" to me say VLC isnt coping with the speed in which its receiving data from my card ?????? I may be wrong (prob am:)

Can anyone help with this problem ?

main debug: CPU has capabilities 486 586 MMX MMXEXT SSE SSE2 FPU
main debug: looking for memcpy module: 3 candidates
main debug: using memcpy module "memcpymmxext"
main debug: thread 8832 (Interaction control) created at priority 0 (interface/interaction.c:382)
main debug: thread started
main debug: Creating an input for 'Media Library'
main debug: Input is a meta file: disabling unneeded options
main debug: `file/xspf-open://E:\Users\n_close\AppData\Roaming\vlc\ml.xspf' gives access `file' demux `xspf-open' path `E:\Users\n_close\AppData\Roaming\vlc\ml.xspf'
main debug: creating access 'file' path='E:\Users\n_close\AppData\Roaming\vlc\ml.xspf'
main debug: looking for access module: 2 candidates
access_file debug: opening file `E:\Users\n_close\AppData\Roaming\vlc\ml.xspf'
main debug: using access module "access_file"
main debug: TIMER module_Need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: Using AStream*Stream
main debug: pre-buffering...
main debug: received first data for our buffer
main debug: creating demux: access='file' demux='xspf-open' path='E:\Users\n_close\AppData\Roaming\vlc\ml.xspf'
main debug: looking for demux module: 1 candidate
playlist debug: using XSPF playlist reader
main debug: using demux module "playlist"
main debug: TIMER module_Need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms)
main debug: `file/xspf-open://E:\Users\n_close\AppData\Roaming\vlc\ml.xspf' successfully opened
main debug: looking for xml module: 1 candidate
main debug: using xml module "xtag"
main debug: TIMER module_Need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
playlist warning: invalid <playlist> attribute:"xmlns:vlc"
playlist debug: parsed 0 tracks successfully
main debug: removing module "xtag"
main debug: EOF reached
main debug: control type=1
main debug: removing module "playlist"
main debug: removing module "access_file"
main debug: TIMER input launching for 'Media Library' : 4.000 ms - Total 4.000 ms / 1 intvls (Avg 4.000 ms)
main debug: waiting for thread initialization
main debug: thread started
main debug: thread 8908 (preparser) created at priority 0 (playlist/thread.c:79)
main debug: waiting for thread initialization
main debug: thread started
main debug: thread 8920 (fetcher) created at priority 0 (playlist/thread.c:108)
main debug: waiting for thread initialization
main debug: thread started
main debug: rebuilding array of current - root Playlist
main debug: rebuild done - 0 items, index -1
main debug: thread 8916 (playlist) created at priority 0 (playlist/thread.c:117)
main debug: looking for interface module: 1 candidate
main debug: using interface module "hotkeys"
main debug: TIMER module_Need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: thread 8940 (interface) created at priority 0 (interface/interface.c:168)
main debug: thread started
main debug: adding item `dvb-t://' ( dvb-t:// )
main info: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
main debug: looking for interface module: 3 candidates
main debug: using interface module "qt4"
main debug: TIMER module_Need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: thread 8980 (interface) created at priority 0 (interface/interface.c:168)
main debug: starting new item
main debug: processing request item null node Playlist skip 0
main debug: rebuilding array of current - root Playlist
main debug: rebuild done - 1 items, index -1
main debug: creating new input thread
main debug: Creating an input for 'dvb-t://'
main debug: thread started
main debug: waiting for thread initialization
main debug: thread started
main debug: thread 9112 (input) created at priority 1 (input/input.c:370)
main debug: stream=`transcode'
main debug: looking for sout stream module: 1 candidate
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=mmsh,mux=asf,dst=127.0.0.1:1234}'
main debug: stream=`std'
main debug: looking for sout stream module: 1 candidate
main debug: set config option: sout-standard-access to mmsh
main debug: set config option: sout-standard-mux to asf
main debug: set config option: sout-standard-dst to 127.0.0.1:1234
stream_out_standard debug: creating `mmsh/asf://127.0.0.1:1234'
stream_out_standard debug: extension is 1:1234
stream_out_standard debug: extension -> mux=(null)
stream_out_standard warning: fixing to mmsh/asfh
stream_out_standard debug: using `mmsh/asfh://127.0.0.1:1234'
main debug: looking for sout access module: 1 candidate
main info: creating httpd
main debug: net: listening to 127.0.0.1 port 1234
main debug: thread 9244 (httpd host thread) created at priority 0 (network/httpd.c:1107)
main debug: using sout access module "access_output_http"
main debug: TIMER module_Need() : 3.000 ms - Total 3.000 ms / 1 intvls (Avg 3.000 ms)
stream_out_standard debug: access opened
main debug: thread started
main debug: looking for sout mux module: 1 candidate
mux_asf debug: asf muxer opened
mux_asf debug: creating asf stream to be used with mmsh
mux_asf debug: Packet size 4096
mux_asf debug: meta data: title='', author='', copyright='', comment='', rating=''
main debug: using sout mux module "mux_asf"
main debug: TIMER module_Need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms)
main debug: muxer support adding stream at any time
main debug: muxer prefers to wait for all ES before starting to mux
stream_out_standard debug: mux opened
main debug: using sout stream module "stream_out_standard"
main debug: TIMER module_Need() : 6.000 ms - Total 6.000 ms / 1 intvls (Avg 6.000 ms)
main debug: using sout stream module "stream_out_duplicate"
main debug: TIMER module_Need() : 6.000 ms - Total 6.000 ms / 1 intvls (Avg 6.000 ms)
main debug: set config option: sout-transcode-vcodec to WMV2
main debug: set config option: sout-transcode-vb to 768
main debug: set config option: sout-transcode-scale to 1
main debug: set config option: sout-transcode-acodec to mp3
main debug: set config option: sout-transcode-ab to 96
main debug: set config option: sout-transcode-channels to 1
stream_out_transcode debug: codec audio=mp3 0Hz 1 channels 96Kb/s
stream_out_transcode debug: codec video=WMV2 0x0 scaling: 1.000000 768kb/s
main debug: using sout stream module "stream_out_transcode"
main debug: TIMER module_Need() : 11.000 ms - Total 11.000 ms / 1 intvls (Avg 11.000 ms)
main debug: `dvb-t://' gives access `dvb-t' demux `' path `'
main debug: creating demux: access='dvb-t' demux='' path=''
main debug: looking for access_demux module: 0 candidates
main warning: no access_demux module matched "dvb-t"
main debug: TIMER module_Need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: creating access 'dvb-t' path=''
main debug: looking for access module: 1 candidate
bda debug: FindFilter: Connected Hauppauge WinTV 88x DVB-T Tuner/Demod
bda debug: FindFilter: Connected Hauppauge WinTV 88x TS Capture
qt4 debug: Error while initializing qt-specific localization
qt4 debug: Updating the stream status: 3
bda debug: FindFilter: Connected BDA MPEG2 Transport Information Filter
bda debug: Register: registered Graph: VLC BDA Graph 038ffb30 Pid 00000cc0
main debug: using access module "bda"
main debug: TIMER module_Need() : 721.000 ms - Total 721.000 ms / 1 intvls (Avg 721.000 ms)
qt4 debug: New Event: type 1103
qt4 debug: Updating the stream status: 2
main debug: Using AStream*Block
main debug: pre buffering
bda warning: BDA ReadBuffer: Sample Discontinuity. 0x 0
main debug: received first data for our buffer
main debug: prebuffering done 47376 bytes in 0s - 2102 kbytes/s
main debug: creating demux: access='dvb-t' demux='' path=''
main debug: looking for demux module: 51 candidates
main debug: using demux module "ts"
main debug: TIMER module_Need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms)
main debug: looking for a subtitle file in e:\Program Files\VideoLAN\VLC\
ts debug: DEMUX_SET_GROUP 0 00000000
main debug: starting in async mode
main debug: `dvb-t://' successfully opened
ts debug: pid[640] unknown
ts debug: pid[610] unknown
ts debug: pid[600] unknown
ts debug: pid[620] unknown
ts debug: pid[650] unknown
ts debug: pid[621] unknown
ts debug: pid[641] unknown
ts debug: pid[651] unknown
ts debug: pid[652] unknown
ts debug: pid[601] unknown
main debug: control type=1
ts debug: pid[611] unknown
qt4 debug: New Event: type 1103
ts debug: pid[1005] unknown
qt4 debug: Updating the stream status: 3
ts debug: pid[4170] unknown
ts debug: pid[653] unknown
ts debug: pid[16] unknown
ts debug: pid[602] unknown
ts debug: pid[4351] unknown
ts debug: pid[4479] unknown
ts debug: pid[4671] unknown
ts debug: pid[4234] unknown
ts debug: PATCallBack called
ts debug: new PAT ts_id=4106 version=16 current_next=1
ts debug: * number=0 pid=16
ts debug: * number=4351 pid=4351
ts debug: * number=4415 pid=4415
ts debug: * number=4479 pid=4479
ts debug: * number=4671 pid=4671
ts debug: * number=4234 pid=4234
ts debug: * number=4170 pid=4170
ts debug: pid[1014] unknown
ts debug: pid[1021] unknown
ts debug: pid[1011] unknown
ts debug: PMTCallBack called
ts debug: new PMT program number=4415 version=16 pid_pcr=640
ts debug: * es pid=640 type=2 fcc=mpgv
main debug: selecting program id=4415
qt4 debug: New Event: type 1108
main debug: looking for packetizer module: 18 candidates
main debug: using packetizer module "packetizer_mpegvideo"
main debug: TIMER module_Need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: thread 11200 (decoder) created at priority 0 (input/decoder.c:217)
ts debug: found language: eng
ts debug: * es pid=641 type=3 fcc=mpga
main debug: thread started
main debug: looking for packetizer module: 18 candidates
main debug: using packetizer module "mpeg_audio"
main debug: TIMER module_Need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: thread 11228 (decoder) created at priority 2 (input/decoder.c:217)
main debug: thread started
ts debug: * es pid=643 type=6 dr->i_tag=0x52
ts debug: * Stream Component Identifier: 5
ts debug: * es pid=643 type=6 dr->i_tag=0x59
ts debug: * es pid=643 type=6 fcc=dvbs
ts debug: * es pid=650 type=11 *unknown*
ts debug: * es pid=651 type=11 *unknown*
ts debug: * es pid=652 type=11 *unknown*
ts debug: * es pid=1014 type=11 *unknown*
ts debug: * es pid=1015 type=11 *unknown*
ts debug: * es pid=1016 type=11 *unknown*
ts warning: first packet for pid=650 cc=0xf
ts warning: first packet for pid=640 cc=0xa
ts warning: first packet for pid=651 cc=0x4
ts warning: first packet for pid=641 cc=0xf
ts warning: first packet for pid=652 cc=0x6
ts debug: PMTCallBack called
ts debug: new PMT program number=4170 version=8 pid_pcr=600
ts debug: * es pid=600 type=2 fcc=mpgv
ts debug: found language: eng
ts debug: * es pid=601 type=3 fcc=mpga
ts debug: found language: eng
ts debug: * es pid=602 type=3 fcc=mpga
ts debug: * es pid=603 type=6 dr->i_tag=0x59
ts debug: * es pid=603 type=6 dr->i_tag=0x52
ts debug: * Stream Component Identifier: 5
ts debug: * es pid=603 type=6 fcc=dvbs
ts debug: * es pid=1005 type=11 *unknown*
ts debug: * es pid=1006 type=11 *unknown*
ts debug: * es pid=1007 type=11 *unknown*
ts warning: pmt error: pid=650 already defined
ts warning: pmt error: pid=651 already defined
ts warning: pmt error: pid=652 already defined
ts warning: first packet for pid=600 cc=0x8
ts warning: first packet for pid=601 cc=0x7
ts warning: first packet for pid=602 cc=0x5
ts debug: PMTCallBack called
ts debug: new PMT program number=4351 version=21 pid_pcr=620
ts warning: pmt error: pid=650 already defined
ts warning: pmt error: pid=651 already defined
ts warning: pmt error: pid=652 already defined
ts debug: * es pid=1011 type=11 *unknown*
ts debug: * es pid=1012 type=11 *unknown*
ts debug: * es pid=620 type=2 fcc=mpgv
ts debug: found language: eng
ts debug: * es pid=621 type=3 fcc=mpga
ts debug: * es pid=623 type=6 dr->i_tag=0x52
ts debug: * Stream Component Identifier: 5
ts debug: * es pid=623 type=6 dr->i_tag=0x59
ts debug: * es pid=623 type=6 fcc=dvbs
ts debug: found language: eng
ts debug: * es pid=622 type=3 fcc=mpga
ts warning: first packet for pid=620 cc=0xb
ts warning: first packet for pid=621 cc=0xd
ts debug: PMTCallBack called
ts debug: new PMT program number=4479 version=11 pid_pcr=8191
ts debug: * descriptor : unknown (0xc3)
ts warning: pmt error: pid=650 already defined
ts warning: pmt error: pid=651 already defined
ts warning: pmt error: pid=652 already defined
message warning: message queue overflowed
main warning: late buffer for mux input (59160)
mux_asf debug: Asf muxer creating header
mux_asf debug: pixel aspect-ratio: 64/45
main warning: late buffer for mux input (313749)
stream_out_transcode debug: late picture skipped (72160)
main warning: late buffer for mux input (291749)
stream_out_transcode debug: late picture skipped (34160)
main warning: late buffer for mux input (269749)
main warning: late buffer for mux input (113160)
main warning: late buffer for mux input (413749)
stream_out_transcode debug: late picture skipped (124160)
main warning: late buffer for mux input (391749)
stream_out_transcode debug: late picture skipped (87160)
main warning: late buffer for mux input (370868)
main warning: late buffer for mux input (347868)
main warning: late buffer for mux input (323868)
stream_out_transcode debug: late picture skipped (51279)
main warning: late buffer for mux input (303868)
stream_out_transcode debug: late picture skipped (14160)
main warning: late buffer for mux input (2011100)
stream_out_transcode debug: late picture skipped (33379)
main warning: late buffer for mux input (1989100)
main warning: late buffer for mux input (40379)
main warning: late buffer for mux input (2060979)
stream_out_transcode debug: late picture skipped (51379)
main warning: late buffer for mux input (2038979)
stream_out_transcode debug: late picture skipped (13379)
main warning: late buffer for mux input (2017979)
main warning: late buffer for mux input (22379)
main warning: late buffer for mux input (2090979)
stream_out_transcode debug: late picture skipped (33461)
main warning: late buffer for mux input (2068979)
main warning: late buffer for mux input (20461)
main warning: late buffer for mux input (2120979)
stream_out_transcode debug: late picture skipped (31461)
main warning: late buffer for mux input (2098979)
main warning: late buffer for mux input (24461)
main warning: late buffer for mux input (2156979)
stream_out_transcode debug: late picture skipped (35461)
main warning: late buffer for mux input (2135979)
main warning: late buffer for mux input (8461)
main warning: late buffer for mux input (2171979)
stream_out_transcode debug: late picture skipped (18424)

*** SNIP *** many many many more pages of these message whilst the stream is transcoding[quote][/quote]

thexmanukuk
New Cone
New Cone
Posts: 6
Joined: 13 Oct 2008 22:24

Re: DVB-T Streaming problem with VLC 0.9.4

Postby thexmanukuk » 15 Oct 2008 22:02

Ive just discovered that if i set the scale to 0.5 the picture stablises and the errors in the logs stop (but the problem comes back occasionally), however the picture resolution is now at 368x294, if i set the scale any higher the problem returns.

Anyone know of a work around for this, its only an issue with transcoding ?

thexmanukuk
New Cone
New Cone
Posts: 6
Joined: 13 Oct 2008 22:24

Re: DVB-T Streaming problem with VLC 0.9.4

Postby thexmanukuk » 16 Oct 2008 22:56

I finally found a work around for this, it looks like a bug in the transcoding part of 0.9.x, firstly if i setup a stream from 0.9 with no transcoding at all, just a raw stream to another version of vlc running on the same machine but the second version being 0.8.x and then transcode from this to the format above, it works fine, if i do it all within a single version of 0.9.x it doesnt work its all blocky.

At least for now i have a fix all be it messy the developers need to look into this as it seems the more you reduce the VB rate on codecs and the higher you put the scale the more blocky it becomes, NON of these problems exist in version 0.8.x


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 15 guests