Video file conversion.

The hardest decision when considering writing a video conversion task was which Handbrake wrapper to use and in the end I went with handbrake-js. It spawns another child process sending back a number of messages to indicate progress with the file i.e. error, progress and completion.

The task JavaScript file again returns a status value of 1 or 0 to indicate whether more files should be sent (this really should be changed over to a couple of custom messages sent between the child/parent and is on the list of things to do).

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s