Log in

View Full Version : Problem with Quicktime compatibility for MeGUI


StrategyFreak
8th March 2006, 00:54
When i encode with anything different than (an interger) fps in MeGUI, the result is unreadable in quicktime, which gives an an error saying that there was a "bad public movie atom." This error with quicktime basically makes it impossible to put things on my ipod. However, the movie plays perfectly on Nero ShowTime player.

Whats with this? Do I have to have every fps forced to be an integer to have it encoded correctly?

Here's the log from a 25 fps encode: (note how the scale is 25)

avis [info]: 320x240 @ 25.00 fps (32982 frames)
x264 [info]: using cpu capabilities MMX MMXEXT SSE 3DNow!
mp4 [info]: initial delay 0 (scale 25)
Index Type(1) chunks(19769)
Index Type(2) chunks(19763)
Index Type(1) chunks(19769)
Index Type(2) chunks(19763)
x264 [info]: slice I:200 Avg QP:22.08 size: 10240
x264 [info]: slice P:32782 Avg QP:22.10 size: 1568
x264 [info]: mb I I16..4: 26.6% 0.0% 73.4%
x264 [info]: mb P I16..4: 2.5% 0.0% 0.0% P16..4: 40.8% 6.2% 1.9% 0.0% 0.0% skip:48.6%
x264 [info]: final ratefactor: 16.52
x264 [info]: kb/s:324.0

Actual bitrate after encoding without container overhead: 324.09
desired video bitrate of this job: 500 kbit/s - obtained video bitrate: 324.935261657874 kbit/s

Heres the log from a 14.985 fps encode (note how the scale is huge):

avis [info]: 320x224 @ 14.99 fps (19770 frames)
x264 [info]: using cpu capabilities MMX MMXEXT SSE 3DNow!
mp4 [info]: initial delay 0 (scale 5000000)
Index Type(1) chunks(19769)
Index Type(2) chunks(19763)
Index Type(1) chunks(19769)
Index Type(2) chunks(19763)
x264 [info]: slice I:144 Avg QP:22.06 size: 9601
x264 [info]: slice P:19626 Avg QP:22.08 size: 2320
x264 [info]: mb I I16..4: 26.1% 0.0% 73.9%
x264 [info]: mb P I16..4: 3.7% 0.0% 0.0% P16..4: 58.3% 9.7% 3.4% 0.0% 0.0% skip:24.9%
x264 [info]: final ratefactor: 14.05
x264 [info]: kb/s:284.5

Actual bitrate after encoding without container overhead: 284.52
desired video bitrate of this job: 500 kbit/s - obtained video bitrate: 285.025857553615 kbit/s


I was able to set the fps using AssumeFPS(2997,100) in AviSynth for a 29.97 fps movie. THe log says the scale was at 2997. However, while i can import these movies to itunes, it doesn't allow me to put on the ipod.

I read another post that had the same problem, and one answer was to use AssumeFPS, but as shown above that doesn't work with the ipod. Am I using AssumeFPS incorrectly? Does it have to be specially configured for each movie? How can I correctly set the scale?

Sharktooth
8th March 2006, 12:38
Not a MeGUI problem.
x264 uses 64bit timestamps and CrapTime doesnt support them.
:search: for a workaround.

StrategyFreak
9th March 2006, 03:21
Ok, thanks. I fixed it, so for 29.97 i would use AssumeFPS(30000,1001), 23.976 AssumeFPS(24000,1001), and so on. Anyways, thanks for the suggestion, but I had already searched the forum and suprisingly nobody except one mentioned this problem.

Yeah... I noticed how GayTime is the only player on which it doesnt work.

Sharktooth
9th March 2006, 13:39
yeah... however you can even add NiceFPS() at the end of the avisynth script to fix it.
You have to add that filter to your plugins directory though.

bond
27th March 2006, 12:36
the latest avisynth update fixes avisynths behaviour leading to the useage of the 64bit mdhd atom (not being handled by quicktime)

so nicefps shouldnt be needed anymore...

fatboyfin
16th April 2006, 15:01
the latest avisynth update fixes avisynths behaviour leading to the useage of the 64bit mdhd atom (not being handled by quicktime)

so nicefps shouldnt be needed anymore...

Which version did this update come into play?

I don't want to use the latest alpha version as it is a Diagnostic release.

foxyshadis
16th April 2006, 18:55
You should, "diagnostic" just means it outputs extra logging information while installing, because some people were having trouble installing it. Also, though they're alphas they have very few breaking changes (and a workaround if you have to use an incompatible filter, there aren't many) since they're mostly bugfixes.

Carpo
17th April 2006, 14:54
Ok, thanks. I fixed it, so for 29.97 i would use AssumeFPS(30000,1001), 23.976 AssumeFPS(24000,1001), and so on. Anyways, thanks for the suggestion, but I had already searched the forum and suprisingly nobody except one mentioned this problem.

Yeah... I noticed how GayTime is the only player on which it doesnt work.

stupid Q i know but am a x264/megui -> ipod n00b, for pal 25fps - how would i write the assume line - im guessing 26000,1001 ?

Sirber
17th April 2006, 14:56
the latest avisynth update fixes avisynths behaviour leading to the useage of the 64bit mdhd atom (not being handled by quicktime)

so nicefps shouldnt be needed anymore...Best keep it... in case of...

foxyshadis
17th April 2006, 16:15
PAL: assumefps(25), no need for fractions there. ;)

Carpo
17th April 2006, 16:56
thanks :)

is it poss to convert avi to ipod mp4 format ? if so how would i do that - i have a few rough idears

bond
18th April 2006, 18:05
thanks :)

is it poss to convert avi to ipod mp4 format ? if so how would i do that - i have a few rough idearssearch for "avi2mp4"

Carpo
18th April 2006, 21:46
nice one :p