MOverride
26th March 2007, 03:46
I'm having difficulty with my x264/MeGUI encodes for an iPod 5.5G from a DVD I ripped. I'm using the profile that comes with MeGUI, resulting in the following command line:
--pass 2 --bitrate 1000 --stats ".stats" --level 3 --nf --no-cabac --subme 6 --analyse none --vbv-maxrate 1500 --me umh --merange 12 --threads auto --thread-input --progress --no-psnr --no-ssim --output "D:\directory\videofile.mp4" "D:\directory\videofile.avs"
However, the resulting encode didn't work. It played in iTunes, but refused to transfer to the iPod. The following is the MP4Info dump:
mp4dump version 1.5.0.1
Dumping D:\directory\videofile.mp4 meta-information...
type ftyp
majorBrand = avc1
minorVersion = 0 (0x00000000)
<table entries suppressed>
type mdat
type free
type moov
type mvhd
version = 0 (0x00)
flags = 0 (0x000000)
creationTime = 3257622264 (0xc22b5ef8)
modificationTime = 3257622264 (0xc22b5ef8)
timeScale = 600 (0x00000258)
duration = 273298 (0x00042b92)
rate = 1.000000
volume = 1.000000
reserved1 = <70 bytes>
00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00
00 00 00 00 00 00 00 00 00 00 40 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00
nextTrackId = 2 (0x00000002)
type iods
version = 0 (0x00)
flags = 0 (0x000000)
objectDescriptorId = 1 (0x001) <10 bits>
URLFlag = 0 (0x0) <1 bits>
includeInlineProfileLevelFlag = 0 (0x0) <1 bits>
reserved = 15 (0xf) <4 bits>
ODProfileLevelId = 255 (0xff)
sceneProfileLevelId = 255 (0xff)
audioProfileLevelId = 255 (0xff)
visualProfileLevelId = 21 (0x15)
graphicsProfileLevelId = 255 (0xff)
esIds
ociDescr
ipmpDescrPtr
extDescr
type trak
type tkhd
version = 0 (0x00)
flags = 1 (0x000001)
creationTime = 3257622264 (0xc22b5ef8)
modificationTime = 3257622992 (0xc22b61d0)
trackId = 1 (0x00000001)
reserved1 = <4 bytes> 00 00 00 00
duration = 273298 (0x00042b92)
reserved2 = <12 bytes> 00 00 00 00 00 00 00 00 00 00 00 00
volume = 0.000000
reserved3 = <38 bytes>
00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00
00 00 40 00 00 00
width = 640.000000
height = 352.000000
type mdia
type mdhd
version = 0 (0x00)
flags = 0 (0x000000)
creationTime = 3257622264 (0xc22b5ef8)
modificationTime = 3257622992 (0xc22b61d0)
timeScale = 24000 (0x00005dc0)
duration = 10931921 (0x00a6ced1)
language = 21956 (0x55c4)
reserved = <2 bytes> 00 00
type hdlr
version = 0 (0x00)
flags = 0 (0x000000)
reserved1 = <4 bytes> 00 00 00 00
handlerType = vide
reserved2 = <12 bytes> 00 00 00 00 00 00 00 00 00 00 00 00
name = GPAC ISO Video Handler
type minf
type vmhd
version = 0 (0x00)
flags = 1 (0x000001)
reserved = <8 bytes> 00 00 00 00 00 00 00 00
type dinf
type dref
version = 0 (0x00)
flags = 0 (0x000000)
entryCount = 1 (0x00000001)
type url
version = 0 (0x00)
flags = 1 (0x000001)
location = (null)
type stbl
type stsd
version = 0 (0x00)
flags = 0 (0x000000)
entryCount = 1 (0x00000001)
type avc1
reserved1 = <6 bytes> 00 00 00 00 00 00
dataReferenceIndex = 1 (0x0001)
reserved2 = <16 bytes> 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
width = 640 (0x0280)
height = 352 (0x0160)
reserved3 = <14 bytes> 00 48 00 00 00 48 00 00 00 00 00 00 00 01
compressorName =
reserved4 = <4 bytes> 00 18 ff ff
type avcC
configurationVersion = 1 (0x01)
AVCProfileIndication = 66 (0x42)
profile_compatibility = 192 (0xc0)
AVCLevelIndication = 30 (0x1e)
reserved = 63 (0x3f) <6 bits>
lengthSizeMinusOne = 3 (0x3) <2 bits>
reserved1 = 7 (0x7) <3 bits>
numOfSequenceParameterSets = 1 (0x01) <5 bits>
<table entries suppressed>
numOfPictureParameterSets = 1 (0x01)
<table entries suppressed>
type btrt
bufferSizeDB = 39087 (0x000098af)
avgBitrate = 3539888 (0x003603b0)
maxBitrate = 999312 (0x000f3f90)
type stts
version = 0 (0x00)
flags = 0 (0x000000)
entryCount = 1 (0x00000001)
<table entries suppressed>
type stss
version = 0 (0x00)
flags = 0 (0x000000)
entryCount = 83 (0x00000053)
<table entries suppressed>
type stsc
version = 0 (0x00)
flags = 0 (0x000000)
entryCount = 2 (0x00000002)
<table entries suppressed>
type stsz
version = 0 (0x00)
flags = 0 (0x000000)
sampleSize = 0 (0x00000000)
sampleCount = 10921 (0x00002aa9)
<table entries suppressed>
type stco
version = 0 (0x00)
flags = 0 (0x000000)
entryCount = 1093 (0x00000445)
<table entries suppressed>
This is my first time playing around with x264 encodes, so I'm afraid that I'm not overly familiar with what I should be looking for. But after using iTunes' built-in "Conver to iPod" selection, I ran MP4Info on the new file, and did a diff of their information. Most of it seemed fairly harmless, except for two sections:
***** struM4.txt
mp4dump version 1.5.0.1
Dumping D:\directory\videofile.mp4 meta-information...
type ftyp
majorBrand = avc1
minorVersion = 0 (0x00000000)
<table entries suppressed>
type mdat
type free
type moov
***** STRUIT.TXT
mp4dump version 1.5.0.1
Dumping C:\directory2\videofile.m4v meta-information...
type ftyp
majorBrand = M4V
minorVersion = 1 (0x00000001)
<table entries suppressed>
type moov
*****
***** struM4.txt
AVCProfileIndication = 66 (0x42)
profile_compatibility = 192 (0xc0)
AVCLevelIndication = 30 (0x1e)
***** STRUIT.TXT
AVCProfileIndication = 66 (0x42)
profile_compatibility = 224 (0xe0)
AVCLevelIndication = 30 (0x1e)
*****
I already tried to see if it was the extension difference--no joy. So I think that it's either the "majorBrand", or the "profile_compatibility" that's the problem.
I've tried looking up information on these, to no avail. Other threads here talking about iPod-compatible video have had a profile_compatibility of 0, though those seemed to be the old level 1.3 videos, not newer 3.0 ones.
If anybody could help, either by giving me more information on the profile_compatibility atom or pointing out what's incompatable in my command line, it'd be appreciated. :)
--pass 2 --bitrate 1000 --stats ".stats" --level 3 --nf --no-cabac --subme 6 --analyse none --vbv-maxrate 1500 --me umh --merange 12 --threads auto --thread-input --progress --no-psnr --no-ssim --output "D:\directory\videofile.mp4" "D:\directory\videofile.avs"
However, the resulting encode didn't work. It played in iTunes, but refused to transfer to the iPod. The following is the MP4Info dump:
mp4dump version 1.5.0.1
Dumping D:\directory\videofile.mp4 meta-information...
type ftyp
majorBrand = avc1
minorVersion = 0 (0x00000000)
<table entries suppressed>
type mdat
type free
type moov
type mvhd
version = 0 (0x00)
flags = 0 (0x000000)
creationTime = 3257622264 (0xc22b5ef8)
modificationTime = 3257622264 (0xc22b5ef8)
timeScale = 600 (0x00000258)
duration = 273298 (0x00042b92)
rate = 1.000000
volume = 1.000000
reserved1 = <70 bytes>
00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00
00 00 00 00 00 00 00 00 00 00 40 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00
nextTrackId = 2 (0x00000002)
type iods
version = 0 (0x00)
flags = 0 (0x000000)
objectDescriptorId = 1 (0x001) <10 bits>
URLFlag = 0 (0x0) <1 bits>
includeInlineProfileLevelFlag = 0 (0x0) <1 bits>
reserved = 15 (0xf) <4 bits>
ODProfileLevelId = 255 (0xff)
sceneProfileLevelId = 255 (0xff)
audioProfileLevelId = 255 (0xff)
visualProfileLevelId = 21 (0x15)
graphicsProfileLevelId = 255 (0xff)
esIds
ociDescr
ipmpDescrPtr
extDescr
type trak
type tkhd
version = 0 (0x00)
flags = 1 (0x000001)
creationTime = 3257622264 (0xc22b5ef8)
modificationTime = 3257622992 (0xc22b61d0)
trackId = 1 (0x00000001)
reserved1 = <4 bytes> 00 00 00 00
duration = 273298 (0x00042b92)
reserved2 = <12 bytes> 00 00 00 00 00 00 00 00 00 00 00 00
volume = 0.000000
reserved3 = <38 bytes>
00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00
00 00 40 00 00 00
width = 640.000000
height = 352.000000
type mdia
type mdhd
version = 0 (0x00)
flags = 0 (0x000000)
creationTime = 3257622264 (0xc22b5ef8)
modificationTime = 3257622992 (0xc22b61d0)
timeScale = 24000 (0x00005dc0)
duration = 10931921 (0x00a6ced1)
language = 21956 (0x55c4)
reserved = <2 bytes> 00 00
type hdlr
version = 0 (0x00)
flags = 0 (0x000000)
reserved1 = <4 bytes> 00 00 00 00
handlerType = vide
reserved2 = <12 bytes> 00 00 00 00 00 00 00 00 00 00 00 00
name = GPAC ISO Video Handler
type minf
type vmhd
version = 0 (0x00)
flags = 1 (0x000001)
reserved = <8 bytes> 00 00 00 00 00 00 00 00
type dinf
type dref
version = 0 (0x00)
flags = 0 (0x000000)
entryCount = 1 (0x00000001)
type url
version = 0 (0x00)
flags = 1 (0x000001)
location = (null)
type stbl
type stsd
version = 0 (0x00)
flags = 0 (0x000000)
entryCount = 1 (0x00000001)
type avc1
reserved1 = <6 bytes> 00 00 00 00 00 00
dataReferenceIndex = 1 (0x0001)
reserved2 = <16 bytes> 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
width = 640 (0x0280)
height = 352 (0x0160)
reserved3 = <14 bytes> 00 48 00 00 00 48 00 00 00 00 00 00 00 01
compressorName =
reserved4 = <4 bytes> 00 18 ff ff
type avcC
configurationVersion = 1 (0x01)
AVCProfileIndication = 66 (0x42)
profile_compatibility = 192 (0xc0)
AVCLevelIndication = 30 (0x1e)
reserved = 63 (0x3f) <6 bits>
lengthSizeMinusOne = 3 (0x3) <2 bits>
reserved1 = 7 (0x7) <3 bits>
numOfSequenceParameterSets = 1 (0x01) <5 bits>
<table entries suppressed>
numOfPictureParameterSets = 1 (0x01)
<table entries suppressed>
type btrt
bufferSizeDB = 39087 (0x000098af)
avgBitrate = 3539888 (0x003603b0)
maxBitrate = 999312 (0x000f3f90)
type stts
version = 0 (0x00)
flags = 0 (0x000000)
entryCount = 1 (0x00000001)
<table entries suppressed>
type stss
version = 0 (0x00)
flags = 0 (0x000000)
entryCount = 83 (0x00000053)
<table entries suppressed>
type stsc
version = 0 (0x00)
flags = 0 (0x000000)
entryCount = 2 (0x00000002)
<table entries suppressed>
type stsz
version = 0 (0x00)
flags = 0 (0x000000)
sampleSize = 0 (0x00000000)
sampleCount = 10921 (0x00002aa9)
<table entries suppressed>
type stco
version = 0 (0x00)
flags = 0 (0x000000)
entryCount = 1093 (0x00000445)
<table entries suppressed>
This is my first time playing around with x264 encodes, so I'm afraid that I'm not overly familiar with what I should be looking for. But after using iTunes' built-in "Conver to iPod" selection, I ran MP4Info on the new file, and did a diff of their information. Most of it seemed fairly harmless, except for two sections:
***** struM4.txt
mp4dump version 1.5.0.1
Dumping D:\directory\videofile.mp4 meta-information...
type ftyp
majorBrand = avc1
minorVersion = 0 (0x00000000)
<table entries suppressed>
type mdat
type free
type moov
***** STRUIT.TXT
mp4dump version 1.5.0.1
Dumping C:\directory2\videofile.m4v meta-information...
type ftyp
majorBrand = M4V
minorVersion = 1 (0x00000001)
<table entries suppressed>
type moov
*****
***** struM4.txt
AVCProfileIndication = 66 (0x42)
profile_compatibility = 192 (0xc0)
AVCLevelIndication = 30 (0x1e)
***** STRUIT.TXT
AVCProfileIndication = 66 (0x42)
profile_compatibility = 224 (0xe0)
AVCLevelIndication = 30 (0x1e)
*****
I already tried to see if it was the extension difference--no joy. So I think that it's either the "majorBrand", or the "profile_compatibility" that's the problem.
I've tried looking up information on these, to no avail. Other threads here talking about iPod-compatible video have had a profile_compatibility of 0, though those seemed to be the old level 1.3 videos, not newer 3.0 ones.
If anybody could help, either by giving me more information on the profile_compatibility atom or pointing out what's incompatable in my command line, it'd be appreciated. :)