ffmpeginteropx / FFmpegInteropX

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

ASS Parsing Errors #397

Closed softworkz closed 6 months ago

softworkz commented 8 months ago

Hi,

with various test files I get ASS parsing errors. I can't even play those files with debugging on because it spams the log full with tens of thousands of messages like:

Failed to parse tag: Exception thrown at 0x00007FFF43C9567C in Client.WinUI.exe: Microsoft C++ exception: std::invalid_argument at memory location 0x0000008963CFE2D0.
Exception thrown at 0x00007FFF43C9567C in Client.WinUI.exe: Microsoft C++ exception: std::invalid_argument at memory location 0x0000008963CFE2D0.
Exception thrown at 0x00007FFF43C9567C in Client.WinUI.exe: Microsoft C++ exception: std::invalid_argument at memory location 0x0000008963CFE2D0.
Failed to parse tag: Failed to parse tag: Failed to parse tag: Exception thrown at 0x00007FFF43C9567C in Client.WinUI.exe: Microsoft C++ exception: std::invalid_argument at memory location 0x0000008963CFE2D0.
Failed to parse tag: Exception thrown at 0x00007FFF43C9567C in Client.WinUI.exe: Microsoft C++ exception: std::invalid_argument at memory location 0x0000008963CFE2D0.
Failed to parse tag: Exception thrown at 0x00007FFF43C9567C in Client.WinUI.exe: Microsoft C++ exception: std::invalid_argument at memory location 0x0000008963CFE2D0.
Failed to parse tag: Exception thrown at 0x00007FFF43C9567C in Client.WinUI.exe: Microsoft C++ exception: std::invalid_argument at memory location 0x0000008963CFE2D0.

Here's an example file for testing: subtitle_testing_complex.zip

lukasf commented 6 months ago

I think this is solved now.