mts file missing video

Bug #746951 reported by jamie scharf
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenShot Video Editor
Invalid
Undecided
Unassigned

Bug Description

I have a Canon Vixia HF100 camera which produces AVCHD files (*.MTS). Some the files work fine and others have this problem where the audio plays but the video is missing (just a blank white screen). This occurs even before I attempt modifying it in any way.

ffplay plays these files without issue
melt has the issue I describe above

Attached are some debug logs.

OS = Ubuntu 10.10 (64 bit)
Installation Method = PPA
OpenShot Version = 1.3.0

CPU = Phenom II X4 965
Memory = 8 GB

Revision history for this message
jamie scharf (jamie-scharf-33) wrote :
Revision history for this message
Olivier Girard (eolinwen) wrote :

Hi,
You should update your version of MLT using the PPA following : https://launchpad.net/~sunab/+archive/kdenlive-release. LIke you can see, it is a stable version and the 0.7.0 is out. It can resolve this same if I am not sure. To have always the last version of the framework is an benefit operation.
Thanks.

Revision history for this message
jamie scharf (jamie-scharf-33) wrote :

Yes, thanks for this tip. I'm a Linux newbie and forgot that there are other sources for package releases other than the official Ubuntu repository.

I now have MLT version 0.7.0 installed but problem still persists.

Revision history for this message
Olivier Girard (eolinwen) wrote :

Is it strange that melt can play sometimes and sometimes no.
what give you this command now with this version ?
Another tip. For working with this format that Openshot is able to work with (it is one of our strong point), you must absolutely use the version of FFmeg who is in the Medibuntu repository.

Revision history for this message
jamie scharf (jamie-scharf-33) wrote :

Yes, it is strange that melt plays some files but not others. It seems to be something to do with the actual files. For example, I've got 2 MTS files created by the same camera on the same night (in fact the clips are only minutes apart in real time). 00011.MTS plays as expected but 00012.MTS doesn't.

Studying the FFMPEG report for these 2 files, I can see that the bad one (00012.MTS) has the following error reported:

h264 @ 0xdf1d30]number of reference frames exceeds max (probably corrupt input), discarding one

And that the start of input #0 is well beyond the duration of the clip:

Duration: 00:32:00.94, start: 2243.224600,

Somehow ffplay plays this file. I just tried Totem Movie Player (comes with Ubuntu 10.10) and it plays the video but not the audio (opposite problem to MELT).

Seems like I should be able to use FFMPEG to fix these bad files up but I've not been able to figure out how to do this without losing quality.

Revision history for this message
Tobias Holm (p-launchpad-eftprod-com) wrote :

Hi!

Maybe the program "tsMuxeR" can fix your broken MTS stream? Try to remux the MTS in this program.

http://www.videohelp.com/tools/tsMuxeR

Regards, Tobias

Revision history for this message
Andy Finch (fincha) wrote :

MLT issue, closing the bug.

tags: added: mlt-file-compatibility
Changed in openshot:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.