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

The metadata was packed in nal-units with nal_type=31, fixed with 907fbb59435b96e5c77a90894f1206ec1058f8d7. #82

Closed
drinkthatcodingZzZz opened this issue Feb 22, 2021 · 2 comments

Comments

@drinkthatcodingZzZz
Copy link

The metadata was packed in nal-units with nal_type=31, fixed with 907fbb5.

Additionally ffmpeg3.4+ failed to decode some mp4a samples, because internal decoder state was not reset after 'gaps' in the audio-stream. These gaps may be caused by network transmission errors. This got fixed with 56aee28.

Tip
When using ffmpeg you can avoid corrupt files by using -f mpegts.
This will create .ts instead of .mp4.
It also allows you to watch the stream while downloading.
Later you can use ffmpeg -i file.ts -c copy file.mp4.

Originally posted by @anthwlock in #51 (comment)

@drinkthatcodingZzZz
Copy link
Author

drinkthatcodingZzZz commented Feb 22, 2021

how do i apply these fixes to my files? @anthwlock

@anthwlock
Copy link
Owner

These fixes refer to the untrunc program itself. You have to use untrunc as described here

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

2 participants