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

Freezes when moshing a large file #3

Open
bejucoo opened this issue Feb 7, 2021 · 3 comments
Open

Freezes when moshing a large file #3

bejucoo opened this issue Feb 7, 2021 · 3 comments

Comments

@bejucoo
Copy link

bejucoo commented Feb 7, 2021

Hello, I'm trying to mosh a large .mp4 file (h264 encoding | 1hr long | 3.5Gb) but the script freezes at 32% every time I try. It detects scene changes perfectly but the problem appears at the Writing moshable file stage:

[1/3] Writing moshable file... 32% [===> ] [5m31s:11m44s]

The log file is attached if you want to take a look. Any ideas of what's going on?
log_1.txt

@bejucoo bejucoo changed the title Freezes when moshing large file Freezes when moshing a large file Feb 7, 2021
@bejucoo
Copy link
Author

bejucoo commented Feb 8, 2021

I was able to pass the Writing moshable file with a 17min and 430Mb video but then an error ocurred: Error: error moshing AVI file: bufio.Scanner: token too long. With a 10min and 200Mb video this error ocurred: Error: error writing output file: error parsing output time value: strconv.ParseInt: parsing "": invalid syntax.

@nuclearsugar
Copy link

nuclearsugar commented Mar 15, 2021

I'm seeing the same error message:
Error: error moshing AVI file: bufio.Scanner: token too long

Since it seemingly only happens with larger videos, I did an experiment and rendered out the same video several times at different bitrates. Interestingly when the video is larger than 65MB, then the error message above happens.

Just to confirm, I then used a different source video and rendered it out at different bitrates. The 65MB limit still held true and doesn't seem related to the bitrate, but instead the total file size.

@lucaoskaique
Copy link

Also getting the same error

woodybury added a commit to woodybury/moshpit that referenced this issue May 29, 2024
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

3 participants