title: Play MP4 video using JMF
body: <p>How to play MP4 video using JMF?</p>
  
  <p>I am creating Java application. I want to play MP4 file using JMF. I tried to play MP4 file but it throws exception</p>
  
  <pre><code>Could not create player for filename.mp4
  </code></pre>
  
  <p>Mpg format working fine for me. But I have only MP4 files.</p>
  
  <p>Code:</p>
  
  <pre><code>Player mediaPlayer = Manager.createRealizedPlayer( mediaURL );
  mediaPlayer.start();
  </code></pre>