222aaah
10-15-2004, 09:17 AM
Cliepet! I am giving up on MP4. ;)
Clie player is not just picky - it plays only when it sees that it was coded by IC. Or at least I think so.
Here are my findings, may be you will find it helpfull.
MP4 is just a container, video stream inside is most probably Microsoft MP42, Audio stream is QT AAC. Both are easy recreatable, but MP4 container itself is marked. It is not ISO MP4.
In order not to waste time trying to recreate audio/video streams, I decided to take IC2.0 converted MP4, extract video and audio tracks from it, and reassemble mp4 using 3rd party tools using ready tracks. I tried a lot of MP4 tools ( http://www.rarewares.org/mp4.html ).
MP4box seems to be most complete and properly functional. http://gpac.sourceforge.net/downloads.php
There are my steps:
mp4box -info original.mp4
======================
* Movie Info *
Timescale 90000 - Duration 1595025
Fragmented File no - 2 tracks
File Brand MSNV - version 16777249
File has no MPEG4 IOD/OD
(Original file plays fine on CLie :) )
======================
let convert it to ISMA
mp4box -isma original.mp4
======================
* Movie Info *
Timescale 90000 - Duration 1595025
Fragmented File no - 4 tracks
File Brand MSNV - version 16777249
File has root IOD
Scene PL 1 - Graphics PL 1 - OD PL 1 - Visual PL 1 - Audio PL 1
inline profiles included no
And it still plays on Clie. (Means that there is a way to do it using 3rd party)
=======================
Then if I extract video and audio tracks using "-single" and the reassemble it to one mp4 using "-merge" and update it to -isma standarts - I am getting perfectly functional file.
* Movie Info *
Timescale 600 - Duration 10633
Fragmented File no - 4 tracks
File Brand isom - version 1
File has root IOD
Scene PL 1 - Graphics PL 1 - OD PL 1 - Visual PL 1 - Audio PL 1
inline profiles included no
It plays in Quicktime and other MP4 players, but do not plays in Clie ;( . FMP gives me file not found.
If I will hexedit it and change isom to MSNV - FMP gives me - unsupported format.
If I use hexedit even more and change all isom to MSNV to make it look more genuine :D - it becomes not valid MP4 file.
I am giving up. May be some tweaking in MP4box sources and a bit deeper knowledge of MP4 structure in needed. If somebody is willing to continue - feel free to ask. I will help.
Clie player is not just picky - it plays only when it sees that it was coded by IC. Or at least I think so.
Here are my findings, may be you will find it helpfull.
MP4 is just a container, video stream inside is most probably Microsoft MP42, Audio stream is QT AAC. Both are easy recreatable, but MP4 container itself is marked. It is not ISO MP4.
In order not to waste time trying to recreate audio/video streams, I decided to take IC2.0 converted MP4, extract video and audio tracks from it, and reassemble mp4 using 3rd party tools using ready tracks. I tried a lot of MP4 tools ( http://www.rarewares.org/mp4.html ).
MP4box seems to be most complete and properly functional. http://gpac.sourceforge.net/downloads.php
There are my steps:
mp4box -info original.mp4
======================
* Movie Info *
Timescale 90000 - Duration 1595025
Fragmented File no - 2 tracks
File Brand MSNV - version 16777249
File has no MPEG4 IOD/OD
(Original file plays fine on CLie :) )
======================
let convert it to ISMA
mp4box -isma original.mp4
======================
* Movie Info *
Timescale 90000 - Duration 1595025
Fragmented File no - 4 tracks
File Brand MSNV - version 16777249
File has root IOD
Scene PL 1 - Graphics PL 1 - OD PL 1 - Visual PL 1 - Audio PL 1
inline profiles included no
And it still plays on Clie. (Means that there is a way to do it using 3rd party)
=======================
Then if I extract video and audio tracks using "-single" and the reassemble it to one mp4 using "-merge" and update it to -isma standarts - I am getting perfectly functional file.
* Movie Info *
Timescale 600 - Duration 10633
Fragmented File no - 4 tracks
File Brand isom - version 1
File has root IOD
Scene PL 1 - Graphics PL 1 - OD PL 1 - Visual PL 1 - Audio PL 1
inline profiles included no
It plays in Quicktime and other MP4 players, but do not plays in Clie ;( . FMP gives me file not found.
If I will hexedit it and change isom to MSNV - FMP gives me - unsupported format.
If I use hexedit even more and change all isom to MSNV to make it look more genuine :D - it becomes not valid MP4 file.
I am giving up. May be some tweaking in MP4box sources and a bit deeper knowledge of MP4 structure in needed. If somebody is willing to continue - feel free to ask. I will help.