unmatched encoder settings prevent rendering
@jeff
Submitted by Jeff F.T. Assigned to Jeff F.T. @jeff
Description
When trying to render one of my projects in MP4 x264+AAC and setting the bitrate of the H.264 codec, I get:
Traceback (most recent call last):
File "pitivi/ui/encodingdialog.py", line 130, in _recordButtonClickedCb
self.addRecordAction()
File "pitivi/ui/encodingdialog.py", line 182, in addRecordAction
self.renderaction.activate()
File "pitivi/action.py", line 119, in activate
self._ensurePipelineObjects()
File "pitivi/action.py", line 567, in _ensurePipelineObjects
self.pipeline.getBinForFactoryStream(producer, automake=True)
File "pitivi/pipeline.py", line 502, in getBinForFactoryStream
bin = stream_entry.bin = factory.makeBin(stream)
File "pitivi/factories/base.py", line 327, in makeBin
bin = self._makeBin(input_stream)
File "pitivi/encode.py", line 185, in _makeBin
rb = self.renderfactory.makeBin()
File "pitivi/factories/base.py", line 420, in makeBin
bin = self._makeBin(input_stream)
File "pitivi/encode.py", line 126, in _makeBin
b2 = EncoderFactory(setting).makeBin()
File "pitivi/factories/base.py", line 420, in makeBin
bin = self._makeBin(input_stream)
File "pitivi/encode.py", line 54, in _makeBin
enc.set_property(k, v)
TypeError: object of type GstX264Enc' does not have property
quality'
I think this happens only with this particular project. Here's my guess at what happened: I initially had this project set to render to theora with a quality setting of 60 (instead of the default setting). Maybe it's trying to apply this setting to the x264 encoder and failing in the process?
Imported from https://bugzilla.gnome.org/show_bug.cgi?id=583147