Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se

 

Go Back   Doom9's Forum > Capturing and Editing Video > New and alternative a/v containers

Reply
 
Thread Tools Search this Thread Display Modes
Old 4th July 2005, 13:29   #81  |  Link
SeeMoreDigital
Life's clearer in 4K UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,402
Quote:
Originally Posted by HQ-LQ
but not 'avc in mkv'
If you want to see better support for Mpeg4 AVC in MKV then that's up to the Matroska guys to sort out, not MP4Box.


Cheers
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
SeeMoreDigital is offline   Reply With Quote
Old 4th July 2005, 20:38   #82  |  Link
bond
Registered User
 
Join Date: Nov 2001
Posts: 9,770
i doubt there is a chance that mp4box will support mkv output, its a mpeg-4 systems tool
__________________
Between the weak and the strong one it is the freedom which oppresses and the law that liberates (Jean Jacques Rousseau)
I know, that I know nothing (Socrates)

MPEG-4 ASP FAQ | AVC/H.264 FAQ | AAC FAQ | MP4 FAQ | MP4Menu stores DVD Menus in MP4 (guide)
Ogg Theora | Ogg Vorbis
use WM9 today and get Micro$oft controlling the A/V market tomorrow for free
bond is offline   Reply With Quote
Old 5th July 2005, 13:59   #83  |  Link
nexus
digitally remastered
 
nexus's Avatar
 
Join Date: Jul 2002
Posts: 98
Are avc raw streams correctly handled by mp4box?

I can't mux streams with mp4box which are extracted with avi2raw or with mkvextract.

Btw. which extension should the raw avc stream have? m4v?
__________________
May The FourCC Be With You
nexus is offline   Reply With Quote
Old 5th July 2005, 14:14   #84  |  Link
Doom9
clueless n00b
 
Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,583
yes.. been using that in MeGUI for a long time and nobody has reported any problem.
.264
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org
Doom9 is offline   Reply With Quote
Old 8th July 2005, 03:04   #85  |  Link
yakima
Registered User
 
Join Date: Jul 2003
Posts: 53
probably i've missed something, though i did use search. however, i've been off for some time and now, after updating to mp4box 0.3.0, i've found something odd:

when i use mp4box to convert an avi to mp4, no bifs (or scene) and od are generated, i just have the plain two tracks video and audio. is this supposed to be that way??? and if so, why? or: what could i be doing wrong? (i use -add, -nodrop and that's it).

Last edited by yakima; 8th July 2005 at 03:07.
yakima is offline   Reply With Quote
Old 8th July 2005, 10:53   #86  |  Link
SeeMoreDigital
Life's clearer in 4K UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,402
Hi yakima,

Did your .AVI source contain both video and audio streams?

Using MP4Box 0.3.0.7 - 22 06 2005 14.32.48, together with YAMB 1.3 Alpha1 v1, I've just tried muxing an the following sources: -

An .AVI source containing 1No Mpeg4 video stream and 1No 2Ch MP3 audio stream....
And got an MP4 file with video, BIFF's and OD's but no MP3 audio stream.

An .AVI source containing 1No Mpeg4 video stream and 1No 2Ch AAC-LC audio stream....
And got an MP4 file with video, BIFF's and OD's but no AAC audio stream.

An .AVI source containing 1No Mpeg4 video stream. And an separate .AAC source with 1No 2Ch AAC-LC stream...
And got an MP4 file with video (track 201), audio (track 101), BIFF's (track 1) and OD's (track 2).... So it works for me here

EDIT: I also tried...
An .AVI source containing 1No Mpeg4 video stream. And an separate .MP4 source with 1No 2Ch AAC-LC stream...
And got an MP4 file with video (track 201), audio (track 101), BIFF's (track 1) and OD's (track 2).

An .MP4 source containing 1No Mpeg4 video stream. And an separate .MP4 source with 1No 2Ch AAC-LC stream...
And got an MP4 file with video (track 201), audio (track 101), BIFF's (track 1) and OD's (track 2).



Cheers
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |

Last edited by SeeMoreDigital; 8th July 2005 at 11:57.
SeeMoreDigital is offline   Reply With Quote
Old 8th July 2005, 11:33   #87  |  Link
yakima
Registered User
 
Join Date: Jul 2003
Posts: 53
hi seemoredigital,
thanks for testing, it's good to know that nothing has changed in that regard.
i had an avi audio/video as input and an a/v mp4 with only 2 tracks as output.
however, i have the 0.3.1 dev - maybe i shouldn't have been so daring. i'll revert to 0.3.0.7 or something and do a clean install, maybe something was messed up ..
yakima is offline   Reply With Quote
Old 8th July 2005, 13:31   #88  |  Link
bond
Registered User
 
Join Date: Nov 2001
Posts: 9,770
there is no need for the bifs/od
__________________
Between the weak and the strong one it is the freedom which oppresses and the law that liberates (Jean Jacques Rousseau)
I know, that I know nothing (Socrates)

MPEG-4 ASP FAQ | AVC/H.264 FAQ | AAC FAQ | MP4 FAQ | MP4Menu stores DVD Menus in MP4 (guide)
Ogg Theora | Ogg Vorbis
use WM9 today and get Micro$oft controlling the A/V market tomorrow for free
bond is offline   Reply With Quote
Old 8th July 2005, 14:32   #89  |  Link
Drachir
Teetrinker
 
Drachir's Avatar
 
Join Date: Jan 2002
Posts: 258
For ISO/IEC 14496-12 ISO base media file format there is no need of BIFS/OD.

But for ISO/IEC 14496-14 MP4 file format there should be a BIFS/OD Track.

If am not wrong.
__________________
Play GO ( http://en.wikipedia.org/wiki/Go_(board_game))
Drachir is offline   Reply With Quote
Old 8th July 2005, 14:41   #90  |  Link
bond
Registered User
 
Join Date: Nov 2001
Posts: 9,770
Quote:
Originally Posted by Drachir
But for ISO/IEC 14496-14 MP4 file format there should be a BIFS/OD Track.
no, its not mandatory
isma compliance requires it, but who cares about that?
__________________
Between the weak and the strong one it is the freedom which oppresses and the law that liberates (Jean Jacques Rousseau)
I know, that I know nothing (Socrates)

MPEG-4 ASP FAQ | AVC/H.264 FAQ | AAC FAQ | MP4 FAQ | MP4Menu stores DVD Menus in MP4 (guide)
Ogg Theora | Ogg Vorbis
use WM9 today and get Micro$oft controlling the A/V market tomorrow for free
bond is offline   Reply With Quote
Old 8th July 2005, 14:56   #91  |  Link
SeeMoreDigital
Life's clearer in 4K UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,402
Quote:
Originally Posted by bond
no, its not mandatory
isma compliance requires it, but who cares about that?
Agreed...

All the .MP4 encodes I've generated with BIFS and OD data have played perfectly in hardware, after being removed... If that's what you are worrying about.

And if you want to create encodes suitable for streaming.... mux your Mpeg4 video and AAC audio streams into .MOV


Cheers
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
SeeMoreDigital is offline   Reply With Quote
Old 8th July 2005, 15:09   #92  |  Link
bond
Registered User
 
Join Date: Nov 2001
Posts: 9,770
Quote:
Originally Posted by SeeMoreDigital
And if you want to create encodes suitable for streaming.... mux your Mpeg4 video and AAC audio streams into .MOV
why should mov stream better than mp4?
__________________
Between the weak and the strong one it is the freedom which oppresses and the law that liberates (Jean Jacques Rousseau)
I know, that I know nothing (Socrates)

MPEG-4 ASP FAQ | AVC/H.264 FAQ | AAC FAQ | MP4 FAQ | MP4Menu stores DVD Menus in MP4 (guide)
Ogg Theora | Ogg Vorbis
use WM9 today and get Micro$oft controlling the A/V market tomorrow for free
bond is offline   Reply With Quote
Old 8th July 2005, 15:17   #93  |  Link
Hyper Shinchan
Registered User
 
Join Date: Mar 2005
Location: Italy
Posts: 286
or is it only easier to spread?
Hyper Shinchan is offline   Reply With Quote
Old 8th July 2005, 15:34   #94  |  Link
SeeMoreDigital
Life's clearer in 4K UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,402
Quote:
Originally Posted by bond
why should mov stream better than mp4?
If you remember, a while ago I've carried out .MOV and .MP4 "streaming tests" using the same AAC-LC and Mpeg4 SP streams muxed into the different containers.

Each were embedded into their own web page using QuickTime as the player.... The .MOV file streamed almost instantly. While the .MP4 file needed around 50% of the file to be downloaded (buffered I guess) before streaming commenced.

I guess I could run the tests again though.


Cheers
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
SeeMoreDigital is offline   Reply With Quote
Old 8th July 2005, 16:21   #95  |  Link
Drachir
Teetrinker
 
Drachir's Avatar
 
Join Date: Jan 2002
Posts: 258
In ISMA 1.0 the simple BIFS scene and OD are there to be compatible with 14496-1 Mpeg 4 Systems.

Quote:
ISO/IEC 14496-4 Second Edition(not the latest one) - Conformance testing
3.7 MP4 File Format
3.7.1 Writing
If an atom defined in this specification is written, it must be formatted to this specification. A valid MP4 file with no tracks has at least: moov, mvhd. If it is a presentation or the target of an OD URL, an iods is required, containing an IOD or OD respectively. Only MP4 files used in editing (as the target of a data reference URL) may lack the IOD.
Any track must contain: trak, tkhd, mdia. A mdia must contain mdhd, hdlr, and minf. A minf must contain a suitable media header, a dinf and a stbl. dinf must contain dref; and a stbl must contain stsd, and if there are any samples, an stts, stsz, stco, stsc. The sample table entries must be consistent about the number of samples in a track. Extensions should use the UUID mechanism. Track identifiers must be unique within the file. The containment hierarchy defined in the specification must be followed. Very few atoms (for example, user data and UUID extension) are allowed to occur in multiple containers. Fields marked reserved should be written to the standard value. A presentation must contain at least a BIFS track, referenced by the IOD (as in the systems specification).
Or take a look at this discussion here: https://sourceforge.net/forum/forum....orum_id=287546

Question: Is one Video ES and one Audio ES a Presentation ? - From my point of view I would say - yes

Handbrake create files with File Brand "mp42" - but there is no BIFS/OD Track.
MeGUI create files with File Brand "isom"(ISO/IEC 14496-12) if there is more then one Audio ES.
Recode create files with File Brand "mp42"or"avc1" - but with more then one Audio ES the Scene don't make sense.

I am just interested if this is all right(ISO Conformance).

At what point do I have a Presentation?
__________________
Play GO ( http://en.wikipedia.org/wiki/Go_(board_game))
Drachir is offline   Reply With Quote
Old 8th July 2005, 16:41   #96  |  Link
SeeMoreDigital
Life's clearer in 4K UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,402
Hi Drachir,

May I ask, are you asking these questions out of "interest" or for some other reason you're worried about?


Cheers
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
SeeMoreDigital is offline   Reply With Quote
Old 8th July 2005, 16:55   #97  |  Link
Drachir
Teetrinker
 
Drachir's Avatar
 
Join Date: Jan 2002
Posts: 258
I am interested. And I thing the File Brand should help the player to decide how to deal with the file - with what the player have to anticipate. Will there be a BIFS/OD Track with more information how to display the streams? Or just play the biggest V/A stream.
__________________
Play GO ( http://en.wikipedia.org/wiki/Go_(board_game))
Drachir is offline   Reply With Quote
Old 8th July 2005, 22:52   #98  |  Link
yakima
Registered User
 
Join Date: Jul 2003
Posts: 53
well, aside from the question if bifs/od are needed or not, it says in the gpac documentation that they are being created upon add (as long as you only have 1 audio and 1 vid, otherwise of course not).

i have (re)installed mp4box 0.3.0.7 now, and it still produces a/v mp4s with no bifs/od:
- if i only add vid from an avi, i get bifs/od
- if i add the full audio/video avi, no bifs/od
- if i add vid from avi and audio from mp4, no bifs/od

could it be that there have been some changes since 0.2.3 or that this is a matter of syntax (there used to be -import and -merge), such that -add acts differently if more than 1 stream is imported?

i am quite clueless on this, but i don't like it if things do things differently than advertised

... tell me this behavior is as defined for some good reason, and i'll bear it ...
yakima is offline   Reply With Quote
Old 8th July 2005, 23:13   #99  |  Link
SeeMoreDigital
Life's clearer in 4K UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,402
Well, what more can I say yakima?

MP4box.exe works exactly as I've said.... If it does not for your (with WinXP) set-up, then something might be wrong at your end


Cheers
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
SeeMoreDigital is offline   Reply With Quote
Old 9th July 2005, 15:03   #100  |  Link
yakima
Registered User
 
Join Date: Jul 2003
Posts: 53
well, yes it does. and: it works exactly as i said.

thing is, the files i muxed contained an mp3 audio track, and it seems mp4box no longer sets -isma on default if the audio track is mp3 (it says in the doc: "When using -add option, MP4Box will automatically create default BIFS and OD tracks to make the resulting file compliant with the ISMA 1.0 standard if possible"). if i use -isma -add on my files, bifs/od are created.

does anyone know why they changed this default? is there some problem with mp3 and -isma?
yakima is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 16:48.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.