FAQ  •  Register  •  Login

Bug Report: pc nearly freezes when retrieving thumbnail

<<

ami289

Streaming enthusiast

Posts: 43

Joined: Sat Aug 15, 2015 8:36 am

Post Sat Dec 09, 2017 10:11 pm

Bug Report: pc nearly freezes when retrieving thumbnail

Hey guys,

This is more of a bug report, and not a request for assistant,
So it would probably 'benefit' 'zip' the most.

Here is the situation-

I'm currently downloading an mkv file straight to a directory that is watched by Serviio.

Serviio recognizes a file had been added and tries to retrieve thumbnail using FFMPEG.
I can see the following 2 lines in the log-
  Code:
2017-12-09 23:49:27,151 DEBUG [FFMPEGWrapper] Invoking FFMPEG to retrieve thumbnail for file: J:\TV Shows\The Grand Tour\Season 2\the.grand.tour.s02e01.1080p.web.h264-strife.mkv
2017-12-09 23:49:27,151 DEBUG [ProcessExecutor] Starting C:\Program Files\Serviio\bin\\..\lib\ffmpeg.exe -threads 0 -ss 120 -i J:\TV Shows\The Grand Tour\Season 2\the.grand.tour.s02e01.1080p.web.h264-strife.mkv -an -frames:v 1 -f image2 pipe:


I have a strong feeling that this is the main cause of this issue-
File is currently being used, by uTorrent, as it is still being downloaded.

FFMPEG process starts and uses almost all available CPU, which nearly freezes my PC.
It took me near 10 minutes to open task manager and kill it.
And each time that I do, it regenerates few seconds later (and adds, again, the above 2 lines to the log).

I had shut down the Serviio service, as currently I can't use my computer due to the above issue.

Just wanted to let you know.


Download is kinda slow, but should be done in a couple of hours.
Tomorrow, after the download is done,
I will re-start Serviio, to try to confirm if it was because the file is being used, as I suspect.

Will post back with results.

Cheers.
<<

freaknik

User avatar

DLNA master

Posts: 115

Joined: Thu Mar 27, 2014 2:05 pm

Post Sun Dec 10, 2017 4:05 pm

Re: Bug Report: pc nearly freezes when retrieving thumbnail

Maybe I am missing something but can't this be avoided by simply not downloading to the indexed folder and instead download somewhere else like c:\downloads or somewhere and then once the file is complete copy it to the indexed folder where it belongs?
<<

ami289

Streaming enthusiast

Posts: 43

Joined: Sat Aug 15, 2015 8:36 am

Post Sun Dec 10, 2017 7:40 pm

Re: Bug Report: pc nearly freezes when retrieving thumbnail

freaknik wrote:Maybe I am missing something but can't this be avoided by simply not downloading to the indexed folder and instead download somewhere else like c:\downloads or somewhere and then once the file is complete copy it to the indexed folder where it belongs?


Hey 'feakink',
Thanks for the reply.

Yes, this can be avoided as you've suggested,
But it is still a bug nonetheless.

This is why I've stated it is a bug report, and not a request for assistant.


Cheers mate.
<<

DenyAll

DLNA master

Posts: 2083

Joined: Fri Mar 08, 2013 11:16 pm

Location: Adelaide, Australia

Post Sun Dec 10, 2017 9:40 pm

Re: Bug Report: pc nearly freezes when retrieving thumbnail

Is this happening with all downloads, or just this one?

I suspect something else is at play here. I do exactly this - download via uTorrent directly to the searched folder - all the time and do not have this issue. There were issues with progressive downloading in earlier versions, but it was fixed some time ago.

Not sure what the issues is, but it may be something local rather than a bug.
Ps what os? Is J: local or networked?
DenyAll
Panasonic Viera CS610A | Panasonic Viera V20A | Sony PS4 | Sony PS3 | Panasonic DMP-BD79 | Yamaha RX-V500D | iPad | Windows 10 | Serviio 1.9 Pro
WinHelper | MediaInfo

Beta Tester, Moderator
Please do not PM me for support as any solution cannot be shared with others.
<<

ami289

Streaming enthusiast

Posts: 43

Joined: Sat Aug 15, 2015 8:36 am

Post Mon Dec 11, 2017 8:34 pm

Re: Bug Report: pc nearly freezes when retrieving thumbnail

DenyAll wrote:Is this happening with all downloads, or just this one?

I suspect something else is at play here. I do exactly this - download via uTorrent directly to the searched folder - all the time and do not have this issue. There were issues with progressive downloading in earlier versions, but it was fixed some time ago.

Not sure what the issues is, but it may be something local rather than a bug.
Ps what os? Is J: local or networked?


Hey mate,
Thank you for replying.

You are right, I haven't provided much info.

OS is Windows 7 x64
Drive is a local drive.
I'm not entirely sure if it happens with all downloads,
As I'm not always downloading to a searched folder,
And, since this issue haven't occurred in the past, I haven't paid much attention to it.....

Anyway,
Download have finished by now,
And currently everything seems fine.


I will pay more attention to it with future downloads.


Cheers.
<<

ami289

Streaming enthusiast

Posts: 43

Joined: Sat Aug 15, 2015 8:36 am

Post Fri Dec 15, 2017 10:38 am

Re: Bug Report: pc nearly freezes when retrieving thumbnail

Hey guys,

Just a little update-
I just downloaded another video, to the same folder, while Serviio is running.
This time everything was fine.

Don't know what happened to Serviio/FFMPEG last time....

Not much info in the log about it.

Any way I can debug this issue, to get more information to what actually happened?


Cheers
<<

atc98092

User avatar

DLNA master

Posts: 2313

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Fri Dec 15, 2017 10:54 am

Re: Bug Report: pc nearly freezes when retrieving thumbnail

You can enable the debug log. Instructions link in my sig line.
Dan

Panasonic ST30 Plasma, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Roku 2 XS, 4, Ultra and Stick, Yamaha RX-V679 AVR.
Primary server: Intel i5-6400, 8 gig ram, Windows 10 Pro, 18 TB hard drive space | Test server Windows 7 Home Premium, AMD Phenom II X4 965, 8 gig ram

Enable debug logging Identify video file contents
<<

ami289

Streaming enthusiast

Posts: 43

Joined: Sat Aug 15, 2015 8:36 am

Post Fri Dec 15, 2017 8:25 pm

Re: Bug Report: pc nearly freezes when retrieving thumbnail

Hi mate,

Debug log is already enabled.

As you can see by my original post,
Not much info is provided, that is related to this issue.


Cheers.
<<

DenyAll

DLNA master

Posts: 2083

Joined: Fri Mar 08, 2013 11:16 pm

Location: Adelaide, Australia

Post Sun Dec 17, 2017 9:37 pm

Re: Bug Report: pc nearly freezes when retrieving thumbnail

If you run the ffmpeg command as listed in the log file in a command window (you’ll need quotes around the file names) what happens? Does it tell you anything? Does it use high CPU?
DenyAll
Panasonic Viera CS610A | Panasonic Viera V20A | Sony PS4 | Sony PS3 | Panasonic DMP-BD79 | Yamaha RX-V500D | iPad | Windows 10 | Serviio 1.9 Pro
WinHelper | MediaInfo

Beta Tester, Moderator
Please do not PM me for support as any solution cannot be shared with others.
<<

ami289

Streaming enthusiast

Posts: 43

Joined: Sat Aug 15, 2015 8:36 am

Post Wed Jan 10, 2018 7:53 pm

Re: Bug Report: pc nearly freezes when retrieving thumbnail

DenyAll wrote:If you run the ffmpeg command as listed in the log file in a command window (you’ll need quotes around the file names) what happens? Does it tell you anything? Does it use high CPU?


Hi mate.
Sorry for the very late reply.
I've somehow missed your comment....


Anyway,
When manually run the command listed in the log file, via CMD,
I get a lot of gibberish,
Followed by a line that reads- "video:108kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown",
And then cmd freezes for about 20 seconds.

And that's it.


Cheers.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 16546

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri Jan 19, 2018 8:54 am

Re: Bug Report: pc nearly freezes when retrieving thumbnail

try to get the latest ffmpeg from zeranoe to see if it fixes the problem.

Return to Serviio Support & Help

Who is online

Users browsing this forum: dmdfs and 4 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.