title: Xuggler reading certain FLV files
body: <p>I'm trying to transcode an FLV file in Java using the Xuggler libraries, which has two streams:<br>
  Stream 0: Video, H264 avc1<br>
  Stream 1: Audio, AAC, mp4a  </p>
  
  <p>Now, the <code>getNumStreams()</code> call on the input container returns 2 streams which is correct.<br>
  My problem appears because both of the streams have type <code>CODEC_TYPE_UNKNOWN</code> rather than <code>CODEC_TYPE_VIDEO</code>/AUDIO.  </p>
  
  <p>Hence my code here:<br>
  <code>stream.getStreamCoder().getCodecType().equals(ICodec.Type.CODEC_TYPE_AUDIO)</code><br>
  never actually matches a specific stream.  </p>
  
  <p>I have tried to manually assign a stream to stream 2 which goes through fine however when I query the codec from the <code>IStreamCoder</code>, it is null. The <code>CodecID</code> of the same <code>IStreamCoder</code> is the correct <code>CODEC_ID_AAC</code>, and the codec type is <code>CODEC_TYPE_UNKNOWN</code> as I have mentioned above.  </p>
  
  <p>Now my question is, why are these streams marked as unknown rather than the correct audio/video? This piece of code works flawlessly for most other formats such as mp4 containers. My overall goal is extracting the audio streams for transcoding.  </p>
  
  <p>Please advise if you need an example code segment to better answer this question, as I'd have to snip out quite a bit of what I have to produce something.<br>
    <hr>
  Edit: I think this isn't a Xuggler problem as I have tried to convert the FLV in question using VLC and VLC crashes on conversion, whereas I tried a known working mp4 file to convert to mp3 and it went through fine</p>