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: Audio packet size in ASF

HTVi
TV Discussion Newsgroups

Audio packet size in ASF
gordan[ at ]seed.net.tw 10/4/2008 11:05:49 PM
Hi,
I use Windows Media Format SDK 9.5 to write a ASF Muxer filter, the
filter can receive precompressed video and audio data.
In addition, I have implemented a PCI based AVStream driver as a live
source filter, it can send compressed video and audio data.
The subtype of source filter's video capture pin is "H264", and the
subtype of audio pin is "ADPCM". I use Graphedit to test, and the
connection is as followig:

For capturing file:
(H264 data)
video capture pin --> ASF muxer
audio pin -- /
(ADPCM data)

For rendering file:
WM ASF reader --> h264 decoder --> video render
\--> ADPCM decoder -> sound render device

My question is as below:
The audio pin sends 120 bytes for each packet while capturing.
However, when I render the ASF file, the packet size passing to ADPCM
decoder is only 8 byptes.
I would like the audio packedt size stored in ASF is a multiple of
3, then my ADPCM decoder can decompress the audio data.
Does anyone know which factor will determine the audio packet size
in ASF file? Could I control the packet size by modifying my source
filter or ASF muxer filter?

Thanks a lot!
Best Regards,
Gordon

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