truble with videos
-
i'm using Microsoft.DirectX.AudioVideoPlayback in order to play some videos simultaneous . i want the user to be able to pick one of the videos as the lead audio and then i mute the others with video.audio.volume=-10000 normally its working great but if one of the movies dont have audio this action throws exception how i can know if certain video have audio in it ? does DirectX.AudioVideoPlayback.video.audio have any property for it? thanks in advence...
-
i'm using Microsoft.DirectX.AudioVideoPlayback in order to play some videos simultaneous . i want the user to be able to pick one of the videos as the lead audio and then i mute the others with video.audio.volume=-10000 normally its working great but if one of the movies dont have audio this action throws exception how i can know if certain video have audio in it ? does DirectX.AudioVideoPlayback.video.audio have any property for it? thanks in advence...
Can you just check if the
Audio
property isnull
? /raviMy new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com
-
Can you just check if the
Audio
property isnull
? /raviMy new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com
thenks for your help , i found an article in msdn that explains that when you try to get audio property from video exception will be throwen if the video has no audio , the sulotion for this problem acordding to msdn is just catch the exception and ignore it...
-
thenks for your help , i found an article in msdn that explains that when you try to get audio property from video exception will be throwen if the video has no audio , the sulotion for this problem acordding to msdn is just catch the exception and ignore it...
Ah. /ravi
My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com