Bug 356348

Summary: HEVC Videos Not Showing in Preview Mode
Product: kdemultimedia Reporter: phillip9001
Component: ffmpegthumbsAssignee: Multimedia Developers <kde-multimedia>
Status: REPORTED ---    
Severity: wishlist CC: cfeck, samrog131
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Mint (Ubuntu based)   
OS: Linux   
Latest Commit: Version Fixed In:

Description phillip9001 2015-12-07 00:29:35 UTC
Plugins installed: mplayerthumbs, ffmpegthumbs, kffpmegthumbnailer, kdegraphics-thumbnailers, ffmpegthumbnailer.

The thumbnail previews of various container videos (e.g., flv, mpeg, mkv, and avi) in dolphin do appear, when "Preview" mode is active or when you mouse over the files. However, with HEVC (high efficiency video codec) video files the previews do not appear on the files nor when you mouse over the icons. In the preview panel, you can still play the HEVC video files without any hindrances, but the preview thumbnails or icons are still missing in Preview panel.

Reproducible: Always

Steps to Reproduce:
1. Install the following plugins/codecs: mplayerthumbs, ffmpegthumbs, kffpmegthumbnailer, kdegraphics-thumbnailers, and ffmpegthumbnailer.
2. Activate the plugins/codecs in the "Settings" tab and under "Preferences". 
3. View HEVC video files in the local drives (via Dolphin 4.14.2), with "Preview" and "Preview Panel" activated.

Actual Results:  
The thumbnail previews of various container videos (e.g., flv, mpeg, mkv, and avi) in dolphin do show even when you mouse over the files. However, with HEVC (high efficiency video codec) video files the previews do not appear on the files nor when you mouse over the icons. In the preview panel, you can still play the HEVC video files without any hindrances. 


I'm just curious if I'm missing any plugins or codecs that is necessary to view HEVC video file thumbnails and previews. If not, then it might be a bug or missing feature which I think should be remedied now that HEVC is starting to become more common. If you need more information or require anything on my end, please don't hesitate to ask.
Comment 1 phillip9001 2015-12-07 00:35:36 UTC
(In reply to phillip9001 from comment #0)
> Plugins installed: mplayerthumbs, ffmpegthumbs, kffpmegthumbnailer,
> kdegraphics-thumbnailers, ffmpegthumbnailer.
> 
> The thumbnail previews of various container videos (e.g., flv, mpeg, mkv,
> and avi) in dolphin do appear, when "Preview" mode is active or when you
> mouse over the files. However, with HEVC (high efficiency video codec) video
> files the previews do not appear on the files nor when you mouse over the
> icons. In the preview panel, you can still play the HEVC video files without
> any hindrances, but the preview thumbnails or icons are still missing in
> Preview panel.
> 
> Reproducible: Always
> 
> Steps to Reproduce:
> 1. Install the following plugins/codecs: mplayerthumbs, ffmpegthumbs,
> kffpmegthumbnailer, kdegraphics-thumbnailers, and ffmpegthumbnailer.
> 2. Activate the plugins/codecs in the "Settings" tab and under
> "Preferences". 
> 3. View HEVC video files in the local drives (via Dolphin 4.14.2), with
> "Preview" and "Preview Panel" activated.
> 
> Actual Results:  
> The thumbnail previews of various container videos (e.g., flv, mpeg, mkv,
> and avi) in dolphin do show even when you mouse over the files. However,
> with HEVC (high efficiency video codec) video files the previews do not
> appear on the files nor when you mouse over the icons. In the preview panel,
> you can still play the HEVC video files without any hindrances. 
> 
> 
> I'm just curious if I'm missing any plugins or codecs that is necessary to
> view HEVC video file thumbnails and previews. If not, then it might be a bug
> or missing feature which I think should be remedied now that HEVC is
> starting to become more common. If you need more information or require
> anything on my end, please don't hesitate to ask.

My system specs are:

Linux Mint 17.1 Rebecca x86_64 (KDE), kernel 3.16.7, HP g6-2235us laptop, A10-4600M APU, 8 GB of RAM, 750 GB HDD.
Comment 2 Christoph Feck 2015-12-07 01:00:04 UTC
Which mime type or file extension do these unsupported files have?
Comment 3 Rog131 2015-12-07 09:29:17 UTC
Maybe - Libraries don't support HEVC ?

A quick test - with an older Ubuntu: 

$ lsb_release -a
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.3 LTS
Release:        14.04
Codename:       trusty

$ kde4-config --version
Qt: 4.8.6
KDE Development Platform: 4.13.3

Standard Ubuntu repository thumbnailer - using libav
$ apt-cache policy ffmpegthumbs
ffmpegthumbs:
  Installed: 4:4.13.3-0ubuntu0.1
  Candidate: 4:4.13.3-0ubuntu0.1

Local build - using ffmpeg - not Ubuntu repository libav
$ apt-cache policy kde-thumbnailer-ffmpeg-real-thumbs-mattepaint
kde-thumbnailer-ffmpeg-real-thumbs-mattepaint:
  Installed: 0.4~trusty~ppa3
  Candidate: 0.4~trusty~ppa3

  
Sample file: https://x265.com/hevc-video-files/ -> https://s3.amazonaws.com/x265.org/video/Tears_400_x265.mp4


The stamdard Ubuntu repository thumbnailer: http://imgur.com/KWy29Gl

Local build: http://imgur.com/BNT6pCp

Maybe - Libraries are too old, don't support HEVC ?
Comment 4 phillip9001 2015-12-09 04:53:32 UTC
(In reply to Christoph Feck from comment #2)
> Which mime type or file extension do these unsupported files have?

The HEVC files are both mp4 and mkv containers.
I hope that is what you were referring to.
Let me know if you need anymore information.
Comment 5 phillip9001 2015-12-09 05:03:26 UTC
(In reply to Rog131 from comment #3)
> Maybe - Libraries don't support HEVC ?
> 
> A quick test - with an older Ubuntu: 
> 
> $ lsb_release -a
> Distributor ID: Ubuntu
> Description:    Ubuntu 14.04.3 LTS
> Release:        14.04
> Codename:       trusty
> 
> $ kde4-config --version
> Qt: 4.8.6
> KDE Development Platform: 4.13.3
> 
> Standard Ubuntu repository thumbnailer - using libav
> $ apt-cache policy ffmpegthumbs
> ffmpegthumbs:
>   Installed: 4:4.13.3-0ubuntu0.1
>   Candidate: 4:4.13.3-0ubuntu0.1
> 
> Local build - using ffmpeg - not Ubuntu repository libav
> $ apt-cache policy kde-thumbnailer-ffmpeg-real-thumbs-mattepaint
> kde-thumbnailer-ffmpeg-real-thumbs-mattepaint:
>   Installed: 0.4~trusty~ppa3
>   Candidate: 0.4~trusty~ppa3
> 
>   
> Sample file: https://x265.com/hevc-video-files/ ->
> https://s3.amazonaws.com/x265.org/video/Tears_400_x265.mp4
> 
> 
> The stamdard Ubuntu repository thumbnailer: http://imgur.com/KWy29Gl
> 
> Local build: http://imgur.com/BNT6pCp
> 
> Maybe - Libraries are too old, don't support HEVC ?


I take it that KDE 4.14.2 doesn't have the necessary libraries to preview HEVC in dolphin? 
Does that mean I should update my libraries or try updating KDE Plasma 4 to Plasma 5?
Does this problem occur in KDE Plasma 5?
Comment 6 Rog131 2015-12-09 08:31:42 UTC
(In reply to phillip9001 from comment #5)

> I take it that KDE 4.14.2 doesn't have the necessary libraries to preview
> HEVC in dolphin? 
> Does that mean I should update my libraries or try updating KDE Plasma 4 to
> Plasma 5?
> Does this problem occur in KDE Plasma 5?

It is not the KDE libraries - It is the libav/ffmpeg libraries.

Short : The Debian & Ubuntu decided to use the ffmpeg fork libav /1/. The Ubuntu 14.04 is using libav 9.18 /2/. Ubuntu has a stable release policy /3/ to not update old packages. There will be bug fixes for the serious bugs.

When I was using the Ubuntu 14.04 I added the HEVC support to the KDE thumbnailer by:

- compiling an own local version of the current ffmpeg
- rebuilding the ffmpegthumbs so it is using the local ffmpeg not the distro libav.

By my knowledge the Mint /4/ is using the Ubuntu packages but I don't know witch version is using the newest released version.

With the Ubuntu KF5 thumbnailer there is the bug: https://bugs.launchpad.net/ubuntu/+source/dolphin/+bug/1505014 


1. https://www.kubuntuforums.net/showthread.php?62882-Avconv-Winff-ffmpeg
2. http://packages.ubuntu.com/source/trusty-updates/libav
3. https://wiki.ubuntu.com/StableReleaseUpdates
4. https://en.wikipedia.org/wiki/Linux_Mint