Playing of AVI/WAV files with Windows Media Player from a virtual FSD

I have some troubles playing AVI/WAV files with Windows Media Player on
WinXP. My virtual FSD will correctly transfer the data using copy/paste to a
local hard disk, but when I double click in Windows Explorer to play the
files directly from my virtual drive, the Windows Media Player pops up an
error message saying “Cannot play back the file. The format is not
supported”.

When I copy/paste the same files to my local drive, and double click on them
here, they play fine!

In my IRP_MJ_READ code I get Non-Buffered I/O, No Paging I/O, Non-Cached
I/O, and Synchonous I/O. Like some AVI files get loaded up til e,g, address
0x40000, and suddenly some 0 offset reads happends, followed with cleanup
and close. I notice that the User Buffer is e.g. 0x059D6EC7, a strange odd
number!

Funny enough mp3 files plays correctly in the same Windows Media Player.

I would appreciate some help on this.

O. Thomasen


Express yourself instantly with MSN Messenger! Download today - it’s FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

Make sure you are reporting volume size information correctly in your
virtual FSD. Media player is very sensitive to non-typical sector sizes
(BytesPerSector).

cheers,
J. Moore

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Ole Thomasen
Sent: Tuesday, December 21, 2004 3:49 PM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] Playing of AVI/WAV files with Windows Media Player from
a virtual FSD

I have some troubles playing AVI/WAV files with Windows Media Player on
WinXP. My virtual FSD will correctly transfer the data using copy/paste to a
local hard disk, but when I double click in Windows Explorer to play the
files directly from my virtual drive, the Windows Media Player pops up an
error message saying “Cannot play back the file. The format is not
supported”.

When I copy/paste the same files to my local drive, and double click on them
here, they play fine!

In my IRP_MJ_READ code I get Non-Buffered I/O, No Paging I/O, Non-Cached
I/O, and Synchonous I/O. Like some AVI files get loaded up til e,g, address
0x40000, and suddenly some 0 offset reads happends, followed with cleanup
and close. I notice that the User Buffer is e.g. 0x059D6EC7, a strange odd
number!

Funny enough mp3 files plays correctly in the same Windows Media Player.

I would appreciate some help on this.

O. Thomasen


Express yourself instantly with MSN Messenger! Download today - it’s FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


Questions? First check the IFS FAQ at https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@timespring.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

Make sure you reported the correct value in Irp->IoStatus.Information when
completing the Irq.

Matt

----- Original Message -----
From: “Ole Thomasen”
Newsgroups: ntfsd
To:
Sent: Wednesday, December 22, 2004 6:48 AM
Subject: Playing of AVI/WAV files with Windows Media Player from a virtual
FSD

>I have some troubles playing AVI/WAV files with Windows Media Player on
>WinXP. My virtual FSD will correctly transfer the data using copy/paste to
>a local hard disk, but when I double click in Windows Explorer to play the
>files directly from my virtual drive, the Windows Media Player pops up an
>error message saying “Cannot play back the file. The format is not
>supported”.
>
> When I copy/paste the same files to my local drive, and double click on
> them here, they play fine!
>
> In my IRP_MJ_READ code I get Non-Buffered I/O, No Paging I/O, Non-Cached
> I/O, and Synchonous I/O. Like some AVI files get loaded up til e,g,
> address 0x40000, and suddenly some 0 offset reads happends, followed with
> cleanup and close. I notice that the User Buffer is e.g. 0x059D6EC7, a
> strange odd number!
>
> Funny enough mp3 files plays correctly in the same Windows Media Player.
>
> I would appreciate some help on this.
>
> O. Thomasen
>
> _________________________________________________________________
> Express yourself instantly with MSN Messenger! Download today - it’s FREE!
> http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
>
>