Page 1 of 1

http streaming

Posted: 17 Jan 2007 15:11
by g0tcha
hi

i am confused about streaming to http and have some problems
i used the following command

vlc -vvv hdtv.avi --sout '#standard{access=http,mux=ogg,dst=18.50.70.22:8080}'

but nothing listens on 8080 and i see the following info in the debug info

[00000237] skins2 interface error: Cannot open display
[00000237] skins2 interface error: cannot initialize OSFactory

[00000244] stream_out_standard private error: no suitable sout mux module for `http/ogg://18.50.70.22:8080'

[00000243] main stream output error: stream chain failed for `standard{access=http,mux=ogg,dst=18.50.70.22:8080}'
[00000241] main input error: cannot start stream output instance, aborting


any ideas

Posted: 25 Jan 2007 08:07
by wser
I`m not specialist yet, try other mux as for example TS or PS
the format should be the choosen as mpga

Good Luck

WSER

Posted: 25 Jan 2007 08:24
by g0tcha
yes thanks it seems to go further now

Posted: 25 Jan 2007 08:56
by wser
thanks too, I see things better the more I think about.

It`s going further for me too.

:P

WSER

Posted: 25 Jan 2007 09:01
by g0tcha
problem i have now is this

[00000244] stream_out_transcode private error: cannot find decoder
[00000244] stream_out_transcode private error: cannot create video chain
[00000265] main packetizer error: cannot create packetizer output (mp4v)

command i use is -:

vlc -vvv -I http --http-host ip.ip.ip.ip:8075 1.avi :norm=ntsc:size=720x480:bitrate=3000000:maxbitrate=4000000 --cr-average 1000 --sout '#transcode{vcodec=mp4v,vb=2048,scale=0.5}:duplicate{dst=std{access=http,mux=ps,url=ip.ip.ip.ip:8080}}'

i get sound but no picture

Posted: 25 Jan 2007 09:05
by wser
what happens if you change vcodec to mpga?

Posted: 25 Jan 2007 09:16
by g0tcha
yes works 100%, that is great man. thanks for the help

can you explain a bit what is changed and why it worked ?

Posted: 25 Jan 2007 09:25
by wser
really? Now idea!

Basicly i know that mpga plays video and audio as a decoder it is based on the MPEG2/4 ...whatever... standardization as much as MJPEG, hoow, really i`m still learning these tasks

surf once: http://en.wikipedia.org/wiki/MPEG-4