[<br>I don't know if this is the right way or place to report bug/enhancement request.<br>I was not able to upload to "incoming" on <a href="http://ftp.videolan.org" target="_blank">ftp.videolan.org</a> so I manadged to upload my file to <a href="http://streams.videolan.org" target="_blank">streams.videolan.org</a> /upload/uploads.<br>

I could write this down into <a href="http://trac.videolan.org" target="_blank">trac.videolan.org</a> (1) is a variation on ticket #2407 and (2) seems rather new.<br>Please let me know the right way to introduce such stuff... because I may have other in the pipeline. ;-)<br>
]<br><br>Hello VLD developers,<br><br>The WMV file produced by the European Parliament are a bit special because they contain 3 video track, mutualy exclusive, with the same content encoded at different bitrate and 23 audio track, mutualy exclusive with 22 interpretation of the original speach.<br>

<br>I have uploaded one such WMV file to illustrate what I explain: /upload/uploads/3V+23A=VODUnit_20091217_09010800_09021200.wmv<br><br>The VLC player does read and decode those file or stream without too much problem, but is lacking a few feature to be perfect.<br>

<br>1) VLC open the 3 video simultaniously rather than to pick one of the video and display only that one.<br>The algorithm I suggest for selecting the "best video track" is to read the "Stream Bitrate Properties Object"[1] and pick the highest bitrate.<br>

One may object that displaying the 3 video is a VLC feature and not a bug... but it is a bug because our files explicitly indicate that those video track should not be played simultaniously with the folowing "Advanced Mutual Exclusion Object"[2].<br>

It however a nice feature to be able to see all the video track but the way it currently work is rather odd...<br><br>When you load the file, it display the 3 track.<br>If you disable video output, all the video window disapear.<br>

If you select a first video track, that one is visible.<br>If you select a second video track, both are visible, and so on.<br><br>That behavious is not symetrical to the one for audio track where you pick one audio track or nothing.<br>

<br>I would love to keep a way to display all the video track, but the normal behaviour should be one track at a time.<br><br>2) There is another thing that could be better in VLC to support that kind of file.<br>When displaying the audio selection, only the track number are displayed, not the language information that is available in "Language List Object"[3].<br>

You will notice that those file display one audio track with the language zu for Zulu... this is not really Zulu but a place older for "original language" this mean without interpretation.<br><br>It seems that VLC code already decode the language information but the GUI is not using it (debug found in message <a href="http://forum.videolan.org/viewtopic.php?f=12&t=12183" target="_blank">http://forum.videolan.org/viewtopic.php?f=12&t=12183</a>) :<br>

asf debug: found object guid: 0x7c4346a9-0xefe0-0x4bfc-0xb229393ede415c85 size:39<br>asf debug: Read "language list object" 1 entries<br>asf debug: - 'en-us' <br><br>In the file /upload/uploads/3V+23A=VODUnit_20091217_09010800_09021200.wmv.png you can see the effect.<br>

<br>It would be nice to display the language the way you do for Mpeg4 format such as the file: /upload/uploads/1V+23A=VODUnit_20091217_09010800_09021200.mp4<br><br>And it would be nice to test on that file for regression before you release a new version of VLC.<br>

<br>Thanks in advance.<br><br>David GLAUDE<br><br>For more information about ASF I found a few link that google may already have given to you:<br><br>Advanced Systems Format on Wikipedia:<br>* <a href="http://en.wikipedia.org/wiki/Advanced_Systems_Format" target="_blank">http://en.wikipedia.org/wiki/Advanced_Systems_Format</a><br>

<br>Some bad old news about ASF format... I don't know how VLC feal about this:<br>* <a href="http://www.advogato.org/article/101.html" target="_blank">http://www.advogato.org/article/101.html</a><br><br>* Language list on msdn:<br>
<a href="http://msdn.microsoft.com/en-us/library/dd757512%28VS.85%29.aspx" target="_blank">http://msdn.microsoft.com/en-us/library/dd757512%28VS.85%29.aspx</a><br>
"The multiple language support features of the Windows Media Format SDK use language strings compliant with RFC 1766."<br><br>* Maybe some other doc:<br><a href="http://avifile.sourceforge.net/docs.htm" target="_blank">http://avifile.sourceforge.net/docs.htm</a><br>

<br>===============================================================<br><br>[1] Extract for ASF View on 3V+23A=VODUnit_20091217_09010800_09021200.wmv<br>Stream Bitrate Properties Object  (182 bytes) <br>Property Value   <br>

File Position 19233  ( 0x4B21 )   <br>Object ID 7BF875CE-468D-11D1-8D82-006097C9A2B2   <br>Object Size 182  ( 0xB6 )   <br>Stream Bitrates <br>Stream Number Bitrate   <br>1 39594   <br>2 39594   <br>3 39594   <br>4 39594   <br>

5 39594   <br>6 39594   <br>7 39594   <br>8 39594   <br>9 39594   <br>10 39594   <br>11 39594   <br>12 39594   <br>13 39594   <br>14 39594   <br>15 39594   <br>16 39594   <br>17 39594   <br>18 39594   <br>19 39594   <br>
20 39594   <br>
21 39594   <br>22 39594   <br>23 39594   <br>24 541520   <br>25 285520   <br>26 157520   <br> <br>Raw data dump <br>Size 182  ( 0xB6 )   <br>Data < show > 0000: CE 75 F8 7B 8D 46 D1 11-8D 82 00 60 97 C9 A2 B2    u { F     `    <br>

0010: B6 00 00 00 00 00 00 00-1A 00 01 00 AA 9A 00 00                   <br>0020: 02 00 AA 9A 00 00 03 00-AA 9A 00 00 04 00 AA 9A                   <br>0030: 00 00 05 00 AA 9A 00 00-06 00 AA 9A 00 00 07 00                   <br>

0040: AA 9A 00 00 08 00 AA 9A-00 00 09 00 AA 9A 00 00                   <br>0050: 0A 00 AA 9A 00 00 0B 00-AA 9A 00 00 0C 00 AA 9A                   <br>0060: 00 00 0D 00 AA 9A 00 00-0E 00 AA 9A 00 00 0F 00                   <br>

0070: AA 9A 00 00 10 00 AA 9A-00 00 11 00 AA 9A 00 00                   <br>0080: 12 00 AA 9A 00 00 13 00-AA 9A 00 00 14 00 AA 9A                   <br>0090: 00 00 15 00 AA 9A 00 00-16 00 AA 9A 00 00 17 00                   <br>

00A0: AA 9A 00 00 18 00 50 43-08 00 19 00 50 5B 04 00         PC    P[  <br>00B0: 1A 00 50 67 02 00                                   Pg    <br><br>---------------------------------------------------------------<br><br>[2] Extract for ASF View on 3V+23A=VODUnit_20091217_09010800_09021200.wmv<br>

Advanced Mutual Exclusion Object  (48 bytes) <br>Property Value   <br>File Position 13281  ( 0x33E1 )   <br>Object ID A08649CF-4775-4670-8A16-6E35357566CD   <br>Object Size 48  ( 0x30 )   <br>  <br>Exclusion Type SameContentDifferentBitrates   <br>

Stream Numbers 24, 25, 26   <br>Raw data dump <br>Size 48  ( 0x30 )   <br>Data 0000: CF 49 86 A0 75 47 70 46-8A 16 6E 35 35 75 66 CD    I  uGpF  n55uf <br>0010: 30 00 00 00 00 00 00 00-01 2A E2 D6 DA 35 D1 11   0        *   5  <br>

0020: 90 34 00 A0 C9 03 49 BE-03 00 18 00 19 00 1A 00    4    I            <br><br>---------------------------------------------------------------<br><br>[3] Extract for ASF View on 3V+23A=VODUnit_20091217_09010800_09021200.wmv<br>

Language List Object  (193 bytes) <br>Property Value   <br>File Position 304  ( 0x130 )   <br>Object ID 7C4346A9-EFE0-4BFC-B229-393EDE415C85   <br>Object Size 193  ( 0xC1 )   <br>  <br>Languages 23   <br>Languages <br>Index Language   <br>

0 en-gb   <br>1 zu   <br>2 fr   <br>3 de   <br>4 it   <br>5 es   <br>6 el   <br>7 pt   <br>8 nl   <br>9 da   <br>10 fi   <br>11 sv   <br>12 cs   <br>13 et   <br>14 lv   <br>15 lt   <br>16 hu   <br>17 mt   <br>18 pl   <br>

19 sk   <br>20 sl   <br>21 bg   <br>22 ro   <br> <br>Raw data dump <br>Size 193  ( 0xC1 )   <br>Data < show > 0000: A9 46 43 7C E0 EF FC 4B-B2 29 39 3E DE 41 5C 85    FC|   K )9> A\ <br>0010: C1 00 00 00 00 00 00 00-17 00 0C 65 00 6E 00 2D              e n -<br>

0020: 00 67 00 62 00 00 00 06-7A 00 75 00 00 00 06 66    g b    z u    f<br>0030: 00 72 00 00 00 06 64 00-65 00 00 00 06 69 00 74    r    d e    i t<br>0040: 00 00 00 06 65 00 73 00-00 00 06 65 00 6C 00 00       e s    e l  <br>

0050: 00 06 70 00 74 00 00 00-06 6E 00 6C 00 00 00 06     p t    n l    <br>0060: 64 00 61 00 00 00 06 66-00 69 00 00 00 06 73 00   d a    f i    s <br>0070: 76 00 00 00 06 63 00 73-00 00 00 06 65 00 74 00   v    c s    e t <br>

0080: 00 00 06 6C 00 76 00 00-00 06 6C 00 74 00 00 00      l v    l t   <br>0090: 06 68 00 75 00 00 00 06-6D 00 74 00 00 00 06 70    h u    m t    p<br>00A0: 00 6C 00 00 00 06 73 00-6B 00 00 00 06 73 00 6C    l    s k    s l<br>

00B0: 00 00 00 06 62 00 67 00-00 00 06 72 00 6F 00 00       b g    r o  <br>00C0: 00                                                     <br><br><br>