sciactive / pulverize

A multi-process rendering script for Blender VSE.
GNU General Public License v2.0
60 stars 13 forks source link

Python: fails at concatenation stage, no pulverize_input_files.txt #5

Closed unfa closed 6 years ago

unfa commented 7 years ago

I tried Pulverize Python version today and it rendered the individual chunks fine, but then crashed and left them unconcatenated:

(...)
INFO:pulverize:Render processes complete.
Traceback (most recent call last):
  File "./pulverize.py", line 146, in <module>
    join_chunks(args, outdir)
  File "./pulverize.py", line 113, in join_chunks
    with open(file_list, 'w') as fp:
IOError: [Errno 2] No such file or directory: '//Render/pulverize_input_files.txt'

Apart from fixing this issue, what can I do right now to concatenate these files to not re-render the whole thing?

unfa commented 7 years ago

Ok, so I was able to concatenate the files with this bash command:

for f in *.mkv; do echo "file $f" >> list.txt; done; ffmpeg -f concat -safe 0 -i list.txt -c copy concatenated.mkv

I used advice from FFmpeg website: https://trac.ffmpeg.org/wiki/Concatenate