RTSP restream transcode the audio only

About encoding, codec settings, muxers and filter usage
boltonli
New Cone
New Cone
Posts: 2
Joined: 12 Jan 2011 10:56

RTSP restream transcode the audio only

Postby boltonli » 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

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
It uses just the same video codec H264 as the input stream but the quality of output stream is awful.

Thanks!

VDIEng
New Cone
New Cone
Posts: 8
Joined: 02 Mar 2011 11:58

Re: RTSP restream transcode the audio only

Postby VDIEng » 25 Mar 2011 01:57

Your close, just take the video transcode out and it will only be remuxed with the transcoded audio.

Code: Select all

vlc -vvv rtsp://wowza_ip:1935/live/rtsp.stream --sout "#transcode{ab=42,acodec=mp4a}: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


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 5 guests