Page 1 of 1

there is error while vlc2.1.0 sout audio coedc = mp4a

Posted: 18 Nov 2013 10:30
by yuer1108
there is error while vlc2.1.0 sout audio coedc = mp4a

vlc udp://@239.19.204.128:3140 -vvv --sout "#transcode{vcodec=h264,vb=200,scale=1,width=320,height=240,acodec=mp4a,ab=64,channels=2,samplerate=48000}:http{mux=ts,dst=0.0.0.0:8888}" --no-sout-rtp-sap --no-sout-standard-sap --ttl=16 --sout-keep --sout-x264-tune=zerolatency --sout-x264-me=dia --sout-x264-subme=1

acodec=mp4a vlc pop up a error windows "failure, vlc cann't open the encoder"
acodec=mpga or acodec=mp3 both OK.

Re: there is error while vlc2.1.0 sout audio coedc = mp4a

Posted: 18 Nov 2013 10:36
by nobody.loopback
for vlc 2.1.0 and lower add "--sout-ffmpeg-strict=-2"
for vlc 2.1.1, add "--sout-avcodec-strict=-2"
to the parameters.

does that help ?

Re: there is error while vlc2.1.0 sout audio coedc = mp4a

Posted: 21 Nov 2013 07:42
by yuer1108
thinks for the reply.
I try to add --sout-ffmpeg-strict=-2 but it doesn't wok.
Actually, Vlc2.0.3 and Vlc2.0.5 and Vlc1.X all are OK (without --sout-ffmpeg-strict)

Re: there is error while vlc2.1.0 sout audio coedc = mp4a

Posted: 21 Nov 2013 10:14
by nobody.loopback
also try "--sout-avcodec-strict=-2" if you have not already done this.

Re: there is error while vlc2.1.0 sout audio coedc = mp4a

Posted: 27 Nov 2013 04:16
by yuer1108
Great!
--sout-avcodec-strict -2
It works!