> On Jun 6, 8:19 pm, dl0 <dl0ban...[ at ]gmail.com> wrote:
>> On Jun 6, 7:40 pm, dl0 <dl0ban...[ at ]gmail.com> wrote:
>>
>>
>>
>>
>>
>>> On Jun 6, 1:51 pm, "Alessandro Angeli" <nob...[ at ]nowhere.in.the.net>
>>> wrote:
>>>> From: "dl0"
>>>>> I'm getting this error, specifically in the WMVCopy
>>>>> sample code.
>>>>> I'm running it like
>>>>> wmvcopy -i mms://oct.oct.oct.oct/pubname -o myfile.wmv
>>>>> It was my understanding the WMReader could open from a
>>>>> URL. I tried HTTP as well and this didn't work either.
>>>>> Seems to give me the same error. I know there aren't any
>>>>> firewall issues because I can open the designated stream
>>>>> with MP11 no problem.
>>>> E_INVALIDARG
>>>> What exact call is returning that error?
>>>> --
>>>> // Alessandro Angeli
>>>> // MVP :: DirectShow / MediaFoundation
>>>> // mvpnews at riseoftheants dot com
>>>> //
http://www.riseoftheants.com/mmx/faq.htm>>> Apparently Google gets everything first. It was a crazy day and I
>>> wasn't seeing anything on the site I was posting on. Sorry about
>>> that.
>>> Iif( m_qwDuration == 0 )
>>> {
>>> hr = E_INVALIDARG;
>>> return( hr );
>>> }
>>> I tried 0 initially thinking it was "forever" and it clearly is not,
>>> but I have tried it with other values as well. Still does the same
>>> thing so CreateReader is failing...
>>> Thanks,
>>> Sorry about the confusion.- Hide quoted text -
>>> - Show quoted text -
>> More specifically,
>>
>> hr = m_pReaderHeaderInfo->GetAttributeByName( &wStreamNumber,
>> g_wszWMDuration,
>> &enumType,
>> (BYTE
>> *)&m_qwDuration,
>> &cbLength );
>>
>> Is setting it to 0 no matter what. The if statement down below is
>> just catching it.- Hide quoted text -
>>
>> - Show quoted text -
>
> Well I think that its telling me is the stream is Live. I already
> know that... I have to be able to record live streams for archiving.
> This begs the question, is this just a setting on the WMReader? It
> says "URL" in the documenation but my URLs go to live streams
> exclusively.
>