Hello, and thank you in advance.
I need to receive a live udp stream (ts), and then serve it as a flv stream via http.
The objetive is to be able to view this flv stream embedded into a website using JW player (flash).
I am using JW player 4.6 and doing some test with three VLC editions (0.9.2 | 0.9.4 | 1.0.3 ).
The udp stream is a TS muxed stream with "mp4a" and "x264" as audio/video codecs.
I just want to receive this live udp (ts) stream, and then serve it as a http (flv) stream but with no trancoding process.
So I am using the following command line:
vlc.exe "udp://@x.x.x.x:12345" ":sout=#std{access=http{mime=video/x-flv},mux=ffmpeg{mux=flv},dst=0.0.0.0:8083/stream.flv}"
In this example, I can only get working the audio, no video.
The only way I can get working both audio/video is doing transcoding, like this:
vlc.exe "udp://@x.x.x.x:12345" ":sout=#transcode{venc=ffmpeg{qmin=1,qmax=2},vcodec=FLV1}:std{access=http{mime=video/x-flv},mux=ffmpeg{mux=flv},dst=0.0.0.0:8083/stream.flv}"
But this way vlc uses a lot of CPU (video is 1280x720), and because of the original video stream is x264, then the final video loses a lot of quality when transcoding to FLV1 (vp6 I think) and the final result is a bad quality video and a burning cpu.
There is a way to make it working with no transcoding?
There is a better flash player? (JW player seems to be unstable with a http live vlc stream)