Hi,

        could somebody explain what the

        gavl_audio_format_t::channel_locations[] is supposed to contain?

        Can I safely set them all to GAVL_CHID_NONE?  Or, is it supposed to
        be numbered?

        I guess what is confusing me is all the LEFT, CENTER, and REAR
        definitions.  I assume this comes from DVD 5.1 lingo, right?
        
        I work with multi-channel audio at times, but never in a home
        entertainment environment.   For me, a channel is just a channel.

        ....

        My problem is how to down mix from, say, an 8channel audio to a 4
        channel player.  
        
        When using a stereo output, just setting this worked for the internal
        gavl_audio_converter:
        
        output_audio_format.channel_locations[0] = GAVL_CHID_NONE; 

        But, now, when I want to mix 8 to 4 channels I am getting:

        Couldn't construct mix matrix, using (probably wrong) default
        Segmentation fault


        Here is the file I am testing:
        http://romanhaefeli.net/8ch_does_play.wav
        
        Strangely enough, this is an 8ch wav that DOES play on a 4channel
        output using gavl:
        http://romanhaefeli.net/8ch_does_not_play.wav

        I assume this has something to do with interlacing?

        Any idea why this is happening?  Seems weird that it would segfault
        on me..or am I doing something else stupid?
        

        ...Ok, the real question:

        If my output is 5 channels, but my input is 8 channels, how do I tell
        gavl to simply select the first five channels?

        Or, is there a way to build a channel matrix in gavl so that I can
        mix arbitrary channels?


        -august.


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Gmerlin-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gmerlin-general

Reply via email to