• 로그인
  • Microsoft.com
  • 대한민국 (한국어)
    Brasil (Português)Česká republika (Čeština)Deutschland (Deutsch)España (Español)France (Français)Italia (Italiano)United States (English)Россия (Русский)日本 (日本語)中华人民共和国 (中文)台灣 (中文)香港特别行政區 (中文)
 
 
Microsoft Developer Network
 
 
홈
 
 
라이브러리
 
 
학습
 
 
다운로드
 
 
지원
 
 
커뮤니티
 
 
포럼
 
 
 
Microsoft Developer Network > 포럼 홈 > Visual C# General > Create video player seek bar using DirectX.AudioVideoPlayback
질문하기질문하기
포럼 검색:
  • Visual C# General 포럼 검색 Visual C# General 포럼 검색
  • MSDN 포럼 모두 검색 MSDN 포럼 모두 검색
 

답변됨Create video player seek bar using DirectX.AudioVideoPlayback

  • 2008년 1월 9일 수요일 오후 8:10Ronnin 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     
    도움이 된 게시물로 투표
    0
    Hi,

    I'm trying to create a video player using de Microsoft.Directx.AudioVideoPlayback namespace. I'd like to add a seek bar to this player but I can't find a way to do it Sad . Any idea?

    Thanks in advance
    • 응답응답
    • 인용인용
     

답변

  • 2008년 1월 9일 수요일 오후 11:42Juan Carlos Ruiz [BogotaDotNet.org]MVP사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     답변됨
    도움이 된 게시물로 투표
    0

     

    as i remember DirectX.AudioVideoPlayback is for simple usage and maybe haven't  allthe capabilities you are searching.

     

    but try whit this:

     

    Code Block

    Microsoft.DirectX.AudioVideoPlayback.Video theVideo= new Microsoft.DirectX.AudioVideoPlayback.Video(fileName);

     

    //Use both:

    //This return a double value indicating the current video position

    theVideo.CurrentPosition

    //This return a double value indicating the video Duration

    theVideo.Duration

     

     

     

     

     

     

    • 응답응답
    • 인용인용
     

모든 응답

  • 2008년 1월 10일 목요일 오전 6:04Ronnin 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     
    도움이 된 게시물로 투표
    0
    It seems as a I have to create my own seek bar using that two properties. I hope there were something already implemented because I don't want to expend so much time doing this and I am absolutely newbie creating custom controls and so on...

    Thanks for the response
    • 응답응답
    • 인용인용
     
  • 2008년 1월 10일 목요일 오전 7:04Juan Carlos Ruiz [BogotaDotNet.org]MVP사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     
    도움이 된 게시물로 투표
    0
    Using forms designer add a TrackBar object to your application and combine this with the values previously i showed to you.

    Ensure the object container to your video isn't the entire windows form, use a panel or something like that.
    • 응답응답
    • 인용인용
     
  • 2008년 1월 10일 목요일 오전 7:31Ronnin 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     
    도움이 된 게시물로 투표
    0
    Ok, I'll try that this evening. Thanks again for your help
    • 응답응답
    • 인용인용
     
  • 2008년 1월 14일 월요일 오후 12:57Wen-Jun ZhangMSFT, 중재자사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     
    도움이 된 게시물로 투표
    0

    Hi Ronnin,

     

    Has the problem been resolved yet?

     

    If you do not want to create your own control to implement the seeking, another workable approach is using the WMP ActiveX control in your .net application. Please refer to:

     

    Using the Windows Media Player Control in a .NET Framework Solution
    http://msdn2.microsoft.com/en-us/library/bb248593(VS.85).aspx
     
    I hope the information helps. Thanks.
     
     
     
     
    • 응답응답
    • 인용인용
     
  • 2008년 1월 14일 월요일 오후 4:33Ronnin 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     
    도움이 된 게시물로 투표
    0
    I have used a TrackBar as suggested before and it solve my problem. Anyway I'll take a look to your suggestion.

    Thanks for answering
    • 응답응답
    • 인용인용
     
포럼과 관련하여 도움이 필요합니까? (질문과 답변)
 
© 2009 Microsoft Corporation. All rights reserved.
프로필(내 정보) 관리
|
법적정보
|
MSDN 최신 뉴스레터
|
사용약관
|
상표
|
개인정보보호