GNOME Bugzilla – Bug 609601
[gstreamer] Can't insert MPEG2-TS (.mts, .m2ts) AVCHD files in the timeline
Last modified: 2014-03-13 19:51:30 UTC
1. Import http://jeff.ecchi.ca/public/00108.MTS into pitivi git 2. Insert it in the timeline 3. The following occurs: ERROR [22596] [0x -48916940] "<Timeline at 0x909492c>" timeline fév 10 19:07:35 _errorObject: Couldn't find a complete stream mapping (self:2 < factory:3) (pitivi/log/loggable.py:30) (pitivi:22596): GStreamer-CRITICAL **: Padname src is not unique in element pitivi+elements+singledecodebin+singledecodebin3, not adding Traceback (most recent call last):
+ Trace 220529
self._unblockPad(target=self._target)
target.remove_event_probe(self._eventProbeId)
ERROR [22596] [0x -48916940] "<Timeline at 0x909492c>" timeline fév 10 19:07:36 _errorObject: Couldn't find a complete stream mapping (self:2 < factory:3) (pitivi/log/loggable.py:30) ** (pitivi:22596): CRITICAL **: gst_audio_buffer_clip: assertion `segment->format == GST_FORMAT_TIME || segment->format == GST_FORMAT_DEFAULT' failed
Works fine here with pitivi git. Can you retry ?
Yep, still happens with pitivi git and all the gstreamer ppa updates.
Well, only the following part happens: ERROR [ 7064] [0x -48abb940] "<Timeline at 0x9ebd8ec>" timeline fév 13 10:55:30 _errorObject: Couldn't find a complete stream mapping (self:2 < factory:3) (pitivi/log/loggable.py:30)
If you don't get the traceback, that means the error is handled properly. We should close this if that's the case.
Well, the error only appears on the terminal, nothing happens in pitivi's UI (you can seek other clips but you can't seek that clip). Are those files really impossible to seek with current gstreamer and this is the correct/expected behavior until they can?
Created attachment 169820 [details] Video codec details Same here with 0.13.4.2 pre-release MTS files are produced by my video camera, see attached file for video codec details. $ pitivi ERROR [28365] [0x7f544490f700] "<Timeline at 0x1d36390>" timeline sep 08 21:01:35 _errorObject: Couldn't find a complete stream mapping (self:2 < factory:3) (/usr/lib/pitivi/python/pitivi/log/loggable.py:30) ERROR [28365] [0x7f544490f700] "<Timeline at 0x1d36390>" timeline sep 08 21:01:36 _errorObject: Couldn't find a complete stream mapping (self:2 < factory:3) (/usr/lib/pitivi/python/pitivi/log/loggable.py:30)
*** Bug 633184 has been marked as a duplicate of this bug. ***
Perhaps this ticket should depend on Bug 550634, instead of Bug 585077.
*** Bug 638028 has been marked as a duplicate of this bug. ***
I have the same problem with files generated by a Canon HF R16 camcorder. I have been following this bug for some time now as it really hampers an efficient workflow. the strange thing is that not all files get the error, some most load fine into Pitivi and others get an error message. All from the same camera and same filming occassion. Looking through the bug list this seems to nearly 1 year old and there seems to be a circle of bug being marked as duplicates of each other. This bug, Bug 609601, has been marked as a duplicate of Bug 638028 which in turn has been marked as a bug of this bug report. Could this be hampering the issue or is it just something difficult to resolve?
It's not difficult to resolve, it's just very complex. And until someone takes it up onto themselves to fix mpeg-ts support in GStreamer... this won't be fixed.
*** Bug 640879 has been marked as a duplicate of this bug. ***
*** Bug 634438 has been marked as a duplicate of this bug. ***
*** Bug 657582 has been marked as a duplicate of this bug. ***
Hi there, As Pitivi 0.91 has now been released, we would like to encourage you to test it. It is quite possible that your issue is fixed in this version, as it is a very significant technical overhaul compared to the 0.15 series. Read more about the 0.91 release here: http://wiki.pitivi.org/wiki/0.91 If you can reproduce this bug against 0.91 or newer (such as the git version), please update this bug report accordingly with detailed instructions to reproduce the bug, updated sample files/projects in xges format, etc. Drop by our IRC channel if you need help getting started or want to help out! Thanks!
With the git version I was able to render a project with 100+ MTS files 1080p50. Never noticed any problem when inserting them in the timeline. I'd say this is fixed. For example: Input #0, mpegts, from '01027.MTS': Duration: 00:00:16.80, start: 0.376311, bitrate: 26445 kb/s Program 1 Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 100 tbc Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 384 kb/s Stream #0:2[0x1200]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090), 1920x1080
Yeah I think we can consider this fixed now, the mpegts demuxer has visual artefacts but from the Pitivi perspective, it works now.