Incomplete temporary .ts files
When I stop recordings from SC instead of .mp4 clips, app generates incomplete .tmp.ts files which are completely unreadable in media player. How to fix this ?
I think you're using the fork of xAstroBoy. Use the StripHelper to merge them.
Im running the script in Windows, can you say something more, ie. what is StripHelper and what it does?
Which repository did you use to install?
I'm not sure what the mainline actually produces but I guess it should produce MP4 files. .tmp.ts is definitly produced by the fork I mentioned. If you used a fork or modified variant I'm nearly sure it's this.
There is a a utility in that repository which merges the .tmp.ts files and converts an MP4 out of that. This can be used on CLI as well as with a GUI. check the info in that repository.
If you used the mainline the problem might be something different.
Thank you for clarification, I'm sure I run main repository. Script saves .mp4 files but sometimes (more or less 30% of captured streams) creates .tmp.ts files as output and I don't know what causes these disturbances.
This happens when ffmpeg stops and no following conversion is done.
The files should be playable e.g. with VLC which dan play MPEG-TS directly they also should be convertable with ffmpeg.
I'm not sure if mainline restarts recording for a still running stream if ffmpeg stops. So there might be multiple .tmp.ts files that can be concatinated and converter later.