Home || Visual Search || Applications || Architecture || Important Messages || OGL || Src

bool Impala::Core::Stream::RgbDataSrcLavc_old::InitFFMPEG (  )  [inline, private]

Definition at line 284 of file RgbDataSrcLavc_old.h.

References ILOG_DEBUG, ILOG_INFO, Impala::Core::Stream::LavcProtocolDataServer_protocol, and Impala::Core::Stream::LavcProtocolLocalFile_protocol.

Referenced by Init().

00285     {
00286         ILOG_INFO("libavcodec version  : " << 
00287             (int)(LIBAVCODEC_VERSION_INT>>16) << "." << 
00288             (int)((LIBAVCODEC_VERSION_INT>>8)&0xFF) << "." << 
00289             (int)(LIBAVCODEC_VERSION_INT&0xFF));
00290 
00291         ILOG_INFO("libavformat version : " << 
00292             (int)(LIBAVFORMAT_VERSION_INT>>16) << "." << 
00293             (int)((LIBAVFORMAT_VERSION_INT>>8)&0xFF) << "." << 
00294             (int)(LIBAVFORMAT_VERSION_INT&0xFF));
00295 
00296         ILOG_INFO("libavutil version   : " << 
00297             (int)(LIBAVUTIL_VERSION_INT>>16) << "." << 
00298             (int)((LIBAVUTIL_VERSION_INT>>8)&0xFF) << "." << 
00299             (int)(LIBAVUTIL_VERSION_INT&0xFF));
00300 
00301 
00302         // Set libavcodec's log output level
00303         //av_log_set_level(AV_LOG_DEBUG);
00304         //av_log_set_level(AV_LOG_ERROR);
00305         //av_log_set_level(AV_LOG_FATAL);
00306         av_log_set_level(AV_LOG_QUIET);
00307 
00308 
00309         // Register all formats and codecs 
00310         av_register_all();
00311         avcodec_register_all();
00312 
00313         register_protocol(&LavcProtocolDataServer_protocol);
00314 
00315         if (Link::DiskImage::DiskImageUsed())
00316         {
00317             ILOG_DEBUG("Registering disk image protocol..");
00318             Link::DiskImage::RegisterProtocol();
00319         }
00320 
00321 #ifdef USE_IFILE
00322         ILOG_DEBUG("Registering Impala file protocol..");
00323         register_protocol(&LavcProtocolLocalFile_protocol);
00324 #endif
00325         return true;
00326     }


Generated on Thu Jan 13 09:20:34 2011 for ImpalaSrc by  doxygen 1.5.1