View Full Version : mkv and mp4 : he-aac + h264 avc + subs + chap
hubereevez
10th March 2005, 21:23
Hi,
the only reason i would like to create .mp4 is because of the coming dvd compatible player (hoping so)
mp4 : he-aac + avc works perfectly (adding aac from nero works bond)
+ subs (mp4box) : no subs shown. Did not test chapters (tired)
mkv : joining he aac subs chapters avc : all the pack is working.
conclusion : For me, it's to early and to much time expensive to mux into mp4. Mosu do a great job and his mmg exe is working great.
Besides, like doom9 said, the tool for mp4 are not user friendly. Gui for these are not so complete.
imho, better mux into mkv, when dvd compatible player come out, demux (hoping demuxing avc will be possible) into mp4 whith more user-friendly tools.
hubert
mezzanine
11th March 2005, 00:49
Originally posted by hubereevez
Hi,
the only reason i would like to create .mp4 is because of the coming dvd compatible player (hoping so)
mp4 : he-aac + avc works perfectly (adding aac from nero works bond)
+ subs (mp4box) : no subs shown. Did not test chapters (tired)
mkv : joining he aac subs chapters avc : all the pack is working.
hubert
Playback with Osmo4 should display those subs, you better use AAC-LC because HE-AAC will not be supported (probably) in future standalones.
hubereevez
11th March 2005, 02:36
lol
osmo4 can't read anything by me. It's still a very buggy software, from what I red in this forum.
Are you sure about he-aac ? :scared:
hubert
Drachir
11th March 2005, 09:40
Osmo4 is a nice software and recent version play very well at Linux with 2D or 3D video renderer. I haven't tested it with Windows. If Osmo4 dosen't play a mp4 file in most cases not the fault of Osmo4. This file is probably not spec compliant or your GPAC binary/installation is b0rked. But if there still problems with Osmo4 post a message here: https://sourceforge.net/forum/?group_id=84101 or write a e-mail to Jean Le Feuvre.
iapir
11th March 2005, 10:19
How many softwares do you need to use effectively MP4 ?
It seems to be quite a jungle these days. Especially since you never know the files you produce now will play later, given some software use private stuff (see other thread on subs and chapters).
Drachir
11th March 2005, 10:49
All you need is the GPAC Framework. You can create simple mp4 files with video/audio/sub(ttxt)or more complex mpeg 4 systems presentation with interactivity with MP4Box. Playback a mpeg 4 sytems presentation can be done with Osmo4. There are some nice 3D sample here: http://gpac.sourceforge.net/downloads/gpac_regression_tests-0.2.3.tar.gz.
iapir
11th March 2005, 11:24
Does it support AVC, HE-AAC, chapters ?
Drachir
11th March 2005, 11:42
Yes it support AVC:
teetrinker@linux:~> MP4Box -fps 25 -convert video.264 h264.mp4
AVC-H264 import - frame size 720 x 576 at 25.000 FPS
Adjusting AVC SizeLength to 16 bits
Importing sample 15003020 / 15009803 (99.94)
Import results: 4297 samples - Slices: 20 I 2370 P 1907 B 0 SP 0 SI - 1 SEI
Saving file into h264.mp4: Interleaving on (0.500 seconds)... done
and HE-AAC:
teetrinker@linux:~> MP4Box -convert audio.aac -sbr audio.mp4
AAC import SBR forced - sample rate 8000 - MPEG-4 audio - 1 channel
Converting to ISMA Audio-Video MP4 file...
Saving file into audio.mp4: Interleaving on (0.500 seconds)... done
Chapters only if you create a mpeg 4 systems presentation. You will need a mpeg 4 systems player for playback.
The way Nero use chapters isn't standardised but possible and most likely what hardware players will support.
bond
11th March 2005, 13:17
Originally posted by iapir
It seems to be quite a jungle these days. Especially since you never know the files you produce now will play later, given some software use private stuff (see other thread on subs and chapters)as drachir wrote already: timed text (ttxt) subs are not "private stuff", but defined in mpeg-4
chapters as placed by nero in .mp4 are private data, but as good as all .mp4 enabled hardware players handle these already too
iapir
11th March 2005, 14:59
You probably meant NeroDigital enabled hardware, which is not exactly the same. One is just the standard, the other is proprietary stuff on top of the standard.
bond
11th March 2005, 15:01
Originally posted by iapir
You probably meant NeroDigital enabled hardware, which is not exactly the same. One is just the standard, the other is proprietary stuff on top of the standard. i said "as good as all .mp4 enabled hardware players", which is obviously the truth as from the dvd-style hardware player only one, the philips player, doesnt handle chapters
iapir
11th March 2005, 15:06
Could you be more specific ? Does Nero's private stream follow a standard ? Or does it happen that luckily the very few players (which ones ?) that handle .mp4 handle their private stream too ?
(ignoring != handling of course)
bond
11th March 2005, 19:08
the mpeg-4 specs define a so called "udta" (user data) atom, which allows you to place "everything you want" into
nero uses this for placing chapter info in the .mp4
so the chapters themselves are not defined in mpeg-4, but the way this private data is stored in .mp4 is
basically most of the .mp4 support on current dvd players is pushed by nero and therefore the players also all support the chapters (the only exception is philips, which seem to have created the .mp4 support themselves for their players)
hubereevez
12th September 2005, 17:17
Erf, still have issues when muxing h264 AVC and He-aac with mp4box (0.4.1 DEV).
Audio has delays.........
MP4Box.exe" -add "F:\2.mp4" -add "F:2.mp4##trackID:1" -add "F:
\02.srt" -new "F:\2_out.mp4"
Here are the infos about 2_out.mp4 :
File has root IOD
Scene PL 0xff - Graphics PL 0xff - OD PL 0xff
Visual PL: AVC/H264 Profile (0x15)
Audio PL: AAC Profile @ Level 1 (0x28)
No streams included in root OD
Track # 1 Info - TrackID 3 - TimeScale 2997 - Duration 00:45:57.340
Media Info: Language "eng" - Type "vide" - Sub Type "avc1" - 66110 samples
MPEG-4 Config: Visual Stream - ObjectTypeIndication 0x21
AVC/H264 Video - Visual Size 624 x 352
Self-synchronized
Track # 2 Info - TrackID 4 - TimeScale 48000 - Duration 00:46:26.688
Media Info: Language "eng" - Type "soun" - Sub Type "mp4a" - 65313 samples
MPEG-4 Config: Audio Stream - ObjectTypeIndication 0x40
MPEG-4 Audio AAC LC - 2 Channel(s) - SampleRate 24000 - SBR SampleRate 48000
Synchronized on stream 3
Track # 3 Info - TrackID 7 - TimeScale 1000 - Duration 00:45:54.000
Media Info: Language "fre" - Type "text" - Sub Type "tx3g" - 894 samples
3GPP/MPEG-4 Timed Text - Size 0 x 0 - Translation X=0 Y=0 - Layer 0
Did I something wrong ?
Hubert
Drachir
12th September 2005, 17:44
This command -add "F:2.mp4##trackID:1" was accepted by MP4Box ? Use instead "-add "F:\2.mp4#1". For the first add you should set the track you want to import, too.
The timed text size of the file is a little bit small (0x0).
Are you sure the mp4 files are you muxing from, are all right?
The Audio track is a littel bit longer than the other tracks. I would post your problem at the gpac forum.
hubereevez
12th September 2005, 18:23
Thanks for your respons.
Without text time, I have the same issue. Anyway the srt track is not empty.
Video mp4 comes from ateme beta encoder. Audio mp4 comes from belight (heaac) with bsn.dll and nero dll.
The Audio track is a littel bit longer
Arghhhhh, you're right, strange, I had to demux the mp3 track with vdubmod.....
will check this further.
thanks
hubert
iapir
13th September 2005, 09:19
Looks like dropped frames in your video that are not kept when you remux.
bond
1st October 2005, 10:17
when muxing mp3 into .avi with virtualdub(mod) and setting a positive delay you will get stuffing garbadge at the beginning of the mp3 stream for getting the delay
now i dont know if that garbadge gets removed when demuxing the mp3 or not
either way there might be conclusions for your delay:
1) the garbadge is removed, so you have to set the delay again when remuxing to a container (including avi)
2) the garbadge is not removed and reencoding to aac borks at the beginning somehow giving you desync
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.