Re: Can't play asf file



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.
>>
>>
>>


.



Relevant Pages

  • Re: wmp wont play any audio
    ... See http://www.zachd.com/pss/pss.html for some helpful WMP info. ... "Larger Than Life" by "They Might Be Giants" in Windows Media ... > "Windows Media Player cannot play the file. ... > and I still get the "Error Downloading Codec" in the info ...
    (microsoft.public.windowsmedia.player)
  • Re: WMP 11 cannot play the file, (radio), great, but what codec? File?
    ... The message I get is 'Windows Media Player cannot play the file. ... How do I know what codec it needs? ...
    (microsoft.public.windowsmedia.player)
  • Re: WMP 11 cannot play the file, (radio), great, but what codec? File?
    ... So if this is failing for you, it's not a missing codec issue if you're able ... I am trying to use WMP11 to play ... The message I get is 'Windows Media Player cannot play the file. ...
    (microsoft.public.windowsmedia.player)
  • Re: Problem playing WMV file
    ... Worth a try is to use the media player to 'Sync' to the pocket PC. ... >Windows Media Player seems to play the file, ... >Audio Codec: ACELP.net ...
    (microsoft.public.pocketpc.multimedia)
  • Re: audio, wav, mps, midi, player
    ... The Windows Media SDK will work with the media player, ... need to be able to set the midi insturment. ...
    (microsoft.public.dotnet.languages.vb)