Page 1 of 1

portrait jpg no display

PostPosted: Sun Mar 27, 2011 10:21 pm
by johans
I have a canon G7 camera - before v5* all pictures (jpg) whatever the orientation are displayed ok (sony bravia through sony BD 570)

since v5* : very very slow picture slide show and portrait pictures are not loaded (keeps on "loading" )

i tried several configurations but nothing seems to help
it looks as if servio cannot reorientate the picture
suggestions ? :(

Re: portrait jpg no display

PostPosted: Mon Mar 28, 2011 7:28 am
by Illico
Could you post "ffmpeg -i" result of your file?

Re: portrait jpg no display

PostPosted: Mon May 02, 2011 11:05 pm
by johans
to illico

output ffmpeg of an example problematic file
can you make something out of it ? Wnever a picture is in portrait position dlna streaming takes continues endlessly
:|


Microsoft Windows XP [versie 5.1.2600] servicepack 3
(C) Copyright 1985-2001 Microsoft Corp.

C:\Program Files\Serviio\lib>ffmpeg.exe -i "c:\temp\testffmpeg\img_3272.jpg"
FFmpeg version UNKNOWN, Copyright (c) 2000-2011 the FFmpeg developers
built on Jan 10 2011 21:46:22 with gcc 4.4.2
configuration: --enable-static --disable-shared --disable-shared --disable-ffp
lay --disable-ffserver --enable-memalign-hack --enable-libmp3lame --arch=x86 --e
nable-runtime-cpudetect --enable-w32threads --target-os=mingw32 --cross-prefix=i
686-mingw32-
libavutil 50.36. 0 / 50.36. 0
libavcore 0.16. 0 / 0.16. 0
libavcodec 52.108. 0 / 52.108. 0
libavformat 52.92. 0 / 52.92. 0
libavdevice 52. 2. 3 / 52. 2. 3
libavfilter 1.72. 0 / 1.72. 0
libswscale 0.12. 0 / 0.12. 0
Input #0, image2, from 'c:\temp\testffmpeg\img_3272.jpg':
Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
Stream #0.0: Video: mjpeg, yuvj422p, 3648x2736, 25 tbr, 25 tbn, 25 tbc
At least one output file must be specified

C:\Program Files\Serviio\lib>

Re: portrait jpg no display

PostPosted: Sat May 07, 2011 5:24 pm
by Illico
johans wrote:to illico

output ffmpeg of an example problematic file

Input #0, image2, from 'c:\temp\testffmpeg\img_3272.jpg':
Stream #0.0: Video: mjpeg, yuvj422p, 3648x2736, 25 tbr, 25 tbn, 25 tbc

This portrait file is in Motion JPEG, this is a video, select and browse into the proper section on Sony XMB menu : Video.
or rename this file with *.avi extension and browse in Sony Video section

Re: portrait jpg no display

PostPosted: Sat May 07, 2011 6:21 pm
by zip
No, it actually is jpeg. Serviio doesn't use FFmpeg to detect images or audio files, so no point looking at this output.

You could only play with

  Code:
<AutomaticImageRotation>true</AutomaticImageRotation>
<LimitImageResolution>false</LimitImageResolution>


where the first will rotate the image if the EXIF metadata include the rotation of the image. But it's possible that the TV can do it automatically, in that case it should be false.
The second will resize images with resolution higher than 4096x4096, which doesn't seem to be the case of this file.

Re: portrait jpg no display

PostPosted: Sat May 07, 2011 8:05 pm
by Illico
zip wrote:No, it actually is jpeg. Serviio doesn't use FFmpeg to detect images or audio files, so no point looking at this output.

Ooh, so how Serviio detect images or audio type files, only with file extension and EXIF (if embedded)?

Re: portrait jpg no display

PostPosted: Sat May 07, 2011 8:33 pm
by zip
It uses other (Java) libraries to extract metadata from audio/images.

Re: portrait jpg no display

PostPosted: Wed Aug 28, 2019 8:33 am
by palmerdarron
Is there any way of detecting image or audio file type without extension?

Re: portrait jpg no display

PostPosted: Wed Aug 28, 2019 10:06 am
by Samydalien
The browser File API in the quite powerful for detecting image and audio files.

portrait jpg no display

PostPosted: Sat Oct 19, 2019 2:00 pm
by Emileroure
Dear All,
How to read a big JPG by steps and display instantly
This is to decrease the waiting time to display the image in LAN.
Users prefer to hv the screen change gradually than waiting for
loading complete and image come out.

Thks n rgds
Chang

Re: portrait jpg no display

PostPosted: Sat Oct 19, 2019 4:51 pm
by atc98092
Emileroure wrote:Dear All,
How to read a big JPG by steps and display instantly
This is to decrease the waiting time to display the image in LAN.
Users prefer to have the screen change gradually than waiting for loading complete and image come out.

Thks n rgds
Chang


I believe this is something this is player dependent. I don't think there's anything on the Serviio side that can do this.

Re: portrait jpg no display

PostPosted: Thu Jan 30, 2020 6:31 pm
by valad59459
I got the same problem when I ported out big image. I am not sure whether I need to replace my 5-year old laptop (i5-4210+GTX840) to fix this issue.