[vlmc-devel] commit: VLMC is now using RV32 to output pictures. ( Hugo Beauzée-Luyssen )

git at videolan.org git at videolan.org
Wed Jul 28 00:22:04 CEST 2010


vlmc | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Fri Jul 23 16:41:58 2010 +0200| [df8cc1f1d8df27dfc58452dd1a79a5a6d06b9bc1] | committer: Hugo Beauzée-Luyssen 

VLMC is now using RV32 to output pictures.

> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=df8cc1f1d8df27dfc58452dd1a79a5a6d06b9bc1
---

 src/LibVLCpp/VLCInstance.cpp       |    1 +
 src/Renderer/WorkflowRenderer.cpp  |    2 +-
 src/Workflow/ImageClipWorkflow.cpp |    2 +-
 src/Workflow/Types.h               |    2 +-
 src/Workflow/VideoClipWorkflow.cpp |    2 +-
 5 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/LibVLCpp/VLCInstance.cpp b/src/LibVLCpp/VLCInstance.cpp
index ddea119..96717e5 100644
--- a/src/LibVLCpp/VLCInstance.cpp
+++ b/src/LibVLCpp/VLCInstance.cpp
@@ -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",
diff --git a/src/Renderer/WorkflowRenderer.cpp b/src/Renderer/WorkflowRenderer.cpp
index e392f6e..b9f7c01 100644
--- a/src/Renderer/WorkflowRenderer.cpp
+++ b/src/Renderer/WorkflowRenderer.cpp
@@ -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://" );
diff --git a/src/Workflow/ImageClipWorkflow.cpp b/src/Workflow/ImageClipWorkflow.cpp
index 064eb87..badc6c7 100644
--- a/src/Workflow/ImageClipWorkflow.cpp
+++ b/src/Workflow/ImageClipWorkflow.cpp
@@ -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",
diff --git a/src/Workflow/Types.h b/src/Workflow/Types.h
index 5a23665..af127b5 100644
--- a/src/Workflow/Types.h
+++ b/src/Workflow/Types.h
@@ -27,7 +27,7 @@
 
 namespace   Workflow
 {
-    const quint32   Depth = 3;
+    const quint32   Depth = 4;
 
     class   Frame
     {
diff --git a/src/Workflow/VideoClipWorkflow.cpp b/src/Workflow/VideoClipWorkflow.cpp
index a3abcf6..fe130c1 100644
--- a/src/Workflow/VideoClipWorkflow.cpp
+++ b/src/Workflow/VideoClipWorkflow.cpp
@@ -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



More information about the Vlmc-devel mailing list