NVIDIA Video Codec SDK encoder initialization memory leak
It appears that re-initialization of encoding session with NVIDIA Video Codec SDK is or might be producing an unexpected memory leak. So, how does it work exactly? NVENCSTATUS Status; Status =...
View ArticleMedia Foundation MP4 Media Source gets a bit too tired when doing too much work
It appears there is a sort of a limitation (read: “a bug”) in Media Foundation MPEG-4 File Source implementation when it comes to reading long fragmented MP4 files. When respective media source is...
View ArticleInfrared Camera in Media Foundation
Surface Pro (5th Gen) infrared camera streamed into Chrome browser in H.264 encoding over WebSocket connection The screenshot above shows Surface Pro tablet’s infrared camera (known as “Microsoft IR...
View ArticleUpdateVersionInfoGit: Multiple references/hashes
Some time ago I shared an application which I have been using to embed git reference into binary resources, especially as a post-build event in automated manner: Embedding a Git reference at build...
View ArticleDirectShow VMR-7 bug in Windows 10
DirectShow Video Mixing Renderer (VMR-7) filter exhibits a (regression?) bug in Windows 10 systems. When aspect ratio preservation is enabled in VMR_ARMODE_LETTER_BOX mode, which makes overall sense...
View ArticleMedia Foundation on Raspberry Pi 3 Model B+
The interesting part with live WebM Media Foundation media source I mentioned in the previous post is that the whole thing works great on… Raspberry Pi 3 Model B+ running Windows 10 IoT Core...
View ArticleVideo compression in AVerMedia Live Gamer Ultra GC553
“The next generation of game capture is here.” The device addresses needs of real time capture of video signal: offering a pass-through HDMI connection the box provides a video capture sink with USB...
View ArticleState of video remoting
Some things are working decently well… <2 frames of latency @ 60 frames/second A monitor of one system is remoted to another system where the latter is… Xbox One X. Perceivable latency with...
View ArticleSource code to fit 80 columns of text
LLVM Coding Standards – Source Code Width: Write your code to fit within 80 columns of text. This helps those of us who like to print out code and look at your code in an xterm without resizing it....
View ArticleUse of ICodecAPI interface with a video encoder managed by Media Foundation...
A bump of StackOverflow post about Media Foundation design flaw related to video encoding. Set attributes via ICodecAPI for a H.264 IMFSinkWriter Encoder I am trying to tweak the attributes of the...
View ArticleCleanPoint markup fun with a fragmented MP4 file and Media Foundation MPEG-4...
MPEG-4 Media Foundation Source stubbornly keeps marking a second video sample with a MFSampleExtension_CleanPoint flag even though nothing suggests that the video frame is an IDR frame. The actual...
View ArticleMedia Foundation incorrectly reports resolution for H.265/HEVC video tracks
Another problem (bug) with Microsoft Media Foundation MPEG-4 Media Source H.265/HEVC handler is that it ignores conformance_window_flagflag and values from H.265’s seq_parameter_set_rbsp (see H.265...
View ArticleThe SDK API 1.9 adds SkipFrame…
If there was a prize for the messiest SDK, Intel Media SDK would be a favorite. They seem to have put but special care to make things confusing, unclear, inconvenient to use and sick perplexed. So...
View ArticleDirect3D 11 render into live HLS asset
Further experiments with Direct3D 11 shadertoy rendering: HTTP Server API integration and serving on demand parts of HTTP Live Streaming (HLS) asset using Media Foundation with hardware video...
View ArticleIntel Developer Zone lockout
Some time ago I found my account at Intel® Developer Zone was disabled. It was strange but who knows, let us go from assumption that there was a good reason. For a moment I thought I was using wrong...
View ArticleHardware accelerated JPEG video decoder MFT from AMD
Video GPU vendors (AMD, Intel, NVIDIA) ship their hardware with drivers, which in turn provide hardware-assisted decoder for JPEG (also known as MJPG and MJPEG. and Motion JPEG) video in form-factor...
View ArticleOn efficiency of hardware-assisted JPEG decoding (AMD MFT MJPEG Decoder)
The previous post was focusing on problems with the hardware MFT decoder provided as a part of video driver package. This time I am going to mention some data about how the inefficiency affects...
View ArticleSo yes, C++/WinRT is how C++ development is to be done on Windows
“Modern” C++/WinRT is the way to write rather powerful things in a compact and readable way, mixing everything you can think of together: classic C++ and libraries, UWP APIs including HTTP client,...
View ArticleTelegram bot to extract contents of H.264 parameter set NAL units
In continuation of previous post about C++/WinRT and Telegram, here we with @ParameterSetAnalyzeBot: “Your buddy to extract H.264 parameter set NAL data”. In a chat, it expects an MP4 file with an...
View ArticleState of video remoting continued
Comparison of time codes is one method, and getting impression on latency through driving is another. Rainway Xbox One UWP application as a thin client to a desktop PC game. We’ve taken PC gaming to...
View Article