Vlc streaming from TV-tuner. Can capture, but can't stream.

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
karapetyan
Blank Cone
Blank Cone
Posts: 64
Joined: 17 May 2010 14:48

Vlc streaming from TV-tuner. Can capture, but can't stream.

Postby karapetyan » 22 Aug 2010 21:00

Hello, Guys.
TV-tuner connected to computer via USB 2.0 and camcorder connected to TV-tuner via S-Video.
VLC detect dshow-vdev:// tv-tuner "AVerMedia USB Polaris Analog Capture", i can capture and view image from cam, in stream information video codec in VLC i see YUY2.

Now i trying transcode and stream, but something wrong:

Code: Select all

"C:\Program Files\VideoLAN\VLC\vlc.exe" dshow:// :dshow-vdev="AVerMedia USB Polaris Analog Capture" :aspect-ratio=16x9 :sout=#transcode{vcodec=h264,deinterlace,vb=280,width=320,height=240,scale=1,acodec=none}:http{mux=ts,dst=192.168.0.2:6666,ttl=200}
when i trying open stream in vlc http://192.168.0.2:6666
shows next messages:
main warning: connection timed out
access_http error: cannot connect to 192.168.0.2:6666
main warning: connection timed out
access_mms error: cannot connect to 192.168.0.2:6666
main warning: no access module matching "http" could be loaded
main debug: TIMER module_need() : 10160.000 ms - Total 10160.000 ms / 1 intvls (Avg 10160.000 ms)
main debug: waitpipe: object killed
main error: open of `http://192.168.0.2:6666' failed: (null)
main debug: thread ended
main debug: dead input
main debug: destroying useless sout
main debug: destroying chain... (name=std)
main debug: removing module "mux_ts"
main debug: waitpipe: object killed
main debug: HTTP host removed
main debug: no hosts left, stopping httpd
access_output_http debug: Close
main debug: removing module "access_output_http"
main debug: removing module "stream_out_standard"
main debug: destroying chain done
main debug: thread times: real 0m10.171744s, kernel 0m0.000000s, user 0m0.015625s
main debug: changing item without a request (current 0/1)
main debug: using item 0
main debug: starting new item
main debug: creating new input thread
main debug: Creating an input for 'http://192.168.0.2:6666'
main debug: thread started
main debug: stream=`std'
main debug: looking for sout stream module: 1 candidate
main debug: thread (input) created at priority 1 (../.././src/input/input.c:230)
main debug: set config option: sout-standard-access to http
main debug: set config option: sout-standard-mux to ts
main debug: set config option: sout-standard-dst to 10.1.4.149:7777
stream_out_standard debug: creating `http/ts://10.1.4.149:7777'
stream_out_standard debug: extension is 149:7777
stream_out_standard debug: extension -> mux=(null)
stream_out_standard debug: using `http/ts://10.1.4.149:7777'
main debug: looking for sout access module: 1 candidate
main info: creating httpd
main debug: net: listening to 10.1.4.149 port 7777
main debug: using sout access module "access_output_http"
main debug: TIMER module_need() : 4.000 ms - Total 4.000 ms / 1 intvls (Avg 4.000 ms)
stream_out_standard debug: access opened
main debug: looking for sout mux module: 1 candidate
mux_ts debug: shaping=200000 pcr=70000 dts_delay=400000
main debug: using sout mux module "mux_ts"
main debug: TIMER module_need() : 4.000 ms - Total 4.000 ms / 1 intvls (Avg 4.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() : 8.000 ms - Total 8.000 ms / 1 intvls (Avg 8.000 ms)
main debug: using timeshift granularity of 50 MBytes
main debug: using timeshift path 'C:\TEMP'
main debug: `http://192.168.0.2:6666' gives access `http' demux `' path `192.168.0.2:6666'
main debug: creating demux: access='http' demux='' path='192.168.0.2:6666'
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.0.2:6666'
main debug: looking for access module: 2 candidates
access_http debug: http: server='192.168.0.2' port=6666 file='(null)
main debug: net: connecting to 192.168.0.2 port 6666
main debug: connection: Resource temporarily unavailable
qt4 debug: IM: Deleting the input
qt4 debug: Updating the geometry
qt4 debug: Updating the geometry
main debug: TIMER input launching for 'http://192.168.0.2:6666' : 10195.000 ms - Total 10195.000 ms / 1 intvls (Avg 10195.000 ms)
qt4 debug: IM: Setting an input
qt4 debug: Updating the geometry
May be i should use another tv-tuner? Could you recommend a model of TV tuner that works fine with VLC?

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Vlc streaming from TV-tuner. Can capture, but can't stre

Postby VLC_help » 23 Aug 2010 14:58

More details about your network configuration, please.

karapetyan
Blank Cone
Blank Cone
Posts: 64
Joined: 17 May 2010 14:48

Re: Vlc streaming from TV-tuner. Can capture, but can't stre

Postby karapetyan » 23 Aug 2010 15:47

VLC now start streaming, because timer (playing time) start from 7 munite and "jumping"...
seems like another vlc bug...
--
Laptop connect to internet, after that connect to VPN, there get adress
192.168.0.2 and stream to himself.

another vlc have ip 10.1.4.149 and connect to 10.192.168.0.2:6666 via http and trying stream to himself 10.1.4.149:7777 (because vlc that streaming from tv-tuner have low bandwidth internet connection)
Last edited by karapetyan on 23 Aug 2010 21:25, edited 1 time in total.

karapetyan
Blank Cone
Blank Cone
Posts: 64
Joined: 17 May 2010 14:48

Re: Vlc streaming from TV-tuner. Can capture, but can't stre

Postby karapetyan » 23 Aug 2010 15:52

Network configuration works fine, because when i try stream from another source (IEEE1394 on Cam) - streaming works fine
in same adresses and ports.

karapetyan
Blank Cone
Blank Cone
Posts: 64
Joined: 17 May 2010 14:48

Re: Vlc streaming from TV-tuner. Can capture, but can't stre

Postby karapetyan » 23 Aug 2010 19:39

on pinnacle 510-USB Same problem :(

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Vlc streaming from TV-tuner. Can capture, but can't stre

Postby VLC_help » 24 Aug 2010 15:20

I don't still understand your network config. Does the server computer have multiple IP addresses?

karapetyan
Blank Cone
Blank Cone
Posts: 64
Joined: 17 May 2010 14:48

Re: Vlc streaming from TV-tuner. Can capture, but can't stre

Postby karapetyan » 24 Aug 2010 21:19

no.
vlc server have 1 ip-adress 10.1.4.149

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Vlc streaming from TV-tuner. Can capture, but can't stre

Postby VLC_help » 25 Aug 2010 15:14

OK, why you then set dst=192.168.0.2:6666 ?

karapetyan
Blank Cone
Blank Cone
Posts: 64
Joined: 17 May 2010 14:48

Re: Vlc streaming from TV-tuner. Can capture, but can't stre

Postby karapetyan » 25 Aug 2010 17:41

because on server i get stream from http://192.168.0.2:6666

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Vlc streaming from TV-tuner. Can capture, but can't stre

Postby VLC_help » 26 Aug 2010 16:01

I don't understand.

karapetyan
Blank Cone
Blank Cone
Posts: 64
Joined: 17 May 2010 14:48

Re: Vlc streaming from TV-tuner. Can capture, but can't stre

Postby karapetyan » 26 Aug 2010 16:34

First vlc player installed on laptop and camcorder connected to laptop via usb tv-tuner (svideo input)
laptop connects to VPN and get ip-adress 192.168.0.2:6666
after that on laptop i start bat-script

Code: Select all

"C:\Program Files\VideoLAN\VLC\vlc.exe" dshow:// :dshow-vdev="AVerMedia USB Polaris Analog Capture" :aspect-ratio=16x9 :sout=#transcode{vcodec=h264,deinterlace,vb=280,width=320,height=240,scale=1,acodec=none}:http{mux=ts,dst=192.168.0.2:6666,ttl=200}
second vlc player installed on server (10.1.4.149)
on server i run next script:

Code: Select all

"C:\Program Files\VideoLAN\VLC\vlc.exe" http://192.168.0.2:6666 :sout=#std{access=http,mux=ts,dst=10.1.4.149:7777} --loop --http-reconnect
clents run script:

Code: Select all

"C:\Program Files\VideoLAN\VLC\vlc.exe" http://10.1.4.149:7777

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Vlc streaming from TV-tuner. Can capture, but can't stre

Postby VLC_help » 27 Aug 2010 18:27

192.168.* and 10.* are on different private subnets. You cannot connect from 192.168.* to 10.* or vice versa.

Ludrax
Big Cone-huna
Big Cone-huna
Posts: 568
Joined: 07 Jul 2010 14:28

Complicated

Postby Ludrax » 28 Aug 2010 00:50

brings us back to
Network configuration works fine, because when i try stream from another source (IEEE1394 on Cam) - streaming works fine
in same adresses and ports.

Code: Select all

laptop(192.168.0.2:6666) | VPN vlc.exe dshow:// :dshow-vdev="AVerMedia USB Polaris Analog Capture" :aspect-ratio=16x9 :sout=#transcode{vcodec=h264,deinterlace,vb=280,width=320,height=240,scale=1,acodec=none}:http{mux=ts,dst=192.168.0.2:6666,ttl=200} server (10.1.4.149) vlc.exe http://192.168.0.2:6666 :sout=#std{access=http,mux=ts,dst=10.1.4.149:7777} clents vlc.exe http://10.1.4.149:7777
An' if ain't broke, then don't try to fix it...

karapetyan
Blank Cone
Blank Cone
Posts: 64
Joined: 17 May 2010 14:48

Re: Vlc streaming from TV-tuner. Can capture, but can't stre

Postby karapetyan » 28 Aug 2010 05:27

192.168.* and 10.* are on different private subnets. You cannot connect from 192.168.* to 10.* or vice versa.
why? if i have appropriate rules/routes on firewall.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Vlc streaming from TV-tuner. Can capture, but can't stre

Postby VLC_help » 28 Aug 2010 18:03

Have you checked that via Wireshark?

karapetyan
Blank Cone
Blank Cone
Posts: 64
Joined: 17 May 2010 14:48

Re: Vlc streaming from TV-tuner. Can capture, but can't stre

Postby karapetyan » 28 Aug 2010 19:04

my network configurations works fine.
when i start same VLC-scripts in same network configuration but use another video source (instead tv-tuner i use camcorder connected directly to laptop via ieee1394) all works fine.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Vlc streaming from TV-tuner. Can capture, but can't stre

Postby VLC_help » 29 Aug 2010 17:20

Well since the error is
access_http error: cannot connect to 192.168.0.2:6666
main warning: connection timed out
then the server isn't either running or it isn't streaming anything. You can check logs about how well the streaming starts.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 67 guests