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.

 

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

Reply
 
Thread Tools Search this Thread Display Modes
Old 27th October 2004, 13:21   #1  |  Link
Lupus_aka_Den
Registered User
 
Lupus_aka_Den's Avatar
 
Join Date: Jan 2004
Location: Russia, Tomsk
Posts: 74
Moonlight .MP4 dshow Demultiplexer beta released (supports avc-in-mp4)

The Moonlight MP4 Demultiplexer is a DirectShow® filter that provides demultiplexing of MPEG-4 (Intermedia Format (MP4)), 3GPP2 System streams into a MPEG-4, H.263, AVC/H.264 video streams and AAC, AMR, MP3 audio streams.
Compatible with:
(Video)
- Moonlight MPEG4 Video Decoder (http://www.elecard.com/ftp/pub/mpeg/...r/mpeg4dec.zip Beta version)
- Moonlight H.264 Video Decoder (http://www.elecard.com/ftp/pub/mpeg/...k1_1_40916.zip or http://www.moonlightcordless.com/dow...k1_1_40916.zip)
- ffdshow MPEG-4 Video Decoder (for H.263)
- 3ivx D4 Video Decoder
Notes: Identify only I,P frames

(Audio)
- Moonlight Odio Dekoda (http://www.elecard.com/products/mpeg2decoder.shtml)
- Moonlight AMR Decoder
- dicas AMR Audio Decoder
- ffdshow Audio Decoder (for AAC and MP3)
- 3ivx D4 Audio Decoder
- CoreAAC Audio Decoder

Download from:
http://www.elecard.com/download/ or
http://www.elecard.com/ftp/pub/mpeg/...a/MP4Demux.zip

Contact us at tsup@moonlight.com.ru with technical questions and bug reports

Last edited by Lupus_aka_Den; 4th November 2004 at 06:54.
Lupus_aka_Den is offline   Reply With Quote
Old 27th October 2004, 18:52   #2  |  Link
bond
Registered User
 
Join Date: Nov 2001
Posts: 9,779
wow cool stuff, another directshow .mp4 container splitter, able to even handle h.264-in-mp4

Lupus_aka_Den, are you related somehow to moonlight/elecard?

did you try the coreaac aac audio decoder and the xvid, divx5 and ffdshow video decoders for mpeg-4/h.264 with this demuxer filter? did it work?

moved to container forum, as its more a container (.mp4) topic
__________________
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

Last edited by bond; 27th October 2004 at 20:35.
bond is offline   Reply With Quote
Old 27th October 2004, 18:58   #3  |  Link
gotaserena
String Theorist
 
Join Date: Mar 2003
Location: Na terra dos 10000 lagos.
Posts: 218
reported fourCC for H.264 is "s264"?
gotaserena is offline   Reply With Quote
Old 27th October 2004, 21:02   #4  |  Link
bond
Registered User
 
Join Date: Nov 2001
Posts: 9,779
Quote:
Originally posted by gotaserena
reported fourCC for H.264 is "s264"?
indeed, evil moonlight. time to ask milan to add "s264" to the supported fourccs in ffdshow

but their splitter outputs "mp4v" for mpeg-4 part2 streams, which means it can be used with the xvid, 3ivx, ffdshow and divx5 decoder
it also supports coreaac

didnt try whether mp3-in-mp4 worked
edit: tried it and it seems that the moonlight splitter doesnt support mp3-in-mp4. it can connect to the filesource filter, but neither the default windows mp3 decoder, nor moonlight's own odio dekoda can connect to the splitter
(also it seems that mp4uis mp3 muxing outputs borken files, mp4creator works)
__________________
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

Last edited by bond; 27th October 2004 at 22:56.
bond is offline   Reply With Quote
Old 28th October 2004, 07:50   #5  |  Link
Lupus_aka_Den
Registered User
 
Lupus_aka_Den's Avatar
 
Join Date: Jan 2004
Location: Russia, Tomsk
Posts: 74
Quote:
Originally posted by bond
Lupus_aka_Den, are you related somehow to moonlight/elecard?
Yes, i'm Moonlight/Elecards software developer and author of MP4 Demultiplexer 8)
Quote:
Originally posted by bond
did you try the coreaac aac audio decoder and the xvid, divx5 and ffdshow video decoders for mpeg-4/h.264 with this demuxer filter? did it work?
I try such graph (.mp4 with MPEG-4 and AAC):
------------------------------------------/->CoreAAC Audio Decoder->Render
FileSource(Async)->MP4 Demuxer->
------------------------------------------\->ffdshow MPEG4 Video Decoder->Render

This work, but i found some problems with navigation that I plan to fix in the future

H.264 properly working with our decoder, ffdshow video decoder can't connecting with video pin
Lupus_aka_Den is offline   Reply With Quote
Old 28th October 2004, 07:58   #6  |  Link
Lupus_aka_Den
Registered User
 
Lupus_aka_Den's Avatar
 
Join Date: Jan 2004
Location: Russia, Tomsk
Posts: 74
Quote:
Originally posted by gotaserena
reported fourCC for H.264 is "s264"?
No, I choose "s264" because i can't find any information about fourCC code for H.264. "s264" simulate "s263" for H.263
Lupus_aka_Den is offline   Reply With Quote
Old 28th October 2004, 08:06   #7  |  Link
Lupus_aka_Den
Registered User
 
Lupus_aka_Den's Avatar
 
Join Date: Jan 2004
Location: Russia, Tomsk
Posts: 74
Quote:
Originally posted by bond
indeed, evil moonlight
Thanks 8)
Quote:
Originally posted by bond
time to ask milan to add "s264" to the supported fourccs in ffdshow

but their splitter outputs "mp4v" for mpeg-4 part2 streams, which means it can be used with the xvid, 3ivx, ffdshow and divx5 decoder
it also supports coreaac

didnt try whether mp3-in-mp4 worked
edit: tried it and it seems that the moonlight splitter doesnt support mp3-in-mp4. it can connect to the filesource filter, but neither the default windows mp3 decoder, nor moonlight's own odio dekoda can connect to the splitter
(also it seems that mp4uis mp3 muxing outputs borken files, mp4creator works)
I have no "mp3-in-mp4" streams. Could you give me url where i can found them?
Lupus_aka_Den is offline   Reply With Quote
Old 28th October 2004, 08:16   #8  |  Link
Lupus_aka_Den
Registered User
 
Lupus_aka_Den's Avatar
 
Join Date: Jan 2004
Location: Russia, Tomsk
Posts: 74
Quote:
Originally posted by gotaserena in "muxing h.264 in mp4" thread
ffdshow-20041012 doesn't like avc1 in mp4 it seems. I just manage to open a h.264 encode done by mencoder in avi using graphedit, but if I mux the raw stream into mp4 using mp4creator I can't decode it anymore. Splitter was 3ivx's. I changed the fourcc from h264 to avc1 and ffdshow still played it .
VLC 0.8-2 opens the mp4 without any problems, though.
Interesting.. I'll try to change my "s264" on "avc1"
Lupus_aka_Den is offline   Reply With Quote
Old 28th October 2004, 08:41   #9  |  Link
gotaserena
String Theorist
 
Join Date: Mar 2003
Location: Na terra dos 10000 lagos.
Posts: 218
Quote:
Originally posted by Lupus_aka_Den
Interesting.. I'll try to change my "s264" on "avc1"
Well, that's the official standard for h.264 in mp4!

But thanks a lot for implementing it!
gotaserena is offline   Reply With Quote
Old 28th October 2004, 08:54   #10  |  Link
Lupus_aka_Den
Registered User
 
Lupus_aka_Den's Avatar
 
Join Date: Jan 2004
Location: Russia, Tomsk
Posts: 74
Quote:
Originally posted by gotaserena
Well, that's the official standard for h.264 in mp4!
Really? Could you give me name or url on such document?

Quote:
Originally posted by gotaserena
But thanks a lot for implementing it!
It's my job 8)
Lupus_aka_Den is offline   Reply With Quote
Old 28th October 2004, 09:49   #11  |  Link
yaz
n00b ever
 
Join Date: May 2002
Posts: 627
Quote:
Originally posted by bond
indeed, evil moonlight.
i don't think so :-) say, the mpeg2 support they released was far the best and the most stable. i've used that exclusively. now, ffdshow seems to be reached acceptable speed and stability.
as regards h264/mp4, it is the only solution at the moment.
Quote:
Originally posted by bond
time to ask milan to add "s264" to the supported fourccs in ffdshow
no, it's time to ask lupus very kindly to keep up with the standards, say, outputting 'avc1' or 'h264'.

i tried the stuff this way
- elecard demux registered
- x264 encoded into avi by mencoder
- the video (re)wrapped into mp4 by mp4creator (thx, gotaserena)
- 's264' registered and related to vss decoder (sorry, lupus, i plan to try elecard decoder too, but no time so far :-))
- mpc plays it fine (if inner mp4 support is switched off)

i haven't tried adding aac but it'll the next

thx for releasing this stuff ... btw ... moonlight a/o elecard ? ... i'm always confused :-)

thx
y

Last edited by yaz; 28th October 2004 at 13:22.
yaz is offline   Reply With Quote
Old 28th October 2004, 19:39   #12  |  Link
bond
Registered User
 
Join Date: Nov 2001
Posts: 9,779
Quote:
Originally posted by Lupus_aka_Den
Yes, i'm Moonlight/Elecards software developer and author of MP4 Demultiplexer
nice, welcome to doom9

Quote:
Originally posted by Lupus_aka_Den
Interesting.. I'll try to change my "s264" on "avc1"
might be better. as i am sure you know mpeg-4 part2 video streams are marked as "mp4v" in .mp4, aac streams as "mp4a". in the same way avc streams are marked as "avc1", it could be therefore considered as something like the "official fourcc" i think

Quote:
Originally posted by Lupus_aka_Den
I have no "mp3-in-mp4" streams. Could you give me url where i can found them?
i dunno an url to one, but you can very easily create them yourself with the mp4creator tool of mpeg4ip, which you can find here

its opensource and you will have to compile it yourself or you search around in this forum for some links to compiles

you can use the following commmandline for muxing .mp3 (or even .mp2) audio streams into .mp4:
Code:
mp4creator60.exe -c input.mp3 output.mp4
btw the same way its also possible to store mpeg-1/2 video streams in .mp4 already, which you might want to support too!

Quote:
Originally posted by yaz
it's time to ask lupus very kindly to keep up with the standards, say, outputting 'avc1' or 'h264'.
"h264" is nowhere mentioned in mpeg-4

Quote:
mpc plays it fine (if inner mp4 support is switched off)
mpc has internal .mp4 support?
__________________
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

Last edited by bond; 28th October 2004 at 20:24.
bond is offline   Reply With Quote
Old 28th October 2004, 19:51   #13  |  Link
gotaserena
String Theorist
 
Join Date: Mar 2003
Location: Na terra dos 10000 lagos.
Posts: 218
Quote:
Originally posted by Lupus_aka_Den
Really? Could you give me name or url on such document?
I believe it's in here somewhere. Section 5.8.1 says that 'avc1', 'avcC' and 'm4ds' are acceptable "Box Types"

At any rate the page with all the info is here: http://www.chiariglione.org/mpeg/working_documents.htm

Looking forward to the new beta!
gotaserena is offline   Reply With Quote
Old 28th October 2004, 20:03   #14  |  Link
SeeMoreDigital
Life looks better in HD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 11,171
I've been looking for something like this but I can't make it work at all.

Please confirm, apart from this de-multiplexer, what other filters do you guys recommend installing?


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 28th October 2004, 20:16   #15  |  Link
bond
Registered User
 
Join Date: Nov 2001
Posts: 9,779
Quote:
Originally posted by SeeMoreDigital
Please confirm, apart from this de-multiplexer, what other filters do you guys recommend installing?
there is also a decoder package available on the same site, which includes moonlights h.264 decoder, which can connect to their .mp4 splitter
__________________
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 28th October 2004, 20:39   #16  |  Link
SeeMoreDigital
Life looks better in HD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 11,171
Looking at the information that comes (in the form of an PDF file) with the de-multiplexer, an mmpeg4dec.ax is available somewhere: -



Is it within the "Moonlight H.264 Decoder&Streaming Pack 1.1.40916.exe" you mentioned?


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 28th October 2004, 21:24   #17  |  Link
gotaserena
String Theorist
 
Join Date: Mar 2003
Location: Na terra dos 10000 lagos.
Posts: 218
No, but the package comes with a "h264dec.ax" which does what it should, but with a logo!

Also, I couldn't make the demuxer work with 5.1 AAC.
gotaserena is offline   Reply With Quote
Old 28th October 2004, 21:44   #18  |  Link
SeeMoreDigital
Life looks better in HD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 11,171
Quote:
Originally posted by gotaserena
No, but the package comes with a "h264dec.ax" which does what it should, but with a logo!

Also, I couldn't make the demuxer work with 5.1 AAC.
Well this begs the question, where is the mmpeg4dec.ax DSdec filter?

But anyway, surely the MP4Demux.ax filter should be able to connect to other "non" Moonlight (Elecard) audio and video DSdec filters?


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 29th October 2004, 02:31   #19  |  Link
timeismoney
Registered User
 
Join Date: Mar 2004
Location: Harbin
Posts: 77
Bug Report

A famous mp4 clip called SWAT_NeroSP2pass_AAC5.1.mp4 won't be played

info:

Stream 0

Media Type 0:
--------------------------
AM_MEDIA_TYPE:
majortype: MEDIATYPE_Stream {E436EB83-524F-11CE-9F53-0020AF0BA770}
subtype: MEDIASUBTYPE_QTMovie {E436EB89-524F-11CE-9F53-0020AF0BA770}
formattype: TIME_FORMAT_NONE {00000000-0000-0000-0000-000000000000}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 1
cbFormat: 0


Media Type 1:
--------------------------
AM_MEDIA_TYPE:
majortype: MEDIATYPE_Stream {E436EB83-524F-11CE-9F53-0020AF0BA770}
subtype: TIME_FORMAT_NONE {00000000-0000-0000-0000-000000000000}
formattype: TIME_FORMAT_NONE {00000000-0000-0000-0000-000000000000}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 1
cbFormat: 0


But great work, cheers!
__________________
Life? Enjoy it!
timeismoney is offline   Reply With Quote
Old 29th October 2004, 08:58   #20  |  Link
Lupus_aka_Den
Registered User
 
Lupus_aka_Den's Avatar
 
Join Date: Jan 2004
Location: Russia, Tomsk
Posts: 74
Quote:
Originally posted by gotaserena
I believe it's in here somewhere. Section 5.8.1 says that 'avc1', 'avcC' and 'm4ds' are acceptable "Box Types"

At any rate the page with all the info is here: http://www.chiariglione.org/mpeg/working_documents.htm
Thanks 8)
Quote:
Originally posted by gotaserena
Looking forward to the new beta! [/B]
I'll try be quick 8)
Lupus_aka_Den 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 07:42.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2017, vBulletin Solutions, Inc.