View Full Version : x264 raw output or mp4box raw input bug
madoka
29th June 2005, 20:05
There appears to be a bug either with x264's raw output option, or with mp4box's raw input option. I encoded a 640x480 @ 29.97 fps input using the following options:
x264 -p 1 -B 1360 -b 3 -r 5 -A p8x8,b8x8,i4x4 -w --me umh -m 6 --progress -o NUL src.avs
x264 -p 3 -B 1360 -b 3 -r 5 -A p8x8,b8x8,i4x4 -w --me umh -m 6 --progress -o NUL src.avs
x264 -p 2 -B 1360 -b 3 -r 5 -A p8x8,b8x8,i4x4 -w --me umh -m 6 --progress -o out.264 src.avsI then proceed to mux the raw file using mp4box thusly:
mp4box -add out.264#video -fps 29.97 out.mp4However, mp4box reports that the input raw file has dimensions 16x16, and when I tried playing the file, it'll either crash or produce garbage (in 16x16).
What am I missing? :confused:
Doom9
29th June 2005, 20:12
since raw doesn't have streams, have you tried leaving out the #video? I'm never using it when muxing raw streams (but then again I'm not sure I've ever muxed raw AVC from x264.exe.. but I've done tons of raw AVC or ASP from mencoder).
bond
29th June 2005, 21:00
#video is definitely not needed on raw streams and maybe even is the reason for the problem
i tried your cmdl myself with latest x264 and latest mp4box without any problem
i assume you use an old version of mp4box, make sure you get the latest from celtic_druid :search:
Tox|k
28th July 2005, 14:50
I'm having some problems too, not sure where to post so i figured post here.
Anyway, i was trying MeGUI and when i went to mux some MP4, it just stopped and was listed in the queue as "error" (or something similar).
So i tried doing it manually in mp4box as:
mp4box -add run.264 -fps 60 out.mp4
but it returned an error:
Option -fps unknown. Please check usage
So i threw away the -fps switch and tried:
mp4box -add run.264 out.mp4
but now it's saying:
Error importing run.264: MP4 File is truncated
I'm kind of at a loss here, i don't have all that much experience with the new MP4/H264 stuff so any help would be appriciated.
Doom9
28th July 2005, 14:59
what mp4box version are you using?
the 2nd error could make sense.. you're not using the -new flag for the output, so your second attempt tries to add something to a corrupt mp4 file created during the first run.
Tox|k
28th July 2005, 16:00
MP4Box - GPAC version 0.2.4 DEV
downloaded from rarewares
it says there's no -new switch either, and no file was generated ever, so there couldn't have been a corrupt file in the first place.
EDIT:
Got it now, searched for a more recent version and played around a little. seems to be working fine.
thanx anyway
Doom9
28th July 2005, 16:03
MP4Box - GPAC version 0.2.4 DEV
And if you look at the list of required tools for MeGUI, what do you find?
For MP4 muxing
latest version of mp4box (6/16 or newer)the 6/16 version has a version number of 0.3.0...
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.