Roger's woze

July 29, 2011

avisynth mplayer woe

Filed under: Uncategorized — rogerdpack @ 11:38 am
Playing upconvert_from_screen_me2.avs.
AVS file format detected.
Invalid seek to negative position ffffffffffffffff!

I "think" meant that it wasn't sending any frames at all through. Using ffplay on it might help too. (DirectShowSource("push2.GRF")

What it really meant for me was that I had set my "x" parameter to be too high for my screen capture device so it wasn't capturing anything maybe [?] or was dying?

cannot read registry key

Filed under: Uncategorized — rogerdpack @ 10:50 am

RegOpenKeyEx(HKEY_LOCAL_MACHINE, HKLM

for me this meant “32-bit apps in windows 7/vista 64-bit cannot read from it I guess, use HKCU instead”

 

http://stackoverflow.com/questions/2691433/cannot-read-config-data-from-hkey-local-machine-on-vista

July 27, 2011

virtualdub how to get input from a directshow filter

Filed under: Uncategorized — rogerdpack @ 3:33 pm

looks like it’s “use avisynth with a directshow graph, like

Video = DirectShowSource("uscreen.GRF", fps=30, audio=False, framecount=1000000)
"

rails how to set session expiration time

Filed under: Uncategorized — rogerdpack @ 7:47 am

http://stackoverflow.com/questions/1375025/session-management-in-rails-2-3 seems to have the correct answer. expiry_time option <yipers>. The default is apparently “browser session”

July 26, 2011

how to convert pptx to ppt mac os x

Filed under: Uncategorized — rogerdpack @ 5:35 pm

http://betterlogic.com/roger/2008/10/how-to-convert-xlsx-to-xls-on-mac-os-x/

how to convert docx to doc mac os x

Filed under: Uncategorized — rogerdpack @ 5:35 pm

 

See http://betterlogic.com/roger/2008/10/how-to-convert-xlsx-to-xls-on-mac-os-x/

mplayer woe

Filed under: Uncategorized — rogerdpack @ 11:35 am
mplayer  -nocache dvdnav:// -dvd-device e:/

G:\downloads\mplayer2-latest>c:\dev\ruby\sensible-cinema\vendor\cache\mencoder\mplayer.exe -font c:\windows\fonts\arial.ttf  -osdlevel 1  -osd-fractions 1 -vo direct3d -nocache dvdnav:// -dvd-device e:/
MPlayer Sherpya-SVN-r33574-4.2.5 (C) 2000-2011 MPlayer Team
Fontconfig error: Cannot load default config file

Playing dvdnav://.
libdvdnav: Using dvdnav version MPlayer-custom
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdread: Could not open e:/ with libdvdcss.
libdvdread: Can't open e:/ for reading
libdvdread: Device e:/ inaccessible, CSS authentication not available.
NAME OPEN FAILED
libdvdnav: Unable to find map file 'c:\dev\ruby\sensible-cinema\vendor\cache\mencoder\dvdnav\.map'
libdvdnav: DVD disk reports itself with Region mask 0x00fe0000. Regions: 1
Remember to disable MPlayer's cache when playing dvdnav:// streams (adding -nocache to your command line)
DVDNAV, switched to title: 1
audio stream: 0 format: ac3 (5.1) language: en aid: 128.
audio stream: 1 format: ac3 (mono) language: en aid: 129.
audio stream: 2 format: ac3 (5.1) language: fr aid: 130.
audio stream: 3 format: ac3 (stereo) language: en aid: 131.
subtitle ( sid ): 0 language: en

DVDNAV stream read error!
MPEG: Missing video stream!? Contact the author, it may be a bug :( 

Exiting... (End of file)

meant "DVDNAV is messed up for that disc, so play it first in VLC and then in mplayer and now it will work [what the...]"
See also http://betterlogic.com/roger/2011/04/windows-7-mplayer-jerky-playback/comment-page-1/#comment-6003

July 22, 2011

Premature end of script headers: dispatch.fcgi bluehost rails

Filed under: Uncategorized — rogerdpack @ 1:40 pm

for me this meant “it isn’t getting past the .htaccess file”

because I had it set to

Options +SymLinksIfOwnerMatch +ExecCGI

and maybe the running owner is apache, not yourself, for the .htaccess file, so…for me it meant there was a symlinked directory in my public folder. Which apparently isn’t allowed.  Go figure.

mplayer conf file dvdnav_select dvdnav select

Filed under: Uncategorized — rogerdpack @ 9:38 am

How to actually get dvdnav select to work in your input conf file for mplayer:

http://oss.netfarm.it/mplayer-win32.php

July 21, 2011

ruby 8.3 filenames windows

Filed under: Uncategorized — rogerdpack @ 4:34 pm

https://github.com/ffi/ffi/wiki/Windows-Examples

Older Posts »

Powered by WordPress