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

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

Open
RustyReich opened this issue Dec 18, 2024 · 1 comment

Comments

@RustyReich
Copy link

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
Copy link
Author

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

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