Page 1 of 1

JPG photo album doesn't display images

PostPosted: Sun Feb 23, 2014 7:46 pm
by jt323bd
I would like to create a photo album of my wedding photos, but when I add the location to serviio and refresh, it does not index any of the files. All of my devices respond to attempts to view the contents of the location with "no playable files".

Each of the files in the location are 1280x800 or inverted
they are all named IMG_2121.jpg and likewise
they are all roughly 100kb to 250kb

I cannot make sense of it. I have added some other jpeg files to the location and they will show up, but my wedding photos wont.

I tried to run FFMPEG -i on one of them, and here was my result. Unfortunately I don't understand every function of troubleshooting DLNA and serviio, but I usually do alright on my own. This readout however does not make much sense to me. Any help would be greatly appreciated.

C:\Program Files\Serviio\lib>ffmpeg.exe -i C:\users\joe\pictures\wedding2\img_21
21.jpg
ffmpeg version N-54096-ge41bf19 Copyright (c) 2000-2013 the FFmpeg developers
built on Jun 18 2013 10:49:28 with gcc 4.7.2 (GCC)
configuration: --enable-static --disable-shared --disable-ffplay --disable-ffs
erver --enable-memalign-hack --enable-libmp3lame --enable-libass --enable-librtm
p --enable-fontconfig --enable-libfreetype --enable-zlib --enable-libx264 --extr
a-libs='-lrtmp -lpolarssl -lws2_32 -lwinmm -lexpat -lfreetype -lfribidi -lz' --a
rch=x86 --enable-runtime-cpudetect --enable-pthreads --target-os=mingw32 --cross
-prefix=i686-w64-mingw32- --enable-gpl --pkg-config=pkg-config
libavutil 52. 37.101 / 52. 37.101
libavcodec 55. 16.100 / 55. 16.100
libavformat 55. 9.100 / 55. 9.100
libavdevice 55. 2.100 / 55. 2.100
libavfilter 3. 77.101 / 3. 77.101
libswscale 2. 3.100 / 2. 3.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 3.100 / 52. 3.100
[mjpeg @ 01B1F360] mjpeg: error, decode_app parser read over the end
Input #0, image2, from 'C:\users\joe\pictures\wedding2\img_2121.jpg':
Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
Stream #0:0: Video: mjpeg, yuvj444p, 1200x800, 25 tbr, 25 tbn, 25 tbc
At least one output file must be specified

Re: My wedding photo album wont display any images

PostPosted: Mon Feb 24, 2014 2:08 pm
by jt323bd
Could anyone help please? I couldn't find any finished solutions in threads related to my issue when I was searching. One thread made note of the mjpeg meaning it is a video jpeg and so wont play as an image, but they don't index under video source either. If this is indeed the issue, what do I need to adjust either with serviio or how can I bulk convert these images so they can be viewed?

Re: My wedding photo album wont display any images

PostPosted: Mon Feb 24, 2014 3:40 pm
by npuser
It is the issue with ffmpeg. You can give a new ffmpeg static build a try from http://ffmpeg.zeranoe.com/builds/.

Just download and replaced serviio ffmpeg with new ffmpeg from this page.

Thanks
Npuser

Re: My wedding photo album wont display any images

PostPosted: Mon Feb 24, 2014 5:24 pm
by jt323bd
Thanks for responding!

I updated FFMPEG and rebooted the PC. Then attempted to view the files again, (both under photo source and video source) and forced a refresh and tried again, but I am still having same problem, these JPGs are not getting indexed. I ran the ffmpg.exe -i again and here is the readout.

C:\Program Files\Serviio\lib>ffmpeg.exe -i C:\users\joe\pictures\wedding2\img_2121.jpg
ffmpeg version N-60859-g313a6c6 Copyright (c) 2000-2014 the FFmpeg developers
built on Feb 23 2014 22:06:55 with gcc 4.8.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena
ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l
ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
eex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aa
cenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavp
ack --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable
-zlib
libavutil 52. 65.100 / 52. 65.100
libavcodec 55. 52.102 / 55. 52.102
libavformat 55. 33.100 / 55. 33.100
libavdevice 55. 10.100 / 55. 10.100
libavfilter 4. 1.103 / 4. 1.103
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 17.104 / 0. 17.104
libpostproc 52. 3.100 / 52. 3.100
[mjpeg @ 00000000029f8320] mjpeg: error, decode_app parser read over the end
Input #0, image2, from 'C:\users\joe\pictures\wedding2\img_2121.jpg':
Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
Stream #0:0: Video: mjpeg, yuvj444p(pc), 1200x800, 25 tbr, 25 tbn, 25 tbc
At least one output file must be specified

again, thanks for helping with this

Re: My wedding photo album wont display any images

PostPosted: Mon Feb 24, 2014 6:21 pm
by zip
what is in the log file?

Re: My wedding photo album wont display any images

PostPosted: Mon Feb 24, 2014 6:54 pm
by jt323bd
interesting.

2014-02-24 12:10:42,388 WARN [LibraryManager] Cannot read metadata of file C:\Users\Joe\Pictures\Wedding2\IMG_2166.jpg via extractor EMBEDDED. Message: Cannot read file IMG_2166.jpg for metadata extraction: Not a Valid JPEG File: missing JFIF string

Edit: I found a couple more support threads for this sort of thing now searching the phrase "missing JFIF string". And I didn't see a solution, but one you replied saying this is a limitation of a used library.

can I fix this for 800 photos?

Re: My wedding photo album wont display any images

PostPosted: Mon Feb 24, 2014 7:45 pm
by jt323bd
as it seems this is an issue with the files and just a limitation of serviio, I started to brainstorm how I could massively manipulate these jpgs with a software that might add the jfif string.I came across a solution to my problem and it was very simple. windows apparently fixes this when using the built in editor to rotate images. so one solution is to just rotate all of the images, then rotate them back. now serviio indexes them all. problem solved. thanks again. hope this helps somebody in the future!

Re: JPG photo album doesn't display images

PostPosted: Wed Feb 26, 2014 9:58 pm
by jt323bd
This solved the issue with serviio. I no longer receive errors in the log, and the thumbnails show up on my blu-ray player. I can even view them through serviio on my phone via MediaHouse.

But I do still have an issue. Somehow, the images display only a black screen when viewed on my Blu-ray player (sony BDP-s580). So I'm creating this post to cross reference.
My Sony support forum post (viewtopic.php?f=11&t=16043)