mediagoblin icon indicating copy to clipboard operation
mediagoblin copied to clipboard

Enable video support

Open jparyani opened this issue 9 years ago • 5 comments

https://github.com/sandstorm-io/sandstorm/issues/505

From @arthurlutz:

One click install of mediagoblin is awesome! Congrats !

It would be even more awesome if the video plugins were activated (with some added libraries I guess, such as transcoding with ffmpeg?)

jparyani avatar Jun 15 '15 21:06 jparyani

I initially tried to get video support working, but transcoding currently relies on gstreamer and it was giving me all sorts of problems. Video support actually worked for files that didn't require transcoding, but I was hesitant to enable it when 90%+ of files wouldn't work.

I actually tried to get mediagoblin working with ffmpeg and it doesn't seem like more than a day or 2 worth of work. I probably won't have time to do it, but if anyone else does, all you need to do is replace transcoders.py with an ffmpeg compatible version.

jparyani avatar Jun 15 '15 21:06 jparyani

I'm hopeful that a package based on vagrant-spk might support video successfully. There is the downside that this would massively increase the size of the SPK file, so I don't know if this is something I could possibly ever get Jason excited about.

paulproteus avatar Jun 15 '15 22:06 paulproteus

Eh the package is already pretty large since I ended up including the majority of a python distribution :)

I'm mostly just not excited since I tried to get gstreamer working before, and it gave me tons of problems both inside and outside of Sandstorm. Let's just say my opinion of ffmpeg is way higher than gstreamer...

jparyani avatar Jun 15 '15 22:06 jparyani

Thanks for considering this issue. Maybe the fact that video support is not included could be indicated in the description on the "app store" to avoid more disappointement for future users. Maybe there could be two distributions of mediagoblin : one with only photos and the other with audio and video activated. The target audience for the first is probably people interrested in the federated side of mediagoblin (since there is a lot of simpler picture hosting software out there) and in the second case ... well... there is not that much video hosting software out there (appart from mediadrop ex-mediacore).

arthurlutz avatar Jun 16 '15 06:06 arthurlutz

Not being able to post videos with sandstorm will be a big turn off to a lot of people. If mediagoblin is the problem maybe you can add one of these to sandstorm, they're all open source. http://blog.plumi.org/ http://www.opencast.org/ http://www.kaltura.org/ http://ffmpeg.org/ This one is a little older but looks nice http://www.mediadrop.net/ it has a kind of youtube look about it and it has a transcoder plugin. Also I did a github search for video platforms, here's the most recent Video platform https://github.com/search?o=desc&p=1&q=Video+platform&s=updated&type=Repositories&utf8=%E2%9C%93 And I did a search for Video transcoders https://github.com/search?o=desc&q=Video+transcoder&ref=searchresults&s=updated&type=Repositories&utf8=%E2%9C%93 Hope some of this helps you guys.

Snarkly avatar Oct 03 '16 23:10 Snarkly