Log in

View Full Version : mp4creator avc muxing


Doom9
24th February 2005, 20:14
Am I missing something? Unless my raw AVC files have the extension .264, mp4creator will cause a buffer overflow and ask me if my video stream is valid.

When it comes to raw XviD, any supported extension is okay, as long as it's not .264 (well.. m4v, mp4v, divx and xvid.. 263 is not okay either and I suppose all other non mpeg4 asp extensions won't be). So is mp4creator effectively using the file extension to determine the input type?

JoeBG
25th February 2005, 07:00
But mp4creator adds *.h264 without problems like in mp4muxer. Canīt you change the extension?

Doom9
25th February 2005, 08:48
sure I can.. but it's not quite elegant, is it?

bond
25th February 2005, 12:35
mp4creator works fine here with .264 and .m4v extension

i never had a problem like "mp4creator will cause a buffer overflow and ask me if my video stream is valid", does this also happen with short streams?

actually i tried mencoders raw x264 output when testing your gui some versions ago with mp4creator and it always worked fine

are you sure you use the latest version (1.2.7)?

Doom9
25th February 2005, 12:54
I'm using 1.2.7. I've tested .divx/.xvid/.mp4v/.m4v/.264 extension and the only one that worked was .264. I simply renamed the file. I ended up renaming the mencoder output in my GUI to .m4v (lavc and xvid) or .264 (x264) and then run mp4creator on it.. that never causes any problems.

The clips I use for testing are all 1001 frames.

bond
25th February 2005, 13:05
Originally posted by Doom9
[B]I'm using 1.2.7. I've tested .divx/.xvid/.mp4v/.m4v/.264 extension and the only one that worked was .264. I simply renamed the file. I ended up renaming the mencoder output in my GUI to .m4v (lavc and xvid) or .264 (x264) and then run mp4creator on it.. that never causes any problemsah ic, so you first tried passing avc streams with the .m4v (aso) extensions to mp4creator?
yep, i assume this will not work as mp4creator will think its mpeg-4 part2 video.

also i think the official extension for raw avc is .264 (at least when you look at the reference), never saw that anyone used .m4v or so for it

edit: the easiest way to set the extension (+output filename) is probably in mencoder itself via "-o output.264"

defunkt
25th February 2005, 22:40
This also threw me for quite a while, until I checked the mp4creator source...

} else if ((strcasecmp(extension, ".h264") == 0) || (strcasecmp(extension, ".264") == 0)) {
trackIds[0] = H264Creator(mp4File, inFile);

...".h264" is also accepted.

Doom9
25th February 2005, 23:46
the easiest way to set the extension (+output filename) is probably in mencoder itself via "-o output.264"The problem with that in an automated setting is that you don't get to chose the final filename, and the save as dialogue will have to be codec dependent, which means more uninteresting lines of code. Have a look at the MeGUI sources.. so many lines of code that are trivial, and so little that actually does something interesting.