[vlc-devel] commit: Use filter chain in transcode (audio filter2 and video filter2). ( Antoine Cellerier )

Rémi Denis-Courmont rdenis at simphalempin.com
Wed Jun 4 22:11:29 CEST 2008


Le mercredi 4 juin 2008 23:09:32 Antoine Cellerier, vous avez écrit :
> On Wed, Jun 04, 2008, Rémi Denis-Courmont wrote:
> > This would seem to cause this:
> >
> > ./vlc -I rc -vvv music.mp3 \
> > --sout '#transcode{acodec=s16b}:rtp{dst=239.255.1.1,port-audio=5004}'
> > Segmentation fault
> > #0  0xb7f3ee48 in filter_chain_Reset (p_chain=0x0, p_fmt_in=0xb2ef6d44,
> >     p_fmt_out=0x98bdd58) at ../../src/misc/filter_chain.c:95
> > #1  0xb7090ae6 in transcode_audio_new (p_stream=0x989d88c, id=0x98ad7f8)
> >     at ../../../modules/stream_out/transcode.c:1220
> > #2  0xb7091ec0 in Add (p_stream=0x989d88c, p_fmt=0x98c3bd0)
> >     at ../../../modules/stream_out/transcode.c:814
>
> Nope, that was due to a typo which I just fixed. Now it fails because it
> can't find some audio conversion filter. I'll dig a bit deeper in the
> code to understand what it does. (as far as I can tell it probes the
> different audio filter2 modules and if it can't find any that works it
> accepts some that only do part of the required conversion, or at least
> convert to another format which could be used as an intermediate ... I
> just don't see what prevents it from looping between 2 formats.)

Yeah, conversion from s16l to s16b must be some kind of rocket science :o

-- 
Rémi Denis-Courmont
http://www.remlab.net/



More information about the vlc-devel mailing list