After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 609601 - [gstreamer] Can't insert MPEG2-TS (.mts, .m2ts) AVCHD files in the timeline
[gstreamer] Can't insert MPEG2-TS (.mts, .m2ts) AVCHD files in the timeline
Status: RESOLVED FIXED
Product: pitivi
Classification: Other
Component: Playback
Git
Other Linux
: Normal critical
: 0.93
Assigned To: Pitivi maintainers
Pitivi maintainers
: 633184 634438 640879 657582 (view as bug list)
Depends on: 550634 585077
Blocks:
 
 
Reported: 2010-02-11 00:08 UTC by Jean-François Fortin Tam
Modified: 2014-03-13 19:51 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Video codec details (38.58 KB, image/png)
2010-09-09 01:14 UTC, David Cantin
Details

Description Jean-François Fortin Tam 2010-02-11 00:08:35 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):
  • File "pitivi/elements/singledecodebin.py", line 326 in _padBlockedCb
    self._unblockPad(target=self._target)
  • File "pitivi/elements/singledecodebin.py", line 314 in _unblockPad
    target.remove_event_probe(self._eventProbeId)
TypeError: Parameter 'handler_id' must be an int or a long
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
Comment 1 Edward Hervey 2010-02-13 13:28:25 UTC
Works fine here with pitivi git. Can you retry ?
Comment 2 Jean-François Fortin Tam 2010-02-13 15:56:41 UTC
Yep, still happens with pitivi git and all the gstreamer ppa updates.
Comment 3 Jean-François Fortin Tam 2010-02-13 15:57:34 UTC
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)
Comment 4 Edward Hervey 2010-02-14 12:07:41 UTC
If you don't get the traceback, that means the error is handled properly. We should close this if that's the case.
Comment 5 Jean-François Fortin Tam 2010-02-14 13:45:59 UTC
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?
Comment 6 David Cantin 2010-09-09 01:14:15 UTC
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)
Comment 7 Jean-François Fortin Tam 2010-10-26 18:23:06 UTC
*** Bug 633184 has been marked as a duplicate of this bug. ***
Comment 8 bens 2010-11-17 20:25:03 UTC
Perhaps this ticket should depend on Bug 550634, instead of Bug 585077.
Comment 9 Jean-François Fortin Tam 2010-12-26 14:11:03 UTC
*** Bug 638028 has been marked as a duplicate of this bug. ***
Comment 10 Andre 2011-01-26 08:34:58 UTC
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?
Comment 11 Edward Hervey 2011-01-26 10:11:36 UTC
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.
Comment 12 Edward Hervey 2011-01-30 15:35:25 UTC
*** Bug 640879 has been marked as a duplicate of this bug. ***
Comment 13 Jean-François Fortin Tam 2011-08-22 15:39:54 UTC
*** Bug 634438 has been marked as a duplicate of this bug. ***
Comment 14 Jean-François Fortin Tam 2011-09-15 01:25:43 UTC
*** Bug 657582 has been marked as a duplicate of this bug. ***
Comment 15 Jean-François Fortin Tam 2013-09-30 19:33:43 UTC
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!
Comment 16 Alex Băluț 2013-12-16 13:28:51 UTC
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
Comment 17 Jean-François Fortin Tam 2014-03-13 19:51:30 UTC
Yeah I think we can consider this fixed now, the mpegts demuxer has visual artefacts but from the Pitivi perspective, it works now.