RTSP restream transcode the audio only
Posted: 25 Feb 2011 10:30
Hi,
I am trying to restream the rtsp output from Wowza which uses MP3 encoding the audio to DSS.
and I'm wondering how do I transcode the audio codec to mp4a without changing the video part.
For now I have tried command line like below
It uses just the same video codec H264 as the input stream but the quality of output stream is awful.
Thanks!
I am trying to restream the rtsp output from Wowza which uses MP3 encoding the audio to DSS.
and I'm wondering how do I transcode the audio codec to mp4a without changing the video part.
For now I have tried command line like below
Code: Select all
vlc -vvv rtsp://wowza_ip:1935/live/rtsp.stream --sout "#transcode{ab=42,acodec=mp4a,vcodec=h264,vb=200,venc=x264{vbv-bufsize=500,partitions=all,level=12,no-cabac,subme=7,threads=4,ref=2,mixed-refs=1,bframes=0,min-keyint=1,keyint=50,trellis=2,direct=auto,qcomp=0.0,qpmax=51}}:rtp{mp4a-latm,dst=127.0.0.1,port-audio=20000,port-video=20002,ttl=127,sdp=file:///D:\DSS_Movies\channel.sdp}" --extraintf logger
Thanks!