MTS files don't work in all the daily builds #581
Comments
|
Hmm, you say this started in September? The most likely cause is probably 650adf6, but that's only a guess based on the timeframe. Do you have a sample |
|
I have tiny (2MB ! ) sample of a .mts shot. |
|
The zip contains this file: |
|
(I also tried converting it to |
|
I've checked it twice and just to be certain I send you another sample. Both MTS samples are doing fine with the original OpenShot 2.5.1release, but it doesn't work when I use a daily build (even a daily build from 15 Oct.) |
|
An additional comment: MTS files work with VideoLan (VLC Mediaplayer) on my computer |
|
So you're saying the file in that ZIP you posted won't open in OpenShot? I'm just confused because, looking at the second file you posted:
I was expecting an MPEG Transport Stream (what used to be a |
|
I think I know what the problem is. But first I want to thank you for the effort you made |
|
@01BartvR Ah, perfect! That was exactly what I needed, thanks. Yes, I can confirm that OpenShot is unable to correctly process the supplied MTS file as an input video; attempts to read it quickly break down into a storm of invalid read operations, hundreds of frames away from the intended location. (And that file doesn't even have hundreds of frames in it!) The bug is definitely somewhere in the libopenshot backend; I'm going to transfer this issue over there so that it has a better chance of being seen by the right developers. |
|
I tested the file this morning, and it appears that we read in the first 8 video packets successfully (i.e. thumbnail works in OpenShot), but something goes horribly wrong when we decode the first few audio packets... all the timestamps seem to start at frame 98, and thus, the first 98 video frames have no audio packets... which freezes up OpenShot while it tries to figure this out. However, after a long pause, I am able to playback the video (with glitchy audio). I would suggest converting your MTS files into MP4 before editing... as a general work-around, it is a much nicer format for video editing. I will add this test file to my "queue" of broken videos, and try and find a better algorithm for mismatching audio timestamps. |
|
Thank you for the effort you made. I used the workaround in daily builds (MTS>MP4) for quite a while. Curiously mts files work fine in the original OpenShot 2.5.1 release. I hope you find a solution. |
|
@01BartvR That makes sense, yeah. The libopenshot audio processing is undergoing a fairly substantial rewrite from the 2.5.1 code (libopenshot 0.2.5), with the aim of addressing some longstanding reports of users experiencing audio artifacts in their output — things like clicking and popping at clip borders, other types of distortion, etc. Part of that effort entails some changes being made to the way libopenshot initially reads and stores audio data from the input files. You've discovered a file type that causes the new input processing code some headaches, it seems. (So, thanks again. The time to find these things is now, before the code is finished. Rather than to have bug reports start flooding in after the next release.) Hopefully this will be addressed before then. But as things stand, the Daily Build versions won't fully support TS files for at least some of the current development cycle. |
|
Thank you so much for submitting an issue to help improve OpenShot Video Editor. We are sorry about this, but this particular issue has gone unnoticed for quite some time. To help keep the OpenShot GitHub Issue Tracker organized and focused, we must ensure that every issue is correctly labelled and triaged, to get the proper attention. This issue will be closed, as it meets the following criteria:
We'd like to ask you to help us out and determine whether this issue should be reopened.
Thanks again for your help! |

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.


Question:
MTS files don't work in daily builds (Open Shot 2.5.1) from september until now. I've tried several workarounds and they are succesful (converted to mp4 files) But that is a temporary solution. A MTS-file doesn't work in a daily build. The program crashes.
There are a lot of Sony and Panasonic camera owners that use the mts format. I think that I am not the only one that encounters this problem.
System Details:
Open Shot 2.5.1
The text was updated successfully, but these errors were encountered: