- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在开发 Windows 服务,我的 Windows 服务使用“ffmpeg”,同时我正在开发用于测试代码的桌面应用程序。
我想在我的视频中导入水印。我可以用我的桌面应用程序做到这一点。但是当我运行我的 Windows 服务时,它会出错。
ffmpeg version N-36635-gceb0dd9 Copyright (c) 2000-2012 the FFmpeg developers
built on Jan 9 2012 17:39:58 with gcc 4.6.2
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
libavutil 51. 34.100 / 51. 34.100
libavcodec 53. 54.100 / 53. 54.100
libavformat 53. 29.100 / 53. 29.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 58.100 / 2. 58.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 6.100 / 0. 6.100
libpostproc 51. 2.100 / 51. 2.100
[mpeg4 @ 01CA93A0] Invalid and inefficient vfw-avi packed B frames detected
Input #0, avi, from 'C:\Apps\SabilVideoProcesser\WAITING_FOR_WATERMARK\Pixar - For the Birds.avi':
Metadata:
encoder : Nandub v1.0rc2
Duration: 00:03:16.56, start: 0.000000, bitrate: 2113 kb/s
Stream #0:0: Video: mpeg4 (DX50 / 0x30355844), yuv420p, 720x416 [SAR 1:1 DAR 45:26], 25 fps, 25 tbr, 25 tbn, 30k tbc
Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, s16, 32 kb/s
[buffer @ 02746A20] w:720 h:416 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param:
[movie @ 02748E00] Failed to avformat_open_input 'logo.png'
Error initializing filter 'movie' with args 'logo.png'
Error opening filters!
FFmpeg version SVN-r26400, Copyright (c) 2000-2011 the FFmpeg developers
built on Jan 18 2011 04:07:05 with gcc 4.4.2
configuration: --enable-gpl --enable-version3 --enable-libgsm --enable-libvorbis --enable-libtheora --enable-libspeex --enable-libmp3lame --enable-libopenjpeg --enable-libschroedinger --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-libvpx --disable-decoder=libvpx --arch=x86 --enable-runtime-cpudetect --enable-libxvid --enable-libx264 --enable-librtmp --extra-libs='-lrtmp -lpolarssl -lws2_32 -lwinmm' --target-os=mingw32 --enable-avisynth --enable-w32threads --cross-prefix=i686-mingw32- --cc='ccache i686-mingw32-gcc' --enable-memalign-hack
libavutil 50.36. 0 / 50.36. 0
libavcore 0.16. 1 / 0.16. 1
libavcodec 52.108. 0 / 52.108. 0
libavformat 52.93. 0 / 52.93. 0
libavdevice 52. 2. 3 / 52. 2. 3
libavfilter 1.74. 0 / 1.74. 0
libswscale 0.12. 0 / 0.12. 0
[mpeg4 @ 003dfbd0] Invalid and inefficient vfw-avi packed B frames detected
[mpeg4 @ 003dfbd0] frame skip 8
Seems stream 0 codec frame rate differs from container frame rate: 30000.00 (30000/1) -> 25.00 (25/1)
Input #0, avi, from 'C:\Apps\SabilVideoProcesser\WAITING_FOR_WATERMARK\Pixar - For the Birds.avi':
Metadata:
encoder : Nandub v1.0rc2
Duration: 00:03:16.56, start: 0.000000, bitrate: 2113 kb/s
Stream #0.0: Video: mpeg4, yuv420p, 720x416 [PAR 1:1 DAR 45:26], 25 fps, 25 tbr, 25 tbn, 30k tbc
Stream #0.1: Audio: mp3, 48000 Hz, 2 channels, s16, 189 kb/s
[buffer @ 020d51b0] w:720 h:416 pixfmt:yuv420p
No such filter: 'movie'
Error opening filters!
-i "C:\Apps\SabilVideoProcesser\WAITING_FOR_WATERMARK\Pixar - For the Birds.avi" -vf "movie=logo.png [watermark]; [in][watermark] overlay=main_w-overlay_w-10:10 [out]" -vcodec libx264 -acodec ac3_fixed "C:\Apps\SabilVideoProcesser\WAITING_FOR_SPLIT\inprocess_Pixar - For the Birds.avi"
最佳答案
问题 #1:Failed to avformat_open_input 'logo.png'
您遇到两个不同的问题。留言Failed to avformat_open_input 'logo.png'
可能表示ffmpeg找不到logo.png
(或者可能无法正确解码)。要么提供文件的绝对路径,要么将其放在与 ffmpeg 二进制文件相同的目录(或“文件夹”,我相信是 Windows 术语)中。如果文件在正确的位置然后运行 ffmpeg -i logo.png
看看ffmpeg是否甚至可以解码它。
问题 #2:No such filter: 'movie'
第二条消息No such filter: 'movie'
表示此命令中使用的 ffmpeg 太旧,或者不支持过滤器,或者对于 movie
来说太旧了。 .来自 arrozcru.org 的二进制文件已过时。 Zeranoe FFmpeg Builds保持最新并且配置合理。您应该继续获取更新的二进制文件。修订版 36635 已经至少有 3696 个修订版。那就看看FFmpeg: The ultimate Video and Audio Manipulation Tool有关使用情况的良好概述。
添加水印
无论如何,您不需要 movie
源过滤器添加水印。请参阅 How to add transparent watermark in center of a video with ffmpeg? 中的示例
关于c# - 如何解决ffmpeg水印 "No such filter: '电影'"AND "avformat_open_input失败?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10455611/
问题是什么? 我在 Pythonanywhere.com 上运行 This error can be due to the fact that ImageMagick is not installed
我目前正在设计一个电影数据库。我目前有一个包含电影标题、长度等的电影表。然后我有一个类型转换。我在这些之间有一个与 filmid 和 actorid 之间的联结表。这将包含在影片中扮演角色的所有 Ac
所以,我有一个包含 3 个表和相关列的数据库: 标签:TID、标签名称 电影:MID、movie_title tags_to_movies:电影 ID、标签 ID 如何选择至少具有我想要的标签的电影。
我的程序在 GNUPlot 中生成了 100 个图。我想将它们连接成一部短片,其中每个情节约为 0.1 秒。我怎样才能最有效地做到这一点? 我能想到的效率最低的方法是拍摄每个情节的屏幕截图,以某种方式
我正在使用 ffmpeg 剪切视频文件: ffmpeg - -ss 00:00:00 -t 00:00:30 不包括 *.avi 格式的不同文件格式是可以的。对于 avi 电影,ffmpeg 显示视
关闭。这个问题不满足Stack Overflow guidelines .它目前不接受答案。 想改善这个问题吗?更新问题,使其成为 on-topic对于堆栈溢出。 4年前关闭。 Improve thi
是否有任何方法可以模拟视频应用程序,以便我们仍然保持对设备(iPad/iPhone)的控制,但通过电缆将视频发送到电视?我研究了屏幕镜像,但它对于视频来说太慢了,而且无论如何,Apple 不再允许屏幕
关闭。这个问题不符合Stack Overflow guidelines .它目前不接受答案。 我们不允许提问寻求书籍、工具、软件库等的推荐。您可以编辑问题,以便用事实和引用来回答。 关闭 7 年前。
我正在开发 Windows 服务,我的 Windows 服务使用“ffmpeg”,同时我正在开发用于测试代码的桌面应用程序。 我想在我的视频中导入水印。我可以用我的桌面应用程序做到这一点。但是当我运行
就目前而言,这个问题不适合我们的问答形式。我们希望答案得到事实、引用或专业知识的支持,但这个问题可能会引起辩论、争论、投票或扩展讨论。如果您觉得这个问题可以改进并可能重新打开,visit the he
我正在编写一个Mac应用程序,可以将不同来源的视频下载到本地硬盘。到目前为止效果很好,但我想允许用户在下载这些视频时播放这些视频。浏览 QTKit 的文档,我找不到任何方法可以让我将电影数据分段提供给
我已经尝试通过另一个用户的建议,使用嵌入 Flash 的 swfobject 方法。然而,我一定没有那么聪明。 下面是我想出的怪物,但没有电影播放,当我控制+单击(Mac)时,我什至无法将它区分为 F
已关闭。此问题旨在寻求有关书籍、工具、软件库等的建议。它不符合 Stack Overflow guidelines 。它目前不接受答案。 我们不允许提问寻求书籍、工具、软件库等的推荐。您可以编辑问题
我注意到 GIF 并不是真正兼容所有浏览器,所以我一直在使用电影。直到现在一直在寻找。我有一个带有用 css 编写的背景图片的网站。我觉得这行不通,但我尝试像链接图像一样链接电影,但它甚至没有出现。下
有人知道是否有可能(在 PHP 中)从服务器上的 quicktime 电影中获取帧/缩略图吗? 类似于通常的 GD 缩略图生成,但用于 .mov 文件。 注意:我使用的是 dreamhost,所以我只
我需要根据一系列生成的图像制作一部电影。 (我正在根据物理建模程序的输出创建图像。) 我在 QtKitCreateMovie 中找到了 Apple 的示例,并将其用作起点。我没有从应用程序包中加载 j
我想创建具有 2 个 View 的非常简单的应用程序:-> 列出一些标签-> 带电影的单 View 每个标签都连接到一个 flash 电影。这部电影将在我自己的网络服务器上。我想在我的应用程序中与一些
将 JSON 传入和传出 Flash 电影的最佳方式是什么? 目前在 javascript 和 Flash 之间进行通信: 我正在使用“flashvars”在最初加载时将数据传递给 Flash 电影
我正在开发一个 chromecast 发送器应用程序,我希望在其中启动 Netflix 并播放请求的电影。但是,我只能设法启动 Netflix 应用程序,但它不会加载视频,因为我不确定需要随请求发送哪
因此,当我尝试访问我的应用程序上的电影页面时出现以下错误: ActionController::ParameterMissing (param is missing or the value is e
我是一名优秀的程序员,十分优秀!