@cloudsurfin
actually you can do what you describe.
I done it with my Axis P1346 and wowza 2.2
use something like this :
vlc -vvv "rtsp://username:
password@192.168.x.xxx:554/axis-media/media.amp?videocodec=h264&streamprofile=high" --sout "#transcode{venc=x264{keyint=60,profile=baseline,level=3.0,nocabac},vcodec=x264,vb=500,scale=1,acodec=mp4a,ab=64,channels=1,samplerate=16000}:rtp{dst=xxx.xxxxxxx.xx,port=10000,mux=ts}"
the trick is to set the audio format on the camera correct. It appears that there is a bug on vlc ( i am using 1.1.7) that prohibits you to properly stream audio if the camera codec is set on ACC. It must be a transcoding issue as i can listen to stream without any problems by using vlc -vvv "rtsp://username:
password@192.168.x.xxx:554/axis-media/media.amp?videocodec=h264&streamprofile=high" .
Wowza off course can stream on ACC without any problem.
I set my cameras audio encoding as g711 μ-law (g726 also works) and i could hear sound.I haven`t tested it yet for audio/video sync issue properly though.
Its very weird the ACC bug however. Since i am not familiar with VLC very much,does anyone knows if i can just re-stream the stream without transcoding ? or any parameter i am missing about the sound ? or anything