09-05-2013
Script to order my video library :-)
Dear friends,
I have a hundred or so videos I keep in a directory, but as the collection has grown anarchically in the past years I have at least 3 different situations:
a) one directory for each video and within it the video and any other accompaining files (mostly text files with my notes and reviews). This is the desired end state for all of them
b) a single movie file sitting in the top directory (extensions can be flc, mkv, avi,mpg etc.). These I would like to move into a directory with the same name as the file
c) single non-movie files. these I'd ignore for now.
Thanks for any help.
6 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have the following script:
(echo -n `curl http://www.example.com/scores.txt | grep mylocation`; date +%Y%m%d%H%M%S) >> myscores.txt
This script works fine, except that it places the timestamp at the end of the file myscores.txt. How do add the timestamp as the first column and then a tab and... (4 Replies)
Discussion started by: figaro
4 Replies
2. Linux
does anybody have any experience with any of these composite video to usb devices on linux?
usb video capture - Google Product Search
would like to get one but a linux newbie and having trouble figuring out if any are ported...
i've found lots of things that link to freedesktop.org DisplayLink... (1 Reply)
Discussion started by: danpaluska
1 Replies
3. UNIX for Advanced & Expert Users
I need a broad spectrum understanding on this subject, and any help would be greatly appreciated.
First of all, as I understand it...
The way the video hardware works is the CPU sends information about input and possible changes to the display, the video card receives these changes, makes the... (2 Replies)
Discussion started by: ciNG
2 Replies
4. Shell Programming and Scripting
hi all
i want to remove some descending order number
example :
1 100 200 135.00 Gk_wirs 1
1 100 200 136.00 Gk_wirs 50
1 110 210 138.00 Gk_wirs 60
1 100 200 136.00 Gk_wirs 57 ----> how to remove... (6 Replies)
Discussion started by: nithyanandan
6 Replies
5. Shell Programming and Scripting
Currently I have awk command to do linear interpolation
awk '
{
P=$2
I=$1
}
END {
j=0; s=I; t=I
for(i=m;i<=n;i++) {
if(I && i>t) {
j++; s=I; t=I
}
print i, P+(i-s)*(P-P)/(t-s)
}
} ' m=1 n=8 infile
FILE CONTENT... (8 Replies)
Discussion started by: Tzeronone
8 Replies
6. Shell Programming and Scripting
Hi,
I have two scripts which are mentioned in execute.sh
more execute.sh
./script1.sh //line 1 should not return error
./script2.sh //line 2 may return error
./script2.sh //line 3 should not return error
Condition: I want script1.sh to complete before starting script2.sh... (1 Reply)
Discussion started by: mohtashims
1 Replies
LEARN ABOUT CENTOS
libquvi
libquvi(3) libquvi manual libquvi(3)
NAME
libquvi - Overview of query media library
DESCRIPTION
libquvi is a cross-platform library for parsing flash media stream URLs with C API. The term "quvi" is a shorthand for "query video".
API documentation
<http://quvi.sourceforge.net/doc/>
Motivation
libquvi originates from the idea of allowing users to view the videos without having to install or use flash. It is a "workaround", not an
"alternative" to flash.
See also:
<http://en.wikipedia.org/wiki/Adobe_Flash#Performance>
<http://en.wikipedia.org/wiki/Adobe_Flash#Flash_client_security>
<http://en.wikipedia.org/wiki/Adobe_Flash#Alternatives_to_Flash>
ENVIRONMENT
LIBQUVI_SCRIPTSDIR
Path to the libquvi-scripts directory. This overrides the libquvi default search paths for the scripts. See also the tutorial in the "API
documentation".
LIBQUVI_SHOW_SCANDIR
If set, libquvi prints the lua script search paths to the stderr.
LIBQUVI_SHOW_SCRIPT
If set, the lua scripts found by libquvi are printed to the stderr.
WWW
Home : <http://quvi.sourceforge.net>
gitweb: <http://repo.or.cz/w/libquvi.git>
LICENSE
libquvi is free software, licensed under the LGPLv2.1+. The lua scripts that libquvi uses are considered as programs and using the lua
scripts is linking.
SEE ALSO
"libquvi-scripts(7)", quvi(1)
AUTHOR
Toni Gundogdu <legatvs at sign gmail com>
Thanks to all those who have contributed to the project by sending patches, reporting bugs and writing feedback. You know who you are.
v0.4.1 2011-09-23 libquvi(3)