mac

How to watermark a video with FFmpeg Libavfilter

I try to watermark movies with an PNG image. I read the documentation from http://ffmpeg.org/libavfilter.html but didn't get how using it. I tried ffmpeg -i video.mov -vf "movie=0:png:image.pngpad=1024:576:600:300:0x00000000 [watermark];[in][watermark]overlay=0:0:1[out]" -sameq video.mov And get this error FFmpeg version 0.6, Copyri...

How to approach implementing a layout editor using Cocoa

I want to build an OS X application, in which one of the requirements is for the user to be able to generate PDF output according to a layout that they, the user, will create. Typical items on the page would be things like a corporate logo (a JPEG or PNG), an address (a block of text) and a narrative (another block of text). I'd like t...

Cannot use F10 key in Midnight commander running in OSX leopard's terminal

I connect to my server from terminal in MAC OSX leopard. When I run midnight commander there I cannot use function keys like F10 to close MC even I cannot use mouse to control MC. Any idea why function keys don't work ? ...

Can I change name displayed in Spotlight search results?

I am writing a Spotlight importer for an application that stores content in files with meaningless names. There is benefit from allowing the user to search for these files, however. It's easy enough to write an importer that extracts and returns useful metadata but when the user does a search in Spotlight they are presented with the m...

Is it safe / possible to use a Windows 7 in a Mac with BootCamp for development?

The title pretty much sums it up. I would use VS2010 for SilverLight, WPF, Windows Phone 7, etc. I just want to know if there's any compilation problems, or potential bugs you wouldn't see on a PC, or you name it. Just want to make sure before I buy. Thing is I'm thinking about buying both a MacBook pro and a PC Laptop, but if I can get ...

Set component look and feel

I'm using substance look and feel as my application default look and feel, however I want to set the system look and feel for FileDialog especially in Mac OS. Is it possible to set FileDialog to use look and feel other than the application look and feel? Thanks ...

Cocoa: Obtaining an image that's displayed in another application

One Google Chrome extension displays a window with an image once in a while, how can I get the image from it with Cocoa? Basically there is a window and image inside it, and I need that image for my program. Thanks for reading! ...

Flash/html not working on all browsers on Mac

I have been experiencing problems in using Flash on all browser on Mac.The same websites on Firefox,chrome,explorer work ok on Windows.the problem is just browsers on Mac and IE6. flash is here ; http://www.evateknoloji.info/Temp/CS4.html Has been anybody else been experiencing the same problem? Is there a solution? ...

Average salary of a Mac/iOS/Web developer in California

Hey, I don't know if this is the right place to ask, but I think it's a cool place to try. I'm a Mac, iOS and web developer and I got plans of moving to California. What's the average salary for this job in CA? ...

VPN on a Cocoa app

Hey, I'm developing an app for a customer. He has a company and he wants the app to connect to the other Macs via VPN. I googled for a tutorial, but I could not find any. Does anyone know a good tutorial/guide for that? Thanks! ...

Use BlackBerry JRE 5.0.0 or previous on MacOS

I have my Windows work computer set up with JDE 5, but the plugin for the Mac OSX Eclipse on my home computer is JDE 6 and I can't seem to find a source to download it from. I found a blog post about MacOS BlackBerry development, but it is from before the official MacOS plugin was released. Anything new on this front? ...

Safe way to uninstall old version of python

I want to update my Python framework on Mac and delete the old versions but I am not sure if is safe to rm -fr /Library/Frameworks/Python.framework/Versions/2.4 - 2.5 - 2.6 -3.0 etc. Any suggestion? ...

NSDocument get real save path?

Hey guys, I am trying to get the path that an NSDocument is being saved to at save time. I tried overriding writeToURL but that would pass me an obscure temp file URL, which was not where it was getting saved. Also asking the document like this [document fileURL] only works after it has been saved. I can get the path when it is loaded bu...

Boot Camp partition + paralles desktop + coherence mode

I would like to run virtual machine on parallels desktop 6 from boot camp partition. Is it possible to run virtual machine in coherence mode ? I mean run windows application in separate window like its native OS X application. ...

mac terminal root indicator

How do I make command prompt to end with # if I do sudo -s in mac terminal? Right now I have $. Thanks so much. ...

How do I reduce the size of a Mac application bundle?

I have a 120MB bundle that when is compressed (zip) is only 30MB. I, however, so not want to distribute a zip file. I want to distribute a bundle in a dmg. Are there any tools I can use that will enable me to compress my bundle, but also preserve the bundle file structure so that no 'unzip' tool is needed by end-users? ...

Mac: How to export symbols from an executable?

Hello. I am writing an executable which uses dlopen() (LoadLibrary() on Windows) to dynamically load a shared library. The shared library uses symbols from the executable. In Windows this is possible. Executables can export symbols: declspec(dllexport) and .def files both work. The linker, when creating the .exe, also creates the .lib ...

DMG or Zip file for distribution to Macs?

What do you prefer and why? I've just finished my first Mac app and am wondering if this is an important decision. ...

Open online file with desktop applications?

I want to let the user click on a file (let's say a .doc link) in the browser and it will open the native desktop application (microsoft word in this case). And when the user saves the document it will be saved in the web. Is there a way doing this with Javascript/HTML 5 or does the user have to download the file to be able to open it ...

Mac OS X - Cocoa timeline/curve editing control

I'm looking for a Cocoa UI widget for timeline/graph editing (Like the graph editor in After Effects, or the Timeline patch in Quartz Composer), and I haven't found anything similar. Any suggestions? I was hoping to avoid reinventing the wheel on this one :) ...