Problems with Hi-Res images
Brought to you by:
jmaggard
Good day. I have installed minidlna 1.1.5 both at Ubuntu Linux 14.04.3 x64 and at FreeBSD 10.2 x64. With playing video everything fine, but with hi-res JPEGs (for example 6000x4000) I have trouble at FreeBSD. My client device is Panasonic FullHD TV. When I opening hi-res images from Ubuntu, they are immediately showing at TV. But from FreeBSD with the same minidlna config my images opening very slowly! Option "strict_dlna" has no effect - no downsampling at Panasonic TV. I have tried to install minidlna from ports and from binary packages - no success. May be problems with libraries that used by minidlna to render images? What can I check?
libjpeg. Maybe Ubuntu is using the turbo fork and FreeBSD is not?
FreeBSD - jpeg-turbo-1.4.2
Ubuntu - libjpeg-dev:amd64, libjpeg-progs, libjpeg-turbo-progs, libjpeg-turbo8:amd64, libjpeg-turbo8-dev:amd64, libjpeg8:amd64, libjpeg8-dev:amd64. Version of libjpeg-turbo is 1.3.0
Run minidlna in debug mode to see what is happening.
log_level=general=debug,artwork=debug,scanner=debug,metadata=debug,http=debug
You need to run minidlna in debug mode on both installs. Verify that both installs are responding the same with the large image.
I have different virtual machines at VMware host. I have tested FreeBSD, Ubuntu and Debian. As I think, the problems with HiRes JPEGs at FreeBSD is not pointed to libjpeg, because I have problems also with Bluray remuxes playback - I have permanent delays, pauses. There are no problems with Ubuntu and Debian - both HiRes JPEGs and Blurays are playing very well.
Last edit: MaxMyg 2016-04-19
Maybe sendfile.
I would also look into performance issues using FreeBSD and VMWare.