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

Antoine Cellerier dionoea at videolan.org
Wed Jun 4 22:09:32 CEST 2008

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=,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.)

Antoine Cellerier

More information about the vlc-devel mailing list