Re: Can't play asf file
- From: "Ignacio Vara" <ivara@xxxxxx>
- Date: Thu, 28 Jul 2005 14:00:21 +0200
Hi,
You can add a "Codec list object" like this:
IWMHeaderInfo3* pHeaderInfo3;
hr = m_pWriter->QueryInterface( IID_IWMHeaderInfo3,( void** )&pHeaderInfo3);
char fcc[5];
strcpy(fcc,"DX50");
hr = pHeaderInfo3->AddCodecInfo(L"ffdshow MPEG-4 Video
Decoder",L"",WMT_CODECINFO_VIDEO,4,(BYTE*)fcc);
but I think you don't need it.
Anyway it doesn't work with or without it.
I will try adding an audio channel.
Thanks.
IVV
"rvfr" <rvfr@xxxxxxxxxxxxxxxxxxxxxxxxx> escribió en el mensaje
news:A50A9FF8-3332-41A2-A339-E09B82C77E09@xxxxxxxxxxxxxxxx
> Hi all,
>
> I have exactly the same problem, following the same tutorial !
>
> Players like DivX Player v6, GraphEdit (which uses DivX Decoder Filter)
> and
> the Windows Media SDK sample DSPplay (which uses DirectShow's WM ASF
> Reader
> Filter) are playing correctly my videos.
> But not Media Player v10 neither Windows Media SDK sample WMSyncReader :
> no
> image read (like if there were no image in the file) but no error returned
> !
> No error reported by Windows Media ASFView (available on this web site).
> Windows Explorer shows correctly the first frame.
>
> Media Player v10 properties panel indicates no video codec (it displays
> "-"). Is it normal ?
>
> Notes:
> - I have only one stream, the DX50 coded video stream (no audio stream).
> - My files do not have "Codec list object". Is it possible/necesary to
> create one ? If yes, how ?
> - I think my frames times are correct (and I use the default Temporal
> indexes functionality).
>
> Thanks.
> rvfr.
> ------
>
> "Ignacio Vara" wrote:
>
>> Hi all,
>> I encoded and .asf file with a third-party codec (FourCC: DX50)
>> with the WM Format SDK.
>> I can play it in Graph Edit with the ffdshow codec, an also in
>> the old mplayer2.exe, but when i try with the Media Player 10, it tries
>> to open and just stop.
>>
>> Any idea of what setting i am missing in the encoding?
>> I just tried to follow the tutorial "To Create ASF Files Using
>> Third-Party
>> codecs"
>> of the WM Format SDK.
>>
>> Thanks.
>>
>>
>>
.
- Follow-Ups:
- Re: Can't play asf file
- From: rvfr
- Re: Can't play asf file
- References:
- Can't play asf file
- From: Ignacio Vara
- RE: Can't play asf file
- From: rvfr
- Can't play asf file
- Prev by Date: Can not start playing video wherever I want in an ASF file being b
- Next by Date: How to use IWMPPlayerServices interface in C#?
- Previous by thread: RE: Can't play asf file
- Next by thread: Re: Can't play asf file
- Index(es):
Relevant Pages
|