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 read at position #19

Closed
ghost opened this issue Mar 8, 2019 · 1 comment
Closed

Could not read at position #19

ghost opened this issue Mar 8, 2019 · 1 comment

Comments

@ghost
Copy link

ghost commented Mar 8, 2019

I am but a simple meme farmer trying to save a meme. I tried this on both Windows and Linux! Same output for both

I did:
youtube-dl https://coub.com/view/1cr0g0
renamed the file to smoke.mp4

then when I noticed the file was corrupted, I looked into solutions. I came upon untrunc, but unfortunately, it can't recover anything.

untrunc -i smoke.mp4
Info: version 'b7a674c' using ffmpeg '3.3.4'
Info: reading smoke.mp4
Info: parsing healthy moov atom ...
Could not read at position

I know this is largely a youtube-dl dilemma, but given they are constantly backlogged, I figured I'd have more luck with this. Any thoughts?

@anthwlock
Copy link
Owner

Hey, I found some working bash scripts here!
There are different variants on how to deal with audio being longer than video. But they all download audio separately.
You should be able to recover your already downloaded videos with printf '\x00\x00' | dd of=smoke.mp4 bs=1 count=2 conv=notrunc

Also: The usage is untrunc -i good.mp4, not untrunc -i bad.mp4.

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