Skip to content

AUBC fails to download audio #17

@FrankZ85

Description

@FrankZ85

Recently, I cannot download from AUBC because audio download fails. I'm filing this against the service, because other service still work fine.

The symptoms are that the download (using devine/unshackle) ends with a SEGV in shaka packager.

CalledProcessError: Command 
'['input=/tmp/devine/Audio_7f2c89c3.mp4,stream=0,output=/tmp/devine/Audio_7f2c89
c3_decrypted.mp4,output_format=MP4', '--enable_raw_key_decryption', '--keys', 
'label=0:key_id=1d4eb31aadd14a6e8dd8157cd9500dfd:key=7bb1ae23552607d46f9342b0921
9c4fc,label=1:key_id=00000000000000000000000000000000:key=7bb1ae23552607d46f9342
b09219c4fc', '--temp_dir', PosixPath('/tmp/devine')]' died with 
<Signals.SIGSEGV: 11>.

Before that everything looks fine in the devine output. The audio track is detected correcty.

At least part of the problem seems to be that /tmp/devine/Audio_7f2c89c3.mp4 is never created.. (I commented out path.unlink() and the file does not exist even after that.)
I do see a file with increasing size in the temp directory, though. If I observed correctly, it might even be downloaded twice, jumping back to file size 0 at some point.

After the error, an empty packager-tempfile-18dff9-a69aaba3d14db304-1 is left over.

I tried copying the partial audiofile and use mp4decode with the displayed keys, but this return a very small output file.

To reproduce, just download any audio, e.g.
devine dl -A AUBC https://iview.abc.net.au/video/ZW5023A008S00

BTW: It seems that the 720 to 1080 replacement is no longer needed. While debugging, I saw 1080 entries in the video information JSON.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions