| ryanflannery.net | |
|
Navigation
Link Roll
m & r . net
m & r rate recipes
neal hogan
john schlipf
logic matters
tim gowers
scott aaronson
aatu koskensilta
log blog
it's only a theory
OpenBSD
OpenPorts.se
undeadly.org
advogato
§apio§oft
λ server
xkcd
PhD comics
c & h
s.m.b.
Far Left Side
a.p.o.d.
bbc sci.
life hacker
wvxu/wnku/npr
cet/ket/pbs cinci rollergirls banksy mark ryden todd shorr |
Various mplayer Tips & Tricksmplayer is the program I use to play all audio & video files I have (which is quite a bit). It's even the program used by my vitunes application to play all multimedia files. It's relatively easy to use in its basic form, but below is a listing of applications of mplayer that I can never remember the exact details of. Skipping through Audio/Video Files with a Broken IndexHow to skip forward/backwards in files with a broken indexFrequently, audio/video files I want to watch either have a mising or broken index, which is what allows you to skip-through the playback of the file. You can force mplayer to build and use its own index, however, using the -idx switch, or the -forceidx if the index within the file is causing problems. mplayer -idx file.whatever mplayer -forceidx file.whatever Playing a DVDHow to play a DVDThe OpenBSD FAQ pretty much explains everything you need, yet I always forget that to play a DVD using mplayer, you can do one of the following...
Taking a Screenshot during a VideoHow to take screenshots (screen captures) of a playing videoAfter a little digging through the mplayer man page, it's quite easy. The important thing to remember is to start mplayer with the -vf-add screenshot option. mplayer -vf-add screenshot file.whatever After that, you can do one of the following:
Extracting Clips of Audio, Video, or BothHow to extract audio/video segments from one file and save to anotherThis takes a little work, but it can be quite easy once you get the hang of it. Note that it's possible to extract only an audio segment, or only a video segment. Below, I extract both, but it should be fairly easy from the below examples (and the mplayer man page) how to extract only one.
|