Page 1 of 1

How to stream MJPEG from camera transcoding it to mpeg2/4 ?

Posted: 28 Apr 2009 19:00
by soa
hi

i have read the documentation but it is a little confusing to me. i would like to get the stream from mjpeg (which i can see just in vlc like normal) from http address, convert it do either mpeg2 or mpeg4 and then stream it from rtp, rtsp, or udp. i am a bit newbie in this and might not understand everything.

i tried:
(in .conf)

Code: Select all

new camera1 broadcast enabled setup camera1 input http://camera.server.com/mjpg/video.mjpg setup camera1 output '#transcode{vcodec=mp4v,vb=200}:rtp{mux=ts,dst=yyy.yyy.yyy.yyy}'
on the yyy address does it matter what it is? i mean i dont have access to real multicast addresses so can i use just any address?
well this didnt worked vlc could not connect on that mjpeg stream

Code: Select all

[00000309] main access error: cannot resolve camera.server.com port 80 : Name or service not known [00000309] access_http access error: cannot connect to camera.server.com:80 [00000309] access_http access debug: switching to HTTP version 1.0 [00000309] main access debug: net: connecting to camera.server.com port 80
dont know where could be the problem. thanks in advance for any help.