Remix.run Logo
▲ reddmachine 2 days ago

Nice! So many workflows for media processing, streaming and other chunks are dependent on S3 triggers. Now everything can start executing much quicker, granted they handle part-based processing.

▲matt-attack a day ago | parent [-]

I’m struggling to think of media workflows where processing some arbitrary chunk of a much larger file is ever useful. Examples?

▲duskwuff a day ago | parent | next [-]

Playback and conversion of partially uploaded audio/video streams.

▲shermantanktop 11 minutes ago | parent | prev | next [-]

CVML on video frames - e.g. object detection.

▲giancarlostoro an hour ago | parent | prev | next [-]

Presumably you could start processing as it comes in.

▲dabinat a day ago | parent | prev | next [-]

Thumbnail generation only needs to happen on one frame of the file.

But I think the idea behind this feature is to get a head start on long-running operations like encoding.

▲scheme271 2 hours ago | parent [-]

True but with a lot of modern high performance codecs, you may need to go back a bit to reconstruct a given frame. Certainly something that can be worked around though.

▲ZeWaka 2 hours ago | parent | next [-]

> you may need to go back a bit to reconstruct a given frame

Presumably you'd be streaming in-order.

▲RKearney an hour ago | parent | prev [-]

How far is a bit? Don't most codecs have keyframes every 1-4 seconds?

▲vlovich123 4 minutes ago | parent [-]

It's not a function of the codec - it's a function of how the encoder is configured by the application. For example, you can configure the encoder to never emit I frames, emit I frames every 30 frames, etc etc. For wired Oculus Link we used 0 I frames since it was a reliable in-order transport there.

▲nkozyra 2 hours ago | parent | prev | next [-]

Live transcription

▲QuercusMax an hour ago | parent | prev | next [-]

You could do basic sanity checks based on the file headers with all kinds of different data. You could also do things like early-reject bad uploads. For things like tabular data, you could scrape just the column names from a CSV or something. There are tons of possible use cases. Start labeling that particular upload with metadata source from the in-process stream, and show it to the user instantly.

▲pyrolistical an hour ago | parent | prev | next [-]

Latency is reduced

▲thibaut_barrere 2 hours ago | parent | prev [-]

Trimming comes to mind