Ghost clip - how to remove it?

Post your questions about Openshot here.

Moderators: Andy, Cenwen, beats

Ghost clip - how to remove it?

Postby pongraczi » Thu Apr 26, 2012 12:19 pm

Hi,

I use linux mint 12 with the latest OS 1.4.2 and MLT from PPA (0.7.8), I do not use Gnome shell or unity.

I have a ghost clip, which is not visible on the timeline and only 3 frames long (25fps) and it is always visible on the preview video, even I put an other track and clip over it, doesn't matter.
I wrote ghost, because it is not possible to see, select, move, delete from the timeline and when I zoom in below 4sec, tracks and positioner are gone. Zoom out I got back.
I think, I made an unwanted action, cut or something like this and that cause this.

Here I wrote a version of this topic, because I think they should have something common: viewtopic.php?f=11&t=1226#p5797 )

Here is a log from console, when I zoom in:
/usr/lib/pymodules/python2.7/openshot/classes/sequences.py:779: GtkWarning: gdk_pixbuf_scale_simple: assertion `dest_width > 0' failed
new_pixbuf = pixbuf.scale_simple(remaining_pixels, height, gtk.gdk.INTERP_NEAREST)
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/openshot/windows/MainGTK.py", line 2416, in on_hsZoom_value_changed
self.project.Render()
File "/usr/lib/pymodules/python2.7/openshot/classes/project.py", line 221, in Render
self.sequences[0].Render()
File "/usr/lib/pymodules/python2.7/openshot/classes/sequences.py", line 171, in Render
MyTrack.Render()
File "/usr/lib/pymodules/python2.7/openshot/classes/track.py", line 93, in Render
MyClip.Render()
File "/usr/lib/pymodules/python2.7/openshot/classes/clip.py", line 279, in Render
self.RenderClip()
File "/usr/lib/pymodules/python2.7/openshot/classes/clip.py", line 1152, in RenderClip
pixbuf_width = pixbuf.get_width()
AttributeError: 'NoneType' object has no attribute 'get_width'

I think, this is caused by this ghost clip.

I exported to xml, easy to see this clip and delete, but not possible to import the xml into openshot.
OSP file is not really human friendly and I failed to delete the relevant part.
Any idea, how to remove this clip manually from the project file?

Thank you,
Steve
pongraczi
New member
 
Posts: 7
Joined: Thu Apr 26, 2012 11:34 am
Location: Hungary

Re: Ghost clip - how to remove it?

Postby Andy » Thu Apr 26, 2012 1:07 pm

Have a look the the sequence.mlt file in ~/.openshot. You should be able to delete the clip out of there. But depending on where it's coming from it could end up back in there after you do something within the project.
User avatar
Andy
Site Admin/Openshot Dev
 
Posts: 874
Joined: Mon Nov 16, 2009 10:51 am
Location: London

Re: Ghost clip - how to remove it?

Postby pongraczi » Thu Apr 26, 2012 1:26 pm

Hi Andy,

Thank you very much for you hint! Anyway, I like Openshot very much, it is really great!

I exported my video in a low quality format and it seems it has some other ghost clips, beside of some badly positioned transitions.

I think, when I cut the original clips using the scissors (blade), I clicked too much in one position, because i did not see, the previous click had effect, in other words, the clip stayed in one part instead of two parts. As I clicked several times, I think this caused this ghost clip effect. This is only a theory, because before I made an other video, where I had no problem.

I checked the sequence.mlt, I found the relevant ghost clip:
Code: Select all
                             <blank length="8.0"/>
                                <producer id="51bab336-8f15-11e1-a17f-0001c00cb14a" in="749" novdpau="1" out="746">
                                        <property name="resource">/home/pongi/Asztal/Tablet/00007.MTS.mp4</property>
                                </producer>


It exists in the project file too (I included more lines around the ghost part, I do not know, where it starts and ends - 51bab336-8f15-11e1-a17f-0001c00cb14a):
Code: Select all
sS'video_fade_amount'
p748
F2
sS'thumb_location'
p749
S'/home/pongi/Asztal/Tablet/thumbnail/00007.MTS_mp4_2.png'
p750
sS'name'
p751
g719
sS'position_on_track'
p752
F150.44
sS'halign'
p753
g693
sS'play_audio'
p754
I00
sS'composite'
p755
I01
sS'max_length'
p756
F47.98126666666667
sS'play_video'
p757
I01
sS'end_time'
p758
F29.873538191395966
sS'valign'
p759
g693
sS'video_fade_in'
p760
I00
sS'audio_fade_in'
p761
I00
sS'unique_id'
p762
S'51bab336-8f15-11e1-a17f-0001c00cb14a'
p763
sS'effects'
p764
g713
sba(iclasses.clip
clip
p765
(dp766
g38
g587
sg40
I00
sg41
(dp767
g589
(iclasses.keyframe
keyframe
p768
(dp769
g46
I0
sg47
F100
sg48
F100
sS'x'
F0
sS'y'
F0
sg49
F1
sg50
S'5435a0ce-8ef4-11e1-b9d9-0001c00cb14a'


So, I think I have to remove that part from the project file manually. Could you hint me, how to identify the borders of a clip and remove without corrupt the project file?

Thank you,
Steve
pongraczi
New member
 
Posts: 7
Joined: Thu Apr 26, 2012 11:34 am
Location: Hungary

Re: Ghost clip - how to remove it?

Postby pongraczi » Thu Apr 26, 2012 2:25 pm

I compared the visible timeline and the sequence.mlt and I found two ghost clips.

I made a workaround:
* I added a new track
* I moved all visible and legal clips to the new from the defective track
* I moved all transitions to the new track
* remove defective track

et viola, I got back all the functions etc.

I do not know, this solves the crash problem, which I had, I edit the video again and I report back my experience.

Cheers, István
Last edited by pongraczi on Thu Apr 26, 2012 3:55 pm, edited 1 time in total.
pongraczi
New member
 
Posts: 7
Joined: Thu Apr 26, 2012 11:34 am
Location: Hungary

Re: Ghost clip - how to remove it?

Postby pongraczi » Thu Apr 26, 2012 2:45 pm

No crash until now and the speed much better. I mean, the response time for clicking on a clip property, Apply etc. So, I feel it much quicker.
More test (work) is in progress, regarding the crash issues reported by others.
Maybe they are in the same situation as me.

Steve
pongraczi
New member
 
Posts: 7
Joined: Thu Apr 26, 2012 11:34 am
Location: Hungary

[Partly SOLVED] Re: Ghost clip - how to remove it?

Postby pongraczi » Thu Apr 26, 2012 5:08 pm

Crash happened (segfault):
[69887.799136] openshot[29207]: segfault at 103005320 ip 00007fb322a539b8 sp 00007fff56a4d5c0 error 4 in libc-2.13.so[7fb3229d8000+197000]

Moved the slider on the timeline quickly with 720p mp4 clips, 4 tracks:
audio (wav)
video 1
video 2
subtitle overlay (footer)

Fit-PC3 - linuxmint 12, 64bit.
pongraczi
New member
 
Posts: 7
Joined: Thu Apr 26, 2012 11:34 am
Location: Hungary


Return to General questions & help

Who is online

Users browsing this forum: No registered users

cron