FFmpegInteropX icon indicating copy to clipboard operation
FFmpegInteropX copied to clipboard

Extend support for UWP x64 Build Architectures.

Open CosmicPredator opened this issue 2 years ago • 16 comments

I get weird COM exceptions when on building my UWP app for x64 architecture. But when I build for x86 architecture, it works smoothly. On x64 bit build, the app sometimes raided "CLASS NOT REGISTERED" error or sometimes even the App crashes without throwing any exceptions.

So, can u figure out the issue?

CosmicPredator avatar Nov 05 '23 04:11 CosmicPredator

What version of the nuget do you use?

brabebhin avatar Nov 05 '23 06:11 brabebhin

What version of the nuget do you use?

  • FFmpegInteropX --version 1.1.0-pre42
  • FFmpegInteropX.FFmpegUWP --version 5.1.100

CosmicPredator avatar Nov 05 '23 06:11 CosmicPredator

Ok, try an earlier version of the nuget.

brabebhin avatar Nov 05 '23 13:11 brabebhin

Ok, try an earlier version of the nuget.

It's works with 5.0.0, but when loading subtitles, the media alone crashes and stops playing (I'm adding external subtitles with TimedTextSouce and the media is a m3u8 playlist).

CosmicPredator avatar Nov 05 '23 14:11 CosmicPredator

I just tried the x64 build using the samples, and it seems to work fine with the FFmpegInteropX.FFmpegUWP --version 5.1.100. TBH there isn't much to be said about this package.

What could cause issues is the FFmpegInteropX --version 1.1.0-pre42. Can you try FFmpegInteropX --version 1.0.1?

brabebhin avatar Nov 05 '23 16:11 brabebhin

I just tried the x64 build using the samples, and it seems to work fine with the FFmpegInteropX.FFmpegUWP --version 5.1.100. TBH there isn't much to be said about this package.

What could cause issues is the FFmpegInteropX --version 1.1.0-pre42. Can you try FFmpegInteropX --version 1.0.1?

"Tried from samples" means u build the WinUI3 version, and it works fine for Mee too. But my case is UWP and not WinUI3.

CosmicPredator avatar Nov 05 '23 16:11 CosmicPredator

No, tried from samples as in the MediaPlayerCS sample with UWP.

brabebhin avatar Nov 05 '23 17:11 brabebhin

No, tried from samples as in the MediaPlayerCS sample with UWP.

Can u try playing an m3u8 playlist from url? It was the buggy one for me. (As for your reply, i used the exact snippets from that MediaPlayerCS sample)

CosmicPredator avatar Nov 05 '23 17:11 CosmicPredator

I need an m3u8 URL.

brabebhin avatar Nov 05 '23 17:11 brabebhin

I need an m3u8 URL.

I'm not sure that I can share the link here but, here you go https://www004.vipanicdn.net/streamhls/6d59b534bed63f3ac8097a6033657c95/ep.1.1677599557.1080.m3u8

CosmicPredator avatar Nov 05 '23 17:11 CosmicPredator

Url seems to work fine ^^ I can push a new nuget out of the current master version but it contains breaking changes.

brabebhin avatar Nov 05 '23 17:11 brabebhin

Url seems to work fine ^^ I can push a new nuget out of the current master version but it contains breaking changes.

It means, it's not crashing?

CosmicPredator avatar Nov 05 '23 17:11 CosmicPredator

No, not crashing. it plays fine

brabebhin avatar Nov 05 '23 17:11 brabebhin

No, not crashing. it plays fine

I see, thanks for the time. I hope u push the new nuget soon

CosmicPredator avatar Nov 05 '23 17:11 CosmicPredator

There is a pre50 nuget available. Be warned that this is a preview of the 2.0.0 release, which contains a bunch of breaking API changes. Seeing how you probably are a new adopter, it shouldn't be that bad.

brabebhin avatar Nov 05 '23 17:11 brabebhin

There is a pre50 nuget available. Be warned that this is a preview of the 2.0.0 release, which contains a bunch of breaking API changes. Seeing how you probably are a new adopter, it shouldn't be that bad.

Lemme try that, thanks

CosmicPredator avatar Nov 05 '23 18:11 CosmicPredator