I have Sony IP Camera which has h264 video codec and G.711 or G.726 for audio. Playing only video (without transcoding) in flowplayer works perfectly. I followed this tutorial How to re-stream video from an IP camera (RTSP/RTP re-streaming)
Wowza can’t transcode G.711 od G.726 to AAC needed for Flash player so I had to use use VLC to transcode the audo.
This is how I’m running vlc
vlc -vvv "rtsp://192.168.0.10/media/video1" --intf dummy --sout "#transcode{acodec=mp4a,ab=30,channels=1,samplerate=48000}:rtp{dst=127.0.0.1,port=10000,mux=ts}"
And then play it according to instructions in How to publish and play a live stream (MPEG-TS based encoder)
Audio works almost fine but the screen stops all the time. I get errors on Wowza and VLC console. However when I play the rtsp directly form the camera VLC works fine(audio and video) also recording to file works.
[0x833d044] main mux warning: late buffer for mux input (4990325)
[0x833d044] mux_ts mux warning: packet with too strange dts (dts=74317756051,old=74317768265,pcr=74317768265)
And Wowza shows smth like this
WARN server comment - RTPPacket.write: Bad packet: Incomplete NAL Units.
I use VLC version 1.1.8 The Luggage on Ubuntu LTS 10.04 server.
Maybe there should be some other options for VLC?
Is there some other transcoder I could try?