问题
Just started something related to video. It would really help if we can use cfvideo. Any idea if that's doable?
回答1:
I don't know about CFVIDEO specifically, but my VideoConverter.cfc will allow you to convert video to different formats and play video universally.
https://github.com/sebtools/Video-Converter
Like CFVIDEO, it uses ffmpeg in the background. So I imagine it could be enhanced to add other functionality from CFVIDEO as well.
It runs on ColdFusion and I would think it should run on Railo or OpenBD as well.
回答2:
<CFVIDEO>
is free... Perhaps we have some links Left that presume otherwise, apologies if that's the case... Anyway it is free. But the problem rather is how to extend ACF with it since the core is different. But having an open source engine allows anyone to use the code and adjust it as needed.
BTW, we us ffmpeg in the. background as well and cfvideo is just a wrapper.
回答3:
In short, no, not directly. The CFVIDEO
tag in Railo is a Railo-specific add-on for Railo and is not available for Adobe ColdFusion. As Gert pointed out, the code for Raio's CFVIDEO
tag may be available and you could reverse-engineer it into a custom tag for Adobe ColdFusion, but the tag itself is not part of the CFML
language as Adobe supports it (as of ColdFusion 9 anyway).
If you want to do video work with Adobe ColdFusion, you should look at other open source libraries which you can call from within ColdFusion, such as ffmpeg. It's not as simple as the CFVIDEO
tag in Railo, but it's widely used and supported and shouldn't be too difficult to implement if you're unable to use Railo for some reason.
回答4:
Could you not use CF's own <cfmediaplayer> for this? Does the Railo one do something the CF one doesn't? (Serious question: I've never used either tag on either platform).
来源:https://stackoverflow.com/questions/9424005/can-cfvideo-tag-from-railo-be-used-under-adobe-cf