vigneshv_psg's comments

vigneshv_psg | 2 years ago | on: Junk drawer phone as a music streaming server

Isn't it an inherent problem with phones that if they are left on charge forever that their battery will explode? I've had test devices that I left connected for months together and inevitably the battery has exploded on every single one of them.

Perhaps, it can be hooked up to a smart plug and charged up whenever battery goes down below a certain percentage and shut it off when it's full.

vigneshv_psg | 3 years ago | on: FFmpeg 6.0

yeah these are pretty much the options. i believe the ffmpeg command that OP suggested would do option 3.

vigneshv_psg | 3 years ago | on: FFmpeg 6.0

yeah it probably doesn't matter in practice. you may run into some audio sync issues.

but the ~1 second precision that you see is by accident where the source file happens to have a keyframe every 1 second. that may not be the case always. :)

vigneshv_psg | 3 years ago | on: FFmpeg 6.0

i understand that this is the fastest way to extract frames, but it is limited by key frame availability in the original file (i.e.) you can only start the output from a keyframe.

in this case, it is important to be aware that the times you specify may not be extracted exactly. it will be off by a few frames based on keyframe availability. the only way to extract exact frames is to re-encode. :)

vigneshv_psg | 3 years ago | on: Tesla video promoting self-driving was staged, engineer testifies

fwiw, it seems like it's a common thing to avoid answering vague/overly broad questions like this in a deposition. see here:https://old.reddit.com/r/SelfDrivingCars/comments/10df9y9/th...

it reminds me of a time when Larry Page (in a deposition) referred to the code repository at Google as: "I mean, there's some code-based repository thingy".

https://www.scribd.com/document/355385613/Larry-Page-deposit...

vigneshv_psg | 4 years ago | on: Show HN: OnlyRecipe.app – Remove clutter from recipe sites

Slightly off topic, but a hack that i have found to read recipe websites on my phone is to use the "Print Recipe" link that most websites provide. It gets rid of most of the annoying ads, autoplaying videos and unzoomable text (or text tapping on which takes you to some random link because the page resized and you accidentally tapped on an ad).

The "Print Recipe" page usually contains just the recipe in a format which is easy to read without any clutter.

vigneshv_psg | 7 years ago | on: Show HN: A free, lightweight static page to get stock quotes using the IEX API

hmm, while this is cool i am not sure if it is a full-fledged replacement for the Google Finance "portfolios" feature. That lets you add the number of stocks you own for each symbol and shows you an aggregate gain/loss per day, etc. That was the main reason i was using google finance.

I have now transitioned to my own Google Sheet with the "=GOOGLEFINANCE()" function for getting the stock data. Works pretty well.

vigneshv_psg | 10 years ago | on: Gaming the H-1B system for good

As far as i know, most of the outsourcing companies have a contract with the employee that will make the employee pay a huge fine if he quits them after moving to the US. I'm not sure about the legality of this, but a lot of companies enforce this somehow.

(source: i'm indian and i have a lot of friends who moved here on a H1B through the 'outsourcing' companies).

vigneshv_psg | 10 years ago | on: JFK Displays Actual Wait Times Using Beacons That Monitor Mobile Phones

I am just curious. Wouldn't it be more easier to do this with specific devices than using the phones?

Each passenger can be given a smart card along with the boarding pass (or embedded in the boarding pass). The sensors could merely check for the smart card at certain points and determine how long it took for the passenger to clear security, etc. The airline can then collect the smart card back just before boarding when they scan the boarding pass. Seems like a simple solution that would work without much privacy concerns.

vigneshv_psg | 11 years ago | on: Project Fi by Google

in most countries i've been to (UK, Canada, India) 2G data came in handy for things like navigation. note that 2g is part of your plan and it does not cost anything extra.

nevertheless, they also have an option to upgrade to 3G data for a fee ($10 or so).

vigneshv_psg | 11 years ago | on: fork() can fail

i had a similar thought when i read this. it would be nice if you can share other similar stuff in that list of yours! :-)

vigneshv_psg | 12 years ago | on: Chromecast URL Player

the particular example that you want seems to use eplayer. it seems like it's a livestream and uses some proprietary protocol and is not as simple as fetching data from a URL and playing it back. So it's unlikely that you'll be able to watch this particular site for chromecast unless they (either crictime or eplayer) decide to publish an app that implements their proprietary protocol for chromecast.

vigneshv_psg | 12 years ago | on: Chromecast URL Player

No, chromecast cannot play flash videos. But you can extract the URL of the videos from common swf based players like JWPlayer using a tool like youtube-dl [1] and then use that URL to playback the content in chromecast. This will probably make a good chrome extension.

[1] https://github.com/rg3/youtube-dl/

vigneshv_psg | 12 years ago | on: Chromecast URL Player

yes, it does support the mkv container. WebM and MKV files are usually parsed with the same parser. So pretty much any player that can play WebM can play MKV given the encapsulated codec is supported.

disclosure: i work on the Chrome team but have nothing to do with chromecast.

page 1