Some photos don't play

If you have a question about installing or using the SwissCenter, ask it here.
User avatar
klaasvaak
Senior Member
Senior Member
Posts: 2212
Joined: Fri Jun 01, 2007 4:32 pm
Location: The Netherlands
Flag: Netherlands
Contact:

Some photos don't play

Postby klaasvaak » Sun Mar 12, 2017 12:25 pm

Some of my newly added images won't play via SwissCenter, while they do play when directly opened on the A-210. The logfile doesn't mention any specific...

Code: Select all

playlist: GET http://192.168.188.2:8050/gen_photolist.php?spec_type=sql&session_id=f3d87c11859d04afb4874e3737ae2657&seed=427606234&media_type=2 by client (192.168.188.39)

Could this be related to the file size (the images are approx. 3-4 MB). The image format is a regular jpg.

any ideas? cheers
SwissCenter SVN 1971
Apache 2.2.31 (Unix) / PHP 5.5.38 / MySQL v5.5.51-MariaDB / Linux QNAP 3.4.6 #1
QNAP TS-259 PRO+, firmware: 4.2.2, build 20161214
0PCH A-110/KAIFA EP-6000 firmware: 01-17-110314-15-POP-403 (05-04-2011)
PCH A-210, firmware: 02-04-110519-21-POP-411-000 (27-05-2011)

Image]

User avatar
Pernod
Senior Member
Senior Member
Posts: 4460
Joined: Thu Jan 25, 2007 6:21 am
Location: Croydon, UK
Flag: Great Britain
Age: 46
Contact:

Re: Some photos don't play

Postby Pernod » Sun Mar 12, 2017 12:53 pm

Could be memory related, can you post a couple of examples to test with?
Players : Popcorn A-300 | Popcorn A-200 | Popcorn A-100 | Netgear EVA700
Webserver : Simese v2.6.5 | Apache 2.2.21 | PHP v5.2.17 | MySQL v5.1.32
Server : Windows 10 Pro 64bit - Intel i7-4770K @4.2GHz - 16GB RAM - 5TB HDD | Synology DS412+
AV : Pioneer VSX-915 | Samsung LE40C650

User avatar
klaasvaak
Senior Member
Senior Member
Posts: 2212
Joined: Fri Jun 01, 2007 4:32 pm
Location: The Netherlands
Flag: Netherlands
Contact:

Re: Some photos don't play

Postby klaasvaak » Sun Mar 12, 2017 1:17 pm

just sent via Skype, cheers
SwissCenter SVN 1971
Apache 2.2.31 (Unix) / PHP 5.5.38 / MySQL v5.5.51-MariaDB / Linux QNAP 3.4.6 #1
QNAP TS-259 PRO+, firmware: 4.2.2, build 20161214
0PCH A-110/KAIFA EP-6000 firmware: 01-17-110314-15-POP-403 (05-04-2011)
PCH A-210, firmware: 02-04-110519-21-POP-411-000 (27-05-2011)

Image]

User avatar
Pernod
Senior Member
Senior Member
Posts: 4460
Joined: Thu Jan 25, 2007 6:21 am
Location: Croydon, UK
Flag: Great Britain
Age: 46
Contact:

Re: Some photos don't play

Postby Pernod » Mon Mar 13, 2017 10:50 am

All of your photos play fine with SwissCenter in my browser and on the PCH200. What exactly happens?
Players : Popcorn A-300 | Popcorn A-200 | Popcorn A-100 | Netgear EVA700
Webserver : Simese v2.6.5 | Apache 2.2.21 | PHP v5.2.17 | MySQL v5.1.32
Server : Windows 10 Pro 64bit - Intel i7-4770K @4.2GHz - 16GB RAM - 5TB HDD | Synology DS412+
AV : Pioneer VSX-915 | Samsung LE40C650

User avatar
klaasvaak
Senior Member
Senior Member
Posts: 2212
Joined: Fri Jun 01, 2007 4:32 pm
Location: The Netherlands
Flag: Netherlands
Contact:

Re: Some photos don't play

Postby klaasvaak » Mon Mar 13, 2017 5:55 pm

Hmmm... that's odd, in both my PC and A-210 the images are not shown. The A-210 shows "Could not play", then the audio starts, but the screen is and remains black...

Could it be the memory of the QNAP? To test I resized some images and they play fine...

cheers

Verstuurd vanaf mijn SM-T810 met Tapatalk
SwissCenter SVN 1971
Apache 2.2.31 (Unix) / PHP 5.5.38 / MySQL v5.5.51-MariaDB / Linux QNAP 3.4.6 #1
QNAP TS-259 PRO+, firmware: 4.2.2, build 20161214
0PCH A-110/KAIFA EP-6000 firmware: 01-17-110314-15-POP-403 (05-04-2011)
PCH A-210, firmware: 02-04-110519-21-POP-411-000 (27-05-2011)

Image]

User avatar
klaasvaak
Senior Member
Senior Member
Posts: 2212
Joined: Fri Jun 01, 2007 4:32 pm
Location: The Netherlands
Flag: Netherlands
Contact:

Re: Some photos don't play

Postby klaasvaak » Mon Mar 13, 2017 7:38 pm

this is what I see when I open the stream in Firefox:

image.jpg


CPU usage is at 10 percent
Memory usage is at 75 percent

any idea what I can check furthermore?
SwissCenter SVN 1971
Apache 2.2.31 (Unix) / PHP 5.5.38 / MySQL v5.5.51-MariaDB / Linux QNAP 3.4.6 #1
QNAP TS-259 PRO+, firmware: 4.2.2, build 20161214
0PCH A-110/KAIFA EP-6000 firmware: 01-17-110314-15-POP-403 (05-04-2011)
PCH A-210, firmware: 02-04-110519-21-POP-411-000 (27-05-2011)

Image]

User avatar
Pernod
Senior Member
Senior Member
Posts: 4460
Joined: Thu Jan 25, 2007 6:21 am
Location: Croydon, UK
Flag: Great Britain
Age: 46
Contact:

Re: Some photos don't play

Postby Pernod » Mon Mar 13, 2017 7:43 pm

My only thought is that PHP is running out of memory when resizing the images. Check your php.ini, what is memory_limit set to? Mine is 128M.
Players : Popcorn A-300 | Popcorn A-200 | Popcorn A-100 | Netgear EVA700
Webserver : Simese v2.6.5 | Apache 2.2.21 | PHP v5.2.17 | MySQL v5.1.32
Server : Windows 10 Pro 64bit - Intel i7-4770K @4.2GHz - 16GB RAM - 5TB HDD | Synology DS412+
AV : Pioneer VSX-915 | Samsung LE40C650

User avatar
klaasvaak
Senior Member
Senior Member
Posts: 2212
Joined: Fri Jun 01, 2007 4:32 pm
Location: The Netherlands
Flag: Netherlands
Contact:

Re: Some photos don't play

Postby klaasvaak » Mon Mar 13, 2017 7:47 pm

mine too, should I increase this to let's say 256M?
SwissCenter SVN 1971
Apache 2.2.31 (Unix) / PHP 5.5.38 / MySQL v5.5.51-MariaDB / Linux QNAP 3.4.6 #1
QNAP TS-259 PRO+, firmware: 4.2.2, build 20161214
0PCH A-110/KAIFA EP-6000 firmware: 01-17-110314-15-POP-403 (05-04-2011)
PCH A-210, firmware: 02-04-110519-21-POP-411-000 (27-05-2011)

Image]

User avatar
Pernod
Senior Member
Senior Member
Posts: 4460
Joined: Thu Jan 25, 2007 6:21 am
Location: Croydon, UK
Flag: Great Britain
Age: 46
Contact:

Re: Some photos don't play

Postby Pernod » Mon Mar 13, 2017 8:43 pm

klaasvaak wrote:mine too, should I increase this to let's say 256M?

Can't do any harm to try. There must be something in a logfile somewhere but it's been far too long since I last investigated anything like this.

Have you tried re-adding the photos as all the thumbnail and resizing is performed during the media search.
Players : Popcorn A-300 | Popcorn A-200 | Popcorn A-100 | Netgear EVA700
Webserver : Simese v2.6.5 | Apache 2.2.21 | PHP v5.2.17 | MySQL v5.1.32
Server : Windows 10 Pro 64bit - Intel i7-4770K @4.2GHz - 16GB RAM - 5TB HDD | Synology DS412+
AV : Pioneer VSX-915 | Samsung LE40C650

User avatar
klaasvaak
Senior Member
Senior Member
Posts: 2212
Joined: Fri Jun 01, 2007 4:32 pm
Location: The Netherlands
Flag: Netherlands
Contact:

Re: RE: Re: Some photos don't play

Postby klaasvaak » Tue Mar 14, 2017 6:52 am

well, that worked, all images play like a charm now...

many thanks, cheers

Verstuurd vanaf mijn SM-T810 met Tapatalk
SwissCenter SVN 1971
Apache 2.2.31 (Unix) / PHP 5.5.38 / MySQL v5.5.51-MariaDB / Linux QNAP 3.4.6 #1
QNAP TS-259 PRO+, firmware: 4.2.2, build 20161214
0PCH A-110/KAIFA EP-6000 firmware: 01-17-110314-15-POP-403 (05-04-2011)
PCH A-210, firmware: 02-04-110519-21-POP-411-000 (27-05-2011)

Image]


Return to “General”

Who is online

Users browsing this forum: No registered users and 0 guests