I am using MediaElement in my wp7 project which plays the video from online stream (mp4 format)
Things seems working but sometimes I noticed that Video gets a bit quick like playing in fast mode for a while and that makes video a bit ahead of Audio.
So whats the reason, Should I use MediaStreamSource or should I use SmoothMediaElement?
I thought it might be due to there are some threads which are updating UI using "Dispatcher.BeginInvoke" so I tried stopping all of them but problem remains there so it can be due to slow network or something but it shouldn't be doing like this. :(
Please help.
Related
I've searched high and low for a steer on this issue.
When I setup a C# WPF MediaElement to play a MP4/WMV video in test project, the video plays and the audio sounds fine.
When i try the same in my actual project, the video jumps and the audio pops and clicks (not in unison).
Can anyone offer a solution for this issue, or at best a debugging strategy?
Thanks
I'm working on a project where I need to record the desktop during an event started by the user. I found this code which has been really helpful, since I am new to C#.
However, when I increase the FPS in the Recorder Params in main, the outputted video file is sped up drastically. It seems to be speeding up in relation to how much you increase the FPS by.
I've tried to look into why this might be happening, but I can't find any documentation on SharpAVI or on Captura. Can anyone shed some light on why this might be happening? It would be really nice to be able to have a 30 FPS avi, and for the sake of learning, I'd really like to know whats going on.
If anyone is interested this is an issue i had. I found you have to timestamp each of the frames individually as the media player you are using doesnt know when to update the frame so by default just updates them as quickly as possible.
I'm looking for a way to record an audio from the phone's mic in the background. Basically I want to run my application in the background so that at specified time (e.g. from 20:00 to 21:00) it records the audio from the mic (NOT during the call), without displaying any UI, and saves it to the disk as audio file (any format).
I've seen comments that it can't be done, but I haven't seen the proof or definite answer. I just found this link: http://msdn.microsoft.com/en-us/library/windows/apps/hh202942(v=vs.105).aspx that mentions running code in the background, but I'm not sure it is what I need. I have no experience in Windows Phone development whatsoever, but I have a solid .NET background so I can research my way into developing such simple app, only if it is technically possible.
But before I try exploring SDK, I'd like to know whether it is possible at all. And if it is, I'd appreciate any hints to how can this be done.
Hello I am writing a WPF application which should plays a set of videos which should played fullscreen.
i tried to work with some VLC lib's but they did not worked for me.
then i moved to mediaelement - when i start playing a video i always get a black flicker
loading multiple videos was a huge performance loss - videos stuttered...
any recommendations how to resolve this issue ?
i plan do the following programm:
the kinect detects people which move along --> the programm plays a video
if people stop and watch the screen --> the programm plays a extended version
UPDATE: checked vlc.net and it will also have a BLACK frame at the beginnign -- ARGH !
UPDATE: seems like the first frame is always black!? hmmm (added timer and started the video 1 second after it was loaded - still have the black frame ...)
Solution for my application : i use vvvv.org and send my data trough a UDP connection - i handle the video stuff in this VVVV application - works great ... i am very disapointed by microsofts video support ... i hope this will get better in the future thx anyways :)
When using SimpleOpenNI and processing I had a smooth skeleton view, about 30fps. Using VC# and the skeletal tracking example it seems like about 10fps. As if something was blocking it.
Why is it that slow and how do I make it as fast as in processing?
pastebin.com/1La80sRU is the c# code basis - it is the original.
I have tried your code, and to me it seems fine. I am using an Xbox-360 Kinect and the FPS is just fine. It seems to stumble a bit when you are first detected, but that is expected since it then requires more data. A video of me doing this can be found here. It also seems that your Kinect needs to warm up (slower at beginning => gets faster later on). My video does not show that since I started recording after Kinect was warmed up.