LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-20-2014, 08:00 AM   #1
Madhu Desai
Member
 
Registered: Mar 2013
Distribution: Rocky, Fedora, Ubuntu
Posts: 541

Rep: Reputation: 153Reputation: 153
How to tag keywords to video files


Hello everyone...

Distro: Arch Linux x86_64.

This is driving me nuts. How do you tag video files? I have tons of video files which i have collected from different sources from past many years. These are mainly in mp4 format. I want to retrieve any desired videos quickly so that can i can view them which out spending too much time on searching.

At first, i created directories in tree structure, but day-by-day its becoming too wide and too deep. So i abandoned it.

Nowadays, i'm giving keywords in filename itself. But it makes files too long and difficult to search. for example, one particular file looks like this...
Code:
install_and_configure_bind_dns_server_in_centos-part_1-kD1VQv3981g-youtube-linux_rhel_debian_newbie_cli_5star.mp4
of course, this is one simple example, but there are many more file with much more complex tag-like keywords.

So, is there any way i can tag files with some keywords and save them, so that i can search files based on those tags.

Note: i tried yaourt tmsu from AUR, but some how i am not able to install it.

Any suggestions are really appreciated.

Thanks

Last edited by Madhu Desai; 04-20-2014 at 08:05 AM.
 
Old 04-20-2014, 01:13 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Here is an interesting thread on the Ubuntu forum about tagging video files (adding tags to the file metadata), and the discussion names a couple of applications to use for that purpose.

On the other hand, if you want to search for key words in the file name, use the find command.

find ~/Videos -type f -iname "*configure_bind_dns*"

find where-to-look -type-of-file -iname is a regular expression (part of file name)
where type of file is a regular file, as opposed to block, character, etc,
and iname is case insensitive, as opposed to -name which is case sensitive.
 
1 members found this post helpful.
Old 04-20-2014, 01:48 PM   #3
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,326

Rep: Reputation: 920Reputation: 920Reputation: 920Reputation: 920Reputation: 920Reputation: 920Reputation: 920Reputation: 920
this is what i do to tag mkv's:
Code:
/usr/bin/mkvmerge   --title "$dvd-$title-ac3" --track-name 0:"$dvd-$title-ac3" --language 1:en --track-name 1:"AC3 5.1" "$dvd-`zero-pad-2.x $i`.avi"      -o "$dvd-`zero-pad-2.x $i`.mkv"
perhaps you can use find and mkvextract tags to find the tag you are looking for ?
 
1 members found this post helpful.
Old 04-21-2014, 07:12 AM   #4
Madhu Desai
Member
 
Registered: Mar 2013
Distribution: Rocky, Fedora, Ubuntu
Posts: 541

Original Poster
Rep: Reputation: 153Reputation: 153
Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
.ogv video does not display with <video> tag in Firefox 3.5 CoderMan Programming 4 01-30-2010 07:32 AM
Simple Bash Script to grep for keywords in MySQL dump files eodchop Programming 7 06-05-2009 02:35 AM
software for adding keywords to files or folders...? Aimo Linux - Software 3 05-03-2008 12:20 PM
delete files based on keywords pinoyskull Linux - Newbie 17 07-03-2007 02:44 PM
Sarch files for multiple keywords with AND titopoquito Linux - Software 4 03-06-2005 08:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration