Log in

View Full Version : Trim files on binary level (47k@EOF chunk)?


NoX1911
5th June 2024, 21:07
Hi,
i have a DVB capture stick that records *.ts streams in 4GB chunks. Its somewhat buggy and has a buffer replication of 47k between files. I need to cut out this 47k either at the end of 'file1.ts' or from beginning of 'file2.ts'. This needs to be done on file-level not stream-level.

Is this possible by Vapoursynth?

Myrsloik
5th June 2024, 21:09
No. If you know the exact number of bytes simply truncate the files. If it's a slightly varying overlap write a small utility to compare and truncate.

NoX1911
5th June 2024, 21:51
That's what i do already. Just thought i could save that step. Not a big deal.

Thanks!