from HTTP streaming to RTPS

About encoding, codec settings, muxers and filter usage
nuvolablu
Blank Cone
Blank Cone
Posts: 29
Joined: 25 Sep 2009 15:53

from HTTP streaming to RTPS

Postby nuvolablu » 17 Aug 2010 21:48

Hello everybody!
I'm using with satisfaction vlc for streaming using HTTP streaming; as the most of you knows, HTTP streaming has inconveniency of the player normally reproduce the stream with at least 3 seconds of delay that can increase along the view (if a comunication error happends so http recall the data instead of skip it).
Now I would like to convert the string it into RTPS to have a "real" realtime streaming (without lags) but I dont know how to change the string (both strings- the vlc streaming and vlc player-)
here the string I use for the streaming:

Code: Select all

C:\Program\VideoLAN\VLC\vlc -vvv -I rc dshow:// :dshow-vdev="Video Capture" :dshow-adev="Audio Capture" :dshow-caching=2000 :dshow-chroma=UYVY :dshow-fps=25 --sout #duplicate{dst={transcode{vcodec=h264,vb=2800,scale=1,fps=25,acodec=mp3,ab=192,channels=2,samplerate=44100}:standard{access=http,mux=ts,dst=192.xx.xx.xx:8007}}} :sout-transcode-high-priority
the player:

Code: Select all

http://ip adress:8007

additional info: actually the streaming pc is behind a firewall ad it works good.

is there somebody can help me? (I'm not so tecnician)
Thanks in advance.
Best regards.
S.

nuvolablu
Blank Cone
Blank Cone
Posts: 29
Joined: 25 Sep 2009 15:53

Re: from HTTP streaming to RTPS

Postby nuvolablu » 20 Aug 2010 09:30

anybody here can't help me?
:(

Sébastien Escudier
Big Cone-huna
Big Cone-huna
Posts: 853
Joined: 06 Nov 2008 08:38
Operating System: linux

Re: from HTTP streaming to RTPS

Postby Sébastien Escudier » 20 Aug 2010 09:36

use :
access=rtp,sdp=rtsp://ip:port/name

for more information :
http://www.videolan.org/doc/streaming-h ... /ch03.html

to reduce delays, use :
rtsp-caching or http-caching

nuvolablu
Blank Cone
Blank Cone
Posts: 29
Joined: 25 Sep 2009 15:53

Re: from HTTP streaming to RTPS

Postby nuvolablu » 20 Aug 2010 10:18

hello, thanks for the reply.
I've already read all the manuals but I'm not be able to do something good.
can you help me al little more?
thamks in advance.
S.

Sébastien Escudier
Big Cone-huna
Big Cone-huna
Posts: 853
Joined: 06 Nov 2008 08:38
Operating System: linux

Re: from HTTP streaming to RTPS

Postby Sébastien Escudier » 20 Aug 2010 10:27

well, then post what you did and the error you have...

nuvolablu
Blank Cone
Blank Cone
Posts: 29
Joined: 25 Sep 2009 15:53

Re: from HTTP streaming to RTPS

Postby nuvolablu » 20 Aug 2010 10:43

C:\Program\VideoLAN\VLC\vlc -vvv -I rc dshow:// :dshow-vdev="Video Capture" :dshow-adev="Audio Capture" :dshow-caching=2000 :dshow-chroma=UYVY :dshow-fps=25 --sout #duplicate{dst={transcode{vcodec=h264,vb=2800,scale=1,fps=25,acodec=mp3,ab=192,channels=2,samplerate=44100}:standard{access=rtp,mux=ts,sdp=rtsp://192.xx.xx.xx:8007/video}}} :sout-transcode-high-priority



this the error:

Code: Select all

[0xcd783c] rc interface: VLC media player - version 1.0.1 Goldeneye - (c) 1996-2 009 the VideoLAN team [0xcd783c] rc interface: Warning: if you can't access the GUI anymore, open a command-line window, go to the directory where you installed VLC and run "vlc -I qt" Interfaccia telecomando inizializzata, `h' per la guida. [0xcd783c] main interface debug: using interface module "rc" [0xcd783c] main interface debug: TIMER module_need() : 2.000 ms - Total 2.000 ms / 1 intvls (Avg 2.000 ms) [0xcd783c] main interface debug: thread (interface) created at priority 0 (../.. /./src/interface/interface.c:151) [0xcdc49c] main playlist debug: processing request item null node Scaletta skip 0 [0xcd783c] main interface debug: thread started [0xcdc49c] main playlist debug: rebuilding array of current - root Scaletta [0xcdc49c] main playlist debug: rebuild done - 1 items, index -1 [0xcdc49c] main playlist debug: starting new item [0xcdc49c] main playlist debug: creating new input thread [0xcd3fdc] main input debug: Creating an input for 'dshow://' [0xcd3fdc] main input debug: thread (input) created at priority 1 (../.././src/i nput/input.c:230) [0xcd3fdc] main input debug: thread started [0xcddb64] main stream output debug: stream=`duplicate' [0xce8634] main stream out debug: looking for sout stream module: 1 candidate [0xce8634] stream_out_duplicate stream out debug: creating 'duplicate' [0xce8634] stream_out_duplicate stream out debug: * adding `transcode{vcodec=h2 64,vb=2800,scale=1,fps=25,acodec=mp3,ab=192,channels=2,samplerate=44100}:standar d{access=rtp,mux=ts,sdp=rtsp://192.168.10.204:8007/video}' [0xcddb64] main stream output debug: stream=`transcode' [0xce6b64] main stream out debug: looking for sout stream module: 1 candidate [0xcddb64] main stream output debug: stream=`standard' [0xce6aa4] main stream out debug: looking for sout stream module: 1 candidate [0xce6aa4] main stream out debug: set config option: sout-standard-access to rtp [0xce6aa4] main stream out debug: set config option: sout-standard-mux to ts [0xce6aa4] main stream out warning: option sdp is unknown [0xce6aa4] stream_out_standard stream out debug: creating `rtp/ts://(null)' [0xce6aa4] stream_out_standard stream out debug: using `rtp/ts://(null)' [0xce599c] main access out debug: looking for sout access module: 0 candidates [0xce599c] main access out error: no sout access module matched "rtp" [0xce599c] main access out debug: TIMER module_need() : 1.000 ms - Total 1.000 m s / 1 intvls (Avg 1.000 ms) [0xce6aa4] stream_out_standard stream out error: no suitable sout access module for `rtp/ts://(null)' [0xce6aa4] main stream out warning: no sout stream module matching "standard" co uld be loaded [0xce6aa4] main stream out debug: TIMER module_need() : 5.000 ms - Total 5.000 m s / 1 intvls (Avg 5.000 ms) [0xce6aa4] main stream out debug: destroying chain... (name=standard) [0xce6aa4] main stream out debug: destroying chain done [0xce6b64] stream_out_transcode stream out error: cannot create chain [0xce6b64] main stream out warning: no sout stream module matching "transcode" c ould be loaded [0xce6b64] main stream out debug: TIMER module_need() : 8.000 ms - Total 8.000 m s / 1 intvls (Avg 8.000 ms) [0xce6b64] main stream out debug: destroying chain... (name=transcode) [0xce6b64] main stream out debug: destroying chain done [0xce8634] stream_out_duplicate stream out error: no destination given [0xce8634] main stream out warning: no sout stream module matching "duplicate" c ould be loaded [0xce8634] main stream out debug: TIMER module_need() : 10.000 ms - Total 10.000 ms / 1 intvls (Avg 10.000 ms) [0xce8634] main stream out debug: destroying chain... (name=duplicate) [0xce8634] main stream out debug: destroying chain done [0xcddb64] main stream output error: stream chain failed for `duplicate{dst={tra nscode{vcodec=h264,vb=2800,scale=1,fps=25,acodec=mp3,ab=192,channels=2,samplerat e=44100}:standard{access=rtp,mux=ts,sdp=rtsp://192.168.10.204:8007/video}}}' [0xcd3fdc] main input error: cannot start stream output instance, aborting [0xcdc49c] main playlist debug: finished input [0xcd3fdc] main input debug: thread ended [0xcdc49c] main playlist debug: dead input [0xcd3fdc] main input debug: thread times: real 0m0.015625s, kernel 0m0.000000s, user 0m0.015625s [0xcd3fdc] main input debug: TIMER input launching for 'dshow://' : 24.000 ms - Total 24.000 ms / 1 intvls (Avg 24.000 ms) [0xcdc49c] main playlist debug: changing item without a request (current 0/1) [0xcdc49c] main playlist debug: nothing to play
merci beacoup!
S.

Sébastien Escudier
Big Cone-huna
Big Cone-huna
Posts: 853
Joined: 06 Nov 2008 08:38
Operating System: linux

Re: from HTTP streaming to RTPS

Postby Sébastien Escudier » 20 Aug 2010 10:51

sorry, it is rtp instead of standard.
So the end should be:
rtp{mux=ts,sdp=rtsp://192.xx.xx.xx:8007/video}

nuvolablu
Blank Cone
Blank Cone
Posts: 29
Joined: 25 Sep 2009 15:53

Re: from HTTP streaming to RTPS

Postby nuvolablu » 20 Aug 2010 11:01

it seems to stream but...I cn't have access to the stream from the wan!
I use this string in vlc player:
rtp://ip address server:8007/video

tres mauvaise...

this is the debug:

Code: Select all

annels:2, samples/sec:48000 bits/sample:16 [0xcd7f84] dshow demux debug: CaptureFilter::JoinFilterGraph [0xcd7f84] dshow demux debug: connecting filters [0xcd7f84] dshow demux debug: CaptureFilter::EnumPins [0xcd7f84] dshow demux debug: CapturePin::QueryDirection [0xcd7f84] dshow demux debug: CapturePin::ConnectedTo [not connected] [0xcd7f84] dshow demux debug: CapturePin::QueryPinInfo [0xcd7f84] dshow demux debug: CaptureFilter::QueryFilterInfo [0xcd7f84] dshow demux debug: CapturePin::QueryPinInfo [0xcd7f84] dshow demux debug: CaptureFilter::EnumPins [0xcd7f84] dshow demux debug: CapturePin::QueryDirection [0xcd7f84] dshow demux debug: CapturePin::QueryDirection [0xcd7f84] dshow demux debug: CapturePin::QueryAccept [OK] (channels=2, samples/ sec=48000, bits/samples=16, format=araw) [0xcd7f84] dshow demux debug: CapturePin::ReceiveConnection [OK] [0xcd7f84] dshow demux debug: CapturePin::NotifyAllocator [0xcd7f84] dshow demux debug: filters connected successfully ! [0xcd7f84] dshow demux debug: MEDIATYPE_Audio [0xcd7f84] dshow demux debug: selected audio pin accepts format: araw [0xcd7f84] dshow demux debug: Playing... [0xcd7f84] dshow demux debug: CapturePin::QueryPinInfo [0xcd7f84] dshow demux debug: CaptureFilter::EnumPins [0xcd7f84] dshow demux debug: CapturePin::QueryDirection [0xcd7f84] dshow demux debug: CapturePin::QueryPinInfo [0xcd7f84] dshow demux debug: CaptureFilter::EnumPins [0xcd7f84] dshow demux debug: CapturePin::QueryDirection [0xcd7f84] dshow demux debug: CaptureFilter::EnumPins [0xcd7f84] dshow demux debug: CapturePin::QueryDirection [0xcd7f84] dshow demux debug: CapturePin::QueryPinInfo [0xcd7f84] dshow demux debug: CaptureFilter::EnumPins [0xcd7f84] dshow demux debug: CapturePin::QueryDirection [0xcd7f84] dshow demux debug: CapturePin::QueryPinInfo [0xcd7f84] dshow demux debug: CaptureFilter::EnumPins [0xcd7f84] dshow demux debug: CapturePin::QueryDirection [0xcd7f84] dshow demux debug: CaptureFilter::EnumPins [0xcd7f84] dshow demux debug: CapturePin::QueryDirection [0xcd7f84] dshow demux debug: CaptureFilter::EnumPins [0xcd7f84] dshow demux debug: CapturePin::QueryDirection [0xcd7f84] dshow demux debug: CapturePin::ConnectedTo [OK] [0xcd7f84] dshow demux debug: CaptureFilter::EnumPins [0xcd7f84] dshow demux debug: CapturePin::QueryDirection [0xcd7f84] dshow demux debug: CapturePin::ConnectedTo [OK] [0xcd7f84] dshow demux debug: CaptureFilter::SetSyncSource [0xcd7f84] dshow demux debug: CaptureFilter::SetSyncSource [0xcd7f84] dshow demux debug: CaptureFilter::Pause [0xcd7f84] dshow demux debug: CaptureFilter::Pause [0xcd7f84] dshow demux debug: CaptureFilter::Run [0xcd7f84] dshow demux debug: CaptureFilter::Run [0xcd3f5c] main input debug: selecting program id=0 [0xcd7f84] main demux debug: using access_demux module "dshow" [0xcd7f84] main demux debug: TIMER module_need() : 182.000 ms - Total 182.000 ms / 1 intvls (Avg 182.000 ms) [0xcd3f5c] main input debug: looking for a subtitle file in C:\\ [0xc82164] main packetizer debug: looking for packetizer module: 21 candidates [0xc82164] main packetizer debug: using packetizer module "rawvideo" [0xc82164] main packetizer debug: TIMER module_need() : 1.000 ms - Total 1.000 m s / 1 intvls (Avg 1.000 ms) [0xc82164] main packetizer debug: thread (decoder) created at priority 0 (../../ ./src/input/decoder.c:315) [0xc82164] main packetizer debug: thread started [0xccf18c] main packetizer debug: looking for packetizer module: 21 candidates [0xccf18c] main packetizer debug: using packetizer module "packetizer_copy" [0xccf18c] main packetizer debug: TIMER module_need() : 1.000 ms - Total 1.000 m s / 1 intvls (Avg 1.000 ms) [0xccf18c] main packetizer debug: thread (decoder) created at priority 2 (../../ ./src/input/decoder.c:315) [0xccf18c] main packetizer debug: thread started [0xcd3f5c] main input debug: starting in async mode [0xcd3f5c] main input debug: `dshow://' successfully opened [0xcd3f5c] main input debug: Buffering 0% [0xcd3f5c] main input debug: switching to sync mode [0xcd3f5c] main input debug: Buffering 0% [0xce1334] main stream output debug: adding a new sout input (sout_input:0xcfaea 0) [0xcd7e84] stream_out_duplicate stream out debug: duplicated a new stream codec= UYVY (es=0 group=0) [0xcd87f4] stream_out_transcode stream out debug: creating video transcoding fro m fcc=`UYVY' to fcc=`h264' [0xccff6c] main decoder debug: looking for decoder module: 36 candidates [0xccff6c] main decoder debug: using decoder module "rawvideo" [0xccff6c] main decoder debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms) [0xc78634] main encoder debug: looking for encoder module: 12 candidates [0xc78634] x264 encoder debug: version x264 0.68.X [0xc78634] x264 encoder debug: initializing pthread-win32 x264 [info]: using threads=6 x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cach e64 x264 [info]: profile Main, level 5.1 [0xc78634] main encoder debug: using encoder module "x264" [0xc78634] main encoder debug: TIMER module_need() : 12.000 ms - Total 12.000 ms / 1 intvls (Avg 12.000 ms) [0xc78634] x264 encoder debug: pthread-win32 deinitialized [0xc78634] main encoder debug: removing module "x264" [0xcd7e84] stream_out_duplicate stream out debug: - added for output 0 [0xcd3f5c] main input warning: clock gap, unexpected stream discontinuity [0xcd3f5c] main input warning: feeding synchro with a new reference point trying to recover from clock gap [0xcd3f5c] main input debug: Buffering 0% [0xcd3f5c] main input debug: Buffering 0% [0xce1334] main stream output debug: adding a new sout input (sout_input:0xcfc53 0) [0xcd7e84] stream_out_duplicate stream out debug: duplicated a new stream codec= s16l (es=1 group=0) [0xcd87f4] stream_out_transcode stream out debug: creating audio transcoding fro m fcc=`s16l' to fcc=`mp3 ' [0xce4dec] main decoder debug: looking for decoder module: 36 candidates [0xce4dec] araw decoder debug: samplerate:48000Hz channels:2 bits/sample:16 [0xce4dec] main decoder debug: using decoder module "araw" [0xce4dec] main decoder debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms) [0xcfdc94] main encoder debug: looking for encoder module: 12 candidates [0xcfdc94] avcodec encoder debug: libavcodec initialized (interface 0x342000) [0xcfdc94] avcodec encoder debug: found encoder MPEG Audio layer 1/2/3 [0xcfdc94] main encoder debug: using encoder module "avcodec" [0xcfdc94] main encoder debug: TIMER module_need() : 10.000 ms - Total 10.000 ms / 1 intvls (Avg 10.000 ms) [0xcd87f4] stream_out_transcode stream out debug: Looking for filter (s16l->s16l , channels 2->2, rate 48000->44100) [0xce2c84] main filter debug: looking for audio filter2 module: 8 candidates [0xce2c84] audio_format filter debug: s16l->fl32, bits per sample: 16->32 [0xce2c84] main filter debug: using audio filter2 module "audio_format" [0xce2c84] main filter debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms) [0xcd87f4] main stream out debug: Filter 'audio_format' (0xce2c84) appended to c hain [0xc7e34c] main filter debug: looking for audio filter2 module: 8 candidates [0xc7e34c] bandlimited_resampler filter debug: fl32/48000KHz/2->fl32/44100KHz/2 [0xc7e34c] main filter debug: using audio filter2 module "bandlimited_resampler" [0xc7e34c] main filter debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms) [0xcd87f4] main stream out debug: Filter 'bandlimited_resampler' (0xc7e34c) appe nded to chain [0xce371c] main filter debug: looking for audio filter2 module: 8 candidates [0xce371c] audio_format filter debug: fl32->s16l, bits per sample: 32->16 [0xce371c] main filter debug: using audio filter2 module "audio_format" [0xce371c] main filter debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms) [0xcd87f4] main stream out debug: Filter 'audio_format' (0xce371c) appended to c hain [0xcd87f4] stream_out_transcode stream out debug: Got complete audio filter chai n [0xce1584] main mux debug: adding a new input [0xce1584] mux_ts mux debug: adding input codec=mpga pid=68 [0xce1584] mux_ts mux debug: new PCR PID is 68 [0xcd7e84] stream_out_duplicate stream out debug: - added for output 0 [0xcd3f5c] main input debug: Buffering 2% [0xcd3f5c] main input debug: Buffering 2% [0xcd3f5c] main input debug: Buffering 4% [0xcd3f5c] main input debug: Buffering 4% [0xcd3f5c] main input debug: Buffering 6% [0xcd3f5c] main input debug: Buffering 6% [0xcd3f5c] main input debug: Buffering 8% [0xcd3f5c] main input debug: Buffering 8% [0xcd3f5c] main input debug: Buffering 10% [0xcd3f5c] main input debug: Buffering 10% [0xcd3f5c] main input debug: Buffering 12% [0xcd3f5c] main input debug: Buffering 12% [0xcd3f5c] main input debug: Buffering 14% [0xcd3f5c] main input debug: Buffering 14% [0xcd3f5c] main input debug: Buffering 16% [0xcd3f5c] main input debug: Buffering 16% [0xcd3f5c] main input debug: Buffering 18% [0xcd3f5c] main input debug: Buffering 18% [0xcd3f5c] main input debug: Buffering 20% [0xcd3f5c] main input debug: Buffering 20% [0xcd3f5c] main input debug: Buffering 22% [0xcd3f5c] main input debug: Buffering 22% [0xcd3f5c] main input debug: Buffering 24% [0xcd3f5c] main input debug: Buffering 24% [0xcd3f5c] main input debug: Buffering 26% [0xcd3f5c] main input debug: Buffering 26% [0xcd3f5c] main input debug: Buffering 28% [0xcd3f5c] main input debug: Buffering 28% [0xcd3f5c] main input debug: Buffering 30% [0xcd3f5c] main input debug: Buffering 30% [0xcd3f5c] main input debug: Buffering 32% [0xcd3f5c] main input debug: Buffering 32% [0xcd3f5c] main input debug: Buffering 34% [0xcd3f5c] main input debug: Buffering 34% [0xcd3f5c] main input debug: Buffering 36% [0xcd3f5c] main input debug: Buffering 36% [0xcd3f5c] main input debug: Buffering 38% [0xcd3f5c] main input debug: Buffering 38% [0xcd3f5c] main input debug: Buffering 40% [0xcd3f5c] main input debug: Buffering 40% [0xcd3f5c] main input debug: Buffering 42% [0xcd3f5c] main input debug: Buffering 42% [0xcd3f5c] main input debug: Buffering 44% [0xcd3f5c] main input debug: Buffering 44% [0xcd3f5c] main input debug: Buffering 46% [0xcd3f5c] main input debug: Buffering 46% [0xcd3f5c] main input debug: Buffering 48% [0xcd3f5c] main input debug: Buffering 48% [0xcd3f5c] main input debug: Buffering 50% [0xcd3f5c] main input debug: Buffering 50% [0xcd3f5c] main input debug: Buffering 52% [0xcd3f5c] main input debug: Buffering 52% [0xcd3f5c] main input debug: Buffering 54% [0xcd3f5c] main input debug: Buffering 54% [0xcd3f5c] main input debug: Buffering 56% [0xcd3f5c] main input debug: Buffering 56% [0xcd3f5c] main input debug: Buffering 57% [0xcd3f5c] main input debug: Buffering 57% [0xcd3f5c] main input debug: Buffering 60% [0xcd3f5c] main input debug: Buffering 60% [0xcd3f5c] main input debug: Buffering 62% [0xcd3f5c] main input debug: Buffering 62% [0xcd3f5c] main input debug: Buffering 64% [0xcd3f5c] main input debug: Buffering 64% [0xcd3f5c] main input debug: Buffering 66% [0xcd3f5c] main input debug: Buffering 66% [0xcd3f5c] main input debug: Buffering 68% [0xcd3f5c] main input debug: Buffering 68% [0xcd3f5c] main input debug: Buffering 70% [0xcd3f5c] main input debug: Buffering 70% [0xcd3f5c] main input debug: Buffering 72% [0xcd3f5c] main input debug: Buffering 72% [0xcd3f5c] main input debug: Buffering 74% [0xcd3f5c] main input debug: Buffering 74% [0xcd3f5c] main input debug: Buffering 76% [0xcd3f5c] main input debug: Buffering 76% [0xcd3f5c] main input debug: Buffering 78% [0xcd3f5c] main input debug: Buffering 78% [0xcd3f5c] main input debug: Buffering 80% [0xcd3f5c] main input debug: Buffering 80% [0xcd3f5c] main input debug: Buffering 82% [0xcd3f5c] main input debug: Buffering 82% [0xcd3f5c] main input debug: Buffering 84% [0xcd3f5c] main input debug: Buffering 84% [0xcd3f5c] main input debug: Buffering 86% [0xcd3f5c] main input debug: Buffering 86% [0xcd3f5c] main input debug: Buffering 88% [0xcd3f5c] main input debug: Buffering 88% [0xcd3f5c] main input debug: Buffering 90% [0xcd3f5c] main input debug: Buffering 90% [0xcd3f5c] main input debug: Buffering 92% [0xcd3f5c] main input debug: Buffering 92% [0xcd3f5c] main input debug: Buffering 94% [0xcd3f5c] main input debug: Buffering 94% [0xcd3f5c] main input debug: Buffering 96% [0xcd3f5c] main input debug: Buffering 96% [0xcd3f5c] main input debug: Buffering 98% [0xcd3f5c] main input debug: Buffering 98% [0xcd3f5c] main input debug: Buffering 100% [0xcd3f5c] main input debug: Buffering 100% [0xcd3f5c] main input debug: Stream buffering done (2040 ms in 2031 ms) [0xcd3f5c] main input debug: Decoder buffering done in 0 ms [0xcd87f4] stream_out_transcode stream out debug: drift is too high, resetting m aster sync [0xcd87f4] stream_out_transcode stream out debug: decoder aspect is 576000:43200 0 [0xcd87f4] stream_out_transcode stream out debug: source pixel aspect is 1.06666 7:1 [0xcd87f4] stream_out_transcode stream out debug: scaled pixel aspect is 1.06666 7:1 [0xcd87f4] stream_out_transcode stream out debug: source 720x576, destination 72 0x576 [0xcd87f4] stream_out_transcode stream out debug: encoder aspect is 576000:43200 0 [0xd9fce4] main filter debug: looking for video filter2 module: 20 candidates [0xd9fce4] swscale filter debug: 720x576 chroma: UYVY -> 720x576 chroma: I420 wi th scaling using Bicubic (good quality) [0xd9fce4] main filter debug: using video filter2 module "swscale" [0xd9fce4] main filter debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms) [0xcd87f4] main stream out debug: Filter 'swscale' (0xd9fce4) appended to chain [0xcd87f4] stream_out_transcode stream out debug: destination (after video filte rs) 720x576 [0xc78634] main encoder debug: looking for encoder module: 12 candidates [0xc78634] x264 encoder debug: version x264 0.68.X [0xc78634] x264 encoder debug: initializing pthread-win32 x264 [info]: using threads=6 x264 [info]: using SAR=16/15 x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cach e64 x264 [info]: profile Main, level 5.1 [0xc78634] main encoder debug: using encoder module "x264" [0xc78634] main encoder debug: TIMER module_need() : 6.000 ms - Total 6.000 ms / 1 intvls (Avg 6.000 ms) [0xce1584] main mux debug: adding a new input [0xce1584] mux_ts mux debug: adding input codec=h264 pid=69 [0xce1584] mux_ts mux debug: new PCR PID is 69 [0xcd87f4] stream_out_transcode stream out debug: drift is too high, resetting m aster sync [0xcd87f4] stream_out_transcode stream out debug: drift is too high, resetting m aster sync [0xcd87f4] stream_out_transcode stream out debug: late picture skipped (107000) [0xcd87f4] stream_out_transcode stream out debug: drift is too high, resetting m aster sync [0xce1584] main mux warning: late buffer for mux input (46622) [0xcd87f4] stream_out_transcode stream out debug: late picture skipped (70000) [0xce1584] main mux warning: late buffer for mux input (23500) [0xcd87f4] stream_out_transcode stream out debug: late picture skipped (32000) [0xcd87f4] stream_out_transcode stream out debug: drift is too high, resetting m aster sync [0xce1584] mux_ts mux warning: packet with too strange dts (dts=1091651001,old=2 181046001,pcr=2181046001)

nuvolablu
Blank Cone
Blank Cone
Posts: 29
Joined: 25 Sep 2009 15:53

Re: from HTTP streaming to RTPS

Postby nuvolablu » 20 Aug 2010 11:17

I've used:

rtsp://ip address server:8007/video


the player gives no error! but nothing is played
after few seconds the pause button change to play icon button

just to specify...
here:
rtp{mux=ts,sdp=rtsp://192.xx.xx.xx:8007/video}

I've put the local lan ip of the streaming machine....is it correct?

here what it happends on the server when I try to access with the player:
[0xce1584] main mux warning: late buffer for mux input (46622)
[0xcd87f4] stream_out_transcode stream out debug: late picture skipped (70000)
[0xce1584] main mux warning: late buffer for mux input (23500)
[0xcd87f4] stream_out_transcode stream out debug: late picture skipped (32000)
[0xcd87f4] stream_out_transcode stream out debug: drift is too high, resetting m
aster sync
[0xce1584] mux_ts mux warning: packet with too strange dts (dts=1091651001,old=2
181046001,pcr=2181046001)
[0xceb8cc] main stream out debug: net: connecting to [IP OF THE EXTERNAL MACHINE WITH VLC PLAYER]:3544
[0xceb8cc] main stream out debug: net: connecting to [IP OF THE EXTERNAL MACHINE WITH VLC PLAYER]:3545 from
[192.168.10.204]:1062
[0xceb8cc] main stream out debug: net: connecting to [IP OF THE EXTERNAL MACHINE WITH VLC PLAYER]:3548
[0xceb8cc] main stream out debug: net: connecting to [IP OF THE EXTERNAL MACHINE WITH VLC PLAYER]:3549 from
[192.168.10.204]:1064
[0xceb8cc] main stream out debug: net: connecting to [IP OF THE EXTERNAL MACHINE WITH VLC PLAYER]:3552
[0xceb8cc] main stream out debug: net: connecting to [IP OF THE EXTERNAL MACHINE WITH VLC PLAYER]:3553 from
[192.168.10.204]:1066
[0xceb8cc] main stream out debug: net: connecting to [IP OF THE EXTERNAL MACHINE WITH VLC PLAYER]:3560
[0xceb8cc] main stream out debug: net: connecting to [IP OF THE EXTERNAL MACHINE WITH VLC PLAYER]:3561 from
[192.168.10.204]:1068
[0xceb8cc] main stream out debug: net: connecting to [IP OF THE EXTERNAL MACHINE WITH VLC PLAYER]:3568
[0xceb8cc] main stream out debug: net: connecting to [IP OF THE EXTERNAL MACHINE WITH VLC PLAYER]:3569 from
[192.168.10.204]:1070
[0xceb8cc] main stream out debug: net: connecting to [IP OF THE EXTERNAL MACHINE WITH VLC PLAYER]:3584
[0xceb8cc] main stream out debug: net: connecting to [IP OF THE EXTERNAL MACHINE WITH VLC PLAYER]:3585 from
[192.168.10.204]:1072


merci.

Sébastien Escudier
Big Cone-huna
Big Cone-huna
Posts: 853
Joined: 06 Nov 2008 08:38
Operating System: linux

Re: from HTTP streaming to RTPS

Postby Sébastien Escudier » 20 Aug 2010 11:24

Is your client on the lan ?
Give the logs of the client
(and use

Code: Select all

for the logs)

nuvolablu
Blank Cone
Blank Cone
Posts: 29
Joined: 25 Sep 2009 15:53

Re: from HTTP streaming to RTPS

Postby nuvolablu » 20 Aug 2010 11:26

but the ports used are not the one I put in the string...
may be is that the problem
I should open or forward that ports...but It seems to use random ports....

comme faire?
vous avait quelche ideas?

nuvolablu
Blank Cone
Blank Cone
Posts: 29
Joined: 25 Sep 2009 15:53

Re: from HTTP streaming to RTPS

Postby nuvolablu » 20 Aug 2010 11:28

the client is outside the Lan (i'm working frome remote) and I need the client outside the lan.

I don't know how to get the log from the player.

thanks.
S.
Last edited by nuvolablu on 20 Aug 2010 11:34, edited 1 time in total.

nuvolablu
Blank Cone
Blank Cone
Posts: 29
Joined: 25 Sep 2009 15:53

Re: from HTTP streaming to RTPS

Postby nuvolablu » 20 Aug 2010 11:32

here the log of the player...

Code: Select all

[00be4bac] logger interface: VLC media player - 1.1.3 The Luggage [00be4bac] logger interface: Copyright © 1996-2010 the VideoLAN team [00be4bac] logger interface: Attenzione: se l'interfaccia grafica non è più accessibile, apri una finestra a riga di comando, vai nella cartella in cui hai installato VLC ed esegui "vlc -I qt" [00be4bac] logger interface: using logger. [00c3a9c4] live555 demux error: SETUP of'video/MP2T' failed SETUP: cannot handle response: RTSP/1.0 461 Unsupported transport [00c3a9c4] live555 demux error: Nothing to play for rtsp://IP OF THE SERVER:8007/vide o [00c3a9c4] live555 demux error: TCP rollover failed, aborting

Sébastien Escudier
Big Cone-huna
Big Cone-huna
Posts: 853
Joined: 06 Nov 2008 08:38
Operating System: linux

Re: from HTTP streaming to RTPS

Postby Sébastien Escudier » 20 Aug 2010 11:38

looks like you have some network issues (firewall, router...)
To be sure you can test this in your lan.

nuvolablu
Blank Cone
Blank Cone
Posts: 29
Joined: 25 Sep 2009 15:53

Re: from HTTP streaming to RTPS

Postby nuvolablu » 20 Aug 2010 11:48

on the same machine it works!

:-(

nuvolablu
Blank Cone
Blank Cone
Posts: 29
Joined: 25 Sep 2009 15:53

Re: from HTTP streaming to RTPS

Postby nuvolablu » 20 Aug 2010 12:17

NOW I HAVE 2 PROBLEMS:

a) understand where is the connection problem...while http it works very well and reliable...any ideas?

b) I'm trasmitting into 720x576 pixel anamorphyc...it means the player should set automatically to 16:9 instead of 4:3...is there any way to do it automatically?

nuvolablu
Blank Cone
Blank Cone
Posts: 29
Joined: 25 Sep 2009 15:53

Re: from HTTP streaming to RTPS

Postby nuvolablu » 30 Aug 2010 09:49

anyone can help me?
thanks.
S:

Sébastien Escudier
Big Cone-huna
Big Cone-huna
Posts: 853
Joined: 06 Nov 2008 08:38
Operating System: linux

Re: from HTTP streaming to RTPS

Postby Sébastien Escudier » 30 Aug 2010 10:19

You have to check your firewalls and network configuration (routing table).

nuvolablu
Blank Cone
Blank Cone
Posts: 29
Joined: 25 Sep 2009 15:53

Re: from HTTP streaming to RTPS

Postby nuvolablu » 30 Aug 2010 10:30

and for the question B?

nuvolablu
Blank Cone
Blank Cone
Posts: 29
Joined: 25 Sep 2009 15:53

Re: from HTTP streaming to RTPS

Postby nuvolablu » 30 Aug 2010 10:33

thanks.
S.

nuvolablu
Blank Cone
Blank Cone
Posts: 29
Joined: 25 Sep 2009 15:53

Re: from HTTP streaming to RTPS

Postby nuvolablu » 17 Oct 2010 17:16

Any news?

nuvolablu
Blank Cone
Blank Cone
Posts: 29
Joined: 25 Sep 2009 15:53

Re: from HTTP streaming to RTPS

Postby nuvolablu » 26 Oct 2010 11:57

up

Sébastien Escudier
Big Cone-huna
Big Cone-huna
Posts: 853
Joined: 06 Nov 2008 08:38
Operating System: linux

Re: from HTTP streaming to RTPS

Postby Sébastien Escudier » 27 Oct 2010 08:24

you should ask your question B in a new topic, here viewforum.php?f=2&start=0


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 3 guests