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. |
17th November 2005, 11:24 | #41 | Link |
Mr. Sandman
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
|
check the stats file.
__________________
MPEG-4 ASP Custom Matrices: EQM V1(old), EQM AutoGK Sharpmatrix (aka EQM V2), EQM V3HR (updated 01/10/2004), EQM V3LR, EQM V3ULR (updated 04/02/2005), EQM V3UHR (updated 17/12/2004) and EQM V3EHR (updated 05/10/2004) Info about my ASP matrices. MPEG-4 AVC Custom Matrices: EQM AVC-HR Info about my AVC matrices My x264 builds. Mooo!!! |
18th November 2005, 14:01 | #42 | Link |
Registered User
Join Date: May 2005
Location: Belgium
Posts: 22
|
x264 video for the Ipod
Hi,
I used this guide with succes to encode for Quicktime 7. Because I'm started from PAL video I used -fps 25 for the MP4box.exe command. The result is looking awesome in the quicktime and mpc players. Thanks for this great guide. However, my 60GB video Ipod is refusing to play it. Videos encoded using Quictime 7 Pro do work fine. Has anybody an idea how to change/adapt this guide for video on the iPod ? On the Apple pages, following information is stated: H.264 video: up to 768 Kbps, 320 x 240, 30 frames per sec., Baseline Profile up to Level 1.3 with AAC-LC up to 160 Kbps, 48 Khz, stereo audio in .m4v, .mp4 and .mov file formats The audio I've muxed in was compressed with Nero 7 (not the BeSweet procedure). and is MPEG-4 Main@L2 (AAC LC) at 96Kbps. This is the info of the x264 generated video using MP4Box 0.4.0: [prompt$ D:/bin/MP4Box.exe -info video.mp4 * Movie Info * Timescale 600 - Duration 00:02:44.880 Fragmented File no - 1 track(s) File Brand avc1 - version 0 File has root IOD Scene PL 0xff - Graphics PL 0xff - OD PL 0xff Visual PL: AVC/H264 Profile (0x15) Audio PL: No audio capability required (0xff) No streams included in root OD Track # 1 Info - TrackID 1 - TimeScale 25 - Duration 00:02:44.880 Media Info: Language "und" - Type "vide" - Sub Type "avc1" - 4122 samples MPEG-4 Config: Visual Stream - ObjectTypeIndication 0x21 AVC/H264 Video - Visual Size 320 x 240 Self-synchronized After muxing using: mp4box.exe -fps 25 -add "video.mp4" -add "audio.mp4" result.mp4 I get: [prompt]$ D:/bin/MP4Box.exe -info result.mp4 * Movie Info * Timescale 600 - Duration 00:02:44.895 Fragmented File no - 4 track(s) File Brand isom - version 1 File has root IOD Scene PL 0xff - Graphics PL 0xff - OD PL 0xff Visual PL: Advanced Simple Profile @ Level 3 (0xf3) Audio PL: AAC Profile @ Level 2 (0x29) Track # 1 Info - TrackID 2 - TimeScale 32000 - Duration 00:02:44.896 Media Info: Language "und" - Type "soun" - Sub Type "mp4a" - 5153 samples MPEG-4 Config: Audio Stream - ObjectTypeIndication 0x40 MPEG-4 Audio AAC LC - 2 Channel(s) - SampleRate 32000 Synchronized on stream 4 Track # 2 Info - TrackID 3 - TimeScale 24000 - Duration 00:02:44.880 Media Info: Language "und" - Type "soun" - Sub Type "mp4a" - 6870 samples MPEG-4 Config: Audio Stream - ObjectTypeIndication 0x69 MPEG-2.5 Audio - 2 Channel(s) - SampleRate 0 - Layer 2 Synchronized on stream 4 Track # 3 Info - TrackID 4 - TimeScale 1000 - Duration 00:02:44.895 Track is present in Root OD Media Info: Language "und" - Type "odsm" - Sub Type "mp4s" - 1 samples MPEG-4 Config: ObjectDescriptor Stream - ObjectTypeIndication 0x01 Self-synchronized Track # 4 Info - TrackID 5 - TimeScale 1000 - Duration 00:02:44.895 Track is present in Root OD Media Info: Language "und" - Type "sdsm" - Sub Type "mp4s" - 1 samples MPEG-4 Config: SceneDescription Stream - ObjectTypeIndication 0x02 Synchronized on stream 4 Is Advanced Simple Profile @ Level 3 (0xf3) as reported by MP4box covered by the "Baseline Profile up to Level 1.3" spec from Apple ?? A movide generated by Quicktime 7 Pro export to ipod reports this: [prompt]$ D:/bin/MP4Box.exe -info withQT7ExportToIpod.m4v * Movie Info * Timescale 600 - Duration 00:05:02.246 Fragmented File no - 2 track(s) File Brand M4V - version 1 File has no MPEG4 IOD/OD Track # 1 Info - TrackID 1 - TimeScale 44100 - Duration 00:05:02.254 Media Info: Language "eng" - Type "soun" - Sub Type "mp4a" - 13017 samples MPEG-4 Config: Audio Stream - ObjectTypeIndication 0x40 MPEG-4 Audio AAC LC - 2 Channel(s) - SampleRate 44100 Self-synchronized Track # 2 Info - TrackID 2 - TimeScale 600 - Duration 00:05:02.246 Media Info: Language "eng" - Type "vide" - Sub Type "avc1" - 7093 samples MPEG-4 Config: Visual Stream - ObjectTypeIndication 0x21 AVC/H264 Video - Visual Size 320 x 200 Synchronized on stream 1 Help me getting video on the Ipod! Thx |
18th November 2005, 14:08 | #43 | Link |
Mr. Sandman
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
|
iPod and quicktime are different. donwload x264-psp from x264.nl and follow the instructions.
__________________
MPEG-4 ASP Custom Matrices: EQM V1(old), EQM AutoGK Sharpmatrix (aka EQM V2), EQM V3HR (updated 01/10/2004), EQM V3LR, EQM V3ULR (updated 04/02/2005), EQM V3UHR (updated 17/12/2004) and EQM V3EHR (updated 05/10/2004) Info about my ASP matrices. MPEG-4 AVC Custom Matrices: EQM AVC-HR Info about my AVC matrices My x264 builds. Mooo!!! |
20th November 2005, 23:51 | #44 | Link |
Registered User
Join Date: Sep 2005
Location: Norwood, MA
Posts: 175
|
hi cast42. Definately go with Sharktooth's recomendation, the x264-psp profile is excatly what you need for iPod compatible encoding. This guide was for QT compatibility, and iPod is a little different. For starters, the video size must be no bigger then 320 x 240 30 frames per sec. etc. And I believe that only the baseline profile will work with it. Also, my audio encoding profile won't work on iPod either. You'll need to use AAC LC encoding instead of the AAC HE. Finally, you must keep the bitrate down to 768 Kbps or lower. if you're doing ABR or VBR it's a good idea to keep it around 700 Kbps, because if I understand correctly, for iPod encoding you cannot be above 768 Kbps at any given moment.
|
22nd November 2005, 11:13 | #47 | Link |
Registered User
Join Date: May 2005
Location: Belgium
Posts: 22
|
Movies with 25fps play on iPod
Hi,
Randall is right. 30fps is the maximum. Video generated from 25fps PAL play on Ipod: Here an example of mp4info dump: Track Type Info 1 audio MPEG-4 AAC LC, 47.693 secs, 128 kbps, 44100 Hz 2 video H264 Baseline@1.3, 48.360 secs, 579 kbps, 320x240 @ 25.000000 fp s To be more precise here an excerpt from an QT Pro generated .m4v with mp4dump: The majorbrand is M4V De video is: 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 = 320 (0x0140) height = 240 (0x00f0) 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 = 224 (0xe0) AVCLevelIndication = 13 (0x0d) 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> |
23rd November 2005, 09:51 | #48 | Link |
Registered User
Join Date: Oct 2005
Posts: 4
|
From YUV to h264 mp4 in QT
No success here. Still the same results, Quicktime plays the file but does not show picture. There is no sound track.
If some one wants to check this out, the stats files, the source and result are here: http://gandalf.lasipalatsi.net/testit/kimmotesti/ the command I am using is: Code:
x264 --pass 1 --bitrate 839 --bframes 2 --subme 6 --analyse p8x8,b8x8,i4x4,p4x4 --me esa --progress --stats 1711.stats --no-psnr --output test-1711.mp4 klo5-6-f25-Ip.yuv 720x480 Code:
x264 [info]: using cpu capabilities MMX MMXEXT SSE SSE2 mp4 [info]: initial delay 1 (scale 25) x264 [info]: slice I:86 Avg QP:50.47 size: 12103 x264 [info]: slice P:234 Avg QP:50.74 size: 7480 x264 [info]: mb I I16..4: 85.8% 0.0% 14.2% x264 [info]: mb P I16..4: 78.5% 0.0% 4.4% P16..4: 15.1% 0.7% 0.2% 0.0% 0.0% skip: 1.0% x264 [info]: kb/s:1744.6 encoded 320 frames, 1.06 fps, 1744.97 kb/s |
23rd November 2005, 11:03 | #49 | Link |
brontosaurusrex
Join Date: Oct 2001
Posts: 2,392
|
leban,
1. deleted, nm. 2. yes, you have to remux the file using mp4box. here is my lil guide if it is of some use: http://somestuff.org/x264_qt/h264_in_quicktime7.html (including the very sexy win bat file) Last edited by smok3; 23rd November 2005 at 19:46. |
23rd November 2005, 17:51 | #50 | Link | |
x264 developer
Join Date: Sep 2004
Posts: 2,392
|
Quote:
Cause: your source is 640x480, not 720x480. And it's yuv4mpeg, not raw yuv. Code:
mencoder -ovc copy -of rawvideo klo5-6-f25-Ip.y4m -o klo5-6-f25-Ip.yuv Last edited by akupenguin; 23rd November 2005 at 17:55. |
|
24th November 2005, 16:12 | #51 | Link | |
Registered User
Join Date: Oct 2005
Posts: 4
|
Quote:
It is made with: jpeg2yuv -b 0 -f 25 -I p -j webcam_%07d.jpg But that could be the cause for the persistent problem. |
|
29th November 2005, 16:57 | #52 | Link |
Registered User
Join Date: Sep 2005
Location: Norwood, MA
Posts: 175
|
Another thing, if you find that when you mux your audio and video with MP4Box QuickTime doesn't display the picture at all (no white box either) then try muxing again. I rarely run into this problem, but when I do, a second attempt at muxing solves it. Appears to be a completely random occurance.
|
1st December 2005, 09:57 | #53 | Link |
Registered User
Join Date: Jan 2004
Posts: 11
|
OK, I'm having some terrible luck with Quicktime and x264 all of a sudden. x264 380, QT7 pro, latest versions of megui and profiles, as well as mp4box.
Here's the log from megui Code:
Next job job1-1 is a video job. encoder commandline: "C:\Program Files\x264\x264.exe" --pass 1 --bitrate 1208 --stats "H:\INC0NNS1\boundin.stats" --bframes 2 --subme 1 --b-rdo --analyse none --me dia --progress --no-psnr --output NUL "H:\INC0NNS1\boundin.avs" successfully set up video encoder and callbacks for job job1-1 ---------------------------------------------------------------------------------------------------------- Log for job job1-1 avis [info]: 704x368 @ 23.98 fps (6764 frames) x264 [info]: using cpu capabilities MMX MMXEXT SSE SSE2 x264 [info]: slice I:58 Avg QP:20.78 size: 33740 x264 [info]: slice P:3360 Avg QP:22.07 size: 9008 x264 [info]: slice B:3346 Avg QP:24.30 size: 2842 x264 [info]: mb I I16..4: 37.8% 0.0% 62.2% x264 [info]: mb P I16..4: 13.2% 0.0% 0.0% P16..4: 44.0% 0.0% 0.0% 0.0% 0.0% skip:42.8% x264 [info]: mb B I16..4: 1.5% 0.0% 0.0% B16..8: 16.9% 0.0% 0.0% direct:10.1% skip:71.5% x264 [info]: final ratefactor: 22.85 x264 [info]: kb/s:1183.4 Actual bitrate after encoding without container overhead: 1183.46 ---------------------------------------------------------------------------------------------------------- job job1-1 has been processed. This job is linked to the next job: job1-2 Next job job1-2 is a video job. encoder commandline: "C:\Program Files\x264\x264.exe" --pass 2 --bitrate 1208 --stats "H:\INC0NNS1\boundin.stats" --bframes 2 --subme 6 --b-rdo --analyse p8x8,b8x8,i4x4,p4x4 --progress --no-psnr --output "H:\INC0NNS1\boundin.264" "H:\INC0NNS1\boundin.avs" successfully set up video encoder and callbacks for job job1-2 ---------------------------------------------------------------------------------------------------------- Log for job job1-2 avis [info]: 704x368 @ 23.98 fps (6764 frames) x264 [info]: using cpu capabilities MMX MMXEXT SSE SSE2 x264 [info]: slice I:58 Avg QP:19.81 size: 34766 x264 [info]: slice P:3360 Avg QP:21.12 size: 8968 x264 [info]: slice B:3346 Avg QP:23.11 size: 3099 x264 [info]: mb I I16..4: 41.4% 0.0% 58.6% x264 [info]: mb P I16..4: 6.5% 0.0% 7.9% P16..4: 23.5% 9.5% 6.4% 1.0% 0.6% skip:44.6% x264 [info]: mb B I16..4: 0.8% 0.0% 1.9% B16..8: 29.0% 2.4% 4.1% direct: 1.4% skip:60.3% x264 [info]: kb/s:1205.7 Actual bitrate after encoding without container overhead: 1205.79 desired video bitrate of this job: 1208 kbit/s - obtained video bitrate: 1205.79234305855 kbit/s ---------------------------------------------------------------------------------------------------------- If you want to look at the end result, here it is: http://albert.stealthgenius.com/stuff/boundin.mp4. It'll be up in about 20 minutes after this post. Any advice would be greatly appreciated. |
1st December 2005, 15:12 | #54 | Link |
Registered User
Join Date: Sep 2005
Location: Norwood, MA
Posts: 175
|
You've been White Screen Of Deathed! WSOD sux0rs. Well, I would try it again without the
Code:
--b-rdo RD based mode decision for B-frames Code:
"x264.exe" --pass 1 --bitrate 1208 --stats "H:\INC0NNS1\boundin.stats" --bframes 2 --subme 1 --analyse none --me esa --progress --no-psnr --output NUL "H:\INC0NNS1\boundin.avs" "x264.exe" --pass 2 --bitrate 1208 --stats "H:\INC0NNS1\boundin.stats" --bframes 2 --subme 6 --analyse p8x8,b8x8,i4x4,p4x4 --me esa --progress --no-psnr --output "H:\INC0NNS1\boundin.mp4" "H:\INC0NNS1\boundin.avs" |
1st December 2005, 15:43 | #55 | Link |
Mr. Sandman
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
|
both brdo and diamond search do not influence decoding in any way
__________________
MPEG-4 ASP Custom Matrices: EQM V1(old), EQM AutoGK Sharpmatrix (aka EQM V2), EQM V3HR (updated 01/10/2004), EQM V3LR, EQM V3ULR (updated 04/02/2005), EQM V3UHR (updated 17/12/2004) and EQM V3EHR (updated 05/10/2004) Info about my ASP matrices. MPEG-4 AVC Custom Matrices: EQM AVC-HR Info about my AVC matrices My x264 builds. Mooo!!! |
1st December 2005, 16:39 | #56 | Link | |
Registered User
Join Date: Sep 2005
Location: Norwood, MA
Posts: 175
|
Quote:
@GarfBond: Stick with Sharktooth's CE QuickTime profile and everything should be fine. It's in the sticky threads somewhere, and you need 7-zip to extract it. Thanks for that profile Sharktooth. |
|
1st December 2005, 20:26 | #57 | Link |
Mr. Sandman
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
|
maybe it's a matter of bitrate variance?
i really dont know. it works for some users and it doesnt for others...
__________________
MPEG-4 ASP Custom Matrices: EQM V1(old), EQM AutoGK Sharpmatrix (aka EQM V2), EQM V3HR (updated 01/10/2004), EQM V3LR, EQM V3ULR (updated 04/02/2005), EQM V3UHR (updated 17/12/2004) and EQM V3EHR (updated 05/10/2004) Info about my ASP matrices. MPEG-4 AVC Custom Matrices: EQM AVC-HR Info about my AVC matrices My x264 builds. Mooo!!! |
1st December 2005, 22:34 | #58 | Link | |
x264 developer
Join Date: Sep 2004
Posts: 2,392
|
Quote:
|
|
1st December 2005, 23:12 | #59 | Link |
Registered User
Join Date: Sep 2005
Location: Norwood, MA
Posts: 175
|
Thanks for the info akupenguin. --analyse all == --analyse p8x8,b8x8,i4x4,p4x4
but typing Code:
--analyse p8x8,b8x8,i4x4,p4x4 |
2nd December 2005, 06:06 | #60 | Link |
Registered User
Join Date: Jan 2004
Posts: 11
|
Part of my problem is that I've been using Sharktooth's CE-Quicktime profile
Today I just tried it outputting to .MP4 instead of a raw AVC file, but that was a no-go. Simply viewing the resulting MP4 file in QT results in no video at all (not even a white box of doom). After muxing it with the AAC file the video still isn't playing and the audio continues to work just fine. Probably the most frustrating part is that everything plays in MPC just fine and dandy while QT sits there looking dumb. Anyone got any ideas? |
|
|