Bug 322023 - Video duration in Details Mode
Summary: Video duration in Details Mode
Status: RESOLVED DOWNSTREAM
Alias: None
Product: dolphin
Classification: Applications
Component: view-engine: details mode (show other bugs)
Version: 16.12.2
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL: https://plus.google.com/u/0/107970213...
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-06 07:57 UTC by Anand
Modified: 2016-05-20 22:10 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Mediainfo_file_details (1.33 KB, text/plain)
2013-07-16 16:43 UTC, Anand
Details
Mediainfo_file_screenshot_dolphin (124.30 KB, image/png)
2013-07-16 16:45 UTC, Anand
Details
Dolphin_Details (221.88 KB, image/png)
2013-07-17 16:20 UTC, Anand
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anand 2013-07-06 07:57:22 UTC
Video duration in Details Mode not available. Can not view duration file without opening and cannot sort bu duration as well.

Reproducible: Always

Steps to Reproduce:
1. Open Dolphin
2. Navigate to any folder containing videos
Actual Results:  
Duration details not available.

Expected Results:  
Like Audio, we need a category for video and should display video specific attributes such as Duration, Chapter, Etc.

I tried 'Duration' attribute under Audio but it does not display values for video files.
Currently, i use "MediaInfo", have to right-click file and see the duration but does not help much as I cant sort video files by duration.
Comment 1 Frank Reininghaus 2013-07-16 13:27:28 UTC
Thanks for the suggestion.

@Vishesh: I assume that Nepomuk already provides that information, right? In that case, we'd just have to add this information to KNepomukRolesProvider and KFileItemModel in Dolphin.
Comment 2 Anand 2013-07-16 16:43:08 UTC
Created attachment 81140 [details]
Mediainfo_file_details

Not sure if this is helpful, have attached sample details of video file from mediainfo program. Should ideally contain Title, Chapter, Season,etc
Comment 3 Anand 2013-07-16 16:45:41 UTC
Created attachment 81141 [details]
Mediainfo_file_screenshot_dolphin

Attaching the current workaround process , if it helps in any way.
Comment 4 Vishesh Handa 2013-07-16 18:26:38 UTC
Yeah. The information is there. But it's the same property as it is for audio files. Ok, I just checked and the information is being shown for me.

What version of KDE are running? I'm on 4.11
Comment 5 Anand 2013-07-17 16:20:48 UTC
Created attachment 81163 [details]
Dolphin_Details

Screengrab of Dolphin, annotated. Surprisingly,  Audio Files (retrieved via Nepomuk) shows Duration but does not in Dolphin folder (copied the file).
Comment 6 Anand 2013-08-07 03:41:43 UTC
Please let me know of any additional info required. I somehow feel Nepomuk is not doing indexing properly and completely. It does seem to me that indexing runs into an infinite loop. In the past for certain uncommon file types, it used to run in loop and i used to exclude those files. That is fixed now, i believe.

Also, is there a list of attributes collected by Nepomuk for each of the file type? Publishing that would b helpful.
Comment 7 Vishesh Handa 2013-08-07 05:35:15 UTC
Could you please run - 

$ nepomukshow videoFile

and paste the result? Also, I'm trying to figure out what version of KDE you're on. Could you please provide that information?
Comment 8 Vishesh Handa 2013-08-19 17:09:58 UTC
Debugged this on IRC - The ffmpeg indexer was not installed.
Comment 9 ponchorat1968 2013-08-28 20:40:15 UTC
(In reply to comment #3)
> Created attachment 81141 [details]
> Mediainfo_file_screenshot_dolphin
> 
> Attaching the current workaround process , if it helps in any way.

Doesn't quite solve the problem as it's not giving the desired result and you'd have to perform this task on every video file in a folder.  What is required is a list of t files with the duration shown in a column.
Comment 10 Vishesh Handa 2013-08-28 21:06:44 UTC
The only possible way to fix this is to reindex all your files. You can give the command via -

$ qdbus org.kde.nepomuk.services.nepomukfileindexer /nepomukfileindexer updateAllFolders true

We currently do not have the feature to reindex only the video files because a new plugin was installed.
Comment 11 Anand 2013-08-29 03:42:48 UTC
I used the below command on my Music and Video collection to get the duration.
find . -exec nepomukindexer {} \;
Comment 12 kiran 2016-02-16 20:48:14 UTC
I face the same issue in KDE 5. Is this working in KDE 5 ?
Comment 13 kiran 2016-05-20 22:10:47 UTC
Why is this bug resolved ?. This is a new functionality request.