I am trying to run the SSFBasicMuxer sample on one of my video files to convert to Smooth Streaming format, but I get VFW_E_UNSUPPORTED_STREAM error when trying to RenderFile(); The file is .mp4 extension/container and is video only h.264 compression. It plays
fine when I double-click it, so it's not the file.
The muxer sample app uses DShow as the input pipeline. Windows doesn't come with a H.264 demuxer for DShow out-of-the-box, the one it comes with is for Media Foundation only (which is what Windows 7 uses by default when you play a .mp4 file containing H.264
video). Therefore, to use the app with H.264 you'll need a 3rd party demuxer. The one we've tested the app with is the Haali Media Splitter (http://haali.su/mkv/).
Thanks for the response. What I really need to do is, instead of demuxing h.264 from a file, I need to Push the output from a Directshow Capture Device (which is a camera that has encoded h.264 raw video output from it's pin) to Live Smooth Streaming on IIS
server. Is this possible? What changes would I have to make to the SSFBasicMuxer to do this? Are there any other examples of this? The Properties of my Encoded Output Pin are: Mediatype_video/Mediasubtype_h264 formattype: format_videoinfo bFixedSizeSampels:
True bTemporalCompr: False lSampleSize: 506880 cbFormat: 88 biSize: 40 biWidth: 704 biHeight: 480 biPlanes: 1 biBitCount: 12 biCompression: 0x34363248 (H264)
, I need to Push the output from a Directshow Capture Device (which is a camera that has encoded h.264 raw video output from it's pin) to Live Smooth Streaming on IIS server. Is this possible?
Yes. Since I have no experience on SSFBasicMuxer, I have no good comments for your quesiton. However, if you use the Microsft Expression Encoder directly to encode your video file comig from camera, you surely can do what you want to implement. Please check
this paragraph "Pushing a Stream to the Live Smooth Streaming Publishing Point" within this artitcle:
Yes, I know I can use the EE4 to "encode" the video stream coming from the camera, but what if the stream is already encoded in h.264 (the hard work is done in hardware)? Will EE4 take the already encoded h.264 and push that to a Smooth Streaming Server? If
not, what is the best way to do this?
Well, currently I only consider the EE4. You said "the hard work is done in hardward", if possible please try using EE4 directly to encode your video file.
Please mark the replies as answers if they help or unmark if not.
Feedback to us
EE might be an easy solution but it's not necessarily a simple solution from the point of view of application design. From what I know EE will transcode rather than transmux the video in this case. Basically that means it'll decompress and recompress the
video, and although it does that efficiently using the GPU, that's unnecessary processing given the camera already outputs a compressed H.264 stream. The real benefit of the GPU is in the encoding, but this video stream is already encoded. In that sense going
with EE is a little bit of overkill. The SDK is likely to result in a simpler solution (i.e., fewer 'moving parts') that'll be less resource-intensive. Of course the trade-off is it requires writting and testing a lot of code. Moreover EE is a finished product
while the SDK is still in Beta 2 :(
TARJr67
3 Posts
Running SSFBasicMuxer sample and getting 0x80040265 (VFW_E_UNSUPPORTED_STREAM) for MP4
Apr 24, 2012 07:00 PM|LINK
mp4 H.264 smooth streamaming
thalesc
22 Posts
Re: Running SSFBasicMuxer sample and getting 0x80040265 (VFW_E_UNSUPPORTED_STREAM) for MP4
Apr 25, 2012 06:13 PM|LINK
The muxer sample app uses DShow as the input pipeline. Windows doesn't come with a H.264 demuxer for DShow out-of-the-box, the one it comes with is for Media Foundation only (which is what Windows 7 uses by default when you play a .mp4 file containing H.264 video). Therefore, to use the app with H.264 you'll need a 3rd party demuxer. The one we've tested the app with is the Haali Media Splitter (http://haali.su/mkv/).
TARJr67
3 Posts
Re: Running SSFBasicMuxer sample and getting 0x80040265 (VFW_E_UNSUPPORTED_STREAM) for MP4
Apr 26, 2012 12:47 AM|LINK
Mamba Dai - ...
651 Posts
Microsoft
Re: Running SSFBasicMuxer sample and getting 0x80040265 (VFW_E_UNSUPPORTED_STREAM) for MP4
Apr 30, 2012 08:22 AM|LINK
Hi,
Yes. Since I have no experience on SSFBasicMuxer, I have no good comments for your quesiton. However, if you use the Microsft Expression Encoder directly to encode your video file comig from camera, you surely can do what you want to implement. Please check this paragraph "Pushing a Stream to the Live Smooth Streaming Publishing Point" within this artitcle:
http://learn.iis.net/page.aspx/620/getting-started-with-iis-live-smooth-streaming/
Feedback to us
Develop and promote your apps in Windows Store
TARJr67
3 Posts
Re: Running SSFBasicMuxer sample and getting 0x80040265 (VFW_E_UNSUPPORTED_STREAM) for MP4
Apr 30, 2012 03:40 PM|LINK
Mamba Dai - ...
651 Posts
Microsoft
Re: Running SSFBasicMuxer sample and getting 0x80040265 (VFW_E_UNSUPPORTED_STREAM) for MP4
May 02, 2012 02:49 AM|LINK
Well, currently I only consider the EE4. You said "the hard work is done in hardward", if possible please try using EE4 directly to encode your video file.
Feedback to us
Develop and promote your apps in Windows Store
thalesc
22 Posts
Re: Running SSFBasicMuxer sample and getting 0x80040265 (VFW_E_UNSUPPORTED_STREAM) for MP4
May 03, 2012 03:58 AM|LINK
EE might be an easy solution but it's not necessarily a simple solution from the point of view of application design. From what I know EE will transcode rather than transmux the video in this case. Basically that means it'll decompress and recompress the video, and although it does that efficiently using the GPU, that's unnecessary processing given the camera already outputs a compressed H.264 stream. The real benefit of the GPU is in the encoding, but this video stream is already encoded. In that sense going with EE is a little bit of overkill. The SDK is likely to result in a simpler solution (i.e., fewer 'moving parts') that'll be less resource-intensive. Of course the trade-off is it requires writting and testing a lot of code. Moreover EE is a finished product while the SDK is still in Beta 2 :(
seba588587
28 Posts
Re: Running SSFBasicMuxer sample and getting 0x80040265 (VFW_E_UNSUPPORTED_STREAM) for MP4
May 04, 2012 08:55 AM|LINK
Hi,
are there any plans to release SDK in near (or far) future (with more samples)?
Regards,
Sebastian