Log in

View Full Version : Moonlight .MP4 dshow Demultiplexer beta released (supports avc-in-mp4)


Pages : 1 [2] 3

gotaserena
2nd November 2004, 21:40
I've managed to play aac, funnily. There's no support for 5.1. Codec of H.264 is changed to avc1 (thanks Lupus!) but seeking doesn't work.

celtic_druid
2nd November 2004, 22:09
Coreaac reports 6 channels here for me and seeking seems to work fine. That is with the previous splitter though and ffdshow modified to handle s264.

With the current version audio is the same as reported by timeismoney, however on mine if registered Nero's audio decoder loads and then crashes. I haven't gotten around to installing Nero 6.6.0.1 yet though, perhaps that would help?

gotaserena
2nd November 2004, 22:45
I just tried again and you are right, celtic_druid. Audio is 6 channels in CoreAAC. I guess I was confused by the fact that the MP4demux claims that the audio is "48000KHz16bitStereo".

And that's with version 1.0.3

EDIT: Another stream I just tried crashed when connecting to CoreAAC. I found out that the demuxer is reporting 3 different audio streams:
Major Type: Audio - Sub Type: {99C00BDC-3BF1-4889-9873-F1178D3C5679} - Format: WaveFormatEx: 48.000 KHz 16 bit stereo
Major Type: Audio - Sub Type: {CA9A0EDC-38B0-4FA6-B34A-3019543A0C57} - Format: WaveFormatEx: 48.000 KHz 16 bit stereo
Major Type: Audio - Sub Type: {000000FE-0000-0010-8000-00AA00389B71} - Format: WaveFormatEx: 48.000 KHz 16 bit stereo
Which may be the cause for the crash. To add to the confusion, I tried another file with the same audio stream and got the right result:
Major Type: Audio - Sub Type: {000000FF-0000-0010-8000-00AA00389B71} - Format: WaveFormatEx: 48.000 KHz 16 bit stereo
The first file had xvid video, whereas the second had x264.

I think that the problem may be in the descriptors and BIFS tracks in the mp4 file. The first file was muxed with MP4Box (and thus isma compliant), whereas the second was muxed with mp4creator, which does not yet have isma compliancy implemented for H.264. Maybe the demuxer is passing all non-video tracks as audio?

Lupus_aka_Den
3rd November 2004, 05:12
Originally posted by ac-chan123
On wich Standard base your MP3 in .mp4 implementation? Is it MPEG4(ISO/IEC 14496) or MPEG-A?
I used http://gpac.sourceforge.net/tutorial/mediatypes.htm and http://www.itscj.ipsj.or.jp/sc29/open/29view/29n5556t.doc.

Lupus_aka_Den
3rd November 2004, 05:22
Originally posted by timeismoney
I'm sorry but new version won't work with aac in mp4, both coreaac & ffdshow
This file played well with a previous version, that h264 with 2 audio channels file
And I test some other mp4, too, same result, I think there is something have mistake
It was a bag 8( I used objectTypeIndication
from http://gpac.sourceforge.net/tutorial/mediatypes.htm for AAC and MP3 identify. But in my streams, objectTypeIndication for AAC equal 0x64. Fixed. You can download un updated version. Thanks for bag 8)
Originally posted by timeismoney
PS: I unreg the previous version at first
It's not necessarily 8)

Lupus_aka_Den
3rd November 2004, 05:26
Originally posted by gotaserena
Codec of H.264 is changed to avc1 (thanks Lupus!) but seeking doesn't work.
ffdshow Video Decoder and Moonlight Mp4 Demuxer are not very friendly for the time being

Lupus_aka_Den
3rd November 2004, 06:01
Originally posted by gotaserena
I just tried again and you are right, celtic_druid. Audio is 6 channels in CoreAAC. I guess I was confused by the fact that the MP4demux claims that the audio is "48000KHz16bitStereo".

48.000 KHz 16 bit Stereo - this information contain in SampleDescriptionBox
Originally posted by gotaserena
Maybe the demuxer is passing all non-video tracks as audio?
Demuxer detect all non-video/audio stream, but all data for this track skipped (temporarily)

celtic_druid
3rd November 2004, 06:06
New version working fine here. Seeking with ffdshow works, just not as well as with avi's.

Lupus_aka_Den
3rd November 2004, 06:19
Originally posted by celtic_druid
New version working fine here. Seeking with ffdshow works, just not as well as with avi's.
Which version of ffdshow do you have? ffdshow-20041026 ?

timeismoney
3rd November 2004, 06:26
Originally posted by celtic_druid
New version working fine here. Seeking with ffdshow works, just not as well as with avi's.

Yes, new version seeking with ffdshow for common mp4 works fine, but for h264 is not very stable, seeking or switching audio channel still easy to cause mpc crash - when disable video it never crash.

Wish Lupus and milan's communion will have some help for this small problem.

No matter at all, it's good work and worth expecting...:p

PS: I use ffdshow 20041012, celtic_druid's webpage I can hardly visit...:scared:

celtic_druid
3rd November 2004, 06:36
That is why I also upped it here: http://s14.yousendit.com/d.aspx?id=9264A2A007E28EAA667A98AA5BE442C8

Lupus_aka_Den
3rd November 2004, 07:00
Originally posted by celtic_druid
That is why I also upped it here: http://s14.yousendit.com/d.aspx?id=9264A2A007E28EAA667A98AA5BE442C8
Thanks 8)

timeismoney
3rd November 2004, 07:06
Originally posted by celtic_druid
That is why I also upped it here: http://s14.yousendit.com/d.aspx?id=9264A2A007E28EAA667A98AA5BE442C8 Thanks, and for your unupxed mpc.:)

Lupus_aka_Den
3rd November 2004, 13:14
Originally posted by timeismoney

Now I found when seeking it will last 1 or 2 secs's frames broken like this:

http://down.bbsbird.com/ringz/df00008_2.JPG

Then everything is OK, maybe not bug but wish to improve it, thanks.

Which decoder do you use for this stream? ffdshow or our ? I'll try to make it fully compatible with the ffdshow decoder for MPEG-4 and H.264.

timeismoney
3rd November 2004, 13:50
Originally posted by Lupus_aka_Den
Which decoder do you use for this stream? ffdshow or our ? I'll try to make it fully compatible with the ffdshow decoder for MPEG-4 and H.264.

ffdshow 20041012 by milan cutka

use moonlight decoder is almost the same, or slightly better

Thank you.

ac-chan123
3rd November 2004, 14:33
@Lupus_aka_Den:

Can you extend your demultiplexor to support MPEG-A(http://www.itscj.ipsj.or.jp/sc29/open/29view/29n6302t.doc)?
This is an .mp4 Container with Mpeg 1/2 Layer 3, JPEG/JEPG200 und meta data as MPEG 7.

Lupus_aka_Den
3rd November 2004, 14:39
Originally posted by timeismoney
use moonlight decoder is almost the same, or slightly better
Thank you.
This is not actual build of the decoder. Tomorrow it will be updated. 8)

Lupus_aka_Den
3rd November 2004, 14:56
Originally posted by ac-chan123
@Lupus_aka_Den:
Can you extend your demultiplexor to support MPEG-A(http://www.itscj.ipsj.or.jp/sc29/open/29view/29n6302t.doc)?
This is an .mp4 Container with Mpeg 1/2 Layer 3, JPEG/JEPG200 und meta data as MPEG 7.
Mpeg 1/2 Layer 3 is supported. If you give me streams with "JPEG/JEPG200 und meta data as MPEG 7" i'll try to extend demuxer 8)

pogo stick
4th November 2004, 01:34
Originally posted by Lupus_aka_Den
Now Moonlight MP4Demuxer use "avc1" instead "s264" for H.264 8))
...
Insert: support mp3-on-mp4 8)
Fixed: bag with large streams
Great! Moonlight becomes a little less evil. :D
Originally posted by timeismoney
Use 3ivx there is no video but switch the 2 audio channels successfully
3ivx splitter can not work with H.264 video.
Originally posted by SeeMoreDigital
Okay... What's the bottom line with this de-multiplexer... Is it worth the effort... yet?
I really hope it will. For me it's really important to have an alternative to Nero for playback of H.264 video in DS. Nero stuff have very annoying limitations.
Originally posted by SeeMoreDigital
I've tried it with Moonlight's Mpeg4 and h.264 filters and I'm sorry to say I wasn't that impressed... Apart from the annoying "logos", both seemed rather sluggish. And neither appeared to detect PAR signalling!
Moonlight MPEG4 decoder have deinterlacing support which is very good, I think. And it detects PAR signaling for me.
But still too buggy to use with XviD encodes. I am looking forward to test a new version.

I tested new Demultiplexer version with some more MPEG4(XviD)+AAC in mp4 and ffdshow.
Demultiplexer work good with anamorphic and interlaced XviD video.
Files created with some old versions of mp4box are deadly freezing at the beginning of playback with your Demultiplexer, but it's OK with 3ivx and Nero.
mp4 with mp3 is trying to connect with Nero Audio Decoder and crash. Only if I disable it or force another mp3 decoder it works OK.
Those mp4 that was created with new mp4box and 3ivx are playable but with some problems: While seeking video looks awful until next I-Frame, sometimes crashing player.
Sometimes audio stops while video is playing and one time player just crashed on playback.
At some places video gets slow and jerky, skipping frames and sound. Always at the same places.
I can not provide any samples because they are too big and small ones are seems OK.

Lupus_aka_Den
4th November 2004, 06:58
Originally posted by Lupus_aka_Den
This is not actual build of the decoder. Tomorrow it will be updated. 8)
You can download new beta version of Moonlight MPEG-4 Video Decoder from
http://www.elecard.com/ftp/pub/mpeg/decoder/mpeg4dec.zip

timeismoney
4th November 2004, 07:03
Originally posted by Lupus_aka_Den
You can download new beta version of Moonlight MPEG-4 Video Decoder from
http://www.elecard.com/ftp/pub/mpeg/decoder/mpeg4dec.zip.

A more dot in the url :rolleyes:

should be http://www.elecard.com/ftp/pub/mpeg/decoder/mpeg4dec.zip :p

Lupus_aka_Den
4th November 2004, 07:10
Originally posted by pogo stick
Great! Moonlight becomes a little less evil. :D

Thanks 8)
Originally posted by pogo stick
I tested new Demultiplexer version with some more MPEG4(XviD)+AAC in mp4 and ffdshow.
Moonlight Mp4 Demuxer and ffdshow Video Decoder are not very friendly (temporarily) 8)
Could you try our MPEG-4 decoder for your streams ?

Lupus_aka_Den
4th November 2004, 07:14
Originally posted by timeismoney
A more dot in the url :rolleyes:
should be http://www.elecard.com/ftp/pub/mpeg/decoder/mpeg4dec.zip :p
Thanks 8) url must be without symbol '.'

Lupus_aka_Den
4th November 2004, 07:21
Since today you can ask your questions regarding Moonlight MP4 Demultiplexer and other Moonlight-Elecard products on our forum: http://www.moonlight.co.il/forum/index.php

SeeMoreDigital
4th November 2004, 12:52
Originally posted by Lupus_aka_Den
Since today you can ask your questions regarding Moonlight MP4 Demultiplexer and other Moonlight-Elecard products on our forum: http://www.moonlight.co.il/forum/index.php Thanks for posting the link...

When it comes to how Moonlights filters interact with other manufacturers filters, I think the bulk of us would prefer to discuss here. Otherwise people might miss some vital information!

For instance, Moonlight's Mpeg4 DSdec filter works with their DeMultiplexer, but it does not include any PAR signalling detection... So with this in mind, has anybody here managed get XviD's DSdecoder filter to work with their DeMultiplexer?


Cheers

ac-chan123
4th November 2004, 16:04
Sorry i have no MPEG-A file. This was only a question wich standard it is uesed and if MPEG-A will be possible.

pogo stick
4th November 2004, 16:13
Originally posted by Lupus_aka_Den
You can download new beta version of Moonlight MPEG-4 Video Decoder from
http://www.elecard.com/ftp/pub/mpeg/decoder/mpeg4dec.zip
It says:
"Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@elecard.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log."
Originally posted by Lupus_aka_Den
Moonlight Mp4 Demuxer and ffdshow Video Decoder are not very friendly (temporarily) 8)
It's pretty much the same with XviD decoder.
Originally posted by SeeMoreDigital
For instance, Moonlight's Mpeg4 DSdec filter works with their DeMultiplexer, but it does not include any PAR signalling detection...
You are right. Moonlight MPEG4 decoder auto-resize all anamorphic XviD encodes to AR 4:3 no matter what PAR is (even if pixels are square). I didn't notice it before because almost all of my encodes should look 4:3.
Originally posted by SeeMoreDigital
So with this in mind, has anybody here managed get XviD's DSdecoder filter to work with their DeMultiplexer?
XviD decoder works with Demultiplexer, but, as you know, it's buggy with PAR detection in mp4 or avi with unpacked bitstream.

SeeMoreDigital
4th November 2004, 17:27
Originally posted by pogo stick
...XviD decoder works with Demultiplexer, but, as you know, it's buggy with PAR detection in mp4 or avi with unpacked bitstream. Thanks for confirming this...

So if one does not wish to install say, Nero's NVE/Recode2 package or 3ivx's filter suite. Running the Moonlight DeMultiplexer, with XviD's video DSdec and Core's AAC audio DSdec, would appear to be one of the better set up options.


Cheers

Lupus_aka_Den
5th November 2004, 13:49
Originally posted by pogo stick
It says:
"Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@elecard.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log."

Fixed 8) You can download decoder from old link 8)
http://www.elecard.com/ftp/pub/mpeg...er/mpeg4dec.zip

Lupus_aka_Den
5th November 2004, 15:06
Originally posted by SeeMoreDigital
For instance, Moonlight's Mpeg4 DSdec filter works with their DeMultiplexer, but it does not include any PAR signalling detection...
Could you give me such stream (with PAR signals) ?

SeeMoreDigital
5th November 2004, 15:21
Here's a short example of an Mpeg4+Mp3 in MP4 (http://homepage.ntlworld.com/seemoredigital/XviD+Mp3+Subs.zip)file, with PAR signalling.


Cheers

timeismoney
6th November 2004, 03:18
MPEG-4 AAC Main ADIF, 252 sec, 128 kbps, 44100 Hz

Here is a music_only .mp4 file (http://down.bbsbird.com/ringz/card.mp4), please check it. It can be played by WinAMP via AudioCoding.com MPEG-4 General Audio player 2.1 beta, but can't be played by both moonlight MP4 Demultiplxer & 3ivx

SeeMoreDigital
6th November 2004, 11:13
Originally posted by timeismoney
MPEG-4 AAC Main ADIF, 252 sec, 128 kbps, 44100 Hz Not even mp4UI, Nero's ShowTime player or VLC will open it!

Looks like either the audio stream is not correct or it's not been muxed properly.


Cheers

Lupus_aka_Den
6th November 2004, 13:15
Originally posted by SeeMoreDigital
Here's a short example of an Mpeg4+Mp3 in MP4 (http://homepage.ntlworld.com/seemoredigital/XviD+Mp3+Subs.zip)file, with PAR signalling.
Cheers
Thanks 8)

Lupus_aka_Den
6th November 2004, 17:08
Originally posted by SeeMoreDigital
Looks like either the audio stream is not correct or it's not been muxed properly.
Cheers
It's not MPEG-4 Intermedia format (MP4). This stream do not have "mdat" and "moov" atoms 8)

pogo stick
6th November 2004, 22:03
Originally posted by Lupus_aka_Den
Fixed 8) You can download decoder from old link 8)
http://www.elecard.com/ftp/pub/mpeg...er/mpeg4dec.zip
Thanks.
Decoder seems to be good with seeking, though it skips more frames then it shows on playback. But the rest of what I was saying seems to be Demultiplexer's problem.

Lupus_aka_Den
7th November 2004, 15:11
Fixed some evil bags 8) You can download new version from old link 8)
Nero H.264 decoder support coming very soon 8)

timeismoney
8th November 2004, 08:43
Originally posted by Lupus_aka_Den
Fixed some evil bags 8) You can download new version from old link 8)
Nero H.264 decoder support coming very soon 8) :scared: :scared: Still not friendly to ffdshow h264, and no effects of PAR signalling in xvid video mp4

Lupus_aka_Den
8th November 2004, 08:54
Originally posted by timeismoney
:scared: :scared: Still not friendly to ffdshow h264, and no effects of PAR signalling in xvid video mp4
Yes, but i'll try be quick 8)

bond
8th November 2004, 21:36
Originally posted by SeeMoreDigital
Looks like either the audio stream is not correct or it's not been muxed properly.might be, normally there cant be adif headers inside .mp4

timeismoney, how did you create that file?

timeismoney
9th November 2004, 02:42
Sorry but it's not created by me, I got it from a friend, and he got it form a forgotten website...

Blight
9th November 2004, 04:20
I'm surprised this hasn't been brought up...

But isn't the MP4 file format pretty much the QuickTime6 MOV format? Why not make the filter accept MOV files and the popular audio/video streams (Sorenson 1/3 Video and QDesign Audio).

timeismoney
9th November 2004, 16:58
Problem with this Splitter + ffdshow + MPC.

When playback to the end, MPC's seekbar won't rewind and MPC can't be closed in normal way. I have to terminate MPC forced.

I tried 7 mp4s, only one is well, MPC's seekbar rewind and can be closed, the left 6 ones including the clip I've given you as "SWAT".

When I use XviD 1.1 alpha to decode mp4 ASP, nothing is wrong.

When I use Zoom Player or WMP, nothing is wrong.

Please, check it and make it compatible with ffdshow + MPC, believe me this "Group" is very popular.

PS: I use MPC 6482 or 6483CVS, same result

bond
9th November 2004, 22:59
Originally posted by Blight
But isn't the MP4 file format pretty much the QuickTime6 MOV format? Why not make the filter accept MOV files and the popular audio/video streams (Sorenson 1/3 Video and QDesign Audio).i assume moonlight develops this splitter for being able to support h.264 (which most commercial tools place in .mp4) more completely in their implementations

Lupus_aka_Den
10th November 2004, 16:56
Originally posted by Blight
I'm surprised this hasn't been brought up...

But isn't the MP4 file format pretty much the QuickTime6 MOV format? Why not make the filter accept MOV files and the popular audio/video streams (Sorenson 1/3 Video and QDesign Audio).
This ability will be realized in the future.

Lupus_aka_Den
10th November 2004, 16:58
Originally posted by bond
i assume moonlight develops this splitter for being able to support h.264 (which most commercial tools place in .mp4) more completely in their implementations
Not for H.264 only 8) I think MPEG-4 Intermedia Format have a big future 8)

Lupus_aka_Den
10th November 2004, 17:00
Originally posted by timeismoney
Problem with this Splitter + ffdshow + MPC.

When playback to the end, MPC's seekbar won't rewind and MPC can't be closed in normal way. I have to terminate MPC forced.

I tried 7 mp4s, only one is well, MPC's seekbar rewind and can be closed, the left 6 ones including the clip I've given you as "SWAT".

When I use XviD 1.1 alpha to decode mp4 ASP, nothing is wrong.

When I use Zoom Player or WMP, nothing is wrong.

Please, check it and make it compatible with ffdshow + MPC, believe me this "Group" is very popular.

PS: I use MPC 6482 or 6483CVS, same result
I'll try to check it, but i want to talk with ffdshow decoder authors before.

bond
11th November 2004, 20:59
when you talk to milan (from ffdshow) you could also consider making the following possible:
its possible to store not only audio and video streams in .mp4, but also pictures (png and jpeg). i already talked to milan about this and he meant that ffdshow is already able to decode png and jpeg, the only problem is that there exists no dshow splitter that is able to pass the pictures to ffdshow from .mp4 (ffdshow would only need to get a specific fourcc from the splitter, eg "jpeg", and should be able to decode the picture)

maybe you would find this interesting too (mp4box for example can mux jpg and png pictures into .mp4 already)

neo75903
16th November 2004, 03:05
Originally posted by timeismoney

Now I found when seeking it will last 1 or 2 secs's frames broken like this:


I think that is normal because you the player needs the next full frame before it can refresh the whole screen.
What you see are the small changes in between those full frames. I have it less while playing a file locally, but it is very appearant when streaming from a server. It is not more then logical cause the player can locally search for the closest full frame and start rebuilding the picture.
I am new to these technical talks but i think those full frames are I frames isnt?

Blight
17th November 2004, 08:09
Yeah, the junk is due to seeking in the middle of a stream instead of seeking to a keyframe and then decoding to the location prior to showing the image.