I have an H264 stream (IIS - smooth streaming) that I would like to play with SilverLight. Apparently SilverLight can do it, but how?
Note:
the VC-1 stream can be played by the SilverLight, but H264 not.
Also, I can provide a stream and any additional information required. H264 encoder is the one in Media Foundation (MFT). Same goes for the VC-1 that works (although is it impossible to create equal chunks for smooth streaming because forcing key-frame insertion makes video jerky.
EDIT: MPEG2VIDEOINFO values for H264:
How to play H264 stream with SilverLight?
1.6k views Asked by user1764961 At
2
There are 2 answers
20
Sergey K.
On
Silverlight 3 can play H264 files. Use MediaStreamSource for this.
Here is the interface description: http://msdn.microsoft.com/en-us/library/system.windows.media.mediastreamsource(v=vs.95).aspx
Also, this blog entry is related to H264 playing sing Silverlight 3: http://nonsenseinbasic.blogspot.ru/2011/05/silverlights-mediastreamsource-some.html It will help you with other issues that may arise.
Related Questions in SILVERLIGHT
- ServiceReferences.ClientConfig use basicHttpsBinding or similar
- How to draw and show map in in ArcGIS C# Silverlight Application
- ESRI.ArcGIS.Client.Symbols.SimpleFillSymbol invoke system crash on Unhandled Error in Silverlight Application
- OpenSilver 'Tapped' event not triggered on phone
- Debugging Silverlight with Microsoft Edge
- Where to download Silverlight Developer Runtime nowadays?
- Where can I download RiaServices.msi nowadays?
- How to build old Silverlight project in Azure DevOps?
- reading of barcodes are badly interpreted in silverlight app with edge
- StringFormat doesnt change number in Silverlight <telerik:GridViewDataColumn>
- Migrate Silverlight check for ElevatedPermission to ASP.NET MVC
- How do I install Silverlight now that it has been discontinued?
- OpenSilver and Dispatcher.CheckAccess
- Port Silverlight Storyboard to WPF
- Silverlight bing maps component are no longer working
Related Questions in VIDEO-STREAMING
- Can I use local resources for mp4 playback?
- Google Chrome is consuming a lot of CPU on a video call?
- Agora Broadcast live streaming black screen on ios browsers when starting a stream agora-rtc-sdk-ng react web app
- Is there a way to add audio select button in controls of react-player along with captions select button?
- Issues Starting Real-Time Streaming onClick of an Icon in an Android App
- Unable to embed a local HLS stream into a browser
- How to control start and stop video streaming from ESP32-CAM?
- LiveKit: Stream audio and video using python sdk
- How to control fetch-size of Expo-AV Video component?
- Stream video through a nodejs proxy server
- API in nodeJS which serves a video from buffer, which is hosted on iis, working in localhost but not through domain name
- Flask Streaming mp4 video works perfectly on windows but not mobile phone
- bitmobin Streaming url video casting issue via DLNA service
- Sometimes when video is encoded using the Video Toolbox Encoder for web live streaming, the decoder output always has a 4 frame latency
- Scan QR code and redirect on successful scan opencv flask python
Related Questions in H.264
- Android mediacodec avc/h264 encoder always produces 1MB output buffer size
- Video Emulation solution
- Exoplayer does not play h264 mpeg-4 avc (part 10) codec in Android
- Client side H.264 (MP4) video compression/encoding
- Gstreamer Serial communication between 2 devices
- Decode h264 frame using android hardware accelerated decoder in gstreamer
- FFMPEG C Library: Encoding h264 stream into Matroska .mkv container creates corrupt files
- Adding h264 frames to mp4 file
- H264 data changing after serial communication in Python
- Extend Frame Size and Re-Encoding Video to be Blu-Ray Compliant with ffmpeg and tsMuxer
- Is there min size of IMFSample when ProcessInput?
- RTSP server on live555 start send client on I-Frame (h264)
- Python Handling H264 Frames for Live Stream from Eufy Server
- MediaCodec Async mode with NDK not triggering callback functions
- GstAppSink: Sharing between two pipelines
Related Questions in MS-MEDIA-FOUNDATION
- HDR video publishing
- Video isn't recognized as HDR in YouTube upload
- m_pTransform->ProcessInput(0, pInputSample, 0) fails
- Media Foundation cannot initialise transform (cannot connect to Windows Update)
- E_INVALIDARG when I encode the NV12 texture?
- Is there a way to intercept webcam "TakePhoto" trigger button in Windows Media Foundation?
- Is there min size of IMFSample when ProcessInput?
- ISampleGrabberCB sampleCB() not getting called when using DirectShow
- MFTransform::ProcessOutput hangs in the function CDXVAFrameManager::WaitOnSampleReturnedByRenderer
- How to use a custom MediaSource for a virtual camera? Also, how and where should I register the CLSID for my virtual camera?
- how to decode data using MFVideoFormat_H264?
- How to get the required elevated privileges for my C++ application?
- Using DXVA2 in MediaFoundation, LNK2001 was encountered when compiling
- How does MediaFoundation set the brightness and other properties of UVC cameras
- MediaFoundation uses IMFTopology, IMFTopologyNode, IMFTopoLoader to create playback topology
Related Questions in SMOOTH-STREAMING
- How to request a single ISM smooth stream fragment and parse a single video frame?
- Concatenating Smooth Streaming output to a single MP4 file - problems with A/V sync. What is CodecPrivateData?
- Microsoft Smooth Streaming declares timescale of 10M by default
- Failed to resolve: com.google.android.exoplayer:exoplayer-smoothstreaming:2.6.1
- Load Testing video streaming HLS/MPEG-DASH/Smooth : What metrics do I need?
- Windows 10 UWP Smooth Streaming Video set the heuristic profile
- Splitting mp4 files vs mp4-dash
- UWP Windows 10 app - Smooth Streaming support
- Azure Media Services freezes on Android
- Playready encrypted test SMOOTH content with a license URL and token
- ExoPlayer: "Internal runtime error" on certain PlayReady-protected assets
- Download ism video for offline playback
- Programmatically configure application pools to support smooth streaming publishing points?
- Live Smooth Streaming in IIS from webcam using FFMPEG
- Smooth streaming - How does silverlight choose default language track in multi audio manifest
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Just a guess. Based on your question 18009152. I am guessing you are encoding h.264 using the annexb bitstream format. According to comments, you can not tell the encoder to use AVCC format. Therefore, you must perform this conversion manually (Annex B WILL NOT work in an ISO container). You can do this by looking for start codes in your AVC stream. A start code is 3 or 4 bytes (0x000001, 0x00000001). You get the length of the NALU by locating the next start code, or the end of the stream. Strip the start code (throw it away) and in its place write the size of the NALU in a 32bit integer big endian. Then write this data to the container. Just to be clear, this is performed on the video frames that come out of the encoder. The extra data is a separate step that appears you have mostly figure out (except for the NALUSizeLength). Because we uses a 4 byte integer to write the NALU sizes, you MUST set NALUSizeLength to 4.