Selur
9th March 2006, 07:56
Here's what I want:
I want to create mp4 files (mpeg4 asp + lc-aac) which got the same structure files created by Nero Recode have.
so figure out what files created by recode look like I just created one and ran it through mp4box:
mp4box -info d:\test\Nero.mp4
which gave me:
* Movie Info *
Timescale 1000 - Duration 00:03:20.120
Fragmented File no - 3 track(s)
File Brand mp41 - version 0
Created: Tue Feb 21 06:39:30 2006
File has root IOD
Scene PL 0x01 - Graphics PL 0xfe - OD PL 0xfe
Visual PL: Advanced Simple Profile @ Level 5 (0xf5)
Audio PL: ISO Reserved (0x00) (0x00)
Track # 1 Info - TrackID 1 - TimeScale 1000 - Duration 00:00:00.001
Track is present in Root OD
Media Info: Language "eng" - Type "odsm" - Sub Type "mp4s" - 1 samples
MPEG-4 Config: ObjectDescriptor Stream - ObjectTypeIndication 0x01
Self-synchronized
Track # 2 Info - TrackID 2 - TimeScale 1000 - Duration 00:00:00.001
Track is present in Root OD
Media Info: Language "eng" - Type "sdsm" - Sub Type "mp4s" - 1 samples
MPEG-4 Config: SceneDescription Stream - ObjectTypeIndication 0x01
BIFS Scene description - Command stream
Synchronized on stream 1
Track # 3 Info - TrackID 3 - TimeScale 25000 - Duration 00:03:20.160
Media Info: Language "eng" - Type "vide" - Sub Type "mp4v" - 5003 samples
MPEG-4 Config: Visual Stream - ObjectTypeIndication 0x20
MPEG-4 Visual Size 704 x 368 - Advanced Simple Profile @ Level 5
Pixel Aspect Ratio 1:1 - Indicated track size 704 x 368
Synchronized on stream 1
using mp4box I got:
* Movie Info *
Timescale 600 - Duration 00:03:20.160
Fragmented File no - 3 track(s)
File Brand mp42 - version 1
Created: Thu Mar 09 06:49:27 2006
File has root IOD
Scene PL 0x01 - Graphics PL 0x01 - OD PL 0x01
Visual PL: Advanced Simple Profile @ Level 5 (0xf5)
Audio PL: No audio capability required (0xff)
Track # 1 Info - TrackID 201 - TimeScale 25000 - Duration 00:03:20.160
Media Info: Language "eng" - Type "vide" - Sub Type "mp4v" - 5003 samples
MPEG-4 Config: Visual Stream - ObjectTypeIndication 0x20
MPEG-4 Visual Size 704 x 368 - Advanced Simple Profile @ Level 5
Pixel Aspect Ratio 1:1 - Indicated track size 704 x 368
Synchronized on stream 1
Track # 2 Info - TrackID 2 - TimeScale 600 - Duration 00:00:01.000
Track is present in Root OD
Media Info: Language "und" - Type "odsm" - Sub Type "mp4s" - 1 samples
MPEG-4 Config: ObjectDescriptor Stream - ObjectTypeIndication 0x01
Synchronized on stream 1
Track # 3 Info - TrackID 1 - TimeScale 600 - Duration 00:00:01.000
Track is present in Root OD
Media Info: Language "und" - Type "sdsm" - Sub Type "mp4s" - 1 samples
MPEG-4 Config: SceneDescription Stream - ObjectTypeIndication 0x02
BIFS Scene description - Command stream
Self-synchronized
First thing I spotted were the different file brand, but using -brand mp41 with mp4box solved this, such that the info now looks like:
* Movie Info *
Timescale 600 - Duration 00:03:20.160
Fragmented File no - 3 track(s)
File Brand mp41 - version 0
Created: Thu Mar 09 06:43:23 2006
File has root IOD
Scene PL 0x01 - Graphics PL 0x01 - OD PL 0x01
Visual PL: Advanced Simple Profile @ Level 5 (0xf5)
Audio PL: No audio capability required (0xff)
Track # 1 Info - TrackID 201 - TimeScale 25000 - Duration 00:03:20.160
Media Info: Language "eng" - Type "vide" - Sub Type "mp4v" - 5003 samples
MPEG-4 Config: Visual Stream - ObjectTypeIndication 0x20
MPEG-4 Visual Size 704 x 368 - Advanced Simple Profile @ Level 5
Pixel Aspect Ratio 1:1 - Indicated track size 704 x 368
Synchronized on stream 1
Track # 2 Info - TrackID 2 - TimeScale 600 - Duration 00:00:01.000
Track is present in Root OD
Media Info: Language "und" - Type "odsm" - Sub Type "mp4s" - 1 samples
MPEG-4 Config: ObjectDescriptor Stream - ObjectTypeIndication 0x01
Synchronized on stream 1
Track # 3 Info - TrackID 1 - TimeScale 600 - Duration 00:00:01.000
Track is present in Root OD
Media Info: Language "und" - Type "sdsm" - Sub Type "mp4s" - 1 samples
MPEG-4 Config: SceneDescription Stream - ObjectTypeIndication 0x02
BIFS Scene description - Command stream
Self-synchronized
So far so good, but how do I 'force' mp4box to use the same TrackIDs Recode choose TrackID 1, 2 and 3 and not TrackID 1, 2 and 201?
This is video only, when you also choose an audio track Recode chooses trackID 3 for the video and trackID 4 for the audio, where mp4box chooses trackID 201 for the video and trackID 204 for the audio.
Cu Selur
I want to create mp4 files (mpeg4 asp + lc-aac) which got the same structure files created by Nero Recode have.
so figure out what files created by recode look like I just created one and ran it through mp4box:
mp4box -info d:\test\Nero.mp4
which gave me:
* Movie Info *
Timescale 1000 - Duration 00:03:20.120
Fragmented File no - 3 track(s)
File Brand mp41 - version 0
Created: Tue Feb 21 06:39:30 2006
File has root IOD
Scene PL 0x01 - Graphics PL 0xfe - OD PL 0xfe
Visual PL: Advanced Simple Profile @ Level 5 (0xf5)
Audio PL: ISO Reserved (0x00) (0x00)
Track # 1 Info - TrackID 1 - TimeScale 1000 - Duration 00:00:00.001
Track is present in Root OD
Media Info: Language "eng" - Type "odsm" - Sub Type "mp4s" - 1 samples
MPEG-4 Config: ObjectDescriptor Stream - ObjectTypeIndication 0x01
Self-synchronized
Track # 2 Info - TrackID 2 - TimeScale 1000 - Duration 00:00:00.001
Track is present in Root OD
Media Info: Language "eng" - Type "sdsm" - Sub Type "mp4s" - 1 samples
MPEG-4 Config: SceneDescription Stream - ObjectTypeIndication 0x01
BIFS Scene description - Command stream
Synchronized on stream 1
Track # 3 Info - TrackID 3 - TimeScale 25000 - Duration 00:03:20.160
Media Info: Language "eng" - Type "vide" - Sub Type "mp4v" - 5003 samples
MPEG-4 Config: Visual Stream - ObjectTypeIndication 0x20
MPEG-4 Visual Size 704 x 368 - Advanced Simple Profile @ Level 5
Pixel Aspect Ratio 1:1 - Indicated track size 704 x 368
Synchronized on stream 1
using mp4box I got:
* Movie Info *
Timescale 600 - Duration 00:03:20.160
Fragmented File no - 3 track(s)
File Brand mp42 - version 1
Created: Thu Mar 09 06:49:27 2006
File has root IOD
Scene PL 0x01 - Graphics PL 0x01 - OD PL 0x01
Visual PL: Advanced Simple Profile @ Level 5 (0xf5)
Audio PL: No audio capability required (0xff)
Track # 1 Info - TrackID 201 - TimeScale 25000 - Duration 00:03:20.160
Media Info: Language "eng" - Type "vide" - Sub Type "mp4v" - 5003 samples
MPEG-4 Config: Visual Stream - ObjectTypeIndication 0x20
MPEG-4 Visual Size 704 x 368 - Advanced Simple Profile @ Level 5
Pixel Aspect Ratio 1:1 - Indicated track size 704 x 368
Synchronized on stream 1
Track # 2 Info - TrackID 2 - TimeScale 600 - Duration 00:00:01.000
Track is present in Root OD
Media Info: Language "und" - Type "odsm" - Sub Type "mp4s" - 1 samples
MPEG-4 Config: ObjectDescriptor Stream - ObjectTypeIndication 0x01
Synchronized on stream 1
Track # 3 Info - TrackID 1 - TimeScale 600 - Duration 00:00:01.000
Track is present in Root OD
Media Info: Language "und" - Type "sdsm" - Sub Type "mp4s" - 1 samples
MPEG-4 Config: SceneDescription Stream - ObjectTypeIndication 0x02
BIFS Scene description - Command stream
Self-synchronized
First thing I spotted were the different file brand, but using -brand mp41 with mp4box solved this, such that the info now looks like:
* Movie Info *
Timescale 600 - Duration 00:03:20.160
Fragmented File no - 3 track(s)
File Brand mp41 - version 0
Created: Thu Mar 09 06:43:23 2006
File has root IOD
Scene PL 0x01 - Graphics PL 0x01 - OD PL 0x01
Visual PL: Advanced Simple Profile @ Level 5 (0xf5)
Audio PL: No audio capability required (0xff)
Track # 1 Info - TrackID 201 - TimeScale 25000 - Duration 00:03:20.160
Media Info: Language "eng" - Type "vide" - Sub Type "mp4v" - 5003 samples
MPEG-4 Config: Visual Stream - ObjectTypeIndication 0x20
MPEG-4 Visual Size 704 x 368 - Advanced Simple Profile @ Level 5
Pixel Aspect Ratio 1:1 - Indicated track size 704 x 368
Synchronized on stream 1
Track # 2 Info - TrackID 2 - TimeScale 600 - Duration 00:00:01.000
Track is present in Root OD
Media Info: Language "und" - Type "odsm" - Sub Type "mp4s" - 1 samples
MPEG-4 Config: ObjectDescriptor Stream - ObjectTypeIndication 0x01
Synchronized on stream 1
Track # 3 Info - TrackID 1 - TimeScale 600 - Duration 00:00:01.000
Track is present in Root OD
Media Info: Language "und" - Type "sdsm" - Sub Type "mp4s" - 1 samples
MPEG-4 Config: SceneDescription Stream - ObjectTypeIndication 0x02
BIFS Scene description - Command stream
Self-synchronized
So far so good, but how do I 'force' mp4box to use the same TrackIDs Recode choose TrackID 1, 2 and 3 and not TrackID 1, 2 and 201?
This is video only, when you also choose an audio track Recode chooses trackID 3 for the video and trackID 4 for the audio, where mp4box chooses trackID 201 for the video and trackID 204 for the audio.
Cu Selur