Amount of proxies to be generated goes up and down
Out of curiosity I grabbed the "stable" flatpak build to test the 1.0 RC and created a blank new project, then used the media library's Import button to shift-select a dozen videos to import. I didn't pay attention to the proxy setting at the bottom of the filechooser dialog, so it automatically created proxies for the "unsupported" files.
This is the resulting set of files:
~/Vidéos/01-00001.mov.144040333.proxy.mkv
~/Vidéos/2011_12_19_0000 fighting bugs in pitivi.avi.230578370.proxy.mkv
~/Vidéos/2012_01_05 aghlan sans UI 2.avi.713072628.proxy.mkv
~/Vidéos/2012_01_08 glas.avi.62445606.proxy.mkv
~/Vidéos/big buck bunny trailer 480p.ogv.4360399.proxy.mkv
~/Vidéos/DoF telephoto.ogv.767579.proxy.mkv
~/Vidéos/DoF wide.ogv.850625.proxy.mkv
~/Vidéos/DoF wide 2.ogv.1190744.proxy.mkv
~/Vidéos/DoF wide easy.ogv.933664.proxy.mkv
~/Vidéos/Nostromo - Auriga 720p@60.avi.312016896.proxy.mkv
~/Vidéos/PRORES SAMPLE FOR DANNY.mov.7489289.proxy.mkv
The problem is that during proxy generation, it thought there were only 2 files to proxy and that it would take 4 minutes, or something like that.
The process took at least 10 minutes (based on the modification time of the oldest and newest proxy file) to generate, not 4 minutes, and, as we can see, there were at least 11 proxies generated.
So it seems as if Pitivi ignored some of the files for doing the estimates, maybe because of special characters or spaces in the filenames? But then I saw this in the terminal:
(pitivi:2): Gtk-CRITICAL **: 15:56:53.993: gtk_tree_model_filter_real_unref_node: assertion 'elt->ref_count > 0' failed
ERROR 15:57:25 proxymanager <ProxyManager at 0x7fb61eacf990> __assetLoadedCb: Asset file:///home/jeff/Vid%C3%A9os/2012_01_08%20glas.avi (duration=0:00:23.766642900) and created proxy file:///home/jeff/Vid%C3%A9os/2012_01_08%20glas.avi.62445606.proxy.mkv (duration=0:00:23.736000000) do not have the same duration this should *never* happen, please file a bug with the media files. (../../app/lib/pitivi/python/pitivi/utils/proxy.py:333)
(pitivi:2): Gtk-CRITICAL **: 15:57:25.590: gtk_tree_model_filter_real_unref_node: assertion 'elt->ref_count > 0' failed
ERROR 15:58:41 proxymanager <ProxyManager at 0x7fb61eacf990> __assetLoadedCb: Asset file:///home/jeff/Vid%C3%A9os/2011_12_19_0000%20fighting%20bugs%20in%20pitivi.avi (duration=0:00:54.399945600) and created proxy file:///home/jeff/Vid%C3%A9os/2011_12_19_0000%20fighting%20bugs%20in%20pitivi.avi.230578370.proxy.mkv (duration=0:00:54.366612300) do not have the same duration this should *never* happen, please file a bug with the media files. (../../app/lib/pitivi/python/pitivi/utils/proxy.py:333)
So then I closed Pitivi, moved the proxy files out of the way, and tried again without trying to import those two problematic AVI files, and this time it was much faster, though the "amount of proxies to be generated" in the progressbar was still going up and down throughout the process (instead of saying generating proxy $iter of $total_of_the_current_queue or something).