Page 1 of 1

VLC does not create the file vlc.dsp

Posted: 28 Jul 2010 04:39
by tekenika
VLC does not create the file vlc.dsp
For example

Code: Select all

hector@negra:~$ vlc "/media/ubuntu/home/hector/test.mov" -vvv input_stream --sout='#duplicate{dst=display, dst="transcode{venc=x264{keyint=60,idrint=2},vcodec=h264,vb=300,acodec=mp4a,ab=32,channels=2,samplerate=22050}:rtp{dst=127.0.0.1,port=1234,sdp=file:///home/hector/Desktop/vlc.sdp}"}'
I use Linux Debian Squeeze and VLC 1.1.0
I need to use the jtvlc for streaming.
As vlc.sdp is not created, JTVLC gives the following error:

Code: Select all

ERROR 102: Could not find or access file '/home/xxxxx/vlc.sdp'. Suggestions: Have you started VLC yet? Is it broadcasting? Does VLC successfully create the file? See 'readme.txt' for more information. Aborting...
Any ideas?
I thank in advance and excuse my English

Re: VLC does not create the file vlc.dsp

Posted: 28 Jul 2010 11:58
by xtophe
get some logs !
(-vvv)

Re: VLC does not create the file vlc.dsp

Posted: 02 Aug 2010 19:42
by peladobonansea
I´m having the same problem...
This is what I´m getting with this configuration. The same configuration is working with vlc version 0.9.9a
new canal3 broadcast enabled
#Video device
setup canal3 input v4l2:///dev/video0

#Video device input
setup canal3 option v4l2-input=1

#Audio device, use alsamixer also
#setup canal3 option v4l2-adev=/dev/audio

#Video transcoding options

setup canal3 output #transcode:rtp
setup canal3 option sout-transcode-vcodec=h264
setup canal3 option sout-transcode-vb=1500
setup canal3 option sout-transcode-scale=0.9
setup canal3 option sout-transcode-deinterlace
setup canal3 option sout-transcode-fps=25

#Audio transcoding options
#setup canal3 option sout-transcode-acodec=mpga
#setup canal3 option sout-transcode-ab=128
#setup canal3 option sout-transcode-channels=2

#Streaming method
setup canal3 option sout-rtp-dst=0.0.0.0
setup canal3 option sout-rtp-port=5554
setup canal3 option sout-rtp-sdp=rtsp://0.0.0.0:5554/canal3.sdp
control canal3 play


Some log extract related to sdp:

[0x7f5b7c001310] [Media: canal3] stream_out_rtp stream out debug: sdp=
v=0
o=- 14988354978785708799 14988354978785708799 IN IP4 video-stream
s=Unnamed
i=N/A
c=IN IP4 127.0.0.1
t=0 0
a=tool:vlc 1.1.2
a=recvonly
a=type:broadcast
a=charset:UTF-8
m=video 5554 RTP/AVP 96
b=AS:1500
b=RR:0
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1;profile-level-id=64001f;sprop-parameter-sets=Z2QAH6zZQKAQb/wAJAAgQAAAAwBAAAAMo8YMZYA=,aOvssiw=;

Can´t connect to the streaming with vlc, I can see some rtsp tries but the only thing I get is this error.
Ha fallado la conexión:
VLC no ha podido conectarse a «192.168.1.1:5554».
Su entrada no puede abrirse:
VLC es incapaz de abrir el MRL «rtsp://192.168.1.1:5554/canal3.sdp». Vea el registro para más detalles.

Any help will be apreciated

regards

Re: VLC does not create the file vlc.dsp

Posted: 04 Aug 2010 15:51
by Jean-Baptiste Kempf
192.168.1.1 is your localhost?

Re: VLC does not create the file vlc.dsp

Posted: 05 Aug 2010 03:24
by tekenika
Thanks for your reply.
I'm just a simple user who needs to stream audio
to a page on Justin Tv.
So to enable the webcam or better yet a picture for me would be fine.
I try to implement the instructions published in:
http://apiwiki.justin.tv/mediawiki/inde ... asting_API
For example:

Code: Select all

vlc v4l2:// -vvv input_stream --sout='#duplicate{dst=display, dst="transcode{venc=x264{keyint=60,idrint=2},vcodec=h264,vb=300,acodec=mp4a,ab=32,channels=2,samplerate=44100}:rtp{dst=127.0.0.1,port=1234,sdp=file:///home/hector/Escritorio/vlc.sdp}"}'
VLC Returns the following error:

Code: Select all

Unable to open 'v4l2://' Unable to open 'input_stream'
The console output is very extensive.

It seems obvious that "v4l2://" is incorrect.
Looking at VLC. Capture Device. I see the following:
Video Device Name: /dev/video
And below, to customize:
v4l:// :v4l-vdev="/dev/video" :v4l-adev="/dev/dsp" :v4l-norm=3 :v4l-frequency=-1
I imagine that would replace:
'v4l2://' by some of those above. I tried several, but I do not know how.

Thanks in advance

Re: VLC does not create the file vlc.dsp

Posted: 05 Aug 2010 20:00
by peladobonansea
Thanks for your answer JB, this host is the configured streaming server in my Lan. My local host or the machine I´m using is 192.168.1.20