ffmpeginteropx / FFmpegInteropX

FFmpeg decoding library for Windows 10 UWP and WinUI 3 Apps
Apache License 2.0
212 stars 53 forks source link

Extend support for UWP x64 Build Architectures. #378

Closed CosmicPredator closed 2 months ago

CosmicPredator commented 1 year ago

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?

brabebhin commented 1 year ago

What version of the nuget do you use?

CosmicPredator commented 1 year ago

What version of the nuget do you use?

brabebhin commented 1 year ago

Ok, try an earlier version of the nuget.

CosmicPredator commented 1 year ago

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).

brabebhin commented 1 year ago

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?

CosmicPredator commented 1 year ago

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.

brabebhin commented 1 year ago

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

CosmicPredator commented 1 year ago

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)

brabebhin commented 1 year ago

I need an m3u8 URL.

CosmicPredator commented 1 year ago

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

brabebhin commented 1 year ago

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

CosmicPredator commented 1 year ago

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?

brabebhin commented 1 year ago

No, not crashing. it plays fine

CosmicPredator commented 1 year ago

No, not crashing. it plays fine

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

brabebhin commented 1 year ago

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.

CosmicPredator commented 1 year ago

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