Roger's woze

July 21, 2011

mplayer -noidentify

Filed under: Uncategorized — rogerdpack @ 2:06 pm

Isn’t an option, but you can disable identify with

-msglevel identify=4

which loads DVD’s much quicker than with identify, BTW.

mplayer woe with ripped VOB

Filed under: Uncategorized — rogerdpack @ 12:01 pm
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdread: Could not open G:/Sintel_NTSC/VIDEO_TS/ with libdvdcss.
libdvdread: Can't open G:/Sintel_NTSC/VIDEO_TS/ for reading
libdvdnav: vm: failed to open/read the DVD
Couldn't open DVD device: G:/Sintel_NTSC/VIDEO_TS/ (Permission denied)
No stream found to handle url dvdnav://

meant "you have an extra trailing slash on the dvd-device"
G:/Sintel_NTSC not
G:/Sintel_NTSC/VIDEO_TS

July 20, 2011

LINK : fatal error LNK1181: cannot open input file ‘libc.lib’

Filed under: Uncategorized — rogerdpack @ 3:35 pm

meant “go to your project -> properties -> linker -> additional dependencies and change libc.lib to libcmt.lib”

ref: http://social.msdn.microsoft.com/Forums/en/vcgeneral/thread/9b3ae5f1-2186-48ae-9e2d-90ab332ff5b0

Fatal error RC1015: cannot open include file ‘afxres.h’

Filed under: Uncategorized — rogerdpack @ 3:34 pm
meant "edit your .rc and replace afxres.h with windows.h" (apparently ok as long as you never end up *using* any MFC code).
ref: http://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/d3480ee3-d880-4431-9264-b110a69c8a07/?prof=required

July 18, 2011

how to programmatically set the icon with java swing in os x

Filed under: Uncategorized — rogerdpack @ 11:53 am
setIconImage(ImageIcon.new(__DIR__ + "/../vendor/monkey.png").getImage())
doesn't do it.

looks like it’s this:

-Xdock:icon

refs:

http://stackoverflow.com/questions/4007512/how-can-i-change-my-java-swing-application-title-in-mac-os-x-title-bar

http://java.sun.com/developer/technicalArticles/JavaLP/JavaToMac/

mplayer mac os x woe

Filed under: Uncategorized — rogerdpack @ 8:09 am
[ASPECT] Warning: No suitable new res found!
2011-07-18 08:08:17.237 mplayer[4272:903] *** Assertion failure in -[NSWindow _changeJustMain], /SourceCache/AppKit/AppKit-1038.36/AppKit.subproj/NSWindow.m:9470
2011-07-18 08:08:17.240 mplayer[4272:903] An uncaught exception was raised
2011-07-18 08:08:17.241 mplayer[4272:903] Invalid parameter not satisfying: [self canBecomeMainWindow]
2011-07-18 08:08:17.643 mplayer[4272:903] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: [self canBecomeMainWindow]'
*** Call stack at first throw:
(
	0   CoreFoundation                      0x00007fff809f57b4 __exceptionPreprocess + 180
	1   libobjc.A.dylib                     0x00007fff82fc7f03 objc_exception_throw + 45
	2   CoreFoundation                      0x00007fff809f55d7 +[NSException raise:format:arguments:] + 103
	3   Foundation                          0x00007fff82cde9fe -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 198
	4   AppKit                              0x00007fff840a766e -[NSWindow _changeJustMain] + 190
	5   mplayer                             0x000000010001e320 0x0 + 4295090976
)
terminate called after throwing an instance of 'NSException'

meant 'you're clicking on the exec windows 10 times, not the little one that had been minimized'

July 17, 2011

amazon how to send an anonymous gift item

Filed under: Uncategorized — rogerdpack @ 7:42 pm

appears that the “send as gift” amazon option isn’t enough

http://answers.yahoo.com/question/index?qid=20080627043848AAWJQbr

I think what you have to do is create a temporary email, then send that temporary email an amazon gift certificate, then use that (and create an amazon account with your temporary email).
Gift certificates you can quite easily send anonymously http://betterlogic.com/roger/2011/07/amazon-how-to-send-an-anonymous-gift-certificate/

amazon how to send an anonymous gift certificate

Filed under: Uncategorized — rogerdpack @ 7:05 pm

Appears that the only thing the recipient sees about who the sender was is whoever you enter in the “from” field. So if you enter from “anonymous” or from “a secret admirer” then you’re good to go. You can test this by sending yourself a $1 gift certificate, but it seems to be the case.

Sending an actual item anonymously is a bit more difficult, but possible. http://betterlogic.com/roger/2011/07/amazon-how-to-send-an-anonymous-gift/

July 16, 2011

mplayer disable subtitles

Filed under: Uncategorized — rogerdpack @ 5:05 pm

These seem a bugger to disable at times. You could either hit the ‘v’ key, or
-nosub -noautosub -forcedsubsonly -sid 1000

July 15, 2011

how to tell when jslider has been released

Filed under: Uncategorized — rogerdpack @ 5:36 pm

http://www.informit.com/library/content.aspx?b=STY_Java2_24hours&seqNum=173

« Newer PostsOlder Posts »

Powered by WordPress