untrunc icon indicating copy to clipboard operation
untrunc copied to clipboard

Could not find codec parameters...Consider increasing the value for the 'analyzeduration' and 'probesize' options

Open RustyReich opened this issue 1 year ago • 1 comments

I am attempting to use the snap version of untrunc to recover a corrupted screen recording. To create a "good" video file to use for recovery, I simply performed a second screen recording using the exact same software/settings as the original recording. When I use untrunc, I get the following error:

Info: version 'v318-e6382ca' using ffmpeg 'e6382ca' Lavc57.89.100
Info: reading Good.mp4
Info: parsing healthy moov atom ... 
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x598be69822e0] Could not find codec parameters for stream 1 (Audio: none (Opus / 0x7375704F), 48000 Hz, 2 channels, 1 kb/s): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x598be69822e0] Could not find codec parameters for stream 2 (Audio: none (Opus / 0x7375704F), 48000 Hz, 2 channels, 1 kb/s): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x598be69822e0] Could not find codec parameters for stream 3 (Audio: none (Opus / 0x7375704F), 48000 Hz, 2 channels, 87 kb/s): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options

Info: unknown track 'Opus' found -> fallback to dynamic stats
Warning: rel_off(cur_chunk) < pat_size/2 .. Opus 51, 6, 2
Warning: rel_off(cur_chunk) < pat_size/2 .. Opus 57, 3, 1
Warning: rel_off(cur_chunk) < pat_size/2 .. Opus 60, 3, 1
Warning: rel_off(cur_chunk) < pat_size/2 .. Opus 63, 486, 1
Error: bad track: 'Opus'

This error occurs even if I try to "repair" the good video file using untrunc-anthwlock Good.mp4 Good.mp4. If it is important information, the video files have three audio tracks.

Any ideas on what the issue is?

RustyReich avatar Dec 18 '24 04:12 RustyReich

I found a similar issue in #90 that looks like this may be linked to the opus codec. Any thoughts on this?

RustyReich avatar Dec 18 '24 05:12 RustyReich