foobie Posted December 5, 2008 Share Posted December 5, 2008 Hello, I'm new here. Sorry if this is a silly question. Anyway, I decided today that I was going to try to write a program similar to Pandora's Jar. My main goal was to make a simpler code base and support a wider range of browsers. I started playing around seeing what I could do and... I came to a point where I thought that I had isolated the media files, but I can't seem to be able to play them. The headers to the files start like "$ftypmp42mp42isom3gp63g2a3gp4]�moovlmvhd", which would make me guess that they're m4a but I can't get them to play. Does anybody who has played with this sort of thing have any input on this? Here's an example file: http://filehost.justfreespace.com/468b.mp4 Once again, I'm sorry if this is a silly question! -foobie Quote Link to comment Share on other sites More sharing options...
AnonymousCoward Posted December 6, 2008 Share Posted December 6, 2008 You didn't trim enough of the header off. Delete the two cr/lf pairs (0d 0a 0d 0a) at the begining of the file and it will play fine. Good luck! Quote Link to comment Share on other sites More sharing options...
foobie Posted December 8, 2008 Author Share Posted December 8, 2008 Thanks so much! I'll make another post with some code as soon as I get the tagging working :-). Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.