Fix T54360: FFMPEG bitrate not editable for all codecs
The bitrate selection was hidden when a CRF mode was chosen and then switched to a codec that doesn't support CRF.
This commit is contained in:
parent
6f07673ce4
commit
f4dc9f9d68
Notes:
blender-bot
2023-02-14 05:32:40 +01:00
Referenced by issue #80903, Texturing with anchored type stroke Referenced by issue #76245, 2.80 Crashes on Start-up Referenced by issue #75143, 2.82 Crashes at Startup No Debug Output Referenced by issue #71657, Subdiv of certain model causes huge memory consumption and crash (regression bug) Referenced by issue #69840, curve handle colors viewport display inconsistent with theme settings Referenced by issue #68351, Blender Eevee Crash, radeonsi/si_descriptors.c Referenced by issue #67834, Clicking menus causes Mac to freeze entirely Referenced by issue #67689, not recognising gfx card Referenced by issue #67160, Cycles renders non-isolated objects, Eevee doesn't Referenced by issue #67150, Extrude Acting Like Move - 2.79 Referenced by issue #67099, Setting Shader Color to #B3FF4A causes Value + Alpha Sliders to not match their numerical values, causes weird color wheel sliding behavior Referenced by issue #65847, 2.79: Relationship Lines Not Visible for Stick/B-Bone/Envelope & Wire Bone Types Referenced by issue #65772, Solidify Modifier produces rim surfaces with faces but no edges Referenced by issue #65516, Mesh Analysis and Measurement does not work when modifiers.show_in_editmode is true Referenced by issue #65394, Disk Cache combined with Cache Step does not work Referenced by issue #65136, Blender crashes after tabbing out and back in Referenced by issue #64799, Ctrl + Z resets model Referenced by issue #64740, OBJ Import failure (works on 2.79) Referenced by issue #64485, Image Crop in VSE Stretches Image Instead of Cropping Referenced by issue #63595, Generated texture coordinates missing when switching from solid to rendered mode Referenced by issue #63373, 2.79b won't open some files Referenced by issue #63050, Script-generated compositor node groups don't update Referenced by issue #62889, Bump Mapping has been broken since Aug 2018 Referenced by issue #62689, Model shown in black in 3D view Referenced by issue #62622, Blender 2.8 - viewport does not show changes in animated vertex positions without clicking a viewport shading button every time Referenced by issue #62408, opensubdiv crash in rendered viewport Referenced by issue #61649, Transform: Resize from UV Editor crashes with EXCEPTION_ACCESS_VIOLATION Referenced by issue #61603, Drivers Run Without Asking Permission 2.8 Referenced by issue #61431, This metaball-array kills blender Referenced by issue #61224, Collada Import with Animation - Arms are flapping Referenced by issue #61221, Mask in VCE Doesn't Match Preview Referenced by issue #60792, Possible bug in "bpy.data.libraries.write()" Referenced by issue #60707, Inset Depth behavior is incorrect Referenced by issue #60674, Blender Streaming with 3rd-Party Application Referenced by issue #60435, Proportional editor not not applying on one side of mesh Referenced by issue #60212, Unable to Drag View in Movie Clip Editor Referenced by issue #60135, OBJ file isn't importing Referenced by issue #59947, Animated texture node (in Compositor) remains static in render Referenced by issue #59743, Collada Export Missing Keyframes Referenced by issue #59640, Random Crash w/ Transform Gizmo Referenced by issue #59120, Compatibility between 2.79 and 2.8 Referenced by issue #59108, Blender crashes when clicking on Referenced by issue #58984, Traceback error during FBX export Referenced by issue #58936, Crash after switching between collections in scene. Referenced by issue #58796, Blender causes BSOD Referenced by issue #58524, Cycles Compute Device only shows "none". Referenced by issue #58169, Blender crush down when open a scene! Unusual bug! Referenced by issue #58121, Textures orphaned when loading .blend files from prior versions of blender. Referenced by issue #58108, Crash when switch from Edit Mode to Vertex Paint Referenced by issue #58109, New objects duplicated in isolate mode not visible. Referenced by issue #58111, Selection tools ignore Collections visibility. Referenced by issue #58077, Cycles Render Crash Glitch Referenced by issue #57973, Importing scikit-learn opens new scene from multiprocessing.semaphore_tracker import main;main(43) Referenced by issue #57888, Grease Pencil Ruler Bug Referenced by issue #57793, Maintain Volume constraint appears to have no effect in 2.79 Referenced by issue #57785, Bugged UI Text Referenced by issue #57747, Blender 2.79 Cycles Renders Depth/Mist with Banding in 32 bit .EXR Files Referenced by issue #57680, Armature Bone Tip Rotation Not Functional Referenced by issue #57589, 2.79 Rigid Body Sim. Does Not Behave The Same In 2.8 Referenced by issue #57593, OpenCL error when trying to render with Vega 64 Referenced by issue #57577, Scene too complex to fit in available memory, with lots of VRAM to spare Referenced by issue #57567, Blender won't open Referenced by issue #57538, Windows 10 Pen input Referenced by issue #57533, Output file name: frame number error Referenced by issue #57534, NLA editor can subtlely influence keyframes when automatic keyframes are enabled Referenced by issue #57514, Bug when exporting after Blender has been running a few hours. Referenced by issue #57376, 2.79 -> 2.8 Maintain Volume constraint unexpected behaviour. Referenced by issue #57243, Blender Crash on opening user preferences Referenced by issue #57170, BUG: use_map_density Referenced by issue #57180, Alt-H won't work Referenced by issue #57103, Mesh Subdivide with smoothness for specific edges sends some vertices to NaN Referenced by issue #57104, Mesh Subdivide with smoothness is coordinate dependent Referenced by issue #57073, Can't uninstall after clean installation Referenced by issue #57060, incorrect UV unwrap Referenced by issue #56903, Boolean modifier does not work Referenced by issue #56907, Boolean modifier does not work Referenced by issue #56892, Crash on Collada .dae import Referenced by issue #56900, Boolean modifier does not work Referenced by issue #56846, Random Crash Referenced by issue #56830, The liquid is not baked Referenced by issue #56781, Box selection fails for more than 12 000 Objects Referenced by issue #56782, Selection via right click fails partialy if scen contains many objects (ca. >12 000) Referenced by issue #56739, Latest build doesn't open Referenced by issue #56672, Blender open causes Echo in all applications that playback sounds. Referenced by issue #56674, Rendering with Image Texture and Normal Map nodes crash Blender. Referenced by issue #56592, Boolean Difference Modifier Operation failing with strange results Referenced by issue #56595, Hair Dynamics stop working after saving new file Referenced by issue #56573, Crash when selecting a vertex in a scene with image textures in texture / material mode Referenced by issue #56574, COLLADA Exporter Transform animation by Euler angle is not reflected Referenced by issue #56531, Blender not responding Referenced by issue #56505, VSE: Transform effect Strip creating black pixel border around object Referenced by issue #56448, Computer freeze/blender crash when rendering or baking Referenced by issue #56346, Rigify FBX export active "Only Defrom Bones" still export not defrom bone(OIG_). Referenced by issue #56257, Possible memory leak in Freestyle Referenced by issue #56243, Mesh Problem Referenced by issue #56210, Blender 2.79, latest build - undo doesn't work in certain cases Referenced by issue #56201, Mesh Problem Referenced by issue #56143, Gokhan-Senel_BlenderSuddenClosingProblem Referenced by issue #56099, disappearing particles after first render Referenced by issue #56095, Inconsistent behavior of the Normal Transformation Orientation Maximum number of references exceeded
|
@ -473,7 +473,8 @@ class RENDER_PT_encoding(RenderButtonsPanel, Panel):
|
|||
layout.prop(ffmpeg, "use_lossless_output")
|
||||
|
||||
# Output quality
|
||||
if needs_codec and ffmpeg.codec in {'H264', 'MPEG4'}:
|
||||
use_crf = needs_codec and ffmpeg.codec in {'H264', 'MPEG4'}
|
||||
if use_crf:
|
||||
layout.prop(ffmpeg, "constant_rate_factor")
|
||||
|
||||
# Encoding speed
|
||||
|
@ -488,7 +489,7 @@ class RENDER_PT_encoding(RenderButtonsPanel, Panel):
|
|||
pbox.enabled = ffmpeg.use_max_b_frames
|
||||
|
||||
split = layout.split()
|
||||
split.enabled = ffmpeg.constant_rate_factor == 'NONE'
|
||||
split.enabled = not use_crf or ffmpeg.constant_rate_factor == 'NONE'
|
||||
col = split.column()
|
||||
col.label(text="Rate:")
|
||||
col.prop(ffmpeg, "video_bitrate")
|
||||
|
|
Loading…
Reference in New Issue