This discussion is archived
3 Replies Latest reply: Jun 20, 2011 7:30 AM by captfoss RSS

linux jmf   nothing for video

869908 Newbie
Currently Being Moderated
code:

new MediaLocator("file:///home/jmffile/c1.avi ") ;

TrackControl [] tracks = processor.getTrackControls()
//tracks.length=2
for(int i=0;i<tracks.length;i++)
{
Format supported = tracks.getSupportedFormats();

}
i=0 supported.length=0 //for video track why ???
i=1 supported.length=6 //for audio track


why get nothing for video ?

the code is run ok for window

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points