fifonik / FFMetrics

Visualizes Video Quality Metrics (PSNR, SSIM & VMAF) calculated by ffmpeg.exe
562 stars 22 forks source link

FFMetrics crashes #121

Closed Heporis closed 1 year ago

Heporis commented 1 year ago

image

fifonik commented 1 year ago

Could you follow troubleshooting steps please?

Heporis commented 1 year ago

-log file deleted- It crashes no matter where the ffmpeg locates.

fifonik commented 1 year ago

In your file offset spacified as 1.4 sec, but when FFMetrics getting preview image it is asking to get frame at fixed position 1 sec (-ss 1). As a result, image extraction fails. I still do not know why FFMetrics is crashing after that and I need to find a way to re-produce the crash.

In the meantime you can try the latest beta (1.4.8): it is possible that the crash is already fixed there. As for the correct preview image extraction offset -- I've made required changed already and it will be in the next beta.

Heporis commented 1 year ago

1.4.8 still crashes.

fifonik commented 1 year ago

How big is your video file? Can you share it (PM)?

Heporis commented 1 year ago

I downloaded -link-removed- from a live stream. The origin format is .flv, and I convert it to .ts with ffmpeg -i input.flv -bsf:v h264_mp4toannexb -f mpegts -c copy output.ts

fifonik commented 1 year ago

I downloadad you file & the same ffmpeg.exe and it works with no issues in my case (checked with 1.4.8b). To be honest -- I do not have a clue what could cause the crash. image

Heporis commented 1 year ago

Does it needs some other system components besides .net framework 4.8? Maybe it is because I removed some system components with MSMG Tookit.

fifonik commented 1 year ago

To be honest -- I do not know. I though: as program was compiled to target 4.8, windows let you know if anything missed.

fifonik commented 1 year ago

I can send you executable compiled with debug info. May be it shows additional details while crashing.

Heporis commented 1 year ago

Send me plz

fifonik commented 1 year ago

Here you are (please let me know when you download it, I'll delete the file): -link-removed-

Heporis commented 1 year ago

downloaded Thank you!

fifonik commented 1 year ago

Have you got chance to try it yet?

Heporis commented 1 year ago

Today, I restarted my computer, and it works well. idkw. Maybe it's a system issue. Thank you so much!

fifonik commented 1 year ago

Did you mean that the 1.3.1 release and 1.4.8b works?

Heporis commented 1 year ago

Yes, both of them