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

Batch conversion out of order. #53

Closed
CharAznableLoNZ opened this issue Oct 6, 2015 · 6 comments
Closed

Batch conversion out of order. #53

CharAznableLoNZ opened this issue Oct 6, 2015 · 6 comments
Assignees

Comments

@CharAznableLoNZ
Copy link

When following the video conversion procedure (substituting avconc for ffmpeg) the frames are out of order.
The extracted frames in the "frames" folder are right.
The frames in the "new-frames" folder are out of order so when the video is rebuilt, it is out of order.

@nagadomi
Copy link
Owner

nagadomi commented Oct 6, 2015

Did you sort the input file list?

find ./frames -name "*.png" |sort > data/frame.txt

@CharAznableLoNZ
Copy link
Author

Yes, I have linked the sort.txt file so you can look over it if you like.
http://pastebin.com/cWpUWsyS

@nagadomi nagadomi self-assigned this Oct 7, 2015
@nagadomi
Copy link
Owner

Sorry for replying late.
Can you try to use -o new_frames/%08d.png option?
For example,

# cleanup ./new_frames first. ; rm new_frames/*
th waifu2x.lua -m noise -noise_level 1 -resume 1 -l data/frame.txt -o new_frames/%08d.png
ffmpeg -f image2 -r 24 -i new_frames/%08d.png -i audio.mp3 -r 24 -vcodec libx264 -crf 16 video.mp4

I was not able to reproduce this issue. But I guess that is caused by the filename format.

@CharAznableLoNZ
Copy link
Author

I'll try that, it may take some time to respond due to it taking a while for the upscaling. Estimated 46hrs.

@CharAznableLoNZ
Copy link
Author

From what I can tell, it looks like that fixed it. Only ~1500 of the ~9000 frames are done so far but it all looks good.
As always, thanks for your hard work.

@haneulnara
Copy link

NAVER - http://www.naver.com/

haneul_nara@naver.com 님께 보내신 메일 <Re: [waifu2x] Batch conversion out of order. (#53)> 이 다음과 같은 이유로 전송 실패했습니다.


받는 사람의 메일박스 용량이 가득 찼습니다.


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