Skip to main content
Participating Frequently
July 22, 2010
Question

H.264 .mp4 vs. .mov

  • July 22, 2010
  • 1 reply
  • 1289 views

Hi all,

I've been been trying to get H.264 videos to play on  my custom video player written in AS3. I've been able to get h264  encoded .mp4 files to work, but if the same file and same codec are in a  .mov container, there is a problem. Namely when i try to jump ahead to  an unbuffered part of the video, the video starts at the beginning  instead of at the desired keyframe. Does anyone know what might be going  on? I can reproduce any code but do not want to bog everyone down. Any  help would be greatly appreciated!!!

Thanks,

Cyrus

This topic has been closed for replies.

1 reply

Inspiring
July 22, 2010

I'm not the video pro, but I believe that if you want to be able to skip ahead to view an unbuffered region of a movie, then you are going to need your server to actively detect this skip-ahead move and then send the correct buffer.  If you are just downloading files from some public_html folder, it's probably not going to work.

You need something like a Media server to let folks skip ahead I think.

Crich18Author
Participating Frequently
July 22, 2010

Thank you for that. I am also not a video expert. I believe my company has a media server that it is using to host all of the video files. When the request to seek ahead is made by the video player, the server returns a new stream with the appropriate offset to seek to the new position and start buffering from there. Is this what you meant?

Thanks,

Cyrus

Inspiring
July 22, 2010

That's exactly what I meant.  Obviously, the media server and your video client need to speak the same language when someone tries to shuttle forward.