GNOME Bugzilla – Bug 721888
Pitivi's clipmediaprops.py should handle nonsensical framerates such as 0 fps
Last modified: 2014-03-17 16:51:03 UTC
wget jeff.ecchi.ca/public/00108.MTS gst-discoverer-1.0 -v 00108.MTS |grep -i frame Frame rate: 0/1 ...resulting in Pitivi seeing the clip as being 0 fps. Oops :)
What's the problem with that? :) 0/1 in general means variable framerate or we don't know the framerate. Also with git master and 1.2.2 here: gst-discoverer-1.0 00108.MTS -v | grep frame Frame rate: 30000/1001
Alright so the onus is on application developers to discard such values if encountered. Pitivi will have to take a defensive approach and prevent setting a nonsensical project framerate from a clip whose framerate has been misdetected.
commit 489d514de7727027fe776c7f3e992556d6f9d858 Author: Jean-François Fortin Tam <nekohayo@gmail.com> Date: Fri Jan 10 21:51:25 2014 -0500 clipmediaprops: Prevent setting an invalid framerate from a misdetected clip Fixes bug #721888