Registered Member
|
I'm working on Ubuntu Studio 15.04.
Back in 14.04 I was able to watch and edit .MTS files without any sort of issue. Some months ago I updated the system to 15.04, and it didn't happen to me to work on MTS files ever since. Now I'm back to work on them, and I'm seeing issues that I never had before. First of all, all the thumbnails of the MTS files that I moved to my computer yesterday appear green and screwed up. Also, this happens with many of the MTS files with which I worked months ago, and with which I never had troubles. Second, Totem is able to read them perfectly, so I can watch them normally. VLC is not; as you can see in the following screenshot, the image isn't smooth but is full of lines and imperfections. The real issue comes out when it comes to editing. Kdenlive will add the videos to the project, but won't be able to work with them. If I try to watch them through the project monitor they don't work. If I put them on the timeline, cut them, and render them, this is what I get: The audio dies after the first half-second of video, while the image you see above vibrates, but does not change, from the beginning to the end of the video. If I cut them with ffmpeg, all goes fine. Curiously, if I recover old projects on Kdenlive and just render them, the final video file is watchable, even though it isn't "smooth"; it's like it has a low framerate. And this goes on both on Totem and on VLC. I checked the information about some of these MTS files, and they basically all are the same, and that's normal since they were all recorded with cameras of the same kind. This is the output of avprobe:
This is the ExifTooloutput on the same file:
I tried to convert and MTS file to a mp4 file through ffmpeg. These are the terminal messages I get:
The final file works, but whether I open it with Totem or VLC I see the same lines you can see in the second image. I'm trying to revert the situation back to normal, since I need to work with these files somehow. Any idea about where to get starte |
Registered Member
|
Can you play your MTS clips in MLT? Can you play your MTS clips in ffmpeg?
|
Registered Member
|
Ehy, thanks for helping
I tried to download MLT but wasn't able to start it. About ffmpeg, I guess you mean ffplay? ffplay does this: There are the usual lines. |
Registered Member
|
Yes, ffmpeg here meant try to play it using ffmplay. So at least that's okay.
Next, MLT. You don't need to download; Kdenlive uses MLT and ffmpeg, so MLT is already installed. You should have a command "melt" then. Use melt to play your video clip and see what happens. Does it play correctly? |
Registered Member
|
Same lines.
I receive a quite long array of lines on the terminal which may indicate where the issue is. That "PES packet mismatch" sounds like an error message.
|
Registered Member
|
You don't get the video to be played in a new windos? Okay, then this seems to encircle where the problem may be: MLT. You'll probably need to head over to http://mltframework.org/bin/view/MLT and ask there fore help. Kdenlive relies on MLT and ffmpeg, MLT relies on ffmpeg, ffmpeg on several other stuff, etc. (heavily simplified) What makes we wonder is that vlc has issues playing your footage.
|
Registered Member
|
Nono: I get the new window. If I type on the terminal "melt 00004.MTS" I get all those lines, than a new window shows up, showing the video as in the screenshot.
|
Registered Member
|
Oh, my misunderstanding. You said that also preview images in your file manager are broken too? That would suggest that it's a problem neither in Kdenlive nor MLT. The only thing that comes to my mind is asking ffmpeg devs for help. There may be other software involved for creating the previews, but I have no knowledge in this area. Maybe someone else here can step in?
|
Registered Member
|
I realized that 15.04 just reached its EOL. I'm wondering if upgrading to 15.10 could solve it. Tomorrow I'll try.
|
Registered users: Bing [Bot], Evergrowing, Google [Bot], rockscient