Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mp42 Codec videos cause crash during Similar Videos scan #19

Open
C-BoT-AU opened this issue Apr 28, 2023 · 0 comments
Open

mp42 Codec videos cause crash during Similar Videos scan #19

C-BoT-AU opened this issue Apr 28, 2023 · 0 comments

Comments

@C-BoT-AU
Copy link

C-BoT-AU commented Apr 28, 2023

Docker Log:

[app         ] thread '<unnamed>' panicked at 'ffprobe failure. Got unexpected rotation. src_path: /storage/video.mp4, rotation: Some(-9223372036854775808)', /root/.cargo/registry/src/garden.eu.org-1ecc6299db9ec823/ffmpeg_cmdline_utils-0.1.2/src/ffmpeg_stats.rs:165:44
[app         ] note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[supervisor  ] service 'app' exited (got signal SIGABRT).
[supervisor  ] service 'app' exited, shutting down...

After a few days of having Czkawka crash on me while doing a scan for similar files, I finally dug into it and located that it was always a specific video mentioned causing the 'panic'.
Re-encoded the video with ffmpeg HEVC and it stopped crashing.

I dug into the original MP4 with MediaInfo, and despite the video looking fine and identical to everything else:
Video

ID: 1
Format: HEVC
Format/Info: High Efficiency Video Coding
Format profile: Main@L4@Main
Codec ID: hvc1
Codec ID/Info: High Efficiency Video Coding

The overall MP4 container details looked different:

Format: MPEG-4
Format profile: Base Media / Version 2
Codec ID: mp42 (mp42)

It is the only time I've ever seen mp42, and this is the only video having issues. Quick Google and looks like there may be some known issues or something with this format.
Posting here to see if anyone else has thoughts on a proper fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant