Current version |
Description |
Download files |
History |
I created some patch with cctv.
OSD timestamp
Install:
patch -p0 -i osdtime.patch
./configure
make
|
Usage:
mplayer tv:// -osdtime "bl_Camera1 %Y.%m.%d %H:%M:%S" [options]
mencoder tv:// -osdtime "bl_Camera1\t%Y.%m.%d\%H:%M:%S" [options]
|
Options:
- -osdtime [b|t[r|c|l]]_<format string> (eg.: "bc_%Y-%m-%d %H:%M:%S Cam1")
| Align: |
| _ | : bottom-left (default) |
| b_ | : bottom-left |
| t_ | : top-left |
| bl_ | : bottom-left |
| bc_ | : bottom-center |
| br_ | : bottom-right |
| tl_ | : top-left |
| tc_ | : top-center |
| tr_ | : top-right |
| |
| Format string: |
| \\ | : '\' |
| \" | : '"' |
| \_ | : ' ' (space) |
| \t | : switch horizontal align: left -> center -> right -> left ... |
| \r | : switch vertical align: top -> bottom -> top ... (restore vertical align) |
| \n | : New line (restore vertical align) |
| %Y | : Year (4 digit) |
| %m | : Month (decimal number) |
| %d | : Day (decimal number) |
| %H | : Hour (24h) |
| %S | : Minutes |
| %M | : Second |
| | other format: see man strftime |
- -osdtime-hmargin (0-100) : Set horizontal (left and right) margin in pixel (default: 10).
- -osdtime-vmargin (0-100) : Set vertical (top and bottom) margin in pixel (default: 10).
OSD timestamp samples:
|
|
-osdtime "bl_%Y.%m.%d\tCam\_1\t%H:%M:%S" | -osdtime "bc_Cam\_1\t%Y.%m.%d\n\t%H:%M:%S" |
|
|
-osdtime "tl_%Y.%m.%d\r%H:%M:%S" | |
Sharedmem
Version: 20061030
I am sorry to say that my English knowledge isn't good.
Best regards! Ötvös Attila.
2008.12.03 |