问题标签 [videodisplay]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
720 浏览

components - Flex 4 VideoDisplay 背景颜色

无论如何我可以从 Spark VideoDisplay 组件更改黑色背景颜色吗?

谢谢你。

0 投票
1 回答
340 浏览

flex4 - Flex 4 使 swf 大小适合 VideoPlayer 源尺寸

我在 Flex 4 应用程序中有一个 VideoPlayer。整个应用程序是 VideoPlayer 加上一些错误处理(如果没有通过 flashVars 指定 url,如果 url 不指向 flv 文件等)。

请问如何使嵌入的 SWF 文件尺寸与 VideoDisplay 组件的视频源中的尺寸相匹配?

谢谢你。

0 投票
0 回答
717 浏览

flex4 - Flex 4 > spark.components.VideoPlayer > How to switch bit rate?

The VideoPlayer (possibly VideoDisplay also) component is capable of somehow automatically picking the best quality video on the list it's given. An example is here:

http://help.adobe.com/en_US/FlashPlatform/beta/reference/actionscript/3/spark/components/mediaClasses/DynamicStreamingVideoItem.html#includeExamplesSummary

I cannot find the answers to below questions.

Assuming that the server that streams recorded videos is capable of switching across same videos with different bit rates and streaming them from any point within their timelines:

  1. Is the bandwidth test/calculation within this component only done before the video starts playing, at which point it picks the best video source and never uses the other ones? Or, does it continuously or periodically execute its bandwidth tests and does it accordingly switch between video sources during the playback?

  2. Does it support setting the video source through code and can its automatic switching between video sources be turned off (in case I want to provide this functionality to the user in the form of some button/dropdown or similar)? I know that the preferred video source can be set, but this only means that that video source will be tested/attempted first.

  3. What other media servers can be used with this component, besides the one provided by Adobe, to achieve automated and manual switching between different quality of same video?


Obviously, I'd like to create a player that is smart enough to automatically switch between different quality of videos, and that will support manual instructions related to which source to play - both without interrupting the playback, or at least without restarting it (minor interruptions acceptable). Also, the playback needs to be able to start at any given point within the video, after enough data has been buffered (of course), but most importantly, I want to be able to start the playback beyond what's buffered. A note or two about fast-forwarding is not going to hurt, if anyone knows anything.

Thank you for your time.

0 投票
1 回答
3155 浏览

c# - FFPLAY 绑定或 C# 的任何包装器

我首先需要知道是否可以在 C# 应用程序中嵌入 FFplay(来自 ffmpeg 项目),是否可以在 WinForms 控件中使用它,因为如果可以,我可以通过在面板控件中添加来操作它。

我已经看到一些使用 FFmpeg 的绑定,但是在使用 FFplay 和数小时的谷歌搜索没有成功之后,我决定打开一个关于这个的话题。

0 投票
2 回答
800 浏览

apache-flex - Flex 4:VideoDisplay可以播放MP3文件吗?

是否可以使用 VideoDisplay 或 VideoPlayer 组件播放 MP3 文件?

谢谢你。

0 投票
2 回答
1391 浏览

flex3 - 如何在 Flex Builder 3 中捕获流式视频显示并将其保存到磁盘?

我一直在寻找解决我的问题的方法,但没有得到答案。我有一个带有VideoDisplay对象和“截屏”按钮的页面。我想从流媒体视频中获取屏幕截图并保存,但出现错误:

安全沙箱违规:BitmapData.draw: http://xxx/xxx.swf无法访问 rtmp://xxx/xx/xx/。没有策略文件被授予访问权限。

我从中捕获图像的网站的域和 rtmp 是相同的。

我正在使用ImageSnapshot类来捕获屏幕截图。这是负责截屏的函数:

我还有一个带有 lin 的跨域策略文件:

我会很感激你的帮助。

0 投票
1 回答
592 浏览

apache-flex - Flex3 视频显示到 Flex4 视频显示

我的 Flex3 VideoDisplay 如下所示:

如何更改为 Flex 4 videoDisplay:因为 Flex4 组件没有 metadataReceived 和 playheadUpdateInterval 和 bufferTime 的属性。

提前致谢

最好的~Z~

0 投票
2 回答
784 浏览

flash - Flex Spark VideoDisplay:倒带向后搜索

我怎么能把视频倒回,比如说 5 秒?

我试过player.seek(player.currentTime - 5)了,但这除了小停顿之外没有任何效果(比如在搜索时冻结 - 按下左箭头键时)。

0 投票
1 回答
208 浏览

apache-flex - 视频组件上的实时效果

我有一个使用mx:VideoDisplay组件来显示网络摄像头的 flex 4.5 应用程序。如何向该 VideoDisplay 组件添加实时效果?

例如:改变颜色、粒子/颗粒外观、波浪效果、缩放等

谢谢你!

0 投票
2 回答
1178 浏览

java - 只播放视频不播放声音。这是为什么 ?

我阅读此代码以使用xuggler作为库播放视频文件。当我运行此代码时,播放没有声音的视频。这是为什么?

如果不是,我应该怎么做才能用视频播放音频。?