473,657 Members | 2,587 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

AudioVideoPlayb ack CurrentPosition

Hello.

I have a problem using Microsoft.Direc tX.AudioVideoPl ayback; Video.
The property CurrentPosition gets the current position in the buffer but not
the current position of the frame that is displayed on the screen.
How is it possible to get that value or are there any workarounds? On slow
computers CurrentPosition is more or less useless...

Thanks a lot and greetings,
Tim.
Nov 16 '05 #1
0 1861

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
13000
by: Kieran Benton | last post by:
Hi everyone, Sorry this is more than a little off topic but Im having a terrible time trying to get anyone at the managed directX groups to reply so I'm going to try with everyone here as they are far more helpful! Im having problems with sound quality using the Audio class from this namespace and I was wondering if anyone else had similar issues or knows of any links to info about problems. Failing that anyone who has any information...
2
2174
by: D Cameron | last post by:
I'm using the (managed) Microsoft.DirectX.AudioVideoPlayback namespace to program an app where I want to quickly swap the video that is being displayed, playing the new video from the position where the old one left off. Here's a sample of the relevant code: // when this code is executed the current video // is happily playing current.Pause(); double pos = current.CurrentPosition; current.Ending -= endHandler;
1
2334
by: Charles Herring | last post by:
In my asp.net application I upload a video file and then need to get the duration and other properties. I get "Attempted to access an unloaded AppDomain" when I instanciate the Video object. I am impersonating Administrator. Here is the code: Dim v As Video = New Video(fname, True) intHeight = v.DefaultSize.Height
2
2505
by: Ian | last post by:
Does anyone know of a way where you can bind one of the Audio objects from DirectX.AudioVidoPlayback to a DirectX.DirectSound object? I need to do this because I need to be able to play several video clips at a time *and* send the audio of each video clip to differeing sound devices that have been enumerated previously. So far I've only found DirectSound to be effective at enumerating sound devices and so if I could create a DirectSound object...
2
2133
by: Bernhard Bauernhofer | last post by:
how can i adjust the volume of a video? that doesn't work: ourVideo = New Video(vid1) ourVideo.Owner = Me ourVideo.Audio.Volume = 0 'Start playing now ourVideo.Play()
0
2027
by: Terry Olsen | last post by:
If I have an audio file playing using DirectX.AudioVideoPlayback.Audio and I click the stop button, using the following code: Private Sub btnStop_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnStop.Click Try Player.StopWhenReady() Catch End Try End Sub
0
1376
by: DaveP | last post by:
Hi, I have a particular problem that I need to solve quite urgently, and no amount of web searching and API reading has helped me! I need to render a video in a window on the main screen and full screen on a second display. I also need to do this frame by frame, rather than as a continuous stream. Is there anything anyone can point me at that would enable me to do this? Dave
2
1498
by: gigs | last post by:
how can i set position to the beginning for another loop_
4
3315
by: mariusz | last post by:
Hi All, I have a problem with component DirectX.AudioVideoPlayback.Video. Following part of code works good but I have one problem. The movie is allways on the top left corner of the display. Size of the movie has change according to size of the PictureBox but position of the movie is allways the same: top left corner. How can I change position of the movie? Protected Overrides Sub OnResize(ByVal e As System.EventArgs)...
0
8394
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8306
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8732
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8503
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6164
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4152
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4304
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2726
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1615
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.