« on: April 02, 2019, 06:22 AM »
Exactly, highend01. Just count the total size, if possible, and stop the process before reaching the user-inputed limit.
Don't mean to put the burden on you. But you certainly aced the last similar request.
I've come across programs for filling up DVDs and CDs with music files. As I recall, the programs will pick and choose from a set of files, and put as much as possible onto the disk. Summing total size.
In the present case I just want to start from -- actually, 0001_xyz.mp4. Then 0002_xyz.mp4. And on and on until the set total size. I append the numbers -- serialize -- to all the .mp4 files, to make playing easier (Amazon firestick, using MX Player on the tv, plays in the order of filename, thus the numbers).