Log in

View Full Version : MP4 Interactivity Sample from FAQ


kilg0r3
16th April 2004, 20:36
Sorry bond,
but I don't get it to work with the lates GPAC. Loading the animatrix sample just gives an error message in GPAC 'Stream Setup Failure: Media Codec not Found'. Since this player is not directshow based, I think it would not help installing some more decoders, would it.

bond
16th April 2004, 20:43
strange, it works here without a problem :confused:
what osmo4 version do you use? i use osmo4 0.1.2, the same version as downloadable on rarewares (this build should also come with the necessary decoders for playback, if you compiled it yourself make sure you compiled the necessary decoder plugins too)

kilg0r3
16th April 2004, 20:47
I use the same version from rarewares and I did leave all the plugins checked during installation.

bond
16th April 2004, 20:50
than you maybe disabled "osmo4 plugins" during install, try installing again

edit: hum wierd, than open osmo4 -> view -> options -> media decoders and report what decoders are listed there

kilg0r3
16th April 2004, 20:54
yep, now it works. :confused:

hmmmm, looks cool. you made that?

bond
16th April 2004, 20:55
strange, but good that it works now
nope i didnt made it, it was some guy from enst (a french university afaik)

enjoy the small interactive menu sample :)

kilg0r3
16th April 2004, 20:57
BTW I like John Locke better than Rousseau :)

bond
16th April 2004, 20:59
Originally posted by kilg0r3
BTW I like John Locke better than Rousseaulol i also think that rousseaus theories are a little bit naive, but this quote is pretty good imho :)

btw simultainous posting with editing is not a good thing it seems :D

kilg0r3
16th April 2004, 21:08
Hear, hear :D

bond
16th April 2004, 21:20
well first of all that the state is so to say a social contract which the people are voluntarily "signing" is already a little bit too easy for me (ok but locke basically thinks the same) to get away of the, how to say, anarchy

but than also to draw the conclusion that everything is done because of the peoples will and therefore there should not be parties or "singular interests", cause these disturb the 1 "peoples will" is pretty, how to say, radical and dangerous if misused
well i am surely the last one to be against direct democracy, but its naive imo to think that there are no/or should not be particular interests in a community :D

kilg0r3
16th April 2004, 21:55
Mr. bond,

well, both of the fellows are surely a bit old fashioned. Yet, Lockes stance towards women and there rights is revolutionary, for his times. Today it would still be seen as strictly macho. Compared to Locke, Rousseaus' thoughts about women and education and bringing-up of children are definitely hardcore.

Yet Sir, I deem it best to postpone our little chat to our next meeting at the Royal Lions Club.

All Yours, Kilg0r3 Trout

gotaserena
18th April 2004, 23:52
I guess I should move the discussion here...

Reinstalling 0.1.2 doesn't work in my case. I still get the same error as above. In the "media decoders" tab I can see:

Preferred Audio Plugin
> AMR 3GPP decoder
> GPAC Decoder Package
> FFMPEG decoder

Preferred Video Plugin
> GPAC Decoder Package
> FFMPEG decoder
> OpenDivX Decoder

From what I could gather the symptoms are:
1. XviD+m4a muxed with 3ivx play w/ 3ivx splitter and faad (in MPC)
2. XviD+m4a muxed with 3ivx play without sound in GPAC
3. XviD+m4a muxed with mp4ui do not play in MPC
4. XviD+m4a muxed with mp4ui play without video in GPAC

In (4) the sound does come out, though. The XviD file was compiled without b-vops and the m4a was compiled using FAAC 1.24.

bond
19th April 2004, 07:14
Originally posted by gotaserena
From what I could gather the symptoms are:
1. XviD+m4a muxed with 3ivx play w/ 3ivx splitter and faad (in MPC)
2. XviD+m4a muxed with 3ivx play without sound in GPAC
3. XviD+m4a muxed with mp4ui do not play in MPC
4. XviD+m4a muxed with mp4ui play without video in GPAC

In (4) the sound does come out, though. The XviD file was compiled without b-vops and the m4a was compiled using FAAC 1.24very intersting results

can you plz try to play your files in graphedit too, basically if testing things via dshow its always good to use graphedit, to avoid that problems on the player side kick in

gotaserena
19th April 2004, 09:28
Ok, I'll break down all the problems I have:

I used the same XviD stream (no B-VOPs, simple profile) with four different .mp4 files:

File 1 had an audio stream from bsn and was muxed with 3ivx
File 2 had an audio stream from bsn and was muxed with mp4ui
File 3 had an audio stream from faac and was muxed with 3ivx
File 4 had an audio stream from faac and was muxed with mp4ui

File 1 and 2 play with MPC and graphedit. I get the "codec not found error" in GPAC.
File 3 plays in MPC, but the timecode is screwed up. File seems to run for 60 times the time it's supposed to. It plays fine in graphedit. I get the "codec not found error" in GPAC.
File 4 doesn't play in MPC or graphedit. The only filter I get in graphedit is the 3ivx splitter which cannot find any stream. GPAC plays the audio of this file, but it gives no warning as to where the video stream went.

On another note, I muxed with 3ivx a longer file with a XviD stream with B-frames and an audio stream from bsn. The file plays fine with MPC, graphedit and my Xcard, but no audio in GPAC. If I try to decode the video using XviD decoder I get garbled video, as if the source was interlaced and I picked the wrong field. The video plays fine when I decode it with ffdshow or 3ivx. Maybe it's something having to do with the way the XviD decoder deals with packed bitstreams. I've got to bug sysKin about this ;)

bond
19th April 2004, 09:43
Originally posted by gotaserena
File 1 and 2 play with MPC and graphedit. I get the "codec not found error" in GPAC.that sounds pretty much like the error kilgor had, dunno why it didnt work and than it worked again
i assume there is a bug somewhere in osmo4 :(

File 3 plays in MPC, but the timecode is screwed up. File seems to run for 60 times the time it's supposed to. It plays fine in graphedit. I get the "codec not found error" in GPAC.
File 4 doesn't play in MPC or graphedit. The only filter I get in graphedit is the 3ivx splitter which cannot find any stream. hm i assume you created the aac stream with faac in the .aac container?
if yes than you found the same problem i found yesterday too, which is caused by the "aac parser" dshow filter i think (maybe also by faac itself, will need to analyse this more)
try encoding with faac to .mp4 directly

Maybe it's something having to do with the way the XviD decoder deals with packed bitstreams. I've got to bug sysKin about thisexactly, thats caused by the xvid decoder, because it analyses the bitstream description field of the video stream
in this field it is marked whether the stream is/was packed or not, 3ivx doesnt change the descriptions set by the codecs and therefore xvid still thinks that the streams is packed and therefore shows problems

basically its not necessary that a decoder analyses the bitstream description and also no decoder, except xvid, does that

gotaserena
19th April 2004, 18:30
thanks for the tip about the AAC decoder, bond. Indeed I can mix the .m4a from faac without any problems.

bond
20th April 2004, 10:57
can you plz also test whether the direct .mp4 (without .aac in between) output from both besweet and faac work in osmo4?

gotaserena
20th April 2004, 13:29
I did that already. It turns out that neither work in Osmo4, in none of the computers I have.

bond
20th April 2004, 13:49
hum i tried it here with a nero example and it seemed to work without a problem

can you upload the faac sample which doesnt work maybe?

gotaserena
20th April 2004, 17:43
Please check PM ;)

gotaserena
20th April 2004, 21:02
'lo Bond,

Like I said, I have downloaded the latest version of Osmo4 from rarewares, and no, I haven't added anything to the installation folder. I even took the trouble of scanning through the registry to see if there was anything about Osmo4 or GPAC after the uninstallation. Then I reinstalled 0.1.2 clean.

But still I'm getting the "codec not found" error when I load the file. :(

bond
20th April 2004, 21:22
very strange, as i said i have no problem playing your sample :confused:

gotaserena
20th April 2004, 21:24
Is there anyway that some directshow filter (AAC decoder, or 3ivx) is messing with Osmo4?

bond
20th April 2004, 21:59
Originally posted by gotaserena
Is there anyway that some directshow filter (AAC decoder, or 3ivx) is messing with Osmo4?dont think so, osmo4 has nothing to do with dshow

still try loading osmo4 without the file, go to the options and change the used decoder plugin
than load the file again and see if it works