Commit df8cc1f1 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

VLMC is now using RV32 to output pictures.

parent 7a0d0f03
......@@ -30,6 +30,7 @@ Instance::Instance( QObject* parent /*= NULL*/ ) : QObject( parent )
char const *argv[] =
{
// "-vvvvv",
// "--ffmpeg-debug", "3",
"--no-skip-frames",
// "--intf", "dummy",
"--text-renderer", "dummy",
......
......@@ -96,7 +96,7 @@ WorkflowRenderer::setupRenderer( quint32 width, quint32 height, double fps )
//Clean any previous render.
sprintf( videoString, "width=%i:height=%i:dar=%s:fps=%s:cookie=0:codec=%s:cat=2:caching=0",
width, height, "16/9", "30/1", "RV24" );
width, height, "16/9", "30/1", "RV32" );
sprintf( audioParameters, "cookie=1:cat=1:codec=f32l:samplerate=%u:channels=%u:caching=0",
m_rate, m_nbChannels );
strcpy( inputSlave, ":input-slave=imem://" );
......
......@@ -56,7 +56,7 @@ ImageClipWorkflow::initVlcOutput()
m_vlcMedia->setVideoDataCtx( this );
m_vlcMedia->setVideoLockCallback( reinterpret_cast<void*>( getLockCallback() ) );
m_vlcMedia->setVideoUnlockCallback( reinterpret_cast<void*>( getUnlockCallback() ) );
m_vlcMedia->addOption( ":sout-transcode-vcodec=RV24" );
m_vlcMedia->addOption( ":sout-transcode-vcodec=RV32" );
m_vlcMedia->addOption( ":sout-smem-time-sync" );
sprintf( buffer, ":sout-transcode-width=%i",
......
......@@ -27,7 +27,7 @@
namespace Workflow
{
const quint32 Depth = 3;
const quint32 Depth = 4;
class Frame
{
......
......@@ -81,7 +81,7 @@ VideoClipWorkflow::initVlcOutput()
m_vlcMedia->setVideoDataCtx( this );
m_vlcMedia->setVideoLockCallback( reinterpret_cast<void*>( getLockCallback() ) );
m_vlcMedia->setVideoUnlockCallback( reinterpret_cast<void*>( getUnlockCallback() ) );
m_vlcMedia->addOption( ":sout-transcode-vcodec=RV24" );
m_vlcMedia->addOption( ":sout-transcode-vcodec=RV32" );
if ( m_fullSpeedRender == false )
m_vlcMedia->addOption( ":sout-smem-time-sync" );
else
......
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