Commit c7c9b5df authored by Hugo Beauzee-Luyssen's avatar Hugo Beauzee-Luyssen

Render quality choosing is now functionnal.

parent c8bbbd43
......@@ -3,7 +3,7 @@
SUBDIRS(EffectsEngine/Plugins/src)
SET(VLMC_SRCS
SET(VLMC_SRCS
main.cpp
API/Module.cpp
API/ModuleManager.cpp
......
......@@ -108,6 +108,9 @@
<property name="maximum">
<number>512</number>
</property>
<property name="value">
<number>256</number>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
......@@ -182,6 +185,12 @@
<property name="maximum">
<number>8192</number>
</property>
<property name="value">
<number>4000</number>
</property>
<property name="sliderPosition">
<number>4000</number>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
......
......@@ -66,7 +66,9 @@ void WorkflowFileRenderer::run()
setupDialog( width, height );
//Media as already been created and mainly initialized by the WorkflowRenderer
QString transcodeStr = ":sout=#transcode{vcodec=h264,vb=800,acodec=a52,ab=128,no-hurry-up}"
QString transcodeStr = ":sout=#transcode{vcodec=h264,vb=" + QString::number( vbitrate ) +
",acodec=a52,ab=" + QString::number( abitrate ) +
",no-hurry-up}"
":standard{access=file,mux=ps,dst=\""
+ m_outputFileName + "\"}";
m_media->addOption( transcodeStr.toStdString().c_str() );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment