Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 AVC / H.264

Reply
 
Thread Tools Search this Thread Display Modes
Old 4th February 2006, 01:00   #1  |  Link
Egladil
Registered User
 
Join Date: May 2004
Posts: 68
x264 produces crap output, players crash

I have a problem: I've encoded some movie and the resulting mp4 file is 6GB, the problem is that if I seek to the data which is beyond the 4GB border, every player crashes, mp4box crashes. I'm able to mux the video in mkv, beu there every player crashes too and when trying to demux the raw stream only 4 GB are written and then mp4box (or mkvextract) crashes.

Anyone knows what I can do?

Last edited by Egladil; 4th February 2006 at 01:01. Reason: typos
Egladil is offline   Reply With Quote
Old 4th February 2006, 01:01   #2  |  Link
Sirber
retired developer
 
Sirber's Avatar
 
Join Date: Oct 2002
Location: Canada
Posts: 8,978
So... your encode is bigger than the source?
__________________
Detritus Software
Sirber is offline   Reply With Quote
Old 4th February 2006, 01:02   #3  |  Link
Egladil
Registered User
 
Join Date: May 2004
Posts: 68
no, the source is 14 GB, it's HD material.
Egladil is offline   Reply With Quote
Old 4th February 2006, 12:19   #4  |  Link
Manao
Registered User
 
Join Date: Jan 2002
Location: France
Posts: 2,856
What was the version of x264 you used ? And mp4box ? And mkvtools ?
__________________
Manao is offline   Reply With Quote
Old 4th February 2006, 16:37   #5  |  Link
ryoohki360
Registered User
 
Join Date: Jan 2006
Posts: 2
Quote:
Originally Posted by Egladil
I have a problem: I've encoded some movie and the resulting mp4 file is 6GB, the problem is that if I seek to the data which is beyond the 4GB border, every player crashes, mp4box crashes. I'm able to mux the video in mkv, beu there every player crashes too and when trying to demux the raw stream only 4 GB are written and then mp4box (or mkvextract) crashes.

Anyone knows what I can do?
I Have the exact same problem as you... i encode at 6mbits and around 1h33:54sec (witch is 4gig approx) it crash for a my encode. All movies under that mark work like a charm!

Rev408, and the MP4 itself crash so it's a problem with the encoder, VLC crash, FFDSHOW crash, CoreAVC Crash all without audio
ryoohki360 is offline   Reply With Quote
Old 4th February 2006, 18:06   #6  |  Link
Egladil
Registered User
 
Join Date: May 2004
Posts: 68
I used x264 rev410 cli, mp4box 0.4.1-dev. I must be a bug in x264 or gpac, I'll try encoding to raw stream, but it'll take a few days.
Egladil is offline   Reply With Quote
Old 4th February 2006, 18:08   #7  |  Link
Manao
Registered User
 
Join Date: Jan 2002
Location: France
Posts: 2,856
You can use very fast settings, it shouldn't matter. That may speed things up.
__________________
Manao is offline   Reply With Quote
Old 5th February 2006, 02:19   #8  |  Link
Egladil
Registered User
 
Join Date: May 2004
Posts: 68
Ok, did some tests, it seems that mp4 output is b0rked. encoding to raw stream, playback with vlc-> ok, muxing with latest mp4box and then playing->crash. encoding to mkv->works.

as stated before the players crash on the 4 GB border
Egladil is offline   Reply With Quote
Old 5th February 2006, 10:24   #9  |  Link
bond
Registered User
 
Join Date: Nov 2001
Posts: 9,779
run mp4dump from mpeg4ip on the output mp4 and post the log here plz
__________________
Between the weak and the strong one it is the freedom which oppresses and the law that liberates (Jean Jacques Rousseau)
I know, that I know nothing (Socrates)

MPEG-4 ASP FAQ | AVC/H.264 FAQ | AAC FAQ | MP4 FAQ | MP4Menu stores DVD Menus in MP4 (guide)
Ogg Theora | Ogg Vorbis
use WM9 today and get Micro$oft controlling the A/V market tomorrow for free
bond is offline   Reply With Quote
Old 5th February 2006, 17:29   #10  |  Link
Egladil
Registered User
 
Join Date: May 2004
Posts: 68
On a 9GB mp4 mp4dump says:

mp4dump version 1.2.8
ReadChildAtoms: of root
ReadAtom: pos = 0x0
ReadAtom: type = "ftyp" data-size = 16 (0x10) hdr 8
Read: majorBrand = avc1
Read: minorVersion = 0 (0x00000000)
Read: compatibleBrandsCount = 2 (0x00000002)
Read: brand = isom
brand[1] = avc1
ReadAtom: pos = 0x18
ReadAtom: type = "mdat" data-size = 9074710898 (0x21ce51972) hdr 16
Skip: 9074710898 bytes
ReadAtom: pos = 0x1ce5199a
ReadAtom: type = "free" data-size = 33 (0x21) hdr 8
Skip: 33 bytes
ReadAtom: pos = 0x1ce519c3
ReadAtom: type = "p,3" data-size = 1108602032 (0x4213ecb0) hdr 8
Warning: atom type p,3 is suspect
Warning: p,3 atom size 1108602032 is suspect
Read: data = <1108602032 bytes>
...
then comes 3.5 Gb of data
...
ReadAtom: pos = 0x5ef9067b
ReadAtom: type = "^" data-size = 1659965119 (0x62f10ebf) hdr 8
Warning: atom type ^ is suspect

then it bails out while printing "MP4ERROR:" on the console (stdout was redirected to a file)
Egladil is offline   Reply With Quote
Old 5th February 2006, 17:51   #11  |  Link
bond
Registered User
 
Join Date: Nov 2001
Posts: 9,779
what verbose level did you use? try without setting verbose, the file should be much smaller
__________________
Between the weak and the strong one it is the freedom which oppresses and the law that liberates (Jean Jacques Rousseau)
I know, that I know nothing (Socrates)

MPEG-4 ASP FAQ | AVC/H.264 FAQ | AAC FAQ | MP4 FAQ | MP4Menu stores DVD Menus in MP4 (guide)
Ogg Theora | Ogg Vorbis
use WM9 today and get Micro$oft controlling the A/V market tomorrow for free
bond is offline   Reply With Quote
Old 5th February 2006, 17:53   #12  |  Link
Egladil
Registered User
 
Join Date: May 2004
Posts: 68
I used verbose=3

without verbose it just works for a while, then prints "MP4ERROR:" and exits
Egladil is offline   Reply With Quote
Old 5th February 2006, 18:09   #13  |  Link
bond
Registered User
 
Join Date: Nov 2001
Posts: 9,779
does the verbose output mention "stco" or "co64" somewhere?
__________________
Between the weak and the strong one it is the freedom which oppresses and the law that liberates (Jean Jacques Rousseau)
I know, that I know nothing (Socrates)

MPEG-4 ASP FAQ | AVC/H.264 FAQ | AAC FAQ | MP4 FAQ | MP4Menu stores DVD Menus in MP4 (guide)
Ogg Theora | Ogg Vorbis
use WM9 today and get Micro$oft controlling the A/V market tomorrow for free
bond is offline   Reply With Quote
Old 5th February 2006, 18:16   #14  |  Link
Egladil
Registered User
 
Join Date: May 2004
Posts: 68
no it doesn't
Egladil is offline   Reply With Quote
Old 5th February 2006, 18:42   #15  |  Link
bond
Registered User
 
Join Date: Nov 2001
Posts: 9,779
can you upload the output of mp4dump when not using verbose somewhere?
__________________
Between the weak and the strong one it is the freedom which oppresses and the law that liberates (Jean Jacques Rousseau)
I know, that I know nothing (Socrates)

MPEG-4 ASP FAQ | AVC/H.264 FAQ | AAC FAQ | MP4 FAQ | MP4Menu stores DVD Menus in MP4 (guide)
Ogg Theora | Ogg Vorbis
use WM9 today and get Micro$oft controlling the A/V market tomorrow for free
bond is offline   Reply With Quote
Old 5th February 2006, 18:46   #16  |  Link
Egladil
Registered User
 
Join Date: May 2004
Posts: 68
it has no output other than "MP4ERROR:"
Egladil is offline   Reply With Quote
Old 6th February 2006, 02:16   #17  |  Link
KWAGGA
X.264 Worshipper
 
KWAGGA's Avatar
 
Join Date: Jan 2006
Posts: 2
I prefer mkv container, less hassle then mp4 and supports more streams, mp4 is pretty cool though especially using mp4 box to extract streams.
__________________
Nobody gets out of life alive, BUT IT SURE AS HELL WONT STOP ME FROM TRYING!
KWAGGA is offline   Reply With Quote
Old 6th February 2006, 13:48   #18  |  Link
bond
Registered User
 
Join Date: Nov 2001
Posts: 9,779
Quote:
Originally Posted by Egladil
Ok, did some tests, it seems that mp4 output is b0rked. encoding to raw stream, playback with vlc-> ok, muxing with latest mp4box and then playing->crash. encoding to mkv->works.

as stated before the players crash on the 4 GB border
try muxing the raw stream with mp4creator to mp4 and check if that file works better
__________________
Between the weak and the strong one it is the freedom which oppresses and the law that liberates (Jean Jacques Rousseau)
I know, that I know nothing (Socrates)

MPEG-4 ASP FAQ | AVC/H.264 FAQ | AAC FAQ | MP4 FAQ | MP4Menu stores DVD Menus in MP4 (guide)
Ogg Theora | Ogg Vorbis
use WM9 today and get Micro$oft controlling the A/V market tomorrow for free
bond is offline   Reply With Quote
Old 6th February 2006, 17:04   #19  |  Link
Egladil
Registered User
 
Join Date: May 2004
Posts: 68
well the version 1.2.8 of mp4creator (i didn't find binaries of later versions) produces pretty crap mp4 output, the seeking is corrupt after 2GB and the player crashes after 4 GB
Egladil is offline   Reply With Quote
Old 6th February 2006, 17:05   #20  |  Link
bond
Registered User
 
Join Date: Nov 2001
Posts: 9,779
http://www.aziendeassociate.it/./cd/...ls-1.4.4cvs.7z
__________________
Between the weak and the strong one it is the freedom which oppresses and the law that liberates (Jean Jacques Rousseau)
I know, that I know nothing (Socrates)

MPEG-4 ASP FAQ | AVC/H.264 FAQ | AAC FAQ | MP4 FAQ | MP4Menu stores DVD Menus in MP4 (guide)
Ogg Theora | Ogg Vorbis
use WM9 today and get Micro$oft controlling the A/V market tomorrow for free
bond is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:17.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.