SergioDanielG Wrote:Hi miyop.
From command line use cvlc, and some like this.
- Code: Select All Code
cvlc -vvv --color --ttl 12 --ts-es-id-pid --programs=161 dvb:///dev/dvb/adapter0 \
--dvb-adapter=0 --dvb-frequency=11603000 --dvb-srate=8500000 --dvb-voltage=13 \
--sout-standard-access=udp --sout-standard-mux=ts --sout \ '#duplicate{dst=rtp{dst=address1,mux=ts},select="program=161",dst=rtp{dst=10.0.0.2,port=5004,mux=ts},select="program=161"}'
Additionally, you can find more details about vlc stream in
http://www.videolan.org/doc/streaming-h ... /ch09.html Best regards.
When I enter your input I get that output:
main stream out warning: missing value for option mux
[0x7ff3ec0015a8] main stream out warning: missing value for option access
[0x7ff3ec0015a8] main stream out debug: set config option: sout-standard-dst to
[0x7ff3ec002aa8] main access out debug: looking for sout access module: 1 candidate
[0x7ff3ec002aa8] main access out debug: net: connecting to [ ]:1234
[0x7ff3ec002aa8] main access out error: cannot resolve [ ]:1234 : Name or service not known
[0x7ff3ec002aa8] access_output_udp access out error: failed to create raw UDP socket
[0x7ff3ec002aa8] main access out debug: no sout access module matching "udp" could be loaded
[0x7ff3ec002aa8] main access out debug: TIMER module_need() : 200.693 ms - Total 200.693 ms / 1 intvls (Avg 200.693 ms)
[0x7ff3ec0015a8] stream_out_standard stream out error: no suitable sout access module for `udp/ts:// '
[0x7ff3ec0015a8] main stream out debug: no sout stream module matching "standard" could be loaded
[0x7ff3ec0015a8] main stream out debug: TIMER module_need() : 201.063 ms - Total 201.063 ms / 1 intvls (Avg 201.063 ms)
[0x7ff3ec0015a8] main stream out debug: destroying chain... (name=(null))
[0x7ff3ec0015a8] main stream out debug: destroying chain done
[0x7ff3ec004178] main stream output error: stream chain failed for `standard{mux="",access="",dst=" "}'
[0x7ff3f4000b28] main input error: cannot start stream output instance, aborting
[0x1e8ae08] main playlist debug: finished input
[0x1e8ae08] main playlist debug: dead input
[0x7ff3f4000b28] main input debug: TIMER input launching for 'dvb:///dev/dvb/adapter0' : 201.645 ms - Total 201.645 ms / 1 intvls (Avg 201.645 ms)
[0x1e8ae08] main playlist debug: changing item without a request (current 0/2)
[0x1e8ae08] main playlist debug: using item 1
[0x1e8ae08] main playlist debug: starting playback of the new playlist item
[0x1e8ae08] main playlist debug: resyncing on #duplicate{dst=rtp{dst=address1,mux=ts},select="program=161",dst=rtp{dst=10.0.0.2,port=5004,mux=ts},select="program=161"}
[0x1e8ae08] main playlist debug: #duplicate{dst=rtp{dst=address1,mux=ts},select="program=161",dst=rtp{dst=10.0.0.2,port=5004,mux=ts},select="program=161"} is at 1
[0x1e8ae08] main playlist debug: creating new input thread
[0x7ff3f4000b28] main input debug: Creating an input for '#duplicate{dst=rtp{dst=address1,mux=ts},select="program=161",dst=rtp{dst=10.0.0.2,port=5004,mux=ts},select="program=161"}'
[0x7ff3ec003f38] main stream output debug: using sout chain=`standard{mux="",access="",dst=" "}'
[0x7ff3ec003f38] main stream output debug: stream=`standard'
[0x7ff3ec003d58] main stream out debug: looking for sout stream module: 1 candidate
[0x7ff3ec003d58] main stream out warning: missing value for option mux
[0x7ff3ec003d58] main stream out warning: missing value for option access
[0x7ff3ec003d58] main stream out debug: set config option: sout-standard-dst to
[0x7ff3ec003b58] main access out debug: looking for sout access module: 1 candidate
[0x7ff3ec003b58] main access out debug: net: connecting to [ ]:1234
[0x7ff3ec003b58] main access out error: cannot resolve [ ]:1234 : Name or service not known
[0x7ff3ec003b58] access_output_udp access out error: failed to create raw UDP socket
[0x7ff3ec003b58] main access out debug: no sout access module matching "udp" could be loaded
[0x7ff3ec003b58] main access out debug: TIMER module_need() : 47.235 ms - Total 47.235 ms / 1 intvls (Avg 47.235 ms)
[0x7ff3ec003d58] stream_out_standard stream out error: no suitable sout access module for `udp/ts:// '
[0x7ff3ec003d58] main stream out debug: no sout stream module matching "standard" could be loaded
[0x7ff3ec003d58] main stream out debug: TIMER module_need() : 47.599 ms - Total 47.599 ms / 1 intvls (Avg 47.599 ms)
[0x7ff3ec003d58] main stream out debug: destroying chain... (name=(null))
[0x7ff3ec003d58] main stream out debug: destroying chain done
[0x7ff3ec003f38] main stream output error: stream chain failed for `standard{mux="",access="",dst=" "}'
[0x7ff3f4000b28] main input error: cannot start stream output instance, aborting
[0x1e8ae08] main playlist debug: finished input
[0x1e8ae08] main playlist debug: dead input
[0x7ff3f4000b28] main input debug: TIMER input launching for '#duplicate{dst=rtp{dst=address1,mux=ts},select="program=161",dst=rtp{dst=10.0.0.2,port=5004,mux=ts},select="program=161"}' : 48.135 ms - Total 48.135 ms / 1 intvls (Avg 48.135 ms)
[0x1e8ae08] main playlist debug: changing item without a request (current 1/2)
[0x1e8ae08] main playlist debug: nothing to play
If it won't confuse you, I'm going to give another input example:
vlc -vvv dvb:// :dvb-adapter=1 : dvb-polarization=H : dvb-srate=2800000 :dvb-fec=3/4 :dvb-frequency=12569000000 --sout '#standard{access=http,mux=ts,dst=server_ip:server_port}'
which gives in return:
main access debug: looking for access module: 2 candidates
[0x7f2cf0002d38] filesystem access debug: opening file `/home/user/dvb-srate=2800000'
[0x7f2cf0002d38] filesystem access error: cannot open file /home/user/dvb-srate=2800000 (No such file or directory)
[0x7f2cf0002d38] main access error: File reading failed
[0x7f2cf0002d38] main access error: VLC could not open the file "/home/user/dvb-srate=2800000". (No such file or directory)
[0x7f2cf0002d38] main access debug: no access module matching "file" could be loaded
[0x7f2cf0002d38] main access debug: TIMER module_need() : 0.274 ms - Total 0.274 ms / 1 intvls (Avg 0.274 ms)
[0x7f2cf4000b28] main input error: open of `file:///home/user/dvb-srate%3D2800000' failed
[0x7f2cf4000b28] main input error: Your input can't be opened
[0x7f2cf4000b28] main input error: VLC is unable to open the MRL 'file:///home/user/dvb-srate%3D2800000'. Check the log for details.
[0x1173b98] main playlist debug: dead input
[0x7f2cf0005538] main stream output debug: destroying useless sout
[0x7f2cf0004fc8] main stream out debug: destroying chain... (name=standard)
[0x7f2cf0004fc8] main stream out debug: removing module "stream_out_standard"
[0x7f2cf0000db8] main mux debug: removing module "mux_ts"
[0x7f2cf0001048] main access out debug: removing module "access_output_http"
[0x7f2cf0000a98] main http host debug: waitpipe: object killed
[0x7f2cf0000a98] main http host debug: HTTP host removed
[0x7f2cf0001048] access_output_http access out debug: Close
[0x7f2cf0004fc8] main stream out debug: destroying chain done
[0x7f2cf4000b28] main input debug: TIMER input launching for 'dvb-srate=2800000' : 2.366 ms - Total 2.366 ms / 1 intvls (Avg 2.366 ms)
[0x1173b98] main playlist debug: changing item without a request (current 2/3)
[0x1173b98] main playlist debug: nothing to play
For an input like below I get a different error:
vlc -vvv dvb-s:// :dvb-adapter=1 :dvb-frequency=11096000000 :dvb-srate=30000000 :dvb-polarization=H :dvb-fec=5/6 --sout '#standard{access=http,mux=ts,dst=:port_number}'
The error is:
main access debug: looking for access module: 1 candidate
[0x7f9978006d58] dtv access error: cannot access DVR: Permission denied
[0x7f9978006d58] main access debug: no access module matching "dvb-s" could be loaded
[0x7f9978006d58] main access debug: TIMER module_need() : 0.447 ms - Total 0.447 ms / 1 intvls (Avg 0.447 ms)
[0x7f997c000b28] main input error: open of `dvb-s://' failed
[0x7f997c000b28] main input error: Your input can't be opened
[0x7f997c000b28] main input error: VLC is unable to open the MRL 'dvb-s://'. Check the log for details.
[0x18d3b88] main playlist debug: dead input
[0x7f9978000e18] main stream output debug: destroying useless sout
[0x7f99780011f8] main stream out debug: destroying chain... (name=standard)
[0x7f99780011f8] main stream out debug: removing module "stream_out_standard"
[0x7f9978005438] main mux debug: removing module "mux_ts"
[0x7f9978003ff8] main access out debug: removing module "access_output_http"
[0x7f9978004f88] main http host debug: waitpipe: object killed
[0x7f9978004f88] main http host debug: HTTP host removed
[0x7f9978003ff8] access_output_http access out debug: Close
[0x7f99780011f8] main stream out debug: destroying chain done
[0x7f997c000b28] main input debug: TIMER input launching for 'dvb-s://' : 3.619 ms - Total 3.619 ms / 1 intvls (Avg 3.619 ms)
[0x18d3b88] main playlist debug: changing item without a request (current 0/1)
[0x18d3b88] main playlist debug: nothing to play
Could you understand what the problem is? I think sending the stream is ok. Because when I send a video found on my home directory over the network I can take it from another computer. So I think that the problem is to open the dvb-s signals with vlc.