Video files conversion/transcoding Google App Engine
Asked Answered
Q

2

11

I want to start a cloud computing project with the simple task to:

  1. Receive uploaded video files
  2. Do some transcoding / converting to them
  3. Allow user to download / stream the generated file

I was thinking ffmpeg as an external command line tool integrated in a Java/Google App engine Application. Since it was fairly hard to be assured about the limitations of the framework, can someone tell me if this is feasible?

Thank you in advance!

Quondam answered 21/10, 2012 at 11:48 Comment(4)
What kind of transcoding do you need to implement?Overlook
Change the bitrate, resolution and encodingQuondam
any update on this? Did you have any success with using Google Compute Engine?Suburban
Google Compute Engine would do it cause you can set up a virual machine and istall ffmpeg as a library to do the transcoding but unfortunately it costs to get an account. I had to do it outside of a cloud and just coded a simple transcoding service from scratch using servlets and ffmpeg installed with a tomcat on linux.Quondam
T
3

You have to offload ffmpeg to an external server, like Amazon EC2 or Google Compute Engine.

At Google I/O this year, Google actually demonstrated the exact same project you want to make in a presentation titled Managing Google Compute Engine Virtual Machines Through Google App Engine, albeit in Python.

Some code is already in the slides, but as mentioned during the presentation, Google wanted to make the source files for the project available. I don't know if they have done so yet. You could probably email the authors and ask.

Tremulous answered 22/10, 2012 at 9:24 Comment(1)
So a solution that would use both the compute engine and the app engine would work, right?Quondam
P
0

This will not simply work. There are timeout restrictions in Google App Engine and also Google Cloud Functions. The only practical way to achieve this is to use Google App Engine Flex with unlimited timeout values.

Peacock answered 22/4, 2020 at 12:44 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.