I’m trying to get one of the basic samples working in the Video Codec SDK: AppEncD3D11. I’m able to compile the sample project without error but the resulting application isn’t producing valid output in my testing so I’m wondering where the breakdown lies.
From the help text, the input file must be in raw BGRA format, so I’ve converted a regular video with FFmpeg for testing using the following command:
ffmpeg.exe -i “C:\sample-video.mp4” -c:v rawvideo -pix_fmt bgra -an “C:\sample-video.avi”
I then run the sample application using the command:
AppEncD3D11.exe -i “C:\sample-video.avi” -o “C:\result.mp4” -s 320x240 -fps 15
which completes again without error, reporting:
Total frames encoded: 150
Saved in file C:\result.mp4
However, I can’t play this file in any video player nor read any metadata from it! I’ve attached this video as well as the intermediate/input BGRA video file for reference but am hoping I’ve just missed something about the process.
Media: Videos.zip (20.5 MB)
GPU: Quadro RTX 6000
Driver Version: 461.92
Video Codec SDK: 11.0.10