View Full Version : Muxing Raw 264 to MP4 file problem
virtualdub
10th August 2010, 04:18
I'm using MeGUI or CommandLine for encoding avs file to .264 raw file.Before x264 build 1649, MP4 box could muxing correctly.
But with the current build 1688 keeping Open-GOP disabled ,the Muxed output mp4 file is strange ,looks like having some bad frames. But the MKVMuxer dosen't have such prob.
Does anyone have suggestion for this?Or roll back to old 1649 build.
MP4Box-0.4.6-dev_20100612
x264 core:104 r1688 0b36c6d
b66pak
10th August 2010, 19:47
try this:
http://forum.doom9.org/showthread.php?p=1422915#post1422915
_
virtualdub
11th August 2010, 02:25
I see.thanks man, I'll try this temporary solution later to see if MP4 goes well.
virtualdub
11th August 2010, 06:16
Just tried few times.Seems the muxed mp4 files are working without any issue under my laptop player. But all of my portable devices as NWZ-XK1060 even could not recognize/play these muxed mp4 files as usual.What's wrong with this Open-Gop patch? Why Para "open-gop = none" can't just simply disable this new imported function ? So I'll keeping the "last" 1649 build for encoding sessions. Really confused result.Hoping for some advices.
Trahald
11th August 2010, 16:26
Open gop doesnt work with mp4box from raw currently, and the gpac guys are working on it. Open gop when disabled should have nothing to do with it. (Im pretty sure mkvmuxer isnt magic)
Trahald
11th August 2010, 18:23
Can u post your command line and maybe a small sample (raw h264) that shows the problem. ( state what frames to pay attention to).
b66pak
11th August 2010, 18:55
you can try also the ffmpeg muxer (http://forum.doom9.org/showthread.php?t=152419)...
ffmpeg -y -i my_h264_muxed_with_x264.mp4 -vcodec copy -i my_audio.xxx -acodec copy my_new_file.mp4
_
virtualdub
12th August 2010, 04:12
Ok,more detailed info here.
x264 cmd line
--profile baseline --level 2.1 --crf 21.5 --threads 8 --keyint 240 --min-keyint 1 --open-gop none --scenecut 30 --chroma-qp-offset -3 --qcomp 0.7 --aq-strength 1.04 --merange 24 --me umh --direct auto --subme 9 --psy-rd 0.40:0 --output test.h264 test.avs
mp4box cmd line
-fps 23.976 -add test.h264 -add test.m4a test_mp4box_raw_muxed.mp4
unique ffmpeg mux cmd line
-y -i test.h264 -vcodec copy -i test.m4a -acodec copy test_ffmpeg_raw_muxed.mp4
sorry for no sample clips.but this could easily be discovered if anyone tried to encoding something.
Maybe,it is the muxer's issue , not the x264's. If I'm using mp4box muxing raw h.264, all devices(w/ players on PC) could play it but with some unexpected bad frames. Definitely PLAYABLE.
Using mp4box ,adding audio track to encoded MP4 file ,or using ffmpeg muxer, PC players works great without any issue.This time all handy devices could even NOT PLAY this muxed file. Like it is an corrupt video file. WE know,these devices have some limitation, but we can't change it,right?
Encoding with the 1649 build x264, both muxer do working correctly. So the new x264 and the muxer could improve compatibility for each other?
Thanks all your replies.
RBO
12th August 2010, 15:03
As I wrote in the thread quoted above about open-gops, you can mux to MP4 using MP4Box but it will generate files that are difficult to seek. MP4Box generates fully compliant files. The problem has been discussed at the last MPEG meeting and we're waiting for a normative solution. If it takes too much time, we'll see to release a patch :devil:
You can already create mp4 that are easy to seek (although not strictly compliant but players don't care) using directly x264 (with libgpac support) to create your mp4 files:
Romain
b66pak
12th August 2010, 18:25
unique ffmpeg mux cmd line
-y -i test.h264 -vcodec copy -i test.m4a -acodec copy test_ffmpeg_raw_muxed.mp4
you tested from only from raw!
please test form .mp4 and .mkv too (instead to encoding to .h264 encode to .mp4 and .mkv)!
ffmpeg -y -i test.mp4 -vcodec copy -i test.m4a -acodec copy test_ffmpeg_from_mp4_muxed.mp4
ffmpeg -y -i test.mkv -vcodec copy -i test.m4a -acodec copy test_ffmpeg_from_mkv_muxed.mp4
i am waiting for results!
_
SeeMoreDigital
12th August 2010, 19:15
There's also MP4muxer GUI (http://forum.doom9.org/showthread.php?t=138445) for you to try...
Trahald
13th August 2010, 13:41
Tell me what you mean by 'some bad frames' I encoded 1000 frames with your command line and muxed it with mp4box using your command line and I didnt see any issues. How many frames should i encode... describe what bad frames means (totally messed up or hard to see small issues, blocks, discoloration, etc) is it something you see playing normally or when you seek around? if you could encode something and post a sample that would help (i'll approve an attachment soon as i see it) Where you using the 32 bit or 64 bit x264?
Trahald
13th August 2010, 19:42
Ok.. I found an issue. "293b47b Support infinite keyint (--keyint infinite)." r1665 is where the curroption starts (when muxed with gpac). I think its the tight framenum/poc max formulas. The only thing is, everything looks legal. I'll look further but it appears there isnt a bug in x264, just that gpac isnt handling certain conditions well. So I wouldnt look for anything to change in x264. If x264 is legal, the code wont change for gpac.
virtualdub
14th August 2010, 03:10
to b66pak
the result is NOT WORKING.The handy players could not play these muxed files.BAD LUCK.
to SeeMoreDigital
thanks but not working again.
to Trahald
Yes, the issue maybe related to GPAC itself.But we don't know how long this could be solved. Can we expect that the future fixed video files are suitable for current SMARTPHONE、IPAD、PSP、MP4 PLAYER? Of coz the players on PC platform do working with current muxed files. If the
x264 binary could give us an option to seperate this special condition, that would be very nice.
b66pak
15th August 2010, 18:03
@virtualdub today i had some time to make a testing encode with your line:
x264 --demuxer lavf --vf resize:480,270,1:1 --profile baseline --level 2.1 --crf 21.5 --threads 8 --keyint 240
/--min-keyint 1 --open-gop none --scenecut 30 --chroma-qp-offset -3 --qcomp 0.7 --aq-strength 1.04 --merange 24
/--me umh --direct auto --subme 9 --psy-rd 0.40:0 --output video.mp4 43_minute_tv_rec.avi
ffmpeg -y -i video.mp4 -vcodec copy -i audio.m4a -acodec copy test.mp4
result:
General
Complete name : test.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom
File size : 159 MiB
Duration : 43mn 23s
Overall bit rate : 512 Kbps
Writing application : Lavf52.78.1
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Baseline@L2.1
Format settings, CABAC : No
Format settings, ReFrames : 3 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 43mn 23s
Bit rate mode : Variable
Bit rate : 386 Kbps
Width : 480 pixels
Height : 270 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.124
Stream size : 120 MiB (75%)
Writing library : x264 core 104 r1688 0b36c6d
Encoding settings : cabac=0 / ref=3 / deblock=1:0:0 / analyse=0x1:0x111 / me=umh / subme=9 / psy=1
/ psy_rd=0.40:0.00 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=0 / 8x8dct=0 / cqm=0 / deadzone=21,11
/ fast_pskip=1 / chroma_qp_offset=-5 / threads=8 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0
/ constrained_intra=0 / bframes=0 / weightp=0 / keyint=240 / keyint_min=1 / scenecut=30 / intra_refresh=0
/ rc_lookahead=40 / rc=crf / mbtree=1 / crf=21.5 / qcomp=0.70 / qpmin=10 / qpmax=51 / qpstep=4 / ip_ratio=1.40 / aq=1:1.04
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format version : Version 4
Format profile : LC
Format settings, SBR : No
Codec ID : 40
Duration : 43mn 23s
Bit rate mode : Variable
Bit rate : 122 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Stream size : 37.8 MiB (24%)
the file play perfect (in sync) on my PSPgo (fw 6.20)!
_
Trahald
16th August 2010, 23:53
I made a file with both L-SMASH and GPAC with current rev. that itunes will not accept at all and quick time is giving a 2002 (bad public atom) error. I tried 1649(gpac) from x264.nl and got the same error. the file is 85000 frames. short encodes do not have the error.. Im gonna keep adjusting the --frames until i find where it no longer errors so i can see if its duration or filesize or whatever. @b66pak - can you encode something longer (1hr+) with the same settings and see if it still works?
Trahald
17th August 2010, 16:54
Never mind b66pak. I put assumefps(24000,1001) in my script and it worked fine. The original fps came up as 10000000/417083(23.9760431........) Im guessing mp4 container doesnt like the fraction(some compounding rounding error?) Quicktime/itunes accepts the files fine now. My clue was while 20k or above encodes would give 2002 bad public atom errors, at around 10k i would get duration errors from quicktime.
So for now to use the mp4 output of x264 (lsmash or gpac) watch your input framerate.
b66pak
17th August 2010, 19:36
more info:
i demuxed my previous encode to raw (using mp4box) and i get this with dgavcindex:
Stream Type: AVC Elementary
Profile: Baseline
Level: 2.1
Frame Size: 480x270
SAR: 1:1
Display Size: 480x270
Frame Rate: 48000/2002 fps
Colorimetry: BT.601* [2]
Frame Structure: Frame
Frame Type: not yet
Coded Number: 62414
Playback Number: 62414
Frame Repeats: 0
Field Repeats: 0
Bitrate: 0.315
Bitrate (Avg): 0.393
Bitrate (Max): 1.920
mp4box info on my previous encode:
* Movie Info *
Timescale 1000 - Duration 00:43:23.243
Fragmented File no - 2 track(s)
File Brand isom - version 512
Created: GMT Fri Jan 02 00:00:00 1970
File has no MPEG4 IOD/OD
Chapters:
Chapter #1 - 00:00:00.054 - ""
iTunes Info:
Encoder Software: Lavf52.78.1
Track # 1 Info - TrackID 1 - TimeScale 24000 - Duration 00:43:23.183
Media Info: Language "Undetermined" - Type "vide:avc1" - 62414 samples
MPEG-4 Config: Visual Stream - ObjectTypeIndication 0x21
AVC/H264 Video - Visual Size 480 x 270 - Profile Baseline @ Level 2.1
NAL Unit length bits: 32
Pixel Aspect Ratio 1:1 - Indicated track size 480 x 270
Self-synchronized
Track # 2 Info - TrackID 2 - TimeScale 48000 - Duration 00:43:23.242
Media Info: Language "Undetermined" - Type "soun:mp4a" - 122027 samples
MPEG-4 Config: Audio Stream - ObjectTypeIndication 0x40
MPEG-4 Audio AAC LC - 2 Channel(s) - SampleRate 48000
Synchronized on stream 1
i remuxed the raws with GPAC 0.4.6-DEV (internal rev. 5) (http://kurtnoise.free.fr/mp4tools/MP4Box-0.4.6-dev_20100612.zip) and i get this:
Import results: 62372 samples - Slices: 964 I 61450 P 0 B - 1 SEI - 964 IDR
* Movie Info *
Timescale 600 - Duration 00:43:23.241
Fragmented File no - 2 track(s)
File Brand isom - version 1
Created: GMT Tue Aug 17 17:59:28 2010
File has root IOD
Scene PL 0xff - Graphics PL 0xff - OD PL 0xff
Visual PL: AVC/H264 Profile (0x15)
Audio PL: AAC Profile @ Level 2 (0x29)
No streams included in root OD
Track # 1 Info - TrackID 1 - TimeScale 24000 - Duration 00:43:21.432
Media Info: Language "Undetermined" - Type "vide:avc1" - 62372 samples
MPEG-4 Config: Visual Stream - ObjectTypeIndication 0x21
AVC/H264 Video - Visual Size 480 x 270 - Profile Baseline @ Level 2.1
NAL Unit length bits: 32
Pixel Aspect Ratio 1:1 - Indicated track size 480 x 270
Self-synchronized
Track # 2 Info - TrackID 2 - TimeScale 48000 - Duration 00:43:23.242
Media Info: Language "Undetermined" - Type "soun:mp4a" - 122027 samples
MPEG-4 Config: Audio Stream - ObjectTypeIndication 0x40
MPEG-4 Audio AAC LC - 2 Channel(s) - SampleRate 48000
Synchronized on stream 1
this file play on PC (with QT too) but is OOS...this file don't play on my PSP...
as you can see is 42 frames shorter...
_
Trahald
18th August 2010, 00:55
Ok.. I found the set of circumstances that cause the other problem (sync issues/frame drops/corruption above) this occurs when an IDR occurs immediately after a frame (that isnt an IDR) with a frame_num/poc_lsb of 0/0 . Until now I assumed it was just mp4box acting up, because l-smash and even gpac when directed to by x264 advances frame numbers correctly under the circumstance and sync is fine. ...But look at my attachment. That is elecard viewer. It is using the same frame number. That is a raw h264 file. However, I cant find anywhere saying that it is illegal to do create the circumstance.
http://img837.imageshack.us/img837/7039/doubleframe.jpg
virtualdub
18th August 2010, 08:36
Solved...
Trahald,you are the man. "assumefps(24000,1001)" did the trick to make everything back to normal.
DON'T care if x264 output raw or muxed mp4, both are working if muxed with that ffmpeg tool.All devices could play output file without any probs.
AND if x264 output muxed mp4,mp4box also can produce correct video clip. BUT still BAD LUCK for raw h264 muxed by mp4box with some corrupt frames.
//So we need this "assumefps(24000,1001)". Without this the avisynth engine could not report exact 24000/1001 fps (instead of 23.976) to x264 binary? or DirectShowSource's fault? All devices detect this muxed file as non-standard fps media file, so not working before.
We'are so happy to find this solution.
kemuri-_9
18th August 2010, 13:05
//So we need this "assumefps(24000,1001)". Without this the avisynth engine could not report exact 24000/1001 fps (instead of 23.976) to x264 binary? or DirectShowSource's fault?
DirectShowSource has never been known to give accurate frame rates, you should always use assumeFPS with it.
When the fps rate display changed in x264cli from a float to num/den some time ago,
the bizarre fps rates that DirectShowSource produces should've been made more obvious, e.g.
avs [info]: 640x480p 0:0 @ 5000000/166833 fps (cfr)
is what I get from DirectShowSource for a 30000/1001 source without the AssumeFPS
b66pak
18th August 2010, 18:14
this is not DirectShowSource fault! this is do to users incompetence or faulty muxers!
here is some examples:
mkv:
Seems stream 0 codec frame rate differs from container frame rate: 47.95 (5000000/104271) -> 23.98 (5000000/208542)
Seems stream 0 codec frame rate differs from container frame rate: 47.95 (20000000/417083) -> 23.98 (20000000/834166)
Seems stream 0 codec frame rate differs from container frame rate: 48.00 (10000000/208333) -> 24.00 (10000000/416666)
Seems stream 0 codec frame rate differs from container frame rate: 23.98 (2997/125) -> 11.99 (2997/250)
Seems stream 0 codec frame rate differs from container frame rate: 47.95 (48000/1001) -> 23.98 (48000/2002)
Seems stream 0 codec frame rate differs from container frame rate: 48.00 (48/1)-> 24.00 (48/2)
Seems stream 1 codec frame rate differs from container frame rate: 59.94 (60000/1001) -> 29.97 (60000/2002)
avi:
Seems stream 0 codec frame rate differs from container frame rate: 23.98 (65535/2733) -> 23.98 (24000/1001)
Seems stream 0 codec frame rate differs from container frame rate: 23.98 (24000/1001) -> 23.98 (2997003/125000)
Seems stream 0 codec frame rate differs from container frame rate: 23.98 (24000/1001) -> 23.98 (10000000/417083)
Seems stream 0 codec frame rate differs from container frame rate: 23.98 (24000/1001) -> 23.98 (24000/1001)
_
virtualdub
19th August 2010, 10:07
One more question to discuss.The x264 build 1649 could handle this flawlessly with the exact same encoding environment but won't working for the later builds. What has been changed in these builds?
I hope someone to clarify a conclusion for this.
Trahald
19th August 2010, 12:17
Build 1649 is the last public revision that can be muxed by mp4box without skewing and corruption. What changed is that a different formula for frame_num_max/poc_lsb_max is used (r1665 in the changelog). The formula attempts to use smaller numbers than older revisions. This creates a set of circumstances that can cause mp4box to drop an occasional IDRs which obviously will cause some corruption and change the duration(sync). The solution would be to revert the code... HOWEVER.... there is no evidence the code is wrong. tsmuxer, mkvmerge, etc , etc are just fine with it and nothing i can see in the h264 spec says its wrong. So it probably wont be changed (unless someone can show evidence its wrong per the specs). Since the other method exists (create mp4 with x264) to work around it, people arent stuck. The reason only a few people see this, btw is because when b-frames are used, the formula uses larger values for frame_num_max/pocv_lsb_max so the set of circumstances that cause the dropped IDR in mp4box never occur.
So simple answer... a legal change occurred in r1665 that mp4box cant handle. legal changes dont get reverted for other software.
b66pak
19th August 2010, 18:23
now that you discovered this what is ETA for a fixed mp4box?
_
b66pak
25th August 2010, 19:58
Build 1649 is the last public revision that can be muxed by mp4box without skewing and corruption. What changed is that a different formula for frame_num_max/poc_lsb_max is used (r1665 in the changelog). The formula attempts to use smaller numbers than older revisions. This creates a set of circumstances that can cause mp4box to drop an occasional IDRs which obviously will cause some corruption and change the duration(sync). The solution would be to revert the code... HOWEVER.... there is no evidence the code is wrong. tsmuxer, mkvmerge, etc , etc are just fine with it and nothing i can see in the h264 spec says its wrong. So it probably wont be changed (unless someone can show evidence its wrong per the specs). Since the other method exists (create mp4 with x264) to work around it, people arent stuck. The reason only a few people see this, btw is because when b-frames are used, the formula uses larger values for frame_num_max/pocv_lsb_max so the set of circumstances that cause the dropped IDR in mp4box never occur.
So simple answer... a legal change occurred in r1665 that mp4box cant handle. legal changes dont get reverted for other software.
actually mkvmerge can't deal with this type of h264 raw (baseline)...muxing from raws with mkvmerge v4.2.0 will lead to a OOS .mkv with 62371 frames instead of 62414!!!
_
Trahald
26th August 2010, 01:12
What did you verify the amount of frames with? I couldnt duplicate it.
{EDIT}
Never mind. I was using a file a made with 1649 (when i was testing the fps issue).
Is this something new or do older ones fail also?
Lyle_JP
26th August 2010, 10:09
Not to nitpick, but r1659 is the last compatible version of x264 widely released that is GPAC-friendly, and it has (non blu-ray compliant) Open GOP as well. Of course, there's nothing really wrong with r1649 either.
BTW, Does anyone know if the Jeeb or Komisar builds of r1649/59 contained the fade detection patch? It's not clear from their sites which patches were used on older builds.
komisar
26th August 2010, 12:41
Lyle_JP, i dont use x264_fade_compensation patch
Trahald
26th August 2010, 12:58
Not to nitpick, but r1659 is the last compatible version of x264 widely released that is GPAC-friendly, and it has (non blu-ray compliant) Open GOP as well. Of course, there's nothing really wrong with r1649 either.
BTW, Does anyone know if the Jeeb or Komisar builds of r1649/59 contained the fade detection patch? It's not clear from their sites which patches were used on older builds.
Ahh.. Thanks.. I missed that build. Any builds (public or private) before 1665 will be fine.
Mosu
28th August 2010, 18:48
actually mkvmerge can't deal with this type of h264 raw (baseline)...muxing from raws with mkvmerge v4.2.0 will lead to a OOS .mkv with 62371 frames instead of 62414!!!
Please try this build: http://www.bunkus.org/videotools/mkvtoolnix/win32/pre/mkvtoolnix-unicode-4.2.0-build20100828-304-setup.exe
b66pak
28th August 2010, 19:12
thank you Mosu...it works!!! perfect sync! no droped frames (62414)!
_
Mosu
28th August 2010, 19:17
Thanks for testing & confirming the issue's been fixed.
Trahald
31st August 2010, 19:34
The problem is the implementation of 7.4.1.2.4 in the avc spec for mp4box. the check for IdrPicFlag != isnt being done. I will write a patch and try to make a binary (maybe...) shortly.
kypec
31st August 2010, 20:42
You're THE MAN, Trahald! Patched MP4Box binary would be mostly appreciated :)
Trahald
31st August 2010, 22:37
http://www.mediafire.com/?pv1cjac4gih9lbi
is MP4Box from rev 1988... there is a change in bitstream.h in newer version that cause crashes for me (untouched) .. so i started with 1988 and patched that. Attached to the post is the patch
(edit) rev1988 is fairly new so check your output file.
(edit) removed attachment
Trahald
1st September 2010, 10:19
To be fair, the "IdrPicFlag !=" line was not in older AVC specs and was added later.
b66pak
1st September 2010, 19:27
thank you Trahald...it works!!! perfect sync! no droped frames (62414)!
_
L.E. tested on PSP, PS3, iPad, iPhone, Samsung Galaxy S...
_
Sharktooth
2nd September 2010, 01:17
Tharald, could you rebuild with your and this patch (http://www.webalice.it/f.corriga/patches/gpac_20100410.patch) (only if necessary) please? a 64 bit version is also very welcome (still with the patch :) ... still if it's necessary)
Trahald
2nd September 2010, 19:53
I really just did it to help ppl with muxing which 32 bit should be plenty for (yeah i know mp4box is capable of more) I am trying to get the patch committed so hopefully, at that point whoever is making 64 bit binaries of the development builds will do it.
Sharktooth
2nd September 2010, 20:08
it would be helpfull to have working 32 and 64 bit binaries for MeGUI. eventually ill setup msys/mingw and do it by myself.
thanks anyway.
Trahald
2nd September 2010, 21:38
if i get time to figure out how, ill do it ( i only have a 32 bit setup )
komisar
2nd September 2010, 21:50
check this builds of MP4Box, pls... (http://komisar.gin.by/tools/)
Lyle_JP
2nd September 2010, 21:54
http://www.mediafire.com/?pv1cjac4gih9lbi
is MP4Box from rev 1988... there is a change in bitstream.h in newer version that cause crashes for me (untouched) .. so i started with 1988 and patched that. Attached to the post is the patch
(edit) rev1988 is fairly new so check your output file.
I'm sorry to report some problems with this newly patched muxer. Although it keeps the sound in sync on baseline, I'm seeing a lot of visual problems in playback, both on the PS3 and my PC using Haali splitter and the latest stable ffdshow. This is with video streams created by r1703 of x264, and happens with baseline and high profile material. Sometimes I see the players lock up on a frame and then play "catch-up" a second or two later, or I see messy block trails like the player missed where an I frame was. Remuxing the same video and audio streams with Kurtnoise's Apr 10 x64 mp4box eliminates all video playback issues (although sound is still terribly out-of-sync on baseline).
EDIT:
check this builds of MP4Box, pls... (http://komisar.gin.by/tools/)
I'm getting the same issues in the same spots with this muxer.
Trahald
3rd September 2010, 02:55
Try this one... it didnt make any difference in my output (since it worked fine already.) i commented out a line i shouldnt have.
patch http://pastebin.com/8ydDjMca
bin http://www.mediafire.com/?7bz33g9gwo6j94s
ill see if i can patch an older version if this doesnt work.
--> http://www.mediafire.com/?jc42t16540a03my this is r1784 which should be the or close to the apr14 revision kurtnoise did... it includes his patch and mine. only try this one if the above one doesnt do the trick for you.
Lyle_JP
3rd September 2010, 15:57
Try this one... it didnt make any difference in my output (since it worked fine already.) i commented out a line i shouldnt have.
patch http://pastebin.com/8ydDjMca
bin http://www.mediafire.com/?7bz33g9gwo6j94s
ill see if i can patch an older version if this doesnt work.
--> http://www.mediafire.com/?jc42t16540a03my this is r1784 which should be the or close to the apr14 revision kurtnoise did... it includes his patch and mine. only try this one if the above one doesnt do the trick for you.
I would love to just try that first one, but Mediafire has not allowed me to download it since your initial post. I just get a "no server with that file available" message.
The second I was able to DL with no problem, and I will test it soon.
Trahald
3rd September 2010, 18:44
http://rapidshare.com/files/416873096/MP4Box_r1988_2.zip try that
b66pak
3rd September 2010, 19:15
on second look MP4Box_r1988 and MP4Box_r1988_2 lead to video corruption for me! (tested with a baseline stream)...
only this MP4Box_r1784_apr2010 don't have video corruption for me! (tested with a baseline stream)...
_
L.E. check this builds of MP4Box, pls... (http://komisar.gin.by/tools/)
this one is missing frames (62372 instead of 62414) so the audio is OOS...
_
Trahald
3rd September 2010, 21:03
Ok so i need to go back a few revisions but maybe not april ;) can you make a sample available b66pak on medifire or something. i need to be able to duplicate so i can compile to newest possible version that still works. well also see if lyle_jp confirms.
komisar
3rd September 2010, 21:24
MP4Box_0.4.6_5.x86_64.1.exe seems good (on http://komisar.gin.by/tools/ ). no?
Lyle_JP
3rd September 2010, 23:53
Ok so i need to go back a few revisions but maybe not april ;) can you make a sample available b66pak on medifire or something. i need to be able to duplicate so i can compile to newest possible version that still works. well also see if lyle_jp confirms.
I can confirm. Visual distortions on r1988, none on r1784. Also, the patched r1784 keeps an x264 r1703 baseline raw stream in sync with audio throughout the file. Looks like a winner! Now if only it were 64 bit... :p
MP4Box_0.4.6_5.x86_64.1.exe seems good (on http://komisar.gin.by/tools/ ). no?
Was this the same one you posted earlier, Komisar? I had the same visual distortions as r1988 with that one.
Trahald
4th September 2010, 00:58
The second 64bit compile has the second patch but the patch wasn't the problem.
b66pak
4th September 2010, 18:07
@trahald here is a sample (http://www.mediafire.com/?5zu4fjq9dotalg5)...
_
Trahald
4th September 2010, 19:58
Thanks b66pak. I used your sample to test and it appears r1963 is safe (August 3 2010) so http://www.mediafire.com/?lxqhbrnutjdyafu is the link. please test Lyle_JP
b66pak
5th September 2010, 18:50
MP4Box_r1963_aug032010 don't have video corruption for me and is in sync! (tested with a baseline raw)...
_
Lyle_JP
5th September 2010, 19:15
Thanks b66pak. I used your sample to test and it appears r1963 is safe (August 3 2010) so http://www.mediafire.com/?lxqhbrnutjdyafu is the link. please test Lyle_JP
r1963 had none of the visual distortions in the same places that r1988 had, and it was in sync the whole file. I'm very happy with it.
Trahald
5th September 2010, 20:45
Thanks guys. @Komisar - can you make a 64bit compile of r1963 w/patch please?
Sharktooth
6th September 2010, 03:11
dont forget this: http://www.webalice.it/f.corriga/patches/gpac_20100410.patch
komisar
6th September 2010, 16:16
please check another builds of mp4box...MP4Box - GPAC version 0.4.6-DEV (internal rev. 7)
Compilation Date: Sep 6 2010 - by Komisar (patches: Kurtnoise, Trahald)
GPAC Copyright: (c) Jean Le Feuvre 2000-2005
(c) ENST 2005-200X
GPAC Configuration: --disable-ipv6 --disable-wx --disable-oss-audio
--disable-x11-shm --disable-x11-xv --disable-ssl
--disable-opengl --static-mp4box --enable-static
--disable-shared
Features: GPAC_DISABLE_3D
sources: https://gpac.svn.sourceforge.net/svnroot/gpac/trunk/gpac
(svn export -r 1963 https://gpac.svn.sourceforge.net/svnroot/gpac/trunk/gpac ./work.gpac.r1963)
used patches: gpac.r1963.add2.diff
MP4Box_0.4.6_7.r1963
http://komisar.gin.by/tools/
b66pak
6th September 2010, 20:04
tested MP4Box_0.4.6_7.r1963.x86: don't have video corruption for me and is in sync! (tested with a baseline raw)...
_
Sharktooth
6th September 2010, 20:14
test other kind of streams too. i will do the same.
komisar
6th September 2010, 20:35
prior versions of mp4box add this to file:SVC Profile Unknown @ Level 0 <---- WTF
SVC NAL Unit length bits: 32
Self-synchronizedbefore audio track...
Lyle_JP
7th September 2010, 00:15
please check another builds of mp4box...
MP4Box_0.4.6_7.r1963
http://komisar.gin.by/tools/
Works fine for me. No visual or sync problems.
Sharktooth
7th September 2010, 01:35
still testing. no problems so far...
Sharktooth
7th September 2010, 03:10
ok, finished testing and no problems so far. however, sorry for the trouble but can be this (http://forum.doom9.org/showpost.php?p=1432480&postcount=459) bugfix patch added too to both 32 and 64 bit rev 1963 builds?
Terranigma
7th September 2010, 03:23
sorry for the trouble but can be this (http://forum.doom9.org/showpost.php?p=1432480&postcount=459) bugfix patch added too to both 32 and 64 bit rev 1963 builds?
Yeah, +1. I was actually going to inquire about this as well.
komisar
7th September 2010, 08:04
updated. check again :)
http://komisar.gin.by/tools/
Sharktooth
7th September 2010, 19:31
testing...
Trahald
9th September 2010, 18:38
the first version of the patch got committed, jeanlf should be committing the second one shortly.. also i think they fixed the corruption issue not related to the patch (just read the changelog but didnt test) so hopefully their we should be able to use the current build soon.
Sharktooth
9th September 2010, 18:44
great. they also committed the kurtnoise patch for compatibility with devices?
Trahald
9th September 2010, 19:00
If your talking about that big patch, then not that im aware of... I compiled it with the april binary but i have no idea what its for. What does it do?
Sharktooth
9th September 2010, 19:01
it adds compatibility for psp plus some more stuff
VFR maniac
9th September 2010, 19:25
MP4Box_0.4.6-DEV-rev.7(2010-09-09-Cirno).rar (http://vfrmaniac.fushizen.eu/MP4Box/MP4Box_0.4.6-DEV-rev.7(2010-09-09-Cirno).rar)
This build is based on golgol7777's gpac git repository (http://github.com/golgol7777/gpac) that includes many patches.
If you want to confirm all changes from gpac official svn, look at here (http://github.com/golgol7777/gpac/commits/gpac_fixes).
b66pak
9th September 2010, 19:56
thanks a lot...tested : don't have video corruption for me and is in sync! (tested with a baseline raw)...
_
rack04
9th September 2010, 20:56
Here (http://www.mediafire.com/?8jjp6d323cz787t) is a x64 version based on golgol7777 git 2010-09-08.
Sharktooth
10th September 2010, 02:56
i had a look at the patches and at a first sight golgol7777 builds does not include the kurtnoise patch (can anyone confirm?). that renders that build useless to my intent of using it for megui auto-update.
rack04
10th September 2010, 13:52
Here are x86 and x86_64 builds (http://www.mediafire.com/?eyj0hx4m28vcyam) based on the official SVN including Kurtnoise patch (http://pastebin.com/uMAnQXtA).
MP4Box - GPAC version 0.4.6-DEV (internal rev. 7)
Compilation Date: Sep 10 2010 - by rack04 (patch: Kurtnoise)
GPAC Copyright: (c) Jean Le Feuvre 2000-2005
(c) ENST 2005-200X
GPAC Configuration: --static-mp4box --extra-cflags='-fpmath=sse -msse -fomit-frame-pointer -fexcess-precision=fast -flto'
Features: GPAC_DISABLE_3D
Sharktooth
10th September 2010, 14:02
if i understood correctly the trahald patch should have been committed so it should be included in this build. also the vfrmaniac patch should be included too since RBO said it was committed. so if you did a less-than-24 hours-ago checkout there should be no problem.
am i right?
also, what revision is your build? (latest is 2028)
edit: sorry about all those questions but i have to be sure it's all ok before uploading the builds on megui auto-update server
rack04
10th September 2010, 14:09
if i understood correctly the tharald patch should have been committed so it should be included in this build. also the vfrmaniac patch should be included too since RBO said it was committed. so if you did a less-than-24 hours-ago checkout there should be no problem.
am i right?
also, what revision is your build? (latest is 2028)
Both patches were committed. Regarding the revision, I assumed the filename would have given it away. :p
GPAC version 0.4.6-DEV r2026
Sharktooth
10th September 2010, 14:17
rev 2027 includes a fix in DashSettings
if it's not a problem... it could be important :)
edit: forget it... it's about SVG... :)
Sharktooth
10th September 2010, 14:31
a user on doom10 reported a segmentation fault with build 2024, 1999 and 1962
rack04
10th September 2010, 14:31
GPAC version 0.4.6-DEV r2028 (http://www.mediafire.com/?1fu44g35otxf1ei)
Sharktooth
10th September 2010, 14:36
thanks... now lets hope the segfault is an isolated issue
Sharktooth
12th September 2010, 14:40
it seems to work for me but before uploading it to megui auto-update server id like to know if anyone had problems with 2028 builds
b66pak
12th September 2010, 18:53
tested with raw baseline and is ok...
_
Terranigma
12th September 2010, 22:47
GPAC version 0.4.6-DEV r2028 (http://www.mediafire.com/?1fu44g35otxf1ei)
Is this 64-bit only, because it doesn't seem to work for my 32-bit system?
rack04
12th September 2010, 23:34
Is this 64-bit only, because it doesn't seem to work for my 32-bit system?
Includes both 32bit and 64bit.
Midzuki
12th September 2010, 23:35
Is this 64-bit only, because it doesn't seem to work for my 32-bit system?
Are you sure you have tried the right version for your system :confused: The "i686-pc-mingw32" build is working fine here (32-bit XP w/ SP3).
Terranigma
12th September 2010, 23:53
Are you sure you have tried the right version for your system :confused: The "i686-pc-mingw32" build is working fine here (32-bit XP w/ SP3).
Haven't tried that one, but I thought the i686 architecture was for Linux systems? But if you say it works then i'll try it and report back. :)
:thanks:
Terranigma
13th September 2010, 00:10
Are you sure you have tried the right version for your system :confused: The "i686-pc-mingw32" build is working fine here (32-bit XP w/ SP3).
It works as you said. :cool:
Sharktooth
13th September 2010, 00:26
ok. im going to upload the rack04's builds to the megui auto-update server.
Trahald
14th September 2010, 18:58
the first version of the patch got committed, jeanlf should be committing the second one shortly.. also i think they fixed the corruption issue not related to the patch (just read the changelog but didnt test) so hopefully their we should be able to use the current build soon.
The second version of the patch still hasnt been committed. It (should) only be a problem with slices and generally most ppl do not use slices with mp4 (although i do.) I posted the 2nd patch within a day of the first but jeanlf didnt see it on the board. I posted the second patch within a few hours of the first. Oh well. So until then , if you use slices, continue to use the second patch if you compile yourself. I'll send jeanlf another email.
Sharktooth
16th September 2010, 16:31
ok...the 2028 builds are not working as expected.
so please we need working builds (32 and 64 bits) with the kurtnoise AND 2nd trahald patch.
rack04
16th September 2010, 16:59
ok...the 2028 builds are not working as expected.
so please we need working builds (32 and 64 bits) with the kurtnoise AND 2nd trahald patch.
Where is trahald 2nd patch?
Sharktooth
16th September 2010, 17:11
it's this: http://pastebin.com/8ydDjMca
Sharktooth
16th September 2010, 17:23
golgol7777 is including the 2nd trahald patch in his builds.
since they contain a lot of fixes im going to use his builds for megui auto-update.
rack04
16th September 2010, 17:44
golgol7777 is including the 2nd trahald patch in his builds.
since they contain a lot of fixes im going to use his builds for megui auto-update.
Does golgol7777 include kurtnoise patch?
Sharktooth
16th September 2010, 18:45
as far as i know, it should
Midzuki
16th September 2010, 23:25
So, when is Kurtnoise going to update his mp4tools folder? :)
Trahald
18th September 2010, 15:02
The 2nd patch was committed yesterday.
As far as kurtnoise, He doesnt update his binaries very often. I'll ask in the yamb thread.
Sharktooth
18th September 2010, 15:13
i used the latest golgol7777 binaries for megui auto-update server (they include your patch). they work pretty well.
so, in absence of kurtnoise builds you can use them as well.
kypec
19th September 2010, 08:20
i used the latest golgol7777 binaries Could you provide a download link for those, please?
Chikuzen
19th September 2010, 13:16
Could you provide a download link for those, please?
http://www.mediafire.com/?fcwhwzfgc4fkc
This is my build.
I started redistributing golgol7777 binaries for about two months for an encode community in Japan.
Use this if you want.
Midzuki
25th September 2010, 15:39
FWIW, these are the most recent :) builds of MP4Box by VFR_maniac and X5-452:
http://vfrmaniac.fushizen.eu/MP4Box/MP4Box_0.4.6-DEV-rev.7(2010-09-20).rar
&&
http://sada5.sakura.ne.jp/files/index.php?folder=TVA0Qm94
komisar
26th September 2010, 18:14
also i include mp4box 32/64-bit in my libpack (http://komisar.gin.by/mingw/) (current: golgol7777 git-2f3fc1c)
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.