´ñ±Û : 2 °³
Çѱ¹ µ¨ÆÄÀÌ µ¿È£È¸ µ¨¸¶´ç
¼Ö°³
(Çö½Çȯ)
 
À¯´ÏÄڵ带 Áö¿øÇϴ Delphi 2009 ¶Ç´Â ÀÌÈÄ ¹öÀüÀÇ µ¨ÆÄÀ̸¦ »ç¿ëÇÒ °æ¿ì¸¦ ´ëºñÇؼ­ VCL_ffMPEG.pasÀÇ Function OpenÀÇ ½ÃÀۺδ ¾Æ·¡¿Í °°ÀÌ ¼öÁ¤ÀÌ ÇÊ¿äÇÕ´Ï´Ù.

Function  TffMPEG.Open ( FileName : String ) : Boolean;
 Var
  channel_layout : Int64;
  stop           : boolean;
  {$IFDEF UNICODE}
  ansiName: AnsiString;  // **** Added
  {$ENDIF}
 begin
  Result := False;
  If Not(FileExists(FileName)) then Exit;

  // Open File & Alloc Context
  {$IFDEF UNICODE}
  ansiName := FileName;  // **** Added
  If avformat_open_input(@fMPEG.ctx_fmt,PAnsiChar(ansiName), nil, nil) < 0 then  // **** Added
  {$ELSE}
  If avformat_open_input(@fMPEG.ctx_fmt,PAnsiChar(FileName), nil, nil) < 0 then
  {$ENDIF}
   begin
    Event_Status(msError, Format('Could not open source file %s', [FileName]));
    Exit;
   end;
 
2017-01-28 ¿ÀÈÄ 12:02:28
ÃÖ¿ø½Ä
(ÃÖ¿ø½Ä)
 
¿½... °¨»çÇÕ´Ï´Ù. :)
ÀÌÀü Äڵ嶧¹®¿¡ ±¸´Ú´Ù¸® ÄÄÆÄÀÏ·¯¸¦ »ç¿ëÇÏ´Ùº¸´Ï... 
2017-01-31 ¿ÀÀü 1:46:01