Garry's Mod

Garry's Mod

Cinema
Agentmass 18 Jul, 2013 @ 12:32pm
Playing video files?
I know I already posted this on Facepunch but I thought this might be a better place.

How do you play movie files or songs hosted on sites like Dropbox? I have a movie file on Dropbox currently and I can play it with PlayX by simply pasting the URL and PlayX will play the movie. How do I do this on Cinema?
< >
Showing 1-12 of 12 comments
Sam  [developer] 18 Jul, 2013 @ 2:00pm 
Playing a video from a file is currently not supported in Cinema. My suggestion is to use a streaming service such as Twitch.TV.
Agentmass 18 Jul, 2013 @ 2:16pm 
Do you think this will ever be supported? I have a 1080p file and I don't think I can stream that over Twitch without lagging.
N1CE 18 Jul, 2013 @ 4:20pm 
If this ever is supported then that'd make this THE best mod ever
N1CE 18 Jul, 2013 @ 4:21pm 
... not that it's not already :)
Agentmass 18 Jul, 2013 @ 5:24pm 
Another problem happened when certain people were saying ads, and others weren't.

So the only two major issues I see with this addon is the no direct file playing, and the advertisements. I do think it's possible to not show ads because PlayX doesn't show ads from what I can tell.
Sam  [developer] 19 Jul, 2013 @ 1:58pm 
I'm sorry, but I don't have any plans for adding video file support. My best suggestion is to either stream to a popular service or setup your own RTMP server and request a URL to be added to a theater. You can use cinema_video_request <url> in a private theater assuming cinema_allow_url is enabled.
Anime4000 21 Jul, 2013 @ 9:49am 
what if setup own HTTP server and create simple HTML that play video just like youtube, dose cinema will detect the content? If HTML5 <video> tag supported, this will more easy! :D:
Sam  [developer] 21 Jul, 2013 @ 11:18am 
That might work, I'm not sure which video formats Awesomium's version of webkit supports though.
Anime4000 21 Jul, 2013 @ 11:32am 
I check Awesomium website, it's support HTML5, but format playback maybe MP4 or WebM. <video> tag can contain more format, might allow multi Operating System such as Linux.
Yownas 7 Jan, 2015 @ 12:39pm 
I know this is an old thread, but it was the first one that popped up when I searched for playing files.

I had some success with html5 and ogg (theora/vorbis) files. Something like this:

<video width="100%" autoplay>
<source src="MyMovie.ogg" type="video/ogg">
</video>

Then I tried to make my own service in lua for it...but got stuck with an "unsuccessful" in the client console that I don't know where it comes from. :)
Anime4000 7 Jan, 2015 @ 4:43pm 
tried all 4 format ogg/ogv/webm/mp4 ?
Yownas 8 Jan, 2015 @ 8:20am 
Just ogg, mp4 and webm. It would not even try to load mp4 and webm. (Atleast not for me)
< >
Showing 1-12 of 12 comments
Per page: 1530 50