News for hackers. Stuff that matters.
Re:Realtime encoding - over 150x faster by dkubb on Monday December 20, 2010 @03:16PM (#2025622)
It's nice to see people thinking about processing input as a stream rather than waiting for the entire message to be received before doing anything.

If you start to think about input and output in web app as streams rather than buffered data, alot of neat possibilities arise for reducing latency.

Re:Realtime encoding - over 150x faster by jon_dahl on Monday December 20, 2010 @03:43PM (#2025703)
This is often true, but not always - some video formats put header data at the end of the file, not the beginning, so you can't just start encoding as bits come in. Or if you can, you're encoding blind.
Re:Realtime encoding - over 150x faster by felixge on Monday December 20, 2010 @04:14PM (#2025794)
Sure, but we think it's possible to "prepare" those videos on the client site before uploading.
Re:Realtime encoding - over 150x faster by citricsquid on Monday December 20, 2010 @03:56PM (#2025742)
Youtube have been doing this for a long time now, it's great watching a video being processed and "read" as it's uploaded, it's the even more user friendly step on from a progress bar, makes Youtube uploading more "fun".
Re:Realtime encoding - over 150x faster by felixge on Monday December 20, 2010 @04:13PM (#2025792)
Do you have any references for youtube doing this? Youtube is the example I always mention when it comes to long waiting times after an upload : ).
Re:Realtime encoding - over 150x faster by app on Tuesday December 21, 2010 @09:07AM (#2027739)
I don't believe YT transcodes during upload, since last I checked they are doing 2-pass encoding (its been awhile though).

However they do examine the buffer during an upload. Try uploading an MOV with bad edit points, they will warn you about A/V sync issues before the upload is complete. I assume they also abort uploads for invalid files.