Werbung: SecurityConsole.de verwaltet Ihre Computer mit Security Essentails aus der Cloud!
30 Tage kostenfrei testen und 20% Rabatt für Ihre Bestellung mit Promocode: WBF2685582
(Promocode gültig bis 31.12.2011)

Group:  English: Entertainment » microsoft.public.windowsmedia.sdk
Thread: Getting error 0x80070057 on IWMReader in WMVCopy sample

HTVi
TV Discussion Newsgroups

Getting error 0x80070057 on IWMReader in WMVCopy sample
"me"<dl0haus[ at ]yahoo.com> 6/7/2007 12:57:41 AM
I'm new to WMFSDK programming and have been going through the samples. It
seems that one sample, WMVCopy, does almost exactly what I need in an
application.

The problem comes after I compile it and attempt to run it against a URL. I
get 0x80070057 which after I looked seems to be "invalid parameter". The
command looks like:

wmvcopy -i mms://192.168.0.1/port1 -o myfile.wmv

I get:
Creating the Reader...
Reader Callback: File is opened.
Could not create the Reader (hr=0x80070057).

I can open the URL through IE no problems and get the stream when it opens
MP. I know this isn't a network issue which makes some sense since it never
seems to get to that point.

I have tried it with two local WMV files and it works fine. I was under the
impression that IWMReader can read network streams. The only thing that's
"different" here is the stream isn't a file on the server, its a live stream
from an encoder. I also tried an http:// variant of the same thing; same
problem.

Thanks ahead of time for any help!

What's going on here? I was hoping IWMReader can read live streams since
I'm trying to implement a stream downloader for my company's video archival
needs.
Re: Getting error 0x80070057 on IWMReader in WMVCopy sample
"The March Hare [MVP]" <phil[ at ]ndsm.maps> 6/7/2007 1:19:21 AM
On Wed, 6 Jun 2007 19:57:41 -0500, me wrote:

[Quoted Text]
> I'm new to WMFSDK programming and have been going through the samples. It
> seems that one sample, WMVCopy, does almost exactly what I need in an
> application.

What don't you understand about what Alessandro wrote:

"Don't repost the same question in another thread. Reply on
the previous thread and answer what I asked to try to figure
out your problem."

?

--
Please read this before replying:
1. Dshow & posting help: http://tmhare.mvps.org/help.htm
2. Trim & respond inline (please don't top post or snip everything)
3. Benefit others: follow up if you are helped or you found a solution
Re: Getting error 0x80070057 on IWMReader in WMVCopy sample
dl0 <dl0banter[ at ]gmail.com> 6/7/2007 1:33:46 AM
On Jun 6, 7:19 pm, "The March Hare [MVP]" <p...[ at ]ndsm.maps> wrote:
[Quoted Text]
> On Wed, 6 Jun 2007 19:57:41 -0500, me wrote:
> > I'm new to WMFSDK programming and have been going through the samples. It
> > seems that one sample, WMVCopy, does almost exactly what I need in an
> > application.
>
> What don't you understand about what Alessandro wrote:
>
> "Don't repost the same question in another thread. Reply on
> the previous thread and answer what I asked to try to figure
> out your problem."
>
> ?
>
> --
> Please read this before replying:
> 1. Dshow & posting help: http://tmhare.mvps.org/help.htm
> 2. Trim & respond inline (please don't top post or snip everything)
> 3. Benefit others: follow up if you are helped or you found a solution

I forgot it takes forever to see anything... google gets them first.
I've been out of my mind today busy and since I never saw my posts
(usually they post immediately everywhere) I assumed I hadn't posted
anything.

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net
Suche nach Orten, Städten, Postleitzahlen, Vorwahlen, Kfz-Kennzeichen