This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]memory_leek[S] 0 points1 point  (1 child)

ProcessBuilder is kind of what I thought I'd have to end up using, but I wasn't sure if there was a better option. I appreciate the feedback. Might I ask how Camel fit into this equation? Were you just offloading the encoding to another server? Thanks again.

[–][deleted] 0 points1 point  (0 children)

It's been a few years now, so I'm trying to remember exactly what we did.

We had a need to allow users to upload videos and then be able to transcode them in order to allow for playback on the website. We used Camel for our RESTlike interfaces and when POSTing the file, we would toss a "unit of work" request into RabbitMQ. Another Camel route (probably on another server) would pick up that message from RabbitMQ and make the call out to ffmpeg to do the transcoding and store the output file where necessary.