projectx cut files problem
Posted: Sun Dec 02, 2018 3:55 pm
Hi,
I recently discovered this great tool, thank you for it.
I'm using projectx to cut my .ts-files, and there seems to be a little problem when the video file starts with a com.
Instead of writing 0 as the first line of the Xcl cut list when the second is 1, comskip outputs 1 and 1, with the consequence that instead of cutting out the com's, projectx deletes the wanted show and all I have left are com's
I made a little change to the comskip.c, and now it does the job as it should for me.
original (at line 6890):
changed to:
Thank you again for this great tool.
I recently discovered this great tool, thank you for it.
I'm using projectx to cut my .ts-files, and there seems to be a little problem when the video file starts with a com.
Instead of writing 0 as the first line of the Xcl cut list when the second is 1, comskip outputs 1 and 1, with the consequence that instead of cutting out the com's, projectx deletes the wanted show and all I have left are com's
I made a little change to the comskip.c, and now it does the job as it should for me.
original (at line 6890):
Code: Select all
if (projectx_file && prev < start)
{
fprintf(projectx_file, "%ld\n", F2F(prev+1));
fprintf(projectx_file, "%ld\n", F2F(start));
}
CLOSEOUTFILE(projectx_file);
Code: Select all
if (projectx_file && prev < start)
{
if ( F2F(start) != 1 )
fprintf(projectx_file, "%ld\n", F2F(prev+1));
else
fprintf(projectx_file, "%ld\n", 0);
fprintf(projectx_file, "%ld\n", F2F(start));
}
CLOSEOUTFILE(projectx_file);