EDIT:CHANGED THE TITLE
Hi yes so i encoded a video (USING MEGUI) from my bluray to small/Reasonable size 720p/1080p and also 480p resolution
i was testing some settings out With MEgui And with Avisynth but the result was amazing quality but video stutters...
i found the error anyhow in the megui log
Now of COURSE i can limit or reduce the vbf buffer and bitrate to remove the warning but what value should i put in for both of them SO that they can be playable on PS3/PS4 XBOX HDTV AND ALL OTHER Players ETC..Code:---[Warning] [02/10/2015 09:48:29] x264 [warning]: VBV bitrate (62500) > level limit (50000) ---[Warning] [02/10/2015 09:48:30] x264 [warning]: VBV buffer (78125) > level limit (62500)
Btw These are my x264 settings...Do i have to change them if i have to set the VBF bitrate and Buffer
Please Ignore The Bitrate as i specify my own bitrate via the auto encode option in megui to get my desired file size
NOTE :- i am actually using somewhat low bitrates as i am experimenting with quality
![]()
+ Reply to Thread
Results 1 to 18 of 18
-
Last edited by anime12345; 4th Oct 2015 at 00:15. Reason: EDIT:CHANGED THE TITLE
-
How big is the resulting file after encoding?
It's not important the problem be solved, only that the blame for the mistake is assigned correctly -
-
ok, that doesn't sound out of line, can you upload the 1080p sample for me?
It's not important the problem be solved, only that the blame for the mistake is assigned correctly -
It would be helpfull if you can upload short sample so we can see if there is anything wrong. You can also try to use device preset in x264 settings. Try XBOX 360 and see if it works.
-
-
follow specs from here, there you can see limits depending on resolutions, profile, frame rate together with ref frames and adjust MeGui settings. For example for SD there should be top bitrates 12500 for 24fps, no reason to go to higher limits anyway, setting profile to High 4.1 etc.
Btw. just using command line and specifying just those buffers then x264 sets defaults. Sometimes complicated and thorough GUI settings (like here in Megui) could backfire. -
-
You can unleash all kinds of craziness, like you can find over web, especially anime, and video would be played, why not, perhaps it could be refused by some devices, older devices especially. I had stop approaching encoding the video as much as possible at any cost, encoding the heck out of it, looking for miracle settings and braking all kinds of decent rules long time ago.
, (they do not exist anyway, all you need is zones) , x264 defaults pretty much ok. Especially using CRF (you are not though).
Why would you need 30000 bitrate for 480p? You said you encode low bitrates, I would consider to be guided by that table (in that link), so for example, I would not encode low bitrate video, SD resolution and give it High@level 4.1 etc. Everything goes hand in hand, there is equations underneath that table. -
Notice how you want to make a compatible Blu-ray, but you have unchecked the box which says, "Enable Blu-ray compatiblity"?
That's a great deal of the problem. It will force some of your tweakings to be invalidated, and (hopefully properly) constrain your VBV & level/profile settings to those which BD supports. You really shouldn't be touching the VBV buffer. Once it has done this, don't try to further tweak it (except maybe stictly on somewhat lowering bitrate).
And I agree with @_Al_ on the lowered bitrate & level setting for 480p: it's SD video, treat it as such.
Scott -
I conversed with anime12345 via PM the other day. For the record (I've seen the samples) the stuttering has nothing to do with VBV settings. It's caused by repeated and missing frames. I suspect it's a DirectShow decoding issue.
The MeGUI log file error is, if memory serves me correctly, due to the settings x264 uses for the first pass of a 2 pass encode (maybe only when the "slow first pass" option isn't specified). There's no such warning when it runs the second pass. I "think" (someone correct me if I'm remembering incorrectly) the x264 encoder assumes Main Profile for the 1st pass, hence the warning about the VBV restrictions being too high.
anime12345's samples were fairly low bitrate (5000kbps/1080p, 3000kbps/720p & 1500kbps/480p) and all stuttered, so it's likely a decoding issue.
I'm just posting the info so others don't spend too much time pondering VBV settings and stuttering.
In theory, the VBV restrictions will limit the bitrate if required, and therefore the quality. Nothing wrong with that as such, but how did you conjure up the 31250 number? From the VBV restrictions required for the PS3?
Given you specifically mentioned Xbox compatibility in your first post, according to MeGUI the Xbox 360 requires:
--level 4.1 --vbv-bufsize 24000 --vbv-maxrate 24000
And given you specifically mentioned "all other players" you'd probably want top use the lowest common denominator settings, which (not counting old portable devices such as the ipod) would means selecting DivX Plus HD as the playback device from MeGUI's list:
--level 4.0 --vbv-bufsize 25000 --vbv-maxrate 20000
According to Wikipedia, DivX Plus HD also requires --bframes 3 --keyint <4*FPS>. I'm not sure why MeGUI doesn't add those to the commandline for Divx Plus HD. Maybe it enforces them when encoding. I'm not sure.
https://en.wikipedia.org/wiki/DivX_Plus_HD#x264_compatibilityLast edited by hello_hello; 5th Oct 2015 at 22:22.
-
Any reason why you couldn't use High Profile, Level 4.1, regardless of resolution (up to 1080p)? I use 4.1 for everything because all the players in this house support 4.1. Is there an advantage to forcing compatibility with a lower level for lower resolutions if none of the playback devices are limited to a lower level?
All the players in this house support Level 4.1, but they all seem to require around --vbv-bufsize 50000 & --vbv-maxrate 50000 for 1080p when I tested them, including my old 8600GT's hardware decoding (except the Sony Bluray player which handled the default VBV restrictions fine), so that's what I use for everything, just to be cautious. -
Are you sure anime12345 wants to create officially Bluray compliant encodes?
Because if the desired output is MKV or MP4 etc, I've never met a Bluray player capable of playing those types of formats that didn't support High Profile, Level 4.1, without the need for the "official" restrictions.
In fact I'd be somewhat surprised if many Bluray players required the "official" Bluray restrictions to keep them happy. -
That level is just a label, designers might consider it as a sort of flag for player to know what it is going to be dealing with, if it was able to play it at all, if the processing power was good enough, it could be used to just refuse to play a video for higher levels etc. That level perhaps labels that video category as in that table in that link I posted, but I guess it has less and less meaning much now, if any, players take anything, but remembering just some years back, player could simply refuse to play something because of that level label.
I consider VBV buffers as a first thing to select for encoding, sort of, what it is for decision, than profile (if not high) and number of ref frames following that table. Then x264 defaults to proper level. If it was designed that way, so why not to keep it that way. -
-
I don't think that's correct. There's a 3 b-frame limit, but you can have up to 6 ref frames, depending on the resolution. The maximum seems to be 4 at 1080p.
http://forum.doom9.org/showthread.php?t=154533
Mind you, I wouldn't use the full Bluray compatibility settings unless I really wanted a Bluray compatible encode, as the reduced gop size reduces compressibility. -
Similar Threads
-
MeGUI x264 encoding problem. Video stutters/flickers.
By EasyDrama in forum Video ConversionReplies: 17Last Post: 20th Mar 2014, 23:36 -
Blu-Ray encoded into x264 via AviSynth
By Akai-Shuichi in forum RestorationReplies: 11Last Post: 6th Feb 2014, 00:34 -
Premiere Pro CS4 Slow Playback...stutters
By Sillyname in forum EditingReplies: 2Last Post: 14th Apr 2013, 21:57 -
Video playback stutters after AVI to ISO conversion
By JP9656 in forum Video ConversionReplies: 8Last Post: 7th Jan 2011, 15:46 -
Playback advice on x264 video
By strontium_99 in forum Software PlayingReplies: 7Last Post: 30th Oct 2010, 06:58