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.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 AVC / H.264

Reply
 
Thread Tools Search this Thread Display Modes
Old 25th October 2009, 00:43   #61  |  Link
nm
Registered User
 
Join Date: Mar 2005
Location: Finland
Posts: 2,643
Quote:
Originally Posted by popper View Post
what i get from that page
http://tom.niko.users.sbb.rs/gop.jpg
seems simple enough, and we are talking about trying to make it as easy as possible, so as to try and help everyone actually visualise the intent of the spec.

is:

it doesnt matter if there are no widspread i50 or i60.
You are pointing to a draft document that specifically defines the allowed framerates for Blu-ray. Interlaced 50 or 60 frames/s video is not allowed.

Quote:
the Only thing that matters is:
that IF your bitrate is 15Mbit/s or less then you Can use a 2 second GOP IF you want to, but you dont have to, you can still use a 1 second GOP if you like.

to get a --keyint value you do the SIMPLE THING, if its Less than 15Mbit/s you simply take the FPS or 'frame rate value[Hz]' if you prefer calling it that , round it up* to the nearest int, and then double it.

if its More than 15Mbit/s then you Do NOT double it, but rather just use the nearest rounded up int of the FPS/'frame rate value[Hz]'.
Yes, but the spec still defines the rates that you are allowed to use for each interlaced and progressive frame format.

Quote:
so your i50 or i60 (or even p50 p60) would use a --keyint value of 100 and 120 If their bitrates were 15Mbit/s or less, or 50 and 60 if they were using faster bitrates!
Interlaced video at 50 or 60 frames/s is not allowed, only 720p50/60 is.

Quote:
now we Might have a slight problem here, in that if your after Encoding a future SD/HD high speed camera footage to 15Mbit/s or less, with an FPS of something like >1200 fps at QVGA.
What problem? The current broadcast and disc formats don't allow such framerates so you are free to use whatever keyint you want for such a non-standard encode.

If high-speed footage is used in some standard production, it is either played back in slow motion or frames are skipped or combined.

Man, I wish interlacing would die already.
nm is offline   Reply With Quote
Old 25th October 2009, 01:24   #62  |  Link
popper
Registered User
 
Join Date: Mar 2006
Posts: 272
Quote:
Originally Posted by benwaggoner View Post
Everyone follow after me:

480i30 is NTSC interlaced
576i25 is PAL interlaced
720p50 is PAL 720p
720p60 is NTSC 720p
1080p24 is film 1080p
1080p25 is PAL speedup 1080p film
1080i25 is PAL 1080i
1080i30 is NTSC 1080i

These are your digital broadcast/disc formats in wide use, with non-ambiguous nomenclature.

Of course, of those, we really only need 720p60 for sports/news/action stuff, and 1080p for movie/entertainment stuff. Everything else is a weaker alternative.

your forgetting to include the near future 2K and 4K modes, shouldnt you be planning, or indeed already adding in these options today for testing etc, to be ready when the consumer kit arrives on mass from the far east OEMs etc,
the DVB org already demoed (PAL) 2K and 4K end to end transmission, Encoded with H.264 last year or perhaps the year before , i forget now.

Last edited by popper; 25th October 2009 at 01:37.
popper is offline   Reply With Quote
Old 25th October 2009, 07:48   #63  |  Link
Manao
Registered User
 
Join Date: Jan 2002
Location: France
Posts: 2,856
From a nomenclature's point of view, 1080i60 is the proper name and makes much more sense than 1080i30. That way, you have xxxx[p|i]yyy, where xxxx is the vertical resolution, yyy is the temporal resolution, and 'i' says the image has been irremediably destroyed.
__________________
Manao is offline   Reply With Quote
Old 25th October 2009, 14:34   #64  |  Link
klinika
Registered User
 
Join Date: Mar 2004
Location: Tampere
Posts: 51
Well, as long as we can agree that 1080i/N and 1080/I/N refer solely to frame rates, it's not all fubar yet
__________________
Jedes Herz ist eine revolutionäre Zelle

Last edited by klinika; 25th October 2009 at 14:45.
klinika is offline   Reply With Quote
Old 8th December 2009, 22:25   #65  |  Link
rapscallion
NY Frame of Mind
 
rapscallion's Avatar
 
Join Date: Dec 2005
Location: L.I.,NY
Posts: 586
If some kind soul could input the presets for "standalone AVCHD", it would be much appreciated.(they are different than Blu-ray)
__________________
"Talk to me Goose"
rapscallion is offline   Reply With Quote
Old 10th December 2009, 16:02   #66  |  Link
ronnylov
Registered User
 
Join Date: Feb 2002
Location: Borås, Sweden
Posts: 492
I agree with rapscallion, standalone AVCHD device settings would be nice.

Regarding bluray:
How is the maxrate of 15 Mbit/s achieved when encoding with x264 and not using CBR?
Is it enough to set vbvmaxrate to 15 Mbit/s? There still may be short peaks above 15 Mbit/s?
But on the other hand why should anybody want to do that for bluray?
Maybe if stored on a slow medium (like DVD @ 1x DVD speed)

I guess the safe way to do it is to just use one second keyint and let the bitrate peak above 15 Mbit/s if needed to?
__________________
Ronny
ronnylov is offline   Reply With Quote
Old 10th December 2009, 21:38   #67  |  Link
nm
Registered User
 
Join Date: Mar 2005
Location: Finland
Posts: 2,643
Quote:
Originally Posted by ronnylov View Post
How is the maxrate of 15 Mbit/s achieved when encoding with x264 and not using CBR?
By using VBV.

Quote:
Is it enough to set vbvmaxrate to 15 Mbit/s? There still may be short peaks above 15 Mbit/s?
Buffer size must also be set -- according to the spec limits. "Peaks" don't matter as long as VBV is set correctly. Of course, quality will be lower in difficult scenes.

Quote:
But on the other hand why should anybody want to do that for bluray?
Maybe if stored on a slow medium (like DVD @ 1x DVD speed)
That, or storing a large amount of video on a single disc. Longer keyint also improves quality at the same bitrate.
nm is offline   Reply With Quote
Old 11th December 2009, 08:54   #68  |  Link
ronnylov
Registered User
 
Join Date: Feb 2002
Location: Borås, Sweden
Posts: 492
Is it possible to somehow use max keyint of 2 seconds only on the parts where bitrate is below 15 Mbit/s and use max keyint of 1 second only on the difficult parts where the lower 15 Mbit/s VBV limits are exceeded? Maybe do it as an extra pass of the encoder where those parts are re-encoded if necessary to achieve a better quality. It would be a nice feature of a bluray compatible h.264 encoder.
__________________
Ronny
ronnylov is offline   Reply With Quote
Old 11th December 2009, 09:55   #69  |  Link
shon3i
BluRay Maniac
 
shon3i's Avatar
 
Join Date: Dec 2005
Posts: 2,426
Quote:
Originally Posted by ronnylov View Post
Is it possible to somehow use max keyint of 2 seconds only on the parts where bitrate is below 15 Mbit/s and use max keyint of 1 second only on the difficult parts where the lower 15 Mbit/s VBV limits are exceeded? Maybe do it as an extra pass of the encoder where those parts are re-encoded if necessary to achieve a better quality. It would be a nice feature of a bluray compatible h.264 encoder.
I don't think blu-ray standard allow variable GOP, anyway blu-ray allow Open GOP feature which is better and very usefull with short GOP's
shon3i is offline   Reply With Quote
Old 6th January 2010, 14:22   #70  |  Link
fleon
Registered User
 
Join Date: Jan 2007
Posts: 106
Well , based on the findings of this threat http://forum.doom9.org/showthread.php?t=141628 and also based on my own tests I can confirm that the psp supports:

*Reference Frames: 3
*Mixed References: yes
*B-Frames: 16 ( I have test it with --no-b-adapt --scenecut=-1 --bframes 16 so it really supports it)
*Direct Prediction: Auto
*Weighted B-Frames: yes
*CABAC: yes
*Motion Estimation: SATD Exhaustive
*Trellis: 2
*ME Range: 32
*Subpixel Refinement: 9
*Analysis: All
*8x8 DCT: No!
*No Fast-P-Skip: yes
*No DCT-Decimate: yes
*also vbv-maxrate is not needed at all, there is no limit on the psp
*Deblocking: yes

I also can add that the most recent video that I have converted with these settings and crf 22 is this one http://keithschofield.com/justice/ adding the tune film preset , and it looks very good, but it kind of lags a little, but it may be just because of that video, I have not tested more videos recently.

I also wanna add that I convert all my videos to 480x272 for space reasons(I have only a 8gb memorystick), but I am pretty sure that the psp can support more resolutions

I may also help with the iphone settings since my brother have one..

Last edited by fleon; 6th January 2010 at 15:18.
fleon is offline   Reply With Quote
Old 6th January 2010, 16:35   #71  |  Link
Chengbin
Registered User
 
Join Date: Oct 2007
Posts: 1,059
I might as well update the specs for the Archos 5 Android since it has been vastly improved.

I still don't have one due to Bestbuy and Futureshop not wanting to restock them, but these are figures that have been tested to work. These are not the limits. I'll find the limits when I get one hopefully.

Under 800x448, it can support every feature in x264's high profile including weightp 2, bframe 16 and ref frame 16.

It supports 16 b frames for all resolution up to 1280x720. Ref frame limits are unknown, but it can support 8 on a 1280x544 (or 720, I forgot, but one of those two) video.

Maximum bitrate is unknown at 1280x720, but I guess it is at least 15Mbps because people say that videos with an average bitrate of 7Mbps plays smoothly.

30fps is having sync issues no matter what bitrate. Hopefully it will get fixed soon.
Chengbin is offline   Reply With Quote
Old 14th January 2010, 07:51   #72  |  Link
ninja_racoon
Registered User
 
Join Date: Oct 2009
Posts: 16
my encode wont play on psp , what do you think is wrong with my settings?

x264 settings

program --profile main --pass 2 --bitrate 384 --stats ".stats" --slow-firstpass --thread-input --deblock -4:-4 --b-adapt 2 --rc-lookahead 60 --merange 24 --me umh --direct auto --subme 9 --partitions p8x8,b8x8,i4x4 --no-8x8dct --no-dct-decimate --no-fast-pskip --output "output" "input"

avisynth

import("C:\Program Files (x86)\AviSynth 2.5\plugins\SeeSaw.avs")
DirectShowSource("D:\RaveN\My Videos\Film\video\video.mkv", fps=23.976, convertfps=true)
crop( 0, 2, 0, -2)

a= last
b=a.DeGrainMedian(limitY=3,limitUV=4,mode=2)
SeeSaw(a,b, NRlimit=3, NRlimit2=4, Sstr=1.5, Slimit=5, Spower=5, Sdamplo=6, Szp=16, sootheS=20)

Spline64Resize(480,200)
TextSub("D:\RaveN\My Videos\Presets\subtitle.ass", 1)

Last edited by ninja_racoon; 14th January 2010 at 10:09.
ninja_racoon is offline   Reply With Quote
Old 14th January 2010, 09:36   #73  |  Link
nm
Registered User
 
Join Date: Mar 2005
Location: Finland
Posts: 2,643
Quote:
Originally Posted by ninja_racoon View Post
my encode wont play on psp , what do you think is wrong with my settings?
Perhaps PSP doesn't like the pixel dimensions of your video: 480x200 instead of 480x272. Try adding black bars to the top and bottom.
nm is offline   Reply With Quote
Old 14th January 2010, 10:19   #74  |  Link
ninja_racoon
Registered User
 
Join Date: Oct 2009
Posts: 16
Quote:
Originally Posted by nm View Post
Perhaps PSP doesn't like the pixel dimensions of your video: 480x200 instead of 480x272. Try adding black bars to the top and bottom.
most of my encodes are 480x200 and they all work fine on psp until Ive used megui.
ninja_racoon is offline   Reply With Quote
Old 14th January 2010, 10:23   #75  |  Link
Rumbah
Registered User
 
Join Date: Mar 2003
Posts: 458
You forgot to set --level 3, then it should work (but I have to say that I have some encodes that won't play on the PSP although the settings are correct)
__________________
x264 full help - x264 --fullhelp r2345
Cuttermaran HCEnc provider - Support for HCEnc in Cuttermaran
DualDVDRB - Dual core support for DVD-RB free
Rumbah is offline   Reply With Quote
Old 14th January 2010, 11:48   #76  |  Link
ninja_racoon
Registered User
 
Join Date: Oct 2009
Posts: 16
Quote:
Originally Posted by Rumbah View Post
You forgot to set --level 3, then it should work (but I have to say that I have some encodes that won't play on the PSP although the settings are correct)
I set my avc level @auto , do I have to set it to 3 to work?
ninja_racoon is offline   Reply With Quote
Old 16th January 2010, 18:03   #77  |  Link
Chainmax
Huh?
 
Chainmax's Avatar
 
Join Date: Sep 2003
Location: Uruguay
Posts: 3,103
Does anyone know what are the specs for the Nokia 5800? From what little I recall, it only supported low resolution x264 encodes. I have one, so I can test whatever you want.
__________________
Read Decomb's readmes and tutorials, the IVTC tutorial and the capture guide in order to learn about combing and how to deal with it.
Chainmax is offline   Reply With Quote
Old 17th January 2010, 00:59   #78  |  Link
Rumbah
Registered User
 
Join Date: Mar 2003
Posts: 458
Quote:
Originally Posted by ninja_racoon View Post
I set my avc level @auto , do I have to set it to 3 to work?
Yes, the PSP only accepts level 3 files, auto set it to 4 or 4.1 in my tests if I remember correctly. So you should set it to 3 for it to work (and don't forget -ref 3 if you use a slower profile with more ref frames or tune animation).
__________________
x264 full help - x264 --fullhelp r2345
Cuttermaran HCEnc provider - Support for HCEnc in Cuttermaran
DualDVDRB - Dual core support for DVD-RB free
Rumbah is offline   Reply With Quote
Old 19th January 2010, 19:26   #79  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 2,889
Another thing to watch out with the PSP is that it doesn't support CAVLC, IIRC, just CABAC.

No B-pyramid either, also IIRC.
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner is offline   Reply With Quote
Old 19th January 2010, 20:55   #80  |  Link
STaRGaZeR
4:2:0 hater
 
Join Date: Apr 2008
Posts: 1,307
Quote:
Originally Posted by manao View Post
from a nomenclature's point of view, 1080i60 is the proper name and makes much more sense than 1080i30. That way, you have xxxx[p|i]yyy, where xxxx is the vertical resolution, yyy is the temporal resolution, and 'i' says the image has been irremediably destroyed.
I lol'd
__________________
Specs, GTX970 - PLS 1440p@96Hz
Quote:
Originally Posted by Manao View Post
That way, you have xxxx[p|i]yyy, where xxxx is the vertical resolution, yyy is the temporal resolution, and 'i' says the image has been irremediably destroyed.
STaRGaZeR is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:50.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.