Hi all,
This week, i solved a main problem with video support in digiKam with next 6.0.0. Exiv2 video support exists, but it's completely bugous and crash digiKam quickly. This problem exists since many year now, and as nobody is motivated to fix Exiv2 video code, i used a different way to support video metadata : ffmpeg. The way to use ffmpeg as new dependency do not increase the application complexity. The dependencies puzzle still the same as use use already QtAV to play video and this one use ffmpeg in background. So digiKam depends already of ffmpeg since 5.4.0 release. The idea to support properly video metadata is to be able to manage video medias as images. The database must be able to search video items based of video properties, taken from metadata. The search engine is already ready since a while, by the scan engine used to populate the database is not suitable as video support in Exiv2 is so far un-finalized (in video file parser). Else, Exiv2 is well implemented to support video metadata tags, as all XMP namespace implemented by myself few years ago. So if we have a different parser to fill XMP tags from video, the problem will be solved. And it's done with current implementation from next 6.0.0 branch. FFMPeg is able to extract most important video properties as : make model, dates, duration, codecs, keywords, rating, GPS, etc... (and more) i tested with my personal video collection, mostly based on MOV file generated with Apple devices (iphone, ipad) and Software (iMovies, Final cut pro). But i need more video samples : - Video taken from Android device, - Video taken from digital camera, - Video generated from software (with properties set as Keywords, rating, copyright, etc.) If you have samples to share, please use Internet Cloud repository. If you know place on Internet with video samples to share, to hesitate to share in this room. Thanks in advance for your help. Gilles Caulier |
Dear Gilles,
congrats for making this improvement possible for us! Perhaps I did not get it, therefore just one question: Would it be possible to also edit/write metadata like GPS position coordinates to a video clip as I could do it with JPEG photos in the Geolocation Editor? Thanks in advance, NeiNei On 03.03.2018 14:01, Gilles Caulier wrote: > Hi all, > > This week, i solved a main problem with video support in digiKam with > next 6.0.0. > > Exiv2 video support exists, but it's completely bugous and crash digiKam > quickly. This problem exists since many year now, and as nobody is > motivated to fix Exiv2 video code, i used a different way to support > video metadata : ffmpeg. > > https://www.flickr.com/photos/digikam/39880716214/ > > The way to use ffmpeg as new dependency do not increase the application > complexity. The dependencies puzzle still the same as use use already > QtAV to play video and this one use ffmpeg in background. So digiKam > depends already of ffmpeg since 5.4.0 release. > > The idea to support properly video metadata is to be able to manage > video medias as images. The database must be able to search video items > based of video properties, taken from metadata. The search engine is > already ready since a while, by the scan engine used to populate the > database is not suitable as video support in Exiv2 is so far > un-finalized (in video file parser). > > Else, Exiv2 is well implemented to support video metadata tags, as all > XMP namespace implemented by myself few years ago. So if we have a > different parser to fill XMP tags from video, the problem will be solved. > > And it's done with current implementation from next 6.0.0 branch. FFMPeg > is able to extract most important video properties as : > > make > model, > dates, > duration, > codecs, > keywords, > rating, > GPS, > etc... (and more) > > i tested with my personal video collection, mostly based on MOV file > generated with Apple devices (iphone, ipad) and Software (iMovies, Final > cut pro). But i need more video samples : > > - Video taken from Android device, > - Video taken from digital camera, > - Video generated from software (with properties set as Keywords, > rating, copyright, etc.) > > If you have samples to share, please use Internet Cloud repository. If > you know place on Internet with video samples to share, to hesitate to > share in this room. > > Thanks in advance for your help. > > Gilles Caulier > |
Thanks... Typically yes : The current solution working (just verified after to patch the 5.9.0 code): use XMP sidecar. For 6.0.0, i found some dirty code in Github to update video file metadata with FFMpeg, but the code need to be re-writed. FFMpeg is not dedicated to play with metadata but with media stream and properties (metadata in fact). Updating metadata in video want mean : 1/ the open a new temp video file. 2/ backport streams inside (video, audio, subtitles). It's a byte-array copy, no re-encode. 3/ add new metadata in streams accordingly with the data update. 4/ close temp video file and overwrite the target. In other words, we cannot play with metadata directly in target file without to pass with a temporary file. Gilles Caulier 2018-03-05 15:58 GMT+01:00 NeiNei <[hidden email]>: Dear Gilles, |
In reply to this post by Gilles Caulier-4
Hello Gilles You can find few samples here: https://discuss.pixls.us/t/looking-for-video-samples/6885 Please check this thread from time to time as people might submit more. I will send you some videos made by Android phones, GoPro camera and Pentax camera tomorrow. Sent from my Samsung Galaxy smartphone. -------- Original message -------- From: Gilles Caulier <[hidden email]> Date: 2018-03-03 6:01 AM (GMT-07:00) To: digiKam - Home Manage your photographs as a professional with the power of open source <[hidden email]> Subject: [digiKam-users] digiKam 6.0.0 and video support : need video samples Hi all,
This week, i solved a main problem with video support in digiKam with next 6.0.0. Exiv2 video support exists, but it's completely bugous and crash digiKam quickly. This problem exists since many year now, and as nobody is motivated to fix Exiv2 video code, i used a different way to support video metadata : ffmpeg. The way to use ffmpeg as new dependency do not increase the application complexity. The dependencies puzzle still the same as use use already QtAV to play video and this one use ffmpeg in background. So digiKam depends already of ffmpeg since 5.4.0 release. The idea to support properly video metadata is to be able to manage video medias as images. The database must be able to search video items based of video properties, taken from metadata. The search engine is already ready since a while, by the scan engine used to populate the database is not suitable as video support in Exiv2 is so far un-finalized (in video file parser). Else, Exiv2 is well implemented to support video metadata tags, as all XMP namespace implemented by myself few years ago. So if we have a different parser to fill XMP tags from video, the problem will be solved. And it's done with current implementation from next 6.0.0 branch. FFMPeg is able to extract most important video properties as : make model, dates, duration, codecs, keywords, rating, GPS, etc... (and more) i tested with my personal video collection, mostly based on MOV file generated with Apple devices (iphone, ipad) and Software (iMovies, Final cut pro). But i need more video samples : - Video taken from Android device, - Video taken from digital camera, - Video generated from software (with properties set as Keywords, rating, copyright, etc.) If you have samples to share, please use Internet Cloud repository. If you know place on Internet with video samples to share, to hesitate to share in this room. Thanks in advance for your help. Gilles Caulier |
In reply to this post by Gilles Caulier-4
Hello Gilles
I will send you more videos made by Android phones, Nikon and Medion camera tomorrow. Thank You for Your great work doing on digikam. Jürgen Zitat von Gilles Caulier <[hidden email]>: > Hi all, > > This week, i solved a main problem with video support in digiKam with next > 6.0.0. > > Exiv2 video support exists, but it's completely bugous and crash digiKam > quickly. This problem exists since many year now, and as nobody is > motivated to fix Exiv2 video code, i used a different way to support video > metadata : ffmpeg. > > https://www.flickr.com/photos/digikam/39880716214/ > > The way to use ffmpeg as new dependency do not increase the application > complexity. The dependencies puzzle still the same as use use already QtAV > to play video and this one use ffmpeg in background. So digiKam depends > already of ffmpeg since 5.4.0 release. > > The idea to support properly video metadata is to be able to manage video > medias as images. The database must be able to search video items based of > video properties, taken from metadata. The search engine is already ready > since a while, by the scan engine used to populate the database is not > suitable as video support in Exiv2 is so far un-finalized (in video file > parser). > > Else, Exiv2 is well implemented to support video metadata tags, as all XMP > namespace implemented by myself few years ago. So if we have a different > parser to fill XMP tags from video, the problem will be solved. > > And it's done with current implementation from next 6.0.0 branch. FFMPeg is > able to extract most important video properties as : > > make > model, > dates, > duration, > codecs, > keywords, > rating, > GPS, > etc... (and more) > > i tested with my personal video collection, mostly based on MOV file > generated with Apple devices (iphone, ipad) and Software (iMovies, Final > cut pro). But i need more video samples : > > - Video taken from Android device, > - Video taken from digital camera, > - Video generated from software (with properties set as Keywords, rating, > copyright, etc.) > > If you have samples to share, please use Internet Cloud repository. If you > know place on Internet with video samples to share, to hesitate to share in > this room. > > Thanks in advance for your help. > > Gilles Caulier -- Jürgen Blumenschein, eMail: [hidden email] Homepage: http://members.dokom.net/blumenschein Am Quartus 17 D-44149 Dortmund Tel.: +49 231 7217321, Handy: +49 176 5591 4562 public key: http://members.dokom.net/blumenscheinJuergen_Blumenschein_(0xC9358EBB)_public_key.asc Fujifilm_X-E1_sample.MOV (15M) Download Attachment |
In reply to this post by AndriusWild
Hallo to all,
sorry for sending the sample to the list. My mistake :-( Jürgen ----- Weitergeleitete Nachricht von Jürgen Blumenschein <[hidden email]> ----- Datum: Tue, 06 Mar 2018 10:21:12 +0000 Von: Jürgen Blumenschein <[hidden email]> Antwort an: [hidden email] Betreff: Re: [digiKam-users] digiKam 6.0.0 and video support : need video samples An: digiKam - Home Manage your photographs as a professional with the power of open source <[hidden email]> Hello Gilles I will send you more videos made by Android phones, Nikon and Medion camera tomorrow. Thank You for Your great work doing on digikam. Jürgen Zitat von Gilles Caulier <[hidden email]>: > Hi all, > > This week, i solved a main problem with video support in digiKam with next > 6.0.0. > ... > > Thanks in advance for your help. > > Gilles Caulier -- Jürgen Blumenschein, eMail: [hidden email] Homepage: http://members.dokom.net/blumenschein Am Quartus 17 D-44149 Dortmund Tel.: +49 231 7217321, Handy: +49 176 5591 4562 public key: http://members.dokom.net/blumenscheinJuergen_Blumenschein_(0xC9358EBB)_public_key.asc ----- Ende der weitergeleiteten Nachricht ----- -- Jürgen Blumenschein, eMail: [hidden email] Homepage: http://members.dokom.net/blumenschein Am Quartus 17 D-44149 Dortmund Tel.: +49 231 7217321, Handy: +49 176 5591 4562 public key: http://members.dokom.net/blumenscheinJuergen_Blumenschein_(0xC9358EBB)_public_key.asc |
In reply to this post by Jürgen Blumenschein
Excelent. Thanks a lots. Gilles Caulier 2018-03-06 11:21 GMT+01:00 Jürgen Blumenschein <[hidden email]>: Hello Gilles |
Gilles, Here is some samples made by Android 6 and Android 7.https://drive.google.com/drive/folders/1QbDTxZxsDhnUAbUY4uLOhanhfM4qVNW7?usp=sharing [QuickTime] Title : Android 6.0.1 tags by Windows [QuickTime] Comment : comment should be here [Microsoft] SharedUserRating : 50 [Microsoft] Subtitle : Subtitle should be here [Microsoft] Category : digikam, test, andrey [QuickTime] Title : Android 6.0.1 tags by Windows [QuickTime] Comment : comment should be here [QuickTime] Title as well as Album, Genre, etc. but Dolphin does not see:[QuickTime] Comment Neither was I able to find out how to write tags(keywords) and rating using ffmpeg. Best regards, On Tue, Mar 6, 2018 at 8:31 AM, Gilles Caulier <[hidden email]> wrote:
|
Great, i will analyze your video files. I don't know that VLC is able to tag video files.I will take a look how it's done in background. Best Gilles Caulier 2018-03-06 17:15 GMT+01:00 Andrey Goreev <[hidden email]>:
|
Open video in VLC then press Ctrl + i If you have an apple computer please try to add rating and keywords in either iTunes or QuickTime player and check with exiftool/mediainfo/ffmpeg where the metadata is written. Best regards, On Tue, Mar 6, 2018 at 9:23 AM, Gilles Caulier <[hidden email]> wrote:
|
In reply to this post by Gilles Caulier-4
Hi all users, Just a fresh feedback from the video management support in next digiKam 6.0.0. Since we switch all video metadata suport from Exiv2 to FFmpeg, we boost the application to another space. I tested with my big collection of video (MP4, MOV, MKV, AVI - more than 3000 items), and i can said that scan on multi-core is fast and stable. The video metadata extraction is powerful and populate properly the database with the suitable information to perform a video search. All video format supported by FFMpeg will be registered to the database. The metadata extraction is optimum for MP4 and MOV, and today i finalized the wrap of RIFF files metadata to database (AVI and more). Note : WebP image format from Google dedicated to use on internet is also a RIFF based container, so it will be automatically supported in digiKam. The MKV metadata support is partial and i plan to optimize this part in the future. Note : The HTML5 video format WebM from google based on Matroska will be also automatically supported by digiKam. This is a search view screenshot over my database : This want mean that i need again more video file sample taken with camera, cellular, or created with linear video editing application, even if the test collection growing up quickly: The orientation of video is very important because we are now able to extract the rotation flag from metadata and adjust automatically the video accordingly while playing. So video taken in vertical mode will be a plus to test this feature. I need especially AVI, MKV, and other exotic video formats as 3GP, FLV for ex. This is very import to explain how the file have been captured/generated, as to list the device and software used in production process. Thanks in advance for your help. Gilles Caulier 2018-03-03 14:01 GMT+01:00 Gilles Caulier <[hidden email]>:
|
In reply to this post by Gilles Caulier-4
Hi Gilles,
I uploaded a few video samples of my cameras and phones. I hope you find them useful. Here's the link: https://drive.google.com/open?id=1kvN2V-Cai_e0cB0e82tua5NsH_0-bpMk And here's the filename - device correspondence (also found in the Samples.txt file in that folder): 00006.MTS Panasonic DMC-FZ38 MOV01633.MPG (and THM) Sony DSC-T7 MOV02792.MPG Sony DSC-W7 (possibly with a THM file, now lost) 18032008.MP4 Nokia 6120c (Symbian v9.2) video-2010-03-08-15-09-44.3gp HTC Magic (Android 1.6) VIDEO0002.3gp HTC Wildfire S (Android 2.2) VID_20140517_150144.MP4 Nexus S (Android 4.0) VID_20150724_232658.MP4 Nexus 4 (Android 5.1) VID_20161216_224527.mp4 Yotaphone 2 (Android 6) PS: I'll probably delete that folder in a few months, so better copy these samples elsewhere just to be safe. -- Sent from: http://digikam.1695700.n4.nabble.com/digikam-users-f1735189.html |
Just copied. Great. All files are backported to digiKam 6.0.0 database. Thanks Gilles Caulier 2018-03-14 20:53 GMT+01:00 woenx <[hidden email]>: Hi Gilles, |
Free forum by Nabble | Edit this page |