Page 1 of 1

http streaming question

Posted: 07 Feb 2016 01:54
by DANZI
Hello-

Using VLC 2.1.6
Ubuntu 14.04

I am trying to http stream an rtsp stream to http.

the http is set up as follows

port 8080 (default)

path as /stream (I suspect this is not correct)

also set to display locally (which it does).

Transcoding options as follows:

transcoding activated

profile Video VP80 (default)

Misc options

Stream all elementary streams active

Generated stream output string:

:sout=#transcode{vcodec=VP80,vb=2000,acodec=vorb,ab=128,channels=2,samplerate=44100}:duplicate{dst=http{mux=webm,dst=:8080/},dst=display} :sout-all :sout-keep

Then VLC starts streaming, the picture opens, VLC says it is streaming, the PC is working hard, but the picture display does not change.

Also when I try to open the new stream on another PC in VLC or a browser I cannot connect to it

I use http://IPaddress_of_streaming_pc:8080/stream

Can anyone help me with this?

Thanks DAN

Re: http streaming question

Posted: 07 Feb 2016 13:24
by DANZI
I solved the connectivity issue, IP was incorrect.

But I still cannot decode stream.

Here is log:

http debug: protocol 'HTTP' answer code 200
http debug: Content-Type: application/octet-stream
core debug: using access module "http"
core debug: Using stream method for AStream*
core debug: starting pre-buffering
core debug: received first data after 0 ms
core debug: pre-buffering done 783 bytes in 0s - 764648 KiB/s
core debug: looking for stream_filter module matching "any": 6 candidates
core debug: no stream_filter modules matched
core debug: looking for stream_filter module matching "record": 6 candidates
core debug: using stream_filter module "record"
core debug: creating demux: access='http' demux='any' location='192.168.1.74:8080/' file='\\192.168.1.74:8080\'
core debug: looking for demux module matching "any": 66 candidates
asf debug: + 'Root'
asf debug: | + 'Header'
asf debug: | | + 'File Properties'
asf debug: | | + 'Header Extension'
asf debug: | | | + 'Metadata'
asf debug: | | + 'Stream Properties'
asf debug: | | + 'Stream Properties'
asf debug: | | + 'Codec List'
asf debug: | + 'Data'
asf debug: found 2 streams
asf debug: added new audio stream(codec:0x161,ID:1)
core debug: selecting program id=0
asf debug: added new video stream(ID:2)
core debug: using demux module "asf"
core debug: looking for decoder module matching "any": 43 candidates
avcodec debug: CPU flags: 0x010053db
avcodec debug: avcodec codec (Windows Media Audio 2) started
core debug: using decoder module "avcodec"
core debug: looking for decoder module matching "any": 43 candidates
avcodec debug: CPU flags: 0x010053db
avcodec debug: trying to use direct rendering
avcodec debug: allowing 4 thread(s) for decoding
avcodec debug: available software decoder output format 0 (yuv420p)
avcodec debug: avcodec codec (Windows Media Video 8) started
core debug: using decoder module "avcodec"
core debug: looking for meta reader module matching "any": 2 candidates
lua debug: Trying Lua scripts in C:\Users\Dan\AppData\Roaming\vlc\lua\meta\reader
lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\reader
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\reader\filename.luac
core debug: no meta reader modules matched
core debug: `http://192.168.1.74:8080/' successfully opened
asf warning: cannot peek while getting new packet, EOF ?
core debug: EOF reached
core debug: finished input
core debug: object waitpipe triggered
core debug: removing module "avcodec"
avcodec debug: ffmpeg codec (Windows Media Audio 2) stopped
core debug: killing decoder fourcc `WMA2', 0 PES in FIFO
core debug: removing module "avcodec"
avcodec debug: ffmpeg codec (Windows Media Video 8) stopped
core debug: killing decoder fourcc `WMV2', 0 PES in FIFO
core debug: removing module "asf"
core debug: Program doesn't contain anymore ES
core debug: removing module "record"
core debug: removing module "http"
core debug: dead input
core debug: changing item without a request (current 1/2)
core debug: nothing to play
qt4 debug: IM: Deleting the input

seems to be saying there is nothing to decode...
any help would be appreciated

Thanks DAN