<div dir="ltr">For me this entry is valid :<div><br></div><div><a href="https://bugs.kde.org/show_bug.cgi?id=390443">https://bugs.kde.org/show_bug.cgi?id=390443</a><br></div><div><br></div><div>and we can try to close this file if we use FFMPEG directly to generate thumbnailer...</div><div><br></div><div>Gilles</div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-03-04 17:49 GMT+01:00 Gilles Caulier <span dir="ltr"><<a href="mailto:caulier.gilles@gmail.com" target="_blank">caulier.gilles@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi all,<div><br></div><div>Since i written the FFMPEG video metadata parser in 6.0.0 branch, i'm trying to register a huge video collection from my host computer.</div><div><br></div><div>Here, more than 2500 MKV files are present, plus a lots of MP4, MOV, and another media taken with cellular and camera.</div><div><br></div><div>The registration have been very fast. 2500 file parsed in 2 minutes and ready to use. System has SSD, Sqlite, 8 cores, and 32Gb of RAM. No crash all work fine... excepted... the video thumbnails.</div><div><br></div><div>I facing random dysfunctions with video files. Sometime thumbs are there, sometime not. Using F5 always give a different results until i try to insist and i can see the DB locked and revival...</div><div><br></div><div>The video thumbnailer is based on QtAV frame extractor. My QtAV is last stable 1.12.0. I suspect a bug somewhere in QtAV, as i can see thumbnailer code including a lots of mutex to prevent concurrency.</div><div><br></div><div>This is typically abnormal. FFMPEG API is re-entrant as i checked with the multi-threaded metadata parser <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">unit test</span>.</div><div><br></div><div>As we depend now directly of FFMPEG API, I propose to rewrite the video thumbnailer with libav C function.</div><div><br></div><div>We have code ready to use with ffmpeg API here :</div><div><br></div><div><a href="https://cgit.kde.org/ffmpegthumbs.git/tree/" target="_blank">https://cgit.kde.org/<wbr>ffmpegthumbs.git/tree/</a><br></div><div><br></div><div>Your viewpoint ?</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>GillesĀ </div><div><br></div><div><br></div></font></span></div>
</blockquote></div><br></div>