|
Buffering a media content, while playing the other one in WMP
Hi all,
I am developing an application in C# that has a form with Windows Media
Player embedded inside. There are several links to some online content in my
app. and I want user to change the content from one to another with a button
click. Since WMP spent some time while buffering for the next content, I want
to continue playing the current content. There is an event called "Buffering"...
|
3 |
12/29/2008 2:16:15 PM |
|
IWMReader::Close crash
I'm reading audio stream from some url (mms://). I can normally call Open(),
Start(), Stop(), but when I call Close(), I get access violation. I receive
WMT_STOPPED and pointer to WMReader becomes 0xfeeefeee.
Any idea?
...
|
1 |
12/27/2008 12:44:07 AM |
|
ASF - Video Stream with 8 bpp
Hello guys,
I'm creating ASF files with a Video Stream of 8bpp, and a third party
codec that was created by my team.
When I create the Video Stream, there is no error but then the ASF Viewer
shows me that the WMSDK is adding an "Extra Data Size" of 1024 bytes which
are garbage bytes (the information of the audio streams).
If I change from 8bpp to 16bpp, this behaviour disappea...
|
7 |
12/26/2008 9:52:31 PM |
|
DirectShow Plug-In For All Popular Video Editing Software
Hi All,
After three weeks of fiddling, I am finally streaming video over our
LAN over a new type of protocol stack that runs in parallel to TCP/IP.
The filter is a Source URL filter.The images come out at other end of
the LAN up-side-down, but I think I can fix that.
I would like to get my filter to load as a plug-in to all popular
video editing software (Adobe Premiere, etc.). I noticed...
|
3 |
12/23/2008 6:12:38 AM |
|
Writing Windows Media script commands in DirectShow?
Hi folks,
I'm at my wit's end with this. I've created a profile with an audio stream,
a video stream, and a script stream. I did this with the WM9 Profile editor,
and the ConfigureFilterUsingProfile function on the writer filter seems to
accept it. I've created a CSource filter that exposes a WMMEDIATYPE_Script
stream, and it successfully connects to the script input pin on the ASF
...
|
2 |
12/23/2008 1:34:44 AM |
|
recordeing Encoder Stream to Disk
Hello,
I’m writing an application that uses the Windows Media Format API to read a
stream, broadcast by Windows Media Encoder, and save it to disk.
I’ve written a quick test application in C++ to test that this can be done.
The app can open the stream but cannot save it, getting a FALSE output from
the call to IWMReaderAdvanced4->CanSaveFileAs().
Can anyone point me in the right di...
|
4 |
12/22/2008 12:57:01 PM |
|
VC-1 StartAnalyze BeginWriting 2-pass Chicken Or Egg Conundrum
I was wondering how to implement 2-pass encoding for video AND audio using
WMF11 and the VC-1 sdk.
From what I can tell it can't be done in one fell swoop, as it's a sort of
"which came first, the chicken or the egg".
For VC-1, you have GetCodecPrivateData which can only be retrieved after
StartEncode.
Yet, for the ASF profile, you can't set append the
CodecPrivateDataSequenceHeader...
|
2 |
12/19/2008 5:41:00 PM |
|
Change mediatype in asf-file
Hello!
I am using the wmf sdk to create asf-files containing mpeg4 video.
Everything works ok when I use VIDEOINFOHEADER to describe the video stream,
but now I want to change to MPEG2VideoInfo.
According to the documentation that should be possible?
http://msdn.microsoft.com/en-us/library/aa392195(VS.85).aspx
The problem is that the created asf-files seems to get a corrupt
bitmapinfoh...
|
2 |
12/19/2008 5:36:46 PM |
|
Simultaneous playback during encoding with IWMWriter
Hello,
I'd have to write a hardware specific codec to write to Windows Media
file format. SDK's UncompAVItoWMV sample was a good start point though
I've encountered one issue which doesn't permit me to comply with the
software requirements:
- Writing content should be available for playout in a editing system.
A file is being written in a share mode and can be opened by any
DirectShow o...
|
2 |
12/19/2008 4:56:34 PM |
|
Video/Sound not in sync when embedded
When embedded as a control into an application using
AxWindowsMediaPlayer, on windows mobile 6.1, the video is much slower
than when running as a standalone application. As a result, the video
is still playing when the audio stream ends (they're not in sync at
all).
Anyone experiencing it too?...
|
1 |
12/18/2008 2:39:38 AM |
|
Setting AxWindowsMediaPlayer.windowlessVideo to true generates an exception...
In my numerous attempts to get some video playback capabilities in my
CF3.5/WM6.1 application, I finally managed to get something working by
using the "Hosting a native windows control" sample from MS.
However, when I set the windowlessVideo property of my
AxWindowsMediaPlayer control to true, I get an ArgumentException.
mp = new AxWindowsMediaPlayer();
mp.uiMode="none";
// I gave the c...
|
1 |
12/18/2008 1:18:04 AM |
|
WMV file created by IWMWriter not playing properly in wmp 11
My application converts a proprietary video file format to wmv file (using
Windows Media Video 9 codec). Playing the WMV file using Windows Media
Player 9 all seems to work fine, but if the same file is opened using WMP 11
seeking using the slide bar causes the video to hang, the slide bar resets to
the beginning and starts moving forward. Once the slide bar reaches location
dragged to ...
|
5 |
12/17/2008 7:26:01 PM |
|
WPD API in Vista x64?
Hi,
I would like to know if the WPD (Windows Portable API) can be used in Vista
x64?
I have successfully used the API on Vista 32-bit and XP 32-bit operating
systems (via c# code) but when the same code is executed on Vista x64, it
crashes when "GetDevices" is invoked.
The problem is that it seems to be a system crash and I cannot debug it any
further.
Do I need to do anything ...
|
3 |
12/15/2008 6:06:03 PM |
|
'Windows Media Format' support in wince
Does anyone know which version of WMF is supported in WINCE 5.0?
Any help would be appreciated, thanks in advance.
...
|
1 |
12/15/2008 11:19:00 AM |
|
WMP 11 buffering issue
I wrote a source (via windows media foundation) for wmp11 on vista which has
its own buffering mechanism. However, there is some issue with this buffering
- once buffering start event (MEBufferingStarted) is sent out to wmp, wmp
stops rendering, and once the buffering end event is sent out to wmp, the
playback resumes but the duration of buffering is added into the presentation
clock. So...
|
1 |
12/11/2008 7:42:03 PM |
|
Runtime Error after creating object WMSServerClass --> code: 80040
hi..
I was trying to create a Window Media Server by using C#. So, I went to
http://msdn.microsoft.com/en-us/library/ms741122(VS.85).aspx to start. I gave
me a simple code of how to create a server as the following:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.WindowsMediaServices;
using Micro...
|
3 |
12/11/2008 6:45:01 PM |
|
How to get USB IDs for portable MSC device in Vista?
I had a hack to get the USB IDs for a portable MSC device that involved using
CM_Parent on a Volume to get the USBSTOR device and again to get the USB
device from which I could get the USB IDs. In Vista, the parent of a Volume
is not the USBSTOR device. The WPD interface doesn't provide a way to get the
USB IDs. This has always been an issue. Why is this so hard? How is an app
suppossed ...
|
3 |
12/9/2008 8:45:01 PM |
|
DirectShow Custom URL Source Filter Fails To Load
Hi All,
I created a DirectShow Customer URL Source Filter to handle URL's
beginning with FUBAR://...but I cannot test it because GraphEdt.exe
will not load it when I do "Render URL."
I followed all the instructions at:
http://msdn.microsoft.com/en-us/library/ms787558(VS.85).aspx
except I have not specified any particular file extensions.
I get the following error from GraphEdt.exe...
|
2 |
12/6/2008 6:05:46 AM |
|
Error Creating Windows Advanced Profile File Using Bitmaps
I have a stream a bitmaps coming from a video camera and I would like to
create a compressed Windows Media 9 Advance Profile video file out of them
but I am getting an error I can not figure out. I'm writing this in C# .NET
and I'm using the wrapper library currently available on sourceforge.
I am getting exception 0xC00D0BB8 on the GetInputFormatCount method call.
public MediaWriter(s...
|
1 |
12/5/2008 9:01:00 PM |
|
Version of Wince
Hi All,
I am trying to find, whether we can use Windows Media Player 10 in Wince 6.0
or even Wince5.2. I found its windows media player 9 series in both platform
builders. Is it possible to add it in either of the wince versions, so that I
can use it for media synchronization purposes?
Could anyone please help me. I am trying to find this, googling it, no luck
till now what so ever.....
|
1 |
12/5/2008 11:35:01 AM |
|
Using a directshow codec called Dicom Media Bridge
I am trying to display dicom medical images .dcm files on the web
I register this codec on a local pc and it plays the files fine but when i
try to play a file over a url it can't find the codec I have installed.
Any help would br greatly appreciated....
|
8 |
12/4/2008 9:47:17 PM |
|
Issue using IWMHeaderInfo3:AddAttribute
Hi
I am trying to add attribute to media metadata. But when this interface
function is called, it throws an exception saying Value exceeds the expected
range.
The code I wrote is as below
bool AddAttrib(string pwszFileName, ushort wStreamNum, StringBuilder
pwszAttribName, WMT_ATTR_DATATYPE wAttribType, string pwszAttribValue, ushort
wLangIndex)
{
ushort wAttrib...
|
2 |
12/4/2008 11:57:01 AM |
|
Non HTTP URL Scheme With Custom Plug-In For Playback
Hi All,
I am new to programming the API of WMP. I have been browsing the
documentation for about an hour to learn how one would write a plug-in
for a custom stream that is not based on HTTP.
We have an old protocol that is like TCP/IP in principle, but is not
TCP/IP, so it does not support HTTP. We have a server computer that
needs to act as the source node of streaming audio/video data ...
|
10 |
12/3/2008 7:16:53 AM |
|
Windows Media Services plugin
Hi, I need to write a C++ plugin for WMS that will grab the stream from a
publishing point, parse the stream and save portions of it to file(s).
Essentially I want to achieve the same result as the WMS Archive Data Writer
but be able to control the archiving by saving desired portions of the stream
and making them available while the publishing point is active.
I've been looking at the...
|
8 |
12/2/2008 10:50:17 PM |
|
VB6 Hangs when adding a reference to the WMP.DLL
Running on XPSP2
Visual Basic 6 SP5
I created a dll using the WMP.DLL
I ran the application and it worked fine
Now when itry to open the app in vb it hangs
I rebuilt the applicationa and when I try to add a reference to the WMP.DLL
vb Hangs
Any ideas?...
|
1 |
12/2/2008 5:12:17 PM |