Garry's Mod

Garry's Mod

Cinema
Agentmass 2013 年 7 月 18 日 下午 12:32
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?
< >
正在显示第 1 - 12 条,共 12 条留言
Sam  [开发者] 2013 年 7 月 18 日 下午 2:00 
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 2013 年 7 月 18 日 下午 2:16 
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 2013 年 7 月 18 日 下午 4:20 
If this ever is supported then that'd make this THE best mod ever
N1CE 2013 年 7 月 18 日 下午 4:21 
... not that it's not already :)
Agentmass 2013 年 7 月 18 日 下午 5:24 
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  [开发者] 2013 年 7 月 19 日 下午 1:58 
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 2013 年 7 月 21 日 上午 9:49 
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  [开发者] 2013 年 7 月 21 日 上午 11:18 
That might work, I'm not sure which video formats Awesomium's version of webkit supports though.
Anime4000 2013 年 7 月 21 日 上午 11:32 
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 2015 年 1 月 7 日 下午 12:39 
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 2015 年 1 月 7 日 下午 4:43 
tried all 4 format ogg/ogv/webm/mp4 ?
Yownas 2015 年 1 月 8 日 上午 8:20 
Just ogg, mp4 and webm. It would not even try to load mp4 and webm. (Atleast not for me)
< >
正在显示第 1 - 12 条,共 12 条留言
每页显示数: 1530 50