Log in

View Full Version : MP4BoxGUI


Pages : 1 2 [3]

mezzanine
20th April 2005, 15:42
Originally posted by Elias
Hey mezzanine. I just noticed that your MP4BoxGUI, when importing XviD videos, with NVOP frames, it doesn't remove any frames from the video. Without the GUI, using MP4Box with commandlines, it removes the NVOP frames. This makes a 25.000 FPS movie into 24.94 or something. Not good! However, I couldn't get MP4BoxGUI to import an XviD video with NVOPs with the latest MP4Box CVS, I had to use an older version. Either way, I hope you keep this feature with MP4BoxGUI because it's pwnage over commandlines :)

I haven't tested the latest CVS with my gui to see how it responds. I don't plan to change anything really , just add new options.

mezzanine
20th April 2005, 15:43
BTW: I made a new build of AutoAC
http://forum.doom9.org/showthread.php?s=&threadid=90732
Now it's using mp4box for muxing, 5.1 audio, mp4 splitting and srt subtitle import (soon chapters too).

Elias
20th April 2005, 15:45
Originally posted by mezzanine
I haven't tested the latest CVS with my gui to see how it responds. I don't plan to change anything really , just add new options. Great! Any estimation on when you'll be done?

Sharktooth
20th April 2005, 16:33
Let him breath... :)

SeeMoreDigital
24th April 2005, 15:33
Hi mezzanine,

A few days ago I tried a new compile of MP4Box.exe, which is available here (http://www.aziendeassociate.it/cd.asp?dir=/gpac/dev) from Sharktooth.

However, it does not seem to allow you to mux more than 1No audio stream, whether it be AAC or MP3 (or a mixture of both).

Now because I'm not very skilled in these matters I am unable to determine whether there's a problem with MP4Box.exe or with MP4BoxGUI!

Have you had any time to test any of the new MP4Box.exe compiles with your muxing tool?


Cheers

Drachir
24th April 2005, 16:48
Originally posted by SeeMoreDigital

Now because I'm not very skilled in these matters I am unable to determine whether there's a problem with MP4Box.exe or with MP4BoxGUI!

It is a problem with the current MP4Box version. If you want create an ISO Media File File Brand isom - version 1 with 2 aac stream this way:
MP4Box -add audio1.aac -add audio2.aac -add video.avi video.mp4 -out test.mp4

it won't work.

Creating a 3GP File File Brand 3gp6 - version 1024 with two aac stream this way will work:

MP4Box -3gp -add audio1.aac -add audio2.aac -add video.avi video.mp4 -out test.3gp

Creating a Mpeg4 Systems Presentation File Brand mp42 - version 1 with two aac streams will work too.

MP4box -mp4 test.bt

JoeBG
25th April 2005, 14:17
mp4box from celtic druid can mux 2 audio and chapters and all you want

Doom9
25th April 2005, 14:38
mp4box from celtic druid can mux 2 audioOnly if at least one of those is not an AAC... (see the tracker here: http://sourceforge.net/tracker/index.php?func=detail&aid=1188550&group_id=84101&atid=571738)

SeeMoreDigital
25th April 2005, 16:32
Originally posted by JoeBG
mp4box from celtic druid can mux 2 audio and chapters and all you want This is not my experience!

When I use Celtic Druid's MP4Box.7z 19/04/2005 14.06.58 320K build (which I previously assumed was available via Sharktooth) with MP4BoxGUI... it stalls at 99%: -

http://img175.echo.cx/img175/7262/mp4boxguimuxtests0ce.png


I've also noticed that, if the audio streams are inputted before the video stream, MP4BoxGUI stalls at 97%: -

http://img209.echo.cx/img209/5256/mp4boxmuxtest022wb.png

And... when you close down the application, although it disappears from your desktop, both MP4BoxGUI.exe and MP4Box.exe are still running in the background.

Hope this helps....


Cheers

Doom9
25th April 2005, 17:06
I can't find the changelog at the official site, and the CD mirrors are beyond slow as usual so I can't be sure, but it was only recently that progress indicators have been introduced.. so that could mean the gui expects different stdout output than it gets. Another explanation is http://sourceforge.net/forum/forum.php?thread_id=1272493&forum_id=287547

unless you specifically check for the process state, rather than read from stdout, you don't get the point where mp4box finishes and you cannot count on a percentage counter from mp4box to go up to 100%.

and avi input? ewww

SeeMoreDigital
25th April 2005, 17:19
Ewww indeed...

As I have "zero" compiling skills... I have to ask, which do you think is more likely. Some form of compiling mistake. Or something got broke when the chapter functionality was added?


Cheers

Doom9
25th April 2005, 17:44
I tend to think that the stdout progress reports not being perfectly synched to the I/O is more likely, especially when coming from a version that had no status reports (I've never used mp4box prior to the 0.25 CVS build so I don't know for sure if there wasn't any kind of progress indicator before).

Drachir
25th April 2005, 17:46
Originally posted by SeeMoreDigital
Or something got broke when the chapter functionality was added?


Don't think that it has anything to do with the Nero like chapter functionality.

It could happen some where between this changes:
https://sourceforge.net/forum/forum.php?thread_id=1263543&forum_id=327349

However we will have to wait until it is fixed. Or fix it by your self ;).

Doom9
25th April 2005, 17:50
btw, try a pre 0.24 build, the 0.24 build and post 0.25 build and see if something has changed. Also compare the output when running mp4box from the commandline.

SeeMoreDigital
25th April 2005, 17:55
Originally posted by Doom9
btw, try a pre 0.24 build, the 0.24 build and post 0.25 build and see if something has changed. Also compare the output when running mp4box from the commandline. Is there a compile of an pre 0.24 or post 0.25 build you can point me to please?


Cheers

Doom9
25th April 2005, 18:01
I meant post 0.24.. 0.25 isn't even final yet.
and I've just started using mp4box last Saturday so I don't have any old compiles.. but the official 0.23 full distro at Celticdruid should contain a pre-0.24 mp4box ;)

bond
25th April 2005, 18:01
jeanlf for sure changed something in the messages you get when doing conversions one month ago or so

eg the cvs changelog mentions - New lifting for MP4Box - nicer progress notifications and help screens.

SeeMoreDigital
25th April 2005, 18:42
Originally posted by Doom9
....but the official 0.23 full distro at Celticdruid should contain a pre-0.24 mp4box ;) I don't know for sure, but I presume the version of MP4Box.exe highlighted below, is the same as the one that's in GPAC Framework 0.2.3 Setup.exe...

http://img231.echo.cx/img231/8196/celticdruid2hu.gif

If this is the case, then yes... it can mux more than 1No AAC and/or mp3 audio stream with MP4BoxGUI...

If anybody has any other MP4Box.exe compiles they would like me to try with MP4BoxGUI, it will be my pleasure to try them.


Cheers

JoeBG
25th April 2005, 18:51
Try this one (http://www.aziendeassociate.it/cd.asp?dir=/gpac/dev) :)

SeeMoreDigital
25th April 2005, 18:54
Originally posted by JoeBG
Try this one (http://www.aziendeassociate.it/cd.asp?dir=/gpac/dev) :) Which one?

JoeBG
25th April 2005, 19:01
Originally posted by SeeMoreDigital
Which one?

I downloaded the single mp4 box, not the whoöe gpac :)

I`m muxing with direct commandline and it adds everything I want. I don´t know if it works in the gui, but the gui should not create other commandlines we do.

SeeMoreDigital
25th April 2005, 19:06
Originally posted by JoeBG
I downloaded the single mp4 box, not the whoöe gpac :)

I`m muxing with direct commandline and it adds everything I want. I don´t know if it works in the gui, but the gui should not create other commandlines we do. If you mean: -

MP4Box.7z 19/04/2005 14.06.58 320K

...This is the version I've already tried with MP4BoxGUI, without success :(


Cheers

celtic_druid
26th April 2005, 01:16
Most important one to try would I guess be "GPAC Framework 0.2.5 2005.04.05.exe" as it is closest timewise. All the installers contain a build of mp4box though.

My server also contains dev builds going back to 2004.09.22 which are not mirrored.

Should be ~10kB spare upload on my server.

SeeMoreDigital
26th April 2005, 11:48
Originally posted by celtic_druid
Most important one to try would I guess be "GPAC Framework 0.2.5 2005.04.05.exe" as it is closest timewise. All the installers contain a build of mp4box though. I'm sorry to report that this version of MP4Box.exe can't mux more than 1No audio stream with MP4BoxGUI either :(

http://img142.echo.cx/img142/306/mp4boxexe7ro.gif


Cheers

Doom9
26th April 2005, 13:02
@JoeBG: it's not about the commandlines.. I have no doubt mp4boxgui creates the proper commandlines.. it's about the stdout and stderr output mp4box generates.. mezzanine implemented a progress indicator, and you literally have to suck that one out of your fingers whenever you write a GUI for a commandline program (even for mencoder where you have one process indicator going up from 0 to 100, the percentage is not good enough if encoding is slow so I had to construct a progress indicator based on number of frames encoded versus all the frames in the source). the way mp4box acts in the last version does not seem too consistent to me so I'm not surprised it causes problems in programs that have a progress indicator (guess why megui no longer has a progress indicator for mp4muxing.. it's because I haven't found a reliable way that works in all cases and does not lead to unexpected results).

@smd: what is the latest mp4box.exe version that worked? you gotta take it from there and advance in time. the 0.24 official build introduced changes in the progress indicator.. I'm just guessing but my buest guess is that since stdout output changed at that point, GUI with progress indicators might have to be updated.

SeeMoreDigital
26th April 2005, 13:49
Originally posted by Doom9
@smd: what is the latest mp4box.exe version that worked? you gotta take it from there and advance in time. the 0.24 official build introduced changes in the progress indicator.. I'm just guessing but my buest guess is that since stdout output changed at that point, GUI with progress indicators might have to be updated. The last version that worked (for me) was this one (http://82.2.167.237/Uploaded_Files/Doom9_Forum_files/MP4Box_26-Jan-2005.7z) dated 26 Jan 2005...

http://img226.echo.cx/img226/1518/mp4box26jan050yo.gif


Cheers

mezzanine
27th April 2005, 00:20
Doom9 is right, there is nothing wrong with the command lines. MP4BoxGui indicators were constructed to work with the latest build of mp4box at that time. Stdout output has changed since then (i think there's even a progress-bar now) so everything has to be updated. I don't know how easy it is to make a reliable and consistent progress-bar with mp4box, because with all these new features (track selection etc) it's impossible to know the number of streams the user is importing. Is there a percentage indicator during the muxing ? If not there is not much i can do about that either.

I'll get to it as soon as i find time to finish this:

http://img243.echo.cx/img243/2171/gui27zb.gif
http://img243.echo.cx/img243/5674/gui12qn.gif

JoeBG
27th April 2005, 04:51
looks great :)

SeeMoreDigital
27th April 2005, 07:55
Very nice indeed :D

Doom9
27th April 2005, 08:24
I don't know how easy it is to make a reliable and consistent progress-bar with mp4box, because with all these new features (track selection etc) it's impossible to know the number of streams the user is importing. Is there a percentage indicator during the muxing ?In my experience, you get an "Importing" line wiht a progress indicator and a percentage for each stream you import. Then there's another line saying "Writing" with a percentage, and finally one for Splitting. But that's using raw video streams, audio (aac inside mp4 or raw) and subs.. and the percentage doesn't always go up to 100.. I noticed that in writing, at a certain post past 50%, mp4box would just finish up without waiting for me to read the stdout.

I was thinking about having some kind of indication about which stream is being imported, and have the progress bar go up to 100% a couple time, for each importing, writing and splitting process.. but unfortunately even that doesn't seem to be reliable and I haven't had any feedback on my "mp4box suddenly exiting even though the stdout output makes you think it's not done yet" issue yet :/

Great Dragon
4th May 2005, 18:37
2mezzanine
Can i have a direct link to download new build?

mezzanine
8th May 2005, 01:29
There is no new build yet.. and i don't know if i ever find the time to finish it.


Use YAMB instead, it's a great tool.

SeeMoreDigital
8th May 2005, 10:57
Originally posted by mezzanine
There is no new build yet.. and i don't know if i ever find the time to finish it.


Use YAMB instead, it's a great tool. Well I hope you don't abandon your work on MP4BoxGUI altogether :(


Cheers

Doom9
8th May 2005, 14:07
Is there a percentage indicator during the muxingThere is.. however, there are multiple ones. There's an "importing" progress indicator for each stream that is being imported, then you have a writing indicator (that's writing from the temporary file to the final mp4), and finally if you're splitting you have a splitting indicator as well.. all those go from 0 to 100, but unfortunately some times, before you get to 100% mp4box just continues with the next one, or in case of splitting/writing the final file, at some point mp4box just doesn't care if you read the stdout anymore and finishes its job. I've asked about that behavior in the gpac forum, but I have not gotten any reply so far.

And because I've found those indicators to be less than completely reliable, I've decided to hold off on the muxing progress indicator for now. If I should find a reliable way I'd let you know (or you could simply look at the MeGUI source code.. my initial attempts are in there, the stdout parsing is in there but I just don't send any of the results to the GUI).

mezzanine
8th May 2005, 15:00
Originally posted by Doom9
There is.. however, there are multiple ones. There's an "importing" progress indicator for each stream that is being imported....

The problem with mp4boxgui is that i don't know the number of streams that are being imported (in avi container) so i can't make a reliable "importing percentage indicator". But with MeGui and AutoAC since we know the number of streams it should be easy to implement, and regarding the importing issue (jumping to next stream before getting to 100%) i'll make the gui jump to the next stream if perc-value is smaller than the previous one.


Originally posted by SeeMoreDigital
Well I hope you don't abandon your work on MP4BoxGUI altogether

I won't, but i want to fix autoac's bugs first.

Sergejack
12th June 2005, 02:59
mezzanine
I made the little mp4box gui i promised, find it later in this thread

I may be way too much tired, but it could be nice not to postone the link.

Elias
22nd January 2006, 11:42
Did the development of this awesome GUI die out? What a shame :(