Open Noemata opened 7 years ago
Not currently, but I can try it myself in the coming days and give you feedback
I also tried the update to SharpDX 4 yesterday evening and I took the enum MF.VideoFormatGuids.H264Es. I'm not completely sure that this one is right, but sounds better like the Hdcp one (hdcp is for digital content protection). I've not recognized any other problems so far.
I suspect your choice is a better one. I too did not notice any issues in the transition. I did have to make a few other minor adjustments to get things to build (using VS2017). Please respond to the private email I sent, and we can discuss this a little further.
I switched libs to SharpDX v4.0.1 and had to add this pragma in Mp4VideoWriter.cs:
using SeeingSharp.Util;
// Some namespace mappings using D3D11 = SharpDX.Direct3D11; using MF = SharpDX.MediaFoundation;
namespace SeeingSharp.Multimedia.DrawingVideo { ///
/// This VideoWriter is responsible for writing mp4 files to hard disc.
/// For details see tutorial at: https://msdn.microsoft.com/en-us/library/windows/desktop/ff819477(v=vs.85).aspx
///
public class Mp4VideoWriter : MediaFoundationVideoWriter
{
if DESKTOP
endif
if UNIVERSAL
endif
Do you by chance know which is the correct enum to use?