QTS 4.3 TS43A Thumbnail Generation failed

Please post your questions about using the web-based Photo, Music, Video Stations here.
Darthajack
Starting out
Posts: 16
Joined: Thu Oct 17, 2019 8:43 pm

Re: QTS 4.3 TS43A Thumbnail Generation failed

Post by Darthajack » Wed Oct 23, 2019 9:24 am

Same problem here, TS-231P, QTS 4.4.1 1081. Failed to generate thumbnails on .MOV files (iPhone movies, original format). I does generate thumbnail when I upload as .M4V but then in Photo Station it doesn't have the right "date taken" date, which is set to time of transfer/upload.
Sent a ticket, but so far I find QNAP isn't very responsive, and when they are, they are usually dismissive.
I will report back if I have a positive answer. But either way, I'm thinking my next NAS, and recommendations to people, will be toward Synology who have products that work better and mostly have much better customer support. QNAP is a MESS.

geniuscao
First post
Posts: 1
Joined: Tue May 12, 2015 9:43 pm

Re: QTS 4.3 TS43A Thumbnail Generation failed

Post by geniuscao » Fri Oct 25, 2019 8:48 am

I am getting the same error. I think it is because HEVC support has been removed in latest codexpack 4.7.0.1 that's why it fails to generate thumbnail for iphone video taken in HEVC format

https://www.qnap.com/en/app_releasenote ... =CodexPack
CodexPack 4.7.0.1
( 2019/08/21 )
[Removed Features]
Ended support for High Efficiency Video Coding (HEVC; H.265).

Darthajack
Starting out
Posts: 16
Joined: Thu Oct 17, 2019 8:43 pm

Re: QTS 4.3 TS43A Thumbnail Generation failed

Post by Darthajack » Sat Oct 26, 2019 7:06 am

HEVC for video is on by default since iPhone 8, and available on iPhone 7 and up on iOS 11 and up. It's been available for YEARS. I've asked multiple times when will QNAP fix it? I'm not getting any answer.

In the meantime, their marketing is giving unsuspecting potential buyers this trumpery:

“QNAP NAS brings full compatibility to your iOS devices.”
IMG_6862.jpg
You do not have the required permissions to view the files attached to this post.

Darthajack
Starting out
Posts: 16
Joined: Thu Oct 17, 2019 8:43 pm

Re: QTS 4.3 TS43A Thumbnail Generation failed

Post by Darthajack » Wed Oct 30, 2019 9:11 am

Here is an update. I have been told repeatedly that QNAP does not support HEVC (the original MOV format in iPhones). QNAP has not given any date as to when they will provide support for it (should support it by now, it's been on every new iPhone for a few years already). But I found when this happens and a potential workaround.

After doing tests, as far as I could see, there are only a few cases when movies from iPhone are sent the QNAP in HEVC format. This includes when you transfer the original files directly through USB plugged into the NAS, or through the network, or are in QFile on the iPhone and choose upload, and select a movie in the camera roll. Those are sent in original, unconverted format, which QNAP doesn't support and for which it can't generate thumbnails.

However whenever you send movies from the camera roll to other apps (the "share" arrow), the HEVC is converted to H.264. QNAP CAN read those and generate thumbnails. For example in your phone's camera roll, you "send" to Qfile, or send to email, or some other app or protocol. Even if the movie is HVEC, it is converted to H.264 on the fly. I believe movie files from iPhone that were imported to the MacOS Photos app will also convert to H.264 when exported using the "export" function.

So until QNAP supports the original unmodified HVEC format, if you want them to generate thumbnails and show up in Photo Station, you have to choose a method that converts them.

REMAINING DATE/TIME ISSUE. Even if QNAP generates thumbnails iPhone H.264 MOV files, there is still a problem remaining. The "Date created" is set to the time the photo was converted or uploaded. And in Photo Station, the videos will not appear in the correct date/time order. The real date/time created information is inside the file, it's just QNAP doesn't read the correct information. The real date/time the video was taken is in "com.apple.quicktime.creationdate". They need to read that. I have reported it in multiple ticket threads.

User avatar
Moogle Stiltzkin
Ask me anything
Posts: 8715
Joined: Thu Dec 04, 2008 12:21 am
Location: Around the world....
Contact:

Re: QTS 4.3 TS43A Thumbnail Generation failed

Post by Moogle Stiltzkin » Sun Dec 15, 2019 11:13 am

any ideas why hevc support was removed?

i've been getting failed thumbnail generation, and i only found out why from this thread. at the time helpdesk didn't explain this to me :/

unfortunately a lot of my media is hevc....
NAS
[Main Server] QNAP TS-877 w. 4tb [ 3x HGST Deskstar NAS (HDN724040ALE640) & 1x WD RED NAS ] EXT4 Raid5 & 2 x m.2 SATA Samsung 850 Evo raid1 +16gb ddr4 Crucial+ QWA-AC2600 wireless+QXP PCIE
[Backup] QNAP TS-653A w. 5x 2TB Samsung F3 (HD203WI) EXT4 Raid5
[Backup] QNAP TL-D400S 2x 4TB WD Red Nas (WD40EFRX) single disks.
[^] QNAP TS-659 Pro II
[^] QNAP TS-509 Pro w. 4x 1TB WD RE3 (WD1002FBYS) EXT4 Raid5
[^] QNAP TS-228
[^] QNAP TS-128
[Mobile NAS] TBS-453DX w. 2x Crucial MX500 500gb EXT4 raid1

Network
Asus AC68U Router|100dl/50ul MBPS FTTH Internet | Win10, WC PC-Intel i7 920 Ivy bridge desktop (1x 512gb Samsung 850 Pro SSD + 1x 4tb HGST Ultrastar 7K4000)


Guides & articles
[Review] Moogle's QNAP experience
[Review] Moogle's TS-877 review
https://www.patreon.com/mooglestiltzkin

janikjan
First post
Posts: 1
Joined: Fri Jan 10, 2020 8:11 pm

Re: QTS 4.3 TS43A Thumbnail Generation failed

Post by janikjan » Fri Jan 10, 2020 8:27 pm

Hi, I think I have a solution for thumbnail generation from HEVC videos :).

Inspiration was taken from this thread https://forum1.qnap.com/viewtopic.php?p ... 6f3cc17d3c

1) So, please download and install the latest version of ffmpeg. I used version from qnapclub.eu https://www.qnapclub.eu/en/qpkg/379

2) Make a backup of old ffmpeg

mv /usr/bin/ffmpeg /usr/bin/ffmpeg.bak
mv /share/CE_CACHEDEV1_DATA/.qpkg/CodexPack/opt/cdx/bin/ffmpeg /share/CE_CACHEDEV1_DATA/.qpkg/CodexPack/opt/cdx/bin/ffmpeg.bak

3) Create a Symlink to the new ffmpeg

ln -s /share/CE_CACHEDEV1_DATA/.qpkg/ffmpeg/ffmpeg /usr/bin/ffmpeg
ln -s /share/CE_CACHEDEV1_DATA/.qpkg/ffmpeg/ffmpeg /share/CE_CACHEDEV1_DATA/.qpkg/CodexPack/opt/cdx/bin/ffmpeg
--------------------

After a CodexPack or system update, probably we have to make the changes again.

To revert back, you only need to move again the original files:

mv /usr/bin/ffmpeg.bak /usr/bin/ffmpeg
mv /share/CE_CACHEDEV1_DATA/.qpkg/CodexPack/opt/cdx/bin/ffmpeg.bak /share/CE_CACHEDEV1_DATA/.qpkg/CodexPack/opt/cdx/bin/ffmpeg

--------------------

Maybe you will have another path for your CACHEDEV1_DATA, like me I have CE_CACHEDEV1_DATA. So before you will do anything please use correct paths.

Nobo
Getting the hang of things
Posts: 91
Joined: Thu Sep 06, 2007 10:14 am
Location: Japan
Contact:

Re: QTS 4.3 TS43A Thumbnail Generation failed

Post by Nobo » Tue Jan 14, 2020 10:12 am

janikjan,

It's great work! Thanks, this solves the problem!

User avatar
Moogle Stiltzkin
Ask me anything
Posts: 8715
Joined: Thu Dec 04, 2008 12:21 am
Location: Around the world....
Contact:

Re: QTS 4.3 TS43A Thumbnail Generation failed

Post by Moogle Stiltzkin » Tue Jan 14, 2020 2:02 pm

janikjan wrote:
Fri Jan 10, 2020 8:27 pm
...
pure genius! ty so much :D
NAS
[Main Server] QNAP TS-877 w. 4tb [ 3x HGST Deskstar NAS (HDN724040ALE640) & 1x WD RED NAS ] EXT4 Raid5 & 2 x m.2 SATA Samsung 850 Evo raid1 +16gb ddr4 Crucial+ QWA-AC2600 wireless+QXP PCIE
[Backup] QNAP TS-653A w. 5x 2TB Samsung F3 (HD203WI) EXT4 Raid5
[Backup] QNAP TL-D400S 2x 4TB WD Red Nas (WD40EFRX) single disks.
[^] QNAP TS-659 Pro II
[^] QNAP TS-509 Pro w. 4x 1TB WD RE3 (WD1002FBYS) EXT4 Raid5
[^] QNAP TS-228
[^] QNAP TS-128
[Mobile NAS] TBS-453DX w. 2x Crucial MX500 500gb EXT4 raid1

Network
Asus AC68U Router|100dl/50ul MBPS FTTH Internet | Win10, WC PC-Intel i7 920 Ivy bridge desktop (1x 512gb Samsung 850 Pro SSD + 1x 4tb HGST Ultrastar 7K4000)


Guides & articles
[Review] Moogle's QNAP experience
[Review] Moogle's TS-877 review
https://www.patreon.com/mooglestiltzkin

arneywang
First post
Posts: 1
Joined: Fri Feb 07, 2020 11:35 pm

Re: QTS 4.3 TS43A Thumbnail Generation failed

Post by arneywang » Fri Feb 07, 2020 11:41 pm

It's a great idea! I am trying to follow your instruction but couldn't find the suitable ffmpeg version for TS231P2, which is with ARM CPU. Could anybody help? Thanks a lot!
janikjan wrote:
Fri Jan 10, 2020 8:27 pm
Hi, I think I have a solution for thumbnail generation from HEVC videos :).

Inspiration was taken from this thread https://forum1.qnap.com/viewtopic.php?p ... 6f3cc17d3c

1) So, please download and install the latest version of ffmpeg. I used version from qnapclub.eu https://www.qnapclub.eu/en/qpkg/379

2) Make a backup of old ffmpeg

mv /usr/bin/ffmpeg /usr/bin/ffmpeg.bak
mv /share/CE_CACHEDEV1_DATA/.qpkg/CodexPack/opt/cdx/bin/ffmpeg /share/CE_CACHEDEV1_DATA/.qpkg/CodexPack/opt/cdx/bin/ffmpeg.bak

3) Create a Symlink to the new ffmpeg

ln -s /share/CE_CACHEDEV1_DATA/.qpkg/ffmpeg/ffmpeg /usr/bin/ffmpeg
ln -s /share/CE_CACHEDEV1_DATA/.qpkg/ffmpeg/ffmpeg /share/CE_CACHEDEV1_DATA/.qpkg/CodexPack/opt/cdx/bin/ffmpeg
--------------------

After a CodexPack or system update, probably we have to make the changes again.

To revert back, you only need to move again the original files:

mv /usr/bin/ffmpeg.bak /usr/bin/ffmpeg
mv /share/CE_CACHEDEV1_DATA/.qpkg/CodexPack/opt/cdx/bin/ffmpeg.bak /share/CE_CACHEDEV1_DATA/.qpkg/CodexPack/opt/cdx/bin/ffmpeg

--------------------

Maybe you will have another path for your CACHEDEV1_DATA, like me I have CE_CACHEDEV1_DATA. So before you will do anything please use correct paths.

Mau Brd
First post
Posts: 1
Joined: Sat May 02, 2020 3:34 pm

Re: QTS 4.3 TS43A Thumbnail Generation failed

Post by Mau Brd » Mon May 04, 2020 4:36 pm

Thanks to all for the very interesting contributions in this thread, highly informative.
I understood here that I was not alone in experiencing failure of HVEC MOV Thumbnail creation for iPhone8 movies.
I never had any problems with previous iPhones, why?

iPhone8 and all newer models adopt the new HEVC (High Efficiency Video Coding) H265, instead of the previous H264, and surprisingly QNAP is not supporting any more H265, as well explained in previous posts here.

I just wanted to share the rudimentary solution I eventually adopted in my configuration that is: loading photos to my NAS from an iPhone8.

I bypassed the problem by setting my iPhone to use the old H264 standard, at least for the time being.
Go to your iPhone Settings > Camera > Formats and then chose the "More Compatible" option.
This way, normal videos will be H264 by default, with no Thumbnail creation problems, once uploaded in NAS.

It is super simple, but at least works.

I hope that a high quality NAS as QNAP is, will fix this soon, and reintroduce H265 support.
Kind Regards,

Mau

TS-453B 8GB 16TB
Qphoto, Qfile

Post Reply

Return to “Photo Station, Music Station, Video Station”