View Full Version : GPAC MP4Box Information, Feature Requests & Discussions [No bug reports]
Pages :
1
2
3
[
4]
5
6
7
8
9
10
11
12
bond
22nd July 2005, 10:06
concerning the subtitles conversion issue, defunkt has already reported this bug on SF.great, seems there is a fix already in cvs too:
- misc fixes in tx3g track import, tx3g bt dump and couple of issues introduced in 0.3.0->0.4.0 migration
defunkt
22nd July 2005, 14:30
Just re-built using current CVS, available here (http://www.ionwerks.net/defunkt/mp4box230705.zip). Hasn't resolved any of my issues with timed text but y'all may fair better. I'm part way through debugging the problem but short on spare time.
SeeMoreDigital
22nd July 2005, 15:58
Just re-built using current CVS, available here (http://www.ionwerks.net/defunkt/mp4box230705.zip). Hasn't resolved any of my issues with timed text but y'all may fair better. I'm part way through debugging the problem but short on spare time.I've just tried this version and it crashed YAMB 1.3 Alpha1 v1 and v2...
http://img143.imageshack.us/img143/5354/snap14zt.png
Cheers
Kurtnoise
23rd July 2005, 08:14
what option did you use in YAMB ?
SeeMoreDigital
23rd July 2005, 08:27
what option did you use in YAMB ?These: -
http://img240.imageshack.us/img240/1637/yamboptions7va.png
EDIT: I was simply trying to mux, 1No AAC-LC audio stream (in .MP4) and 1No MPEG-4/SP video stream (in .MP4) together....
Cheers
Kurtnoise
24th July 2005, 15:26
Just re-built using current CVS, available here (http://www.ionwerks.net/defunkt/mp4box230705.zip). Hasn't resolved any of my issues with timed text but y'all may fair better. I'm part way through debugging the problem but short on spare time.
I've the same problem as SMD...maybe msvcrt.dll fault ? Could you confirm this issue defunkt ?
defunkt
24th July 2005, 18:48
Yep. I can confirm that I too am getting regular crashes, in fact the later build seems worse. I doubt it's a compile problem :confused:, rather it's just going to take a while to shake out all the bugs after such a major rewrite. Personally I'm still using an 0.30 release.
leowai
29th July 2005, 04:34
Official GPAC v0.4.0 available now.
http://sourceforge.net/projects/gpac
Bad news is I can't get the source compiled without errors. Good news is MP4Box is compiled before the errors.
For who may interested in testing the build, you can download the one I compiled here:
http://rapidshare.de/files/3450273/2005.07.29.MP4Box.v0.4.0.7z.html
And remember, you can report but I am not taking any responsibility for the errors or bugs cause by the program. :sly:
It is compiled from the the source provided. If you use it, use it at your own risk! :thanks:
neo_anderson
29th July 2005, 04:51
i'm sorry if this an invalid request, but i just wanted to know if there can be support for ac3 files and vobsub dvd subtitles in future versions?
bond
29th July 2005, 06:45
again: there is no point in using ac3 in .mp4
use matroska for that
Doom9
29th July 2005, 07:53
and as far as vobsub subs go a few posts up there's this: http://forum.doom9.org/showthread.php?p=689428#post689428. You're seriously stretching my tolerance treshold.
Oh, and AC3 in MP4 is an old story as well.. using the search engine would've yielded that answer.
Official GPAC v0.4.0 available now ... It is compiled from the the source provided. If you use it, use it at your own risk!thx a lot !!! i'm about to take this risk :D
thx
y
SeeMoreDigital
29th July 2005, 09:10
thx a lot !!! i'm about to take this risk :D
thx
yDon't forget your friends!
Don't forget your friends! :confused: ...y'mean ?
SeeMoreDigital
29th July 2005, 13:16
:confused: ...y'mean ?Sorry... I should have written... "Don't forget to tell your frieinds"
I'm unable to download leowai latest compile, so... what's it like?
Cheers
I'm unable to download leowai latest compile, so... what's it like?haven't tested thoroughly, but the basic functions i use (extract from avi, adding video/audio, ...) worx fine.
it seems as if the syntax were a bit different somehow (or i forgot the exact cli forms). what i've noticed so far is that output is not optional anymore (must always set), and '-out' is not accepted (at least it hasn't worked for me) ... must learn it again ;)
the bests
y
celtic_druid
30th July 2005, 16:57
mp4box v0.4.0:
http://mirror05.x264.nl/celtic_druid/force.php?file=./mp4box-0.4.0.7z
SeeMoreDigital
30th July 2005, 18:25
I don't know whether it's just me but I've been unable to generate basic muxes with YAMB and mp4box-0.4.0.7z: -
http://img262.imageshack.us/img262/3567/gpac0406ko.gif
I guess it must be down to the "major" rewrite.....
Cheers
celtic_druid
30th July 2005, 19:14
Just tested it and it works fine for a simple mux here. I didn't use any GUI though.
SeeMoreDigital
30th July 2005, 19:26
Just tested it and it works fine for a simple mux here. I didn't use any GUI though.When I switch to your earlier MP4Box.exe build, YAMB works fine....
....If it is down to code changes I guess Kurtnoise13 is going to be kept busy for a while :eek: I just hope he has the time?
Cheers
Kurtnoise
30th July 2005, 20:41
again...same issue just like SMD. Again, it doesn't concern YAMB.
I'm running on WinXP SP2 and you CD ?
SeeMoreDigital
30th July 2005, 20:51
Hi Kurt,
Will Jean's comment not have anything to do with YAMB?
http://img276.imageshack.us/img276/7954/gpac0404zg6ek.gif
Cheers
Kurtnoise
30th July 2005, 20:54
I don't use GPAC code for YAMB. So, no problem with this...
celtic_druid
30th July 2005, 21:13
Win2k SP4. Also tested winxp sp1, no problems there either. mp4box 0.4.0 (from sf.net) and cvs. No problems with either.
Interestingly the sf.net build says 0.4.0DEV whereas the post 0.4.0cvs build says 0.4.0.
Does it happen straight away? Maybe my test clip wasn't long enough?
Kurtnoise
30th July 2005, 21:28
mmmh. I just discovered that putting all input files in the same mp4box folder and running by example :
mp4box.exe -add video.avi audio1.aac output.mp4
it works but using the prompt command and putting the path for each input files, just like :
mp4box.exe -add "C:\video.avi" -add "C:\audio.aac" "D:\output.mp4"
it crashes... :confused: There is an issue with the " " ?? :scared:
neo75903
30th July 2005, 22:23
wow thx celtic for the build! will test it soon as possible, thx again :)
Kurtnoise
31st July 2005, 09:58
Does anybody can confirm my last observation please ? Thanks.
neo75903
31st July 2005, 10:50
confirmed!!
it does crashes using paths as arguments.
this didnt crash:
D:\z_DVD>"MP4Box 0.40.exe" -add "audio.mp3" -add "video.avi" "output.mp4"
this did:
D:\z_DVD>"MP4Box 0.40.exe" -add "d:\test\audio.mp3" -add d:\test\video.avi" "d:\test\output.mp4"
but then this didnt:
D:\z_DVD>"MP4Box 0.40.exe" -add "audio.mp3" -add "video.avi" "d:\test\output.mp4"
edit: also discovered that files muxed with this version are not playable int QT7. it returns a "Error: -50: an unknown error occurred".
The file also skips at regular intervals in Nero showtime, only vlc seems to play the file fine.
bond
31st July 2005, 15:43
if you find a bug in mp4box, make a bug report on the gpac bugtracker on sourceforge
Kurtnoise
1st August 2005, 16:51
This problem seems to be fixed now : http://cvs.sourceforge.net/viewcvs.py/gpac/gpac/applications/mp4box/
a new fresh cvs build please... :D
neo75903
1st August 2005, 19:04
idd filling a bug report does help :)
celtic_druid
1st August 2005, 20:50
Done.
http://mirror05.x264.nl/celtic_druid/force.php?file=./mp4box.7z
SeeMoreDigital
1st August 2005, 21:07
Thanks CD... I've just tried it with some basic muxes and it appears to work fine :)
I was hoping the new build would be able to accommodate Nero's VobSubs during the muxing of additional audio streams or chapters... but it can't :(
http://img282.imageshack.us/img282/9913/vobsubs5ge.gif
Cheers
neo75903
1st August 2005, 21:29
Done.
http://mirror05.x264.nl/celtic_druid/force.php?file=./mp4box.7z
thx dude, thats what i call service :)
bond
1st August 2005, 21:33
http://img282.imageshack.us/img282/9913/vobsubs5ge.gifwith that path you need a " " around the path, cause otherwise mp4box might think that the path ends after c:\documents
SeeMoreDigital
1st August 2005, 21:52
Hi Bond,
Here's the fuller picture ;)
http://img116.imageshack.us/img116/7610/vobsubmux7jt.png
Cheers
Kurtnoise
2nd August 2005, 12:02
I was hoping the new build would be able to accommodate Nero's VobSubs during the muxing of additional audio streams or chapters... but it can't :(
because it's not finalized in the code...just wait & see. :)
madoka
2nd August 2005, 14:57
I noticed this while investigating another problem (http://forum.doom9.org/showthread.php?t=97536), but got no response.
Basically, mp4box produces different mp4 files given the same input. Specifically, if I do the following:
mp4box -add input.264 output1.mp4
mp4box -add input.264 output2.mp4When I compare output1.mp4 & output2.mp4, they are not bit-identical! While both mp4 files playback correctly AFAIK, the fact that they differ is perplexing.
EDIT: fc shows that the differences are always in the beginning (in the one track case), so somehow the track header is different? A timestamp, perhaps?
bond
2nd August 2005, 18:33
I noticed this while investigating another problem (http://forum.doom9.org/showthread.php?t=97536), but got no response.
Basically, mp4box produces different mp4 files given the same input. Specifically, if I do the following:
mp4box -add input.264 output1.mp4
mp4box -add input.264 output2.mp4When I compare output1.mp4 & output2.mp4, they are not bit-identical! While both mp4 files playback correctly AFAIK, the fact that they differ is perplexing.
EDIT: fc shows that the differences are always in the beginning (in the one track case), so somehow the track header is different? A timestamp, perhaps?thats propably because the creation time (which is stored in .mp4) is not the same
bond
4th August 2005, 12:14
SRT > TTXT conversion isn't working for me.seems to be fixed now
dimzon
26th August 2005, 14:43
SRT > TTXT conversion bug!
There is no ability to create SuchText (part of string is italic, another part is normal)
MP4BOX used - last version from celtic_druid
C:\dvd>MP4Box.exe -version
MP4Box - GPAC version 0.4.0
GPAC Copyright: (c) Jean Le Feuvre 2000-2005
(c) ENST 2005-200X
Source sample.srt
1
00:00:01,000 --> 00:00:10,000
<i>Italic</i> Normal <i>Italic</i>
2
00:00:11,000 --> 00:00:20,000
<i>Italic</i>
Normal
<i>Italic</i>
3
00:00:21,000 --> 00:00:30,000
<b>Bold</b> Normal <i>Italic</i>
4
00:00:31,000 --> 00:00:40,000
Normal <i>Italic</i> Normal
Produced output.ttxt:
<?xml version="1.0" encoding="UTF-8" ?>
<!-- GPAC 3GPP Text Stream -->
<TextStream version="1.0">
<TextStreamHeader width="400" height="60" layer="0" translation_x="0" translation_y="0">
<TextSampleDescription horizontalJustification="center" verticalJustification="bottom" backColor="0 0 0 0" verticalText="no" fillTextRegion="no" continuousKaraoke="no" scroll="None">
<FontTable>
<FontTableEntry fontName="Serif" fontID="1"/>
</FontTable>
<TextBox top="0" left="0" bottom="60" right="400"/>
<Style styles="Normal" fontSize="18" color="ff ff ff ff"/>
</TextSampleDescription>
<TextSampleDescription horizontalJustification="center" verticalJustification="bottom" backColor="0 0 0 0" verticalText="no" fillTextRegion="no" continuousKaraoke="no" scroll="None">
<FontTable>
<FontTableEntry fontName="Serif" fontID="1"/>
</FontTable>
<TextBox top="0" left="0" bottom="60" right="400"/>
<Style styles="Italic " fontSize="18" color="ff ff ff ff"/>
</TextSampleDescription>
</TextStreamHeader>
<TextSample sampleTime="00:00:00.000" sampleDescriptionIndex="1" text="">
</TextSample>
<TextSample sampleTime="00:00:01.000" sampleDescriptionIndex="2" text="'Italic Normal Italic'">
</TextSample>
<TextSample sampleTime="00:00:10.000" sampleDescriptionIndex="1" text="">
</TextSample>
<TextSample sampleTime="00:00:11.000" sampleDescriptionIndex="2" text="'Italic''Normal''Italic'">
</TextSample>
<TextSample sampleTime="00:00:20.000" sampleDescriptionIndex="1" text="">
</TextSample>
<TextSample sampleTime="00:00:21.000" sampleDescriptionIndex="1" text="'Bold Normal Italic'">
<Style fromChar="0" toChar="18" styles="Bold Italic " fontSize="18" color="ff ff ff ff"/>
</TextSample>
<TextSample sampleTime="00:00:30.000" sampleDescriptionIndex="1" text="">
</TextSample>
<TextSample sampleTime="00:00:31.000" sampleDescriptionIndex="2" text="'Normal Italic Normal'">
</TextSample>
<TextSample sampleTime="00:00:40.000" sampleDescriptionIndex="1" text="">
</TextSample>
</TextStream>
Convertion from output.ttxt back to srt file format will give:
1
00:00:01,000 --> 00:00:10,000
<i>Italic Normal Italic</i>
2
00:00:11,000 --> 00:00:20,000
<i>Italic
Normal
Italic</i>
3
00:00:21,000 --> 00:00:30,000
<b>Bold Normal Italic</b>
4
00:00:31,000 --> 00:00:40,000
<i>Normal Italic Normal</i>
:confused: :confused: :confused: :confused: :confused: :confused: :confused:
bond
26th August 2005, 14:47
does this happen with mp4box 0.3.0 too?
make a bug report on sourceforge
dimzon
26th August 2005, 15:01
does this happen with mp4box 0.3.0 too?
Yes
make a bug report on sourceforge
Done (http://sourceforge.net/tracker/index.php?func=detail&aid=1274045&group_id=84101&atid=571738)
dimzon
26th August 2005, 18:09
srt -> ttxt tool
I have created my own tool for (maybe ;) ) correct srt->ttxt conversion until GPAC developers fix this bug.
You need Microsoft .NET Framework 1.1 to run this tool!
Note! Your subtitles must be in UTF8 encoding!
External link (http://s20.yousendit.com/d.aspx?id=0MM86XPERQSIL32L86YXDPU44U)
dimzon
29th August 2005, 13:14
test.ttxt
<?xml version="1.0" encoding="UTF-8" ?>
<!-- GPAC 3GPP Text Stream -->
<TextStream version="1.0">
<TextStreamHeader width="400" height="60" layer="0" translation_x="0" translation_y="0">
<TextSampleDescription horizontalJustification="center" verticalJustification="bottom" backColor="0 0 0 0" verticalText="no" fillTextRegion="no" continuousKaraoke="no" scroll="None">
<FontTable>
<FontTableEntry fontName="Serif" fontID="1"/>
</FontTable>
<TextBox top="0" left="0" bottom="60" right="400"/>
<Style styles="Normal" fontSize="18" color="ff ff ff ff"/>
</TextSampleDescription>
</TextStreamHeader>
<TextSample sampleTime="00:00:00.000" text=""/>
<TextSample sampleTime="00:00:26.649" text="'123'">
<Style fromChar="0" toChar="1" styles="Italic"/>
</TextSample>
<TextSample sampleTime="00:00:30.903" text=""/>
</TextStream>
Expected srt output:
1
00:00:26,649 --> 00:00:30,903
<i>1</i>23
Real srt output:
1
00:00:26,649 --> 00:00:30,903
<i>123
There is no closing <i> tag!
dimzon
29th August 2005, 13:51
Source ttxt:
<?xml version="1.0" encoding="UTF-8" ?>
<!-- GPAC 3GPP Text Stream -->
<TextStream version="1.0">
<TextStreamHeader width="400" height="60" layer="0" translation_x="0" translation_y="0">
<TextSampleDescription horizontalJustification="center" verticalJustification="bottom" backColor="0 0 0 0" verticalText="no" fillTextRegion="no" continuousKaraoke="no" scroll="None">
<FontTable>
<FontTableEntry fontName="Serif" fontID="1"/>
</FontTable>
<TextBox top="0" left="0" bottom="60" right="400"/>
<Style styles="Normal" fontSize="18" color="ff ff ff ff"/>
</TextSampleDescription>
</TextStreamHeader>
<TextSample sampleTime="00:00:00.000" text=""/>
<TextSample sampleTime="00:00:26.649" text="'12''34'">
<Style fromChar="0" toChar="4" styles="Italic"/>
</TextSample>
<TextSample sampleTime="00:00:30.903" text=""/>
</TextStream>
Note: Subtitle consist of 2 lines (12 fnd 34, 4 chars exatly) with italic style.
Expected srt:
1
00:00:26,649 --> 00:00:30,903
<i>12
34</i>
Real srt:
1
00:00:26,649 --> 00:00:30,903
<i>12
3</i>4
'4' is outside <i> tag! Is it bug or feature?
dimzon
29th August 2005, 14:52
Source ttxt
<?xml version="1.0" encoding="UTF-8" ?>
<!-- GPAC 3GPP Text Stream -->
<TextStream version="1.0">
<TextStreamHeader width="400" height="60" layer="0" translation_x="0" translation_y="0">
<TextSampleDescription horizontalJustification="center" verticalJustification="bottom" backColor="0 0 0 0" verticalText="no" fillTextRegion="no" continuousKaraoke="no" scroll="None">
<FontTable>
<FontTableEntry fontName="Serif" fontID="1"/>
</FontTable>
<TextBox top="0" left="0" bottom="60" right="400"/>
<Style styles="Normal" fontSize="18" color="ff ff ff ff"/>
</TextSampleDescription>
</TextStreamHeader>
<TextSample sampleTime="00:00:00.000" text="'123'">
<Style fromChar="0" toChar="3" styles="Underlined"/>
</TextSample>
<TextSample sampleTime="00:00:30.000" text=""/>
</TextStream>
Expected srt:
1
00:00:00,000 --> 00:00:30,000
<u>123</u>
Real srt:
1
00:00:00,000 --> 00:00:30,000
123
Seems like mp4box don't convert Underline style at all :(
Isochroma
29th August 2005, 22:19
Still getting 16x16 pixel output from .264 to .mp4 conversions, using the latest mp4box 0.4.0
adaml
30th August 2005, 23:08
anyone know if mp4box has the ability to author a streaming mpeg4 video input.....I was hoping I would be able to mux subtitle information with the live video.
If this isn't possible...it would be a cool feature in the future
leowai
1st September 2005, 05:06
Just noticed the gpac updated yesterday.
@dimzon, did the following CVS update solved your problem?
Latest CVS Changes 31/08/05
- fixed UTF8 vs Win-CP text handling (BT and XMT parsers, subs->bifs and subs->ttxt converters)
- improved SRT -> 3GPP convertion - now accepts any number of <b>, <i>, <u> tags at random places. Also cleaned up TTXT->SRT conversion.
- fixed bug in unknown stsd boxes handling
- attempt to fixe gpac compilation on 64 bits platforms
- Edit -
MP4Box v0.4.1 Dev cvs binary build 2005.08.31
http://www.megaupload.com/?d=398XSHHR
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.