title: How can i know the duration of any h264 file?
body: <p>I have one file in which only h264 frames are there in form of NAL unit.
  So now is there any method so i can count the duration of that file?</p>
  
  <p>I dont know how many frames are there in file.
  I have only file size.</p>
  
  <p>PS: All i want to do is in C language and on Linux platform.</p>