pitivi crashes when trims video from a certain point to the end of the movie

Bug #319002 reported by marco.pallotta
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pitivi (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: thoggen

I have a video that I want to split into two ogv files. I use pitivi for this (v0.11.1 in Hardy x86_64).
The first "split" went ok (I deleted the first part of the video with the left trim control, in the timeline window, and then I rendered the project) but the second "split" always bring pitivi into a crash. I tried to delete the second part of the video (with the right trim control) but when I try to "render project" pitivi crashes.
If I launch pitivi from command line I see the following error:

"
('00:00:00.000', '00:05:07.722')

(pitivi:25601): GStreamer-CRITICAL **: gst_caps_get_structure: assertion `GST_IS_CAPS (caps)' failed
Segmentation fault
"

Revision history for this message
marco.pallotta (marco-pallotta) wrote :

The same thing happens if I use the advanced view function to cut the parts of the video I want to remove.

Revision history for this message
Tim Müller (t-i-m-zen) wrote :

This bug looks like it needs to be re-assigned to the 'pitivi' package.

Revision history for this message
marco.pallotta (marco-pallotta) wrote :

Excuse me: I was wrong in selecting the right package affected by the bug.

description: updated
Revision history for this message
marco.pallotta (marco-pallotta) wrote :

I launched pitivi with --gst-debug-level=2

0:00:56.943348716 9403 0xa0ebd0 WARN gnlsource gnlsource.c:526:gnl_source_change_state:<source-file:///home/marco/Video/filmati/2009/(01-13) Tracciati e primi video su Daniele/prova.ogv-video1> Couldn't find a valid source pad
0:00:56.949043619 9403 0x2595830 WARN oggdemux gstoggdemux.c:2339:gst_ogg_demux_read_chain:<oggdemux8> page is not BOS page
0:00:56.957882886 9403 0xa0ebd0 WARN gnlsource gnlsource.c:526:gnl_source_change_state:<source-file:///home/marco/Video/filmati/2009/(01-13) Tracciati e primi video su Daniele/prova.ogv-brother-audio2> Couldn't find a valid source pad
0:00:56.963409532 9403 0x2595830 WARN oggdemux gstoggdemux.c:2335:gst_ogg_demux_read_chain:<oggdemux8> problem reading BOS page: ret=-3
0:00:56.964796589 9403 0x7f1ec8862cc0 WARN oggdemux gstoggdemux.c:2339:gst_ogg_demux_read_chain:<oggdemux9> page is not BOS page
0:00:56.967921885 9403 0x2595830 WARN bin gstbin.c:2742:gst_bin_handle_message_func:<source-file:///home/marco/Video/filmati/2009/(01-13) Tracciati e primi video su Daniele/prova.ogv-video1> received deprecated STATE_DIRTY message
0:00:56.992881717 9403 0x2595830 WARN theoradec theoradec.c:1265:theora_dec_decode_buffer:<theoradec18> Ignoring header
0:00:56.992957289 9403 0x2595830 WARN theoradec theoradec.c:1265:theora_dec_decode_buffer:<theoradec18> Ignoring header
0:00:56.999629746 9403 0x2595830 WARN theoradec theoradec.c:1265:theora_dec_decode_buffer:<theoradec18> Ignoring header
0:00:57.000764592 9403 0x7f1ec8862cc0 WARN oggdemux gstoggdemux.c:2335:gst_ogg_demux_read_chain:<oggdemux9> problem reading BOS page: ret=-3
0:00:57.008400355 9403 0x7f1ec8862cc0 WARN bin gstbin.c:2742:gst_bin_handle_message_func:<volumebin> received deprecated STATE_DIRTY message
0:00:57.016606195 9403 0x7f1ec8862cc0 WARN vorbisdec vorbisdec.c:1110:vorbis_dec_decode_buffer:<vorbisdec14> Already initialized, so ignoring header packet
0:00:57.016690847 9403 0x7f1ec8862cc0 WARN vorbisdec vorbisdec.c:1110:vorbis_dec_decode_buffer:<vorbisdec14> Already initialized, so ignoring header packet
0:00:57.016716061 9403 0x7f1ec8862cc0 WARN vorbisdec vorbisdec.c:1110:vorbis_dec_decode_buffer:<vorbisdec14> Already initialized, so ignoring header packet

(pitivi:9403): GStreamer-CRITICAL **: gst_caps_get_structure: assertion `GST_IS_CAPS (caps)' failed

Revision history for this message
marco.pallotta (marco-pallotta) wrote :

I discovered that the problem seems related to the ogg video. In fact with the video "Experience ubuntu.ogg" (default in every installation) I have no issue. This video has:
video codec: theora
framerate: 25 frames per second
audio codec: vorbis - 25050 Hz - 45 kbps

The videos that seem affected by the issue are all made with my video-camera and ripped with thoggen dvdrip. These video have these properties:
video codec: Theora
framerate 25 frames per second
audio codec: vorbis - 44100 Hz - 112 kbps

The strange thing is that the bug is present when I select the right trim control and not the left one.

Revision history for this message
marco.pallotta (marco-pallotta) wrote :

I have found a similar bug in upstream (gnome-bugs 518689) in needinfo status.

Revision history for this message
marco.pallotta (marco-pallotta) wrote :

I want to provide more useful info. The issue happens when I select, as output, the ogg container while with other containers (mov, mpg, avi) I have the error the I posted in attachment.
With the "Experience ubuntu.ogg" all runs ok.

Revision history for this message
marco.pallotta (marco-pallotta) wrote :

I trimmed the ogg videos, that brings pitivi in crash, with Open Movie Editor with no problems (obviously I had to codify them with a codec other the theora as Open Movie Editor doesn't support it yet) so these movies, even if aren't good for pitivi in some ways, are splittable.

Revision history for this message
marco.pallotta (marco-pallotta) wrote :

I tried to:
- recreate the same package from source but the same bug happens
- recompiling the same package from tar.gz but the same bug happens
- recompiling next version (pitivi 0.11.2) but the same bug happens with the errors:
pitivi:19543): GStreamer-CRITICAL **: gst_event_new_new_segment_full: assertion `start <= stop' failed

(pitivi:19543): GStreamer-CRITICAL **: gst_event_new_new_segment_full: assertion `start <= stop' failed

(pitivi:19543): GStreamer-CRITICAL **: gst_event_new_new_segment_full: assertion `start <= stop' failed

(pitivi:19543): GStreamer-CRITICAL **: gst_event_new_new_segment_full: assertion `start <= stop' failed

(pitivi:19543): GStreamer-CRITICAL **: gst_caps_get_structure: assertion `GST_IS_CAPS (caps)' failed
Segmentation fault

I tried to recompile the version 0.11.3 but it requires newer packages than the ones installed in Ubuntu Hardy.

I think the problem is in gstreamer.

Revision history for this message
marco.pallotta (marco-pallotta) wrote :

I made another try but this time with an mpeg file. If I right trim the video I have the following output if I launch pitivi from command line with --gst-debug-level=1 and the "Render Project" function seems not to start to record (but no error appears):

/usr/lib/pitivi/python/pitivi/playground.py:169: Warning: invalid uninstantiatable type `(null)' in cast to `GstMiniObject'
  self.current.set_state(gst.STATE_READY)

(pitivi:20247): GStreamer-CRITICAL **: gst_mini_object_unref: assertion `mini_object->refcount > 0' failed
('00:00:00.000', '00:07:42.280')

/usr/lib/pitivi/python/pitivi/bin.py:177: Warning: invalid uninstantiatable type `(null)' in cast to `GstMiniObject'
  if self.set_state(gst.STATE_READY) == gst.STATE_CHANGE_FAILURE:

(pitivi:20247): GStreamer-CRITICAL **: gst_mini_object_unref: assertion `mini_object->refcount > 0' failed

Revision history for this message
marco.pallotta (marco-pallotta) wrote :

The bug seems fixed in Jaunty version (0.11.3)

Changed in pitivi (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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