when trimming certain .ts files the trimming does not complete. these errors appear --> Too Short. The video has been saved but seems to be incomplete.--> Failed File was not saved correctly. i have used the latest stable and nightly builds of avidemux with the same errors. when fixing the file with mpeg2repair which can also fix .ts files, i get the same errors. but, when i use a program named tsMuxerGUI 2.6.12, the trimming completes with or without using mpeg2repair. tsMuxerGUI does not have a visual timeline/trimmer. both tsMuxerGUI and avidemux may or may not use ffmpeg. tsMuxerGUI were last updated Jan 20,2014. this date may be relevant to the changes that ffmpeg made since tsMuxerGUI's last update allowing ffmpeg to trim those files within tsMuxerGUI and not trimming in avidemux. the log file and the link to a sample file are included below.
sample file link https://www.sendspace.com/file/9x405t