Open Sp5rky opened 3 months ago
This error actually seems to be a decryption error on the Audio file, even though it looks as if it isn't. I say this because if the audio did decrypt successfully it wouldn't have logged shaka-packager's output but would have also marked the track as Decrypted
right after, you can see it errored at some point right as it was decrypting.
I would need to test more things personally with you to really see what's going on here, perhaps you could join the Discord (button in README) and PM me.
After discussing this issue on Discord and through AnyDesk it was discovered to be a fault with Shaka-Packager v3.x having a segmentation fault.
I0324 18:50:19.184362 15732 demuxer.cc:94] Demuxer::Run() on file '/tmp/devine/Audio_2f4bf1f5.mp4'.
I0324 18:50:19.184499 15732 demuxer.cc:160] Initialize Demuxer for file '/tmp/devine/Audio_2f4bf1f5.mp4'.
Segmentation fault (core dumped)
Using --dump_stream_info
alone succeeds, but when in the same call would also result in a Segmentation fault:
I0324 18:44:34.674327 15661 demuxer.cc:94] Demuxer::Run() on file '/tmp/devine/Audio_2f4bf1f5.mp4'.
I0324 18:44:34.674452 15661 demuxer.cc:160] Initialize Demuxer for file '/tmp/devine/Audio_2f4bf1f5.mp4'.
File "/tmp/devine/Audio_2f4bf1f5.mp4":
Found 1 stream(s).
Stream [0] type: Audio
codec_string: mp4a.40.2
time_scale: 48000
duration: 84737472 (1765.4 seconds)
is_encrypted: false
codec: AAC
sample_bits: 16
num_channels: 2
sampling_frequency: 48000
language: kor
Segmentation fault (core dumped)
This could be a linux-only issue, and seemingly specific to mp4a. If you also have this issue please let me know. A workaround for now is to downgrade packager to v2.6.1.
Describe the bug When running on Gentoo or Ubuntu I get this error Process exit code: -11
Always seem to happen right after the subtitles are downloaded, when checking the /tmp folder I see Video get merged correctly but after the Audio merges the tmp file vanishes when the subtitles download and the video does not contain audio.
Sometimes if I'm fast enough before the subtitles download I can grab both video and audio decrypted correctly.
To Reproduce I believe I'm just missing extra steps, but I was able to reproduce this on Gentoo and Ubuntu headless servers, building shaka-packager from source and getting ffmpeg/MKVToolNix and ccextractor from prebuilt binaries.
devine installed via Poetry install and all files in correct $PATH
Oddly, no additional output from python is show with this error for a trace so it's been tricky for me to pin-point on my own.
Screenshots
────────────────────────────── Service: x ──────────────────────────────
────────────────────────────── Series: x ───────────────────────────────
──────────────────────── x S01E01 ────────────────────────────────────