ulaw for RTP streaming AV
Posted: 09 Feb 2012 08:50
Hi all,
I'm trying to stream video and transcoded ulaw audio to different IP addresses using RTP.
I'm using VLC 1.0.6 and after having looked quite a lot for a solution I've read that it's recommended to get the input audio in 8 kHz mono format. Is that still true? or new VLC versions have overcome this issue?
I've tried to do it like this:
but no success...
I've seen that these error messages might show where the problem is...
Any tip?
Thank you!
I'm trying to stream video and transcoded ulaw audio to different IP addresses using RTP.
I'm using VLC 1.0.6 and after having looked quite a lot for a solution I've read that it's recommended to get the input audio in 8 kHz mono format. Is that still true? or new VLC versions have overcome this issue?
I've tried to do it like this:
Code: Select all
:sout=#transcode{acodec=ulaw,ab=64,channels=1,samplerate=8000}:duplicate{dst=rtp{dst=IPa,port=5004,mux=ts},select="audio",dst=rtp{dst=IPb,port=5004,mux=ts},select="video"}
I've seen that these error messages might show where the problem is...
Code: Select all
...
stream_out_duplicate debug: duplicated a new stream codec=ulaw (es=1 group=0)
main debug: adding a new input
mux_ts debug: adding input codec=ulaw pid=68
main error: cannot add this stream
stream_out_rtp error: cannot add this stream to the muxer
stream_out_duplicate debug: - failed for output 0
stream_out_duplicate debug: - ignored for output 1
main debug: removing module "mpeg_audio"
main debug: removing module "araw"
main debug: Filter 'mpgatofixed32' (0x85ca3b0) removed from chain
main debug: removing module "mpgatofixed32"
...
Thank you!