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

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

Definition at line 610 of file VideoAccessObject.h.

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

Referenced by VideoAccessObject().

00611     {
00612 
00613         // Set libavcodec's log output level
00614         //av_log_set_level(AV_LOG_DEBUG);
00615         //av_log_set_level(AV_LOG_ERROR);
00616         //av_log_set_level(AV_LOG_FATAL);
00617         av_log_set_level(AV_LOG_QUIET);
00618 
00619 
00620         // Register all formats and codecs 
00621         av_register_all();
00622         avcodec_register_all();
00623 
00624         register_protocol(&LavcProtocolDataServer_protocol);
00625 
00626         if (Link::DiskImage::DiskImageUsed())
00627         {
00628             ILOG_DEBUG("Registering disk image protocol..");
00629             Link::DiskImage::RegisterProtocol();
00630         }
00631 
00632 #ifdef USE_IFILE
00633         ILOG_DEBUG("Registering Impala file protocol..");
00634         register_protocol(&LavcProtocolLocalFile_protocol);
00635 #endif
00636         return true;
00637     }


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