stephen46
8th May 2010, 11:36
Hi,
I am successfully using the c# .net wrappers for controlling FFDShow. Everything works and I am able to control volume, position, etc.
The problem I have is using the method "AudioStream" which should get/set the audio stream (my input has 2 audio streams).
When I use this method an exception is thrown whose text is "Input String Was Not in a Correct Format".
When I debug the getter method in FFDShow.AudioStream I find that the code:
SortedDictionary<int, Stream> audioStreams = new SortedDictionary<int, Stream>();
string listString = getCustomParam(FFD_MSG.GET_AUDIOSTREAMSLIST, 0);
only returns the string "<", and thus a call to parseStreamsString() throws the exception
The video I am using has 2 audio streams, and I can see both in the ffdshow audio decoder configuration tool. In addition I have ticked the box in "Stream Switcher" enable box in this tool.
Any help would be appreciated
I have tried posting this on ffdshow tryouts forum, however had no replies (although it would appear by the number of replies that it is dormant)
Steve
I am successfully using the c# .net wrappers for controlling FFDShow. Everything works and I am able to control volume, position, etc.
The problem I have is using the method "AudioStream" which should get/set the audio stream (my input has 2 audio streams).
When I use this method an exception is thrown whose text is "Input String Was Not in a Correct Format".
When I debug the getter method in FFDShow.AudioStream I find that the code:
SortedDictionary<int, Stream> audioStreams = new SortedDictionary<int, Stream>();
string listString = getCustomParam(FFD_MSG.GET_AUDIOSTREAMSLIST, 0);
only returns the string "<", and thus a call to parseStreamsString() throws the exception
The video I am using has 2 audio streams, and I can see both in the ffdshow audio decoder configuration tool. In addition I have ticked the box in "Stream Switcher" enable box in this tool.
Any help would be appreciated
I have tried posting this on ffdshow tryouts forum, however had no replies (although it would appear by the number of replies that it is dormant)
Steve