[vlc-devel] commit: Revert " Special case for fourcc samr and sawb in transcode_audio_new()" ( Antoine Cellerier )

Ilkka Ollakka ilkka.ollakka+vlc at oamk.fi
Mon Jun 23 11:15:44 CEST 2008


On ma 23. kesäkuuta 2008 09:59:52, Jean-Paul Saman wrote:
> git version control wrote:
> > vlc | branch: master | Antoine Cellerier <dionoea at videolan.org> | Sun Jun 22 18:51:56 2008 +0200| [b4a4b564cda53b03aebf818dd2db65709602c68b]
> > 
> Transcoding samr doesn't seem to work anymore. Could you look into this 
> please. Here is a test case:
> 
> LD_LIBRARY_PATH=extras/contrib/lib ./vlc --reset-plugins-cache 
> --reset-config ~/src/videolan/streams/Madagascar_HD.ts --sout 
> '#transcode{venc=avcodec{keyint=20,strict-rc=1,trellis=0,noise-reduction=200,hq=bits,pre-me=1,qmin=5,qmax=25},threads=1,high-priority=1,vcodec=H263,fps=10.0,width=176,maxwidth=176,height=144,maxheight=144,vfilter=canvas{width=176,height=144,aspect="4:3"},vb=40,scale=1.0,acodec=samr,ab=7400,samplerate=8000,channels=1,afilter=mono}:rtp{sdp=rtsp://localhost:5554/my.sdp}' 
> --sout-ffmpeg-hurry-up --ffmpeg-hurry-up --rt-priority -vvv

I get this kinda error with this:

[00000368] stream_out_transcode generic debug: number of audio channels for mixing changed, trying to reopen the encoder for mixing 2 to 2 channels
[00000417] main encoder debug: looking for encoder module: 6 candidates
[00000417] avcodec encoder debug: libavcodec already initialized
[00000417] avcodec encoder warning: Only mono supported
 (libamr_nb at 0x11329d0)
[00000417] avcodec encoder error: cannot open encoder
[00000368] stream_out_transcode generic error: cannot find audio encoder (module:any fourcc:samr)

I think it ain't related to this particular commit (atleast didn't spot
any obviuous reason), instead transcode doesn't seem to set channelcount
to 1 in current git master.


-- 
Ilkka Ollakka
The biggest difference between time and space is that you can't reuse
time.
		-- Merrick Furst
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20080623/9b6d36bf/attachment.sig>


More information about the vlc-devel mailing list