GuzziMP / my-films

Automatically exported from code.google.com/p/my-films
0 stars 0 forks source link

Movie Thumbnails sometimes not created #411

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Update ffmpeg libs to latest (2014, July)
Update mtn.exe to 2014, May
Increase timeouts for HD videos and size > 10 GB

Original issue reported on code.google.com by Guzz...@googlemail.com on 26 Jul 2014 at 3:18

GoogleCodeExporter commented 8 years ago
Updated versions can be found here:
http://sourceforge.net/p/moviethumbnail/patches/5/
There is also links to supproted ffmpeg libraries

Original comment by Guzz...@googlemail.com on 26 Jul 2014 at 3:29

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r3130.

Original comment by Guzz...@googlemail.com on 26 Jul 2014 at 3:35

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r3131.

Original comment by Guzz...@googlemail.com on 26 Jul 2014 at 3:38

GoogleCodeExporter commented 8 years ago

Original comment by Guzz...@googlemail.com on 26 Jul 2014 at 9:20

GoogleCodeExporter commented 8 years ago
Testing 3131 I get a Windows APP crash error when trying to create thumbs for 
new movie:

Faulting application name: mtn.exe, version: 0.0.0.0, time stamp: 0x5380d916
Faulting module name: avcodec-55.dll, version: 55.69.100.0, time stamp: 
0x00000000
Exception code: 0xc000001d
Fault offset: 0x0055e2db
Faulting process id: 0xb4c
Faulting application start time: 0x01cfa949050ec9db
Faulting application path: C:\Program Files (x86)\Team 
MediaPortal\MediaPortal\MovieThumbnailer\mtn.exe
Faulting module path: C:\Program Files (x86)\Team 
MediaPortal\MediaPortal\MovieThumbnailer\avcodec-55.dll
Report Id: 4374c7d9-153c-11e4-82eb-54bef737d155
Faulting package full name: 
Faulting package-relative application ID: 

However, the thumbs ARE created correctly and display after a second if I don't 
close MF, and display correctly if I re-enter movie details view.

Original comment by Dade...@gmail.com on 27 Jul 2014 at 3:23

Attachments:

GoogleCodeExporter commented 8 years ago
I noticed Avast AV was trying to do a deep analysis of mtn.exe and couldn't (I 
left it running for 30 min! So I added C:\Program Files (x86)\Team 
MediaPortal\MediaPortal\MovieThumbnailer to Exclusions, removed and recreated 
movie thumbs for one movie and no more exception!  Not sure if this is a 
'solution' but maybe useful info.

Note I am running Win 8.1 64 bit without TV-Server installed.

Original comment by Dade...@gmail.com on 27 Jul 2014 at 4:14

GoogleCodeExporter commented 8 years ago
MP wiki: 
http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/1_Getting_Started/11_Preparing_
Your_System/Anti-Virus_Settings#Excluding_folders
"If your Anti-Virus Software allows excluding running programs then 
MediaPortal.exe, Mtn.exe and TvService.exe should be excluded."

However, I never had the issue before installing MF 3131

Original comment by Dade...@gmail.com on 27 Jul 2014 at 4:55

GoogleCodeExporter commented 8 years ago
I pdated mtn.ese from user provided update and latest ffmpeg libs - we might 
update/change avcodec-55.dll to another version and check if that solves the 
issue - best would be if you could do that, as you had the exception (so far I 
didn't have any like that yet).
Do I understand correct, that the issue does NOT occur, when you disable the AV 
program?
So what is your suggestion? Revert this update? Experiment with other FFMPEG 
libs? 

Original comment by Guzz...@googlemail.com on 30 Jul 2014 at 9:28

GoogleCodeExporter commented 8 years ago
If you can give me a link to another version(s) of avcodec-55.dll you would 
recommend, I can test it. However, as you know there are a ton of possible 
reasons for such an error - registry settings not 'cleaned' up properly, or 
reset on new install, etc. 

Issue does not occur even if I add exclusion for \MovieThumbnailer folder to 
AV, which MP wiki does advise, and thus of course not when AV is disabled. 
However, I never had the issue before updated MF build 3031 which is why I 
reported it. At least we know a solution if we can't figure out the cause!

Original comment by Dade...@gmail.com on 30 Jul 2014 at 11:16

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r3133.

Original comment by Guzz...@googlemail.com on 30 Jul 2014 at 1:22

GoogleCodeExporter commented 8 years ago
Very useful!
Other libs can be fiound here:
http://ffmpeg.zeranoe.com/builds/win32/shared/
Use 32 bit, shared.
I changed installer to use 2014-05 ones now, as those were the ones used in 
thread above to compile mtn.
But according to your report, it does not seem to be an issue between mtn and 
ffmpeg libs.
Beside that, the size is really huge for newer libs - 2/3 of the MF isntaller 
is not only FFMPEG libs ...

Original comment by Guzz...@googlemail.com on 30 Jul 2014 at 1:24

GoogleCodeExporter commented 8 years ago
Testing build 3133 (with MP 1.9.0 pre) - if I remove exclusion I still get App 
Crash error when trying to create new movie thumbs. However, if I close the 
windows message/dialog, it does create the thumbs correctly! Strange. Adding 
exclusion to AV I don't get the app crash message.

It is quite possible this issue is specific to my system. Without further 
testing, there is no way to know. So if original issue is solved, I say we 
close it and release this in 6.1.1 and see if we get any other reports - since 
there is a quick/easy solution. If we find it happens in some other cases, we 
can add a note to wiki.

Original comment by Dade...@gmail.com on 31 Jul 2014 at 4:51

GoogleCodeExporter commented 8 years ago
Ok, so we leave it as it is now - with updated mtn and updates 2014-05 ffmpeg 
libs. For sure this gives better results with thumbnailing for newer codec 
formats.
The issue, that it is still failing for some needs further investigation - 
please open new issue for that (Best would be to find failing cases on short 
files - maybe even public available test media file ones).

Original comment by Guzz...@googlemail.com on 31 Jul 2014 at 7:47