Monday 9 March 2015

Why doesn't Web Audio API sound on iOS?

Why doesn't my script of Web Audio API sound on iOS?

Here are major missing points.

Did you mute your iPhone?

Yeah, really it's possible.

Did you listen to an user action?

Web Audio can't start by script itself on iOS. You need to create a listener, e.g. onclick.

Did you set an argument properly?

bufferSource.start() or oscillator.start()
bufferSource.stop() or oscillator.stop()
work on the desktop browsers but doesn't on iOS.

bufferSource.start(0) or oscillator.start(0)
bufferSource.stop(0) or oscillator.stop(0)
should work on any modern browsers.


Saturday 7 March 2015

How to rotate a video file?


You may have done this

$ ffmpeg -vfilter "rotate=90" -i input.mp4 output.mp4

but you would have

unrecognized option 'vfilters'.
Error splitting the argument list: Option not found

So you should run:

$ ffmpeg -i input.mp4 -vf "transpose=1" output.mp4

then input.mp4 will be rotated at 90 degrees to output.mp4.

TweetDeck > HootSuite

If you manage multiple accounts, the web app is better than the desktop one owing to its process burden.
I thought HootSuite was the best service for Twitter which can manage multiple accounts (on the web).

Here are HootSuite and TweetDeck as web apps for Twitter.
  • HootSuite for free subscription is limited to 4 accounts managed.
  • TweetDeck is however free to use totally.

Why not use TweetDeck?
It seems to have to have more improvement but if it improves continuously then it's the best for your personal use.