- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
<分区>
我有一系列 361 .png 文件,我正试图将其转换为视频,但无论出于何种原因,生成的视频都是黑色的。这是我正在使用的 FFmpeg 代码:
ffmpeg -f image2 -i "FeatureTour_%05d.png" -r 30 -vcodec libx264 -b:v 9600k "FeatureTour.mp4"
文件格式正确 (FeatureTour_00001.png
),并且未抛出任何错误。它只会产生一个 160kb 的黑色 mp4 文件。
知道我做错了什么吗?
编辑
这是我使用上述代码后的输出:
ffmpeg version N-46206-g0e4d34e Copyright (c) 2000-2012 the FFmpeg developers
built on Oct 30 2012 23:07:44 with llvm-gcc 4.2.1 (LLVM build 2336.11.00)
configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libaacplus --enable-libass --enable-libcelt --enable-libfaac --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-openssl --enable-libopus --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --prefix=/usr/local
libavutil 52. 1.100 / 52. 1.100
libavcodec 54. 70.100 / 54. 70.100
libavformat 54. 35.100 / 54. 35.100
libavdevice 54. 3.100 / 54. 3.100
libavfilter 3. 20.113 / 3. 20.113
libswscale 2. 1.101 / 2. 1.101
libswresample 0. 16.100 / 0. 16.100
libpostproc 52. 1.100 / 52. 1.100
[image2 @ 0x7fa68381e200] max_analyze_duration 5000000 reached at 5000000
Input #0, image2, from 'FeatureTour_%05d.png':
Duration: 00:00:14.44, start: 0.000000, bitrate: N/A
Stream #0:0: Video: png, rgb24, 114x151 [SAR 2835:2835 DAR 114:151], 25 fps, 25 tbr, 25 tbn, 25 tbc
[libx264 @ 0x7fa683826c00] using SAR=1/1
[libx264 @ 0x7fa683826c00] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
[libx264 @ 0x7fa683826c00] profile High 4:4:4 Predictive, level 3.0, 4:4:4 8-bit
[libx264 @ 0x7fa683826c00] 264 - core 125 - H.264/MPEG-4 AVC codec - Copyleft 2003-2012 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=4 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=9600 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'FeatureTour.mp4':
Metadata:
encoder : Lavf54.35.100
Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv444p, 114x151 [SAR 1:1 DAR 114:151], q=-1--1, 9600 kb/s, 15360 tbn, 30 tbc
Stream mapping:
Stream #0:0 -> #0:0 (png -> libx264)
Press [q] to stop, [?] for help
frame= 432 fps=0.0 q=-2.0 Lsize= 152kB time=00:00:14.33 bitrate= 86.9kbits/s dup=71 drop=0
video:146kB audio:0kB subtitle:0 global headers:0kB muxing overhead 3.905020%
[libx264 @ 0x7fa683826c00] frame I:3 Avg QP: 0.06 size: 8557
[libx264 @ 0x7fa683826c00] frame P:135 Avg QP: 0.10 size: 653
[libx264 @ 0x7fa683826c00] frame B:294 Avg QP: 0.43 size: 120
[libx264 @ 0x7fa683826c00] consecutive B-frames: 8.8% 0.9% 1.4% 88.9%
[libx264 @ 0x7fa683826c00] mb I I16..4: 30.0% 0.4% 69.6%
[libx264 @ 0x7fa683826c00] mb P I16..4: 2.1% 0.0% 1.9% P16..4: 7.5% 1.2% 0.8% 0.0% 0.0% skip:86.5%
[libx264 @ 0x7fa683826c00] mb B I16..4: 0.2% 0.0% 0.1% B16..8: 4.4% 0.3% 0.2% direct: 0.9% skip:93.8% L0:46.5% L1:48.9% BI: 4.5%
[libx264 @ 0x7fa683826c00] final ratefactor: -45.15
[libx264 @ 0x7fa683826c00] 8x8 transform intra:0.7% inter:19.3%
[libx264 @ 0x7fa683826c00] coded y,u,v intra: 44.4% 32.1% 31.5% inter: 2.3% 1.6% 1.4%
[libx264 @ 0x7fa683826c00] i16 v,h,dc,p: 25% 75% 0% 0%
[libx264 @ 0x7fa683826c00] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 30% 40% 10% 0% 5% 0% 10% 0% 5%
[libx264 @ 0x7fa683826c00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 71% 5% 1% 1% 1% 2% 1% 2%
[libx264 @ 0x7fa683826c00] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0x7fa683826c00] ref P L0: 88.0% 3.9% 5.0% 3.1%
[libx264 @ 0x7fa683826c00] ref B L0: 85.4% 12.4% 2.1%
[libx264 @ 0x7fa683826c00] ref B L1: 98.1% 1.9%
[libx264 @ 0x7fa683826c00] kb/s:82.86
我正在尝试学习 Knockout 并尝试创建一个照片 uploader 。我已成功将一些图像存储在数组中。现在我想回帖。在我的 knockout 码(Javascript)中,我这样做: 我在 Jav
我正在使用 php 编写脚本。我的典型问题是如何在 mysql 中添加一个有很多替代文本和图像的问题。想象一下有机化学中具有苯结构的描述。 最有效的方法是什么?据我所知,如果我有一个图像,我可以在数据
我在两个图像之间有一个按钮,我想将按钮居中到图像高度。有人可以帮帮我吗? Entrar
下面的代码示例可以在这里查看 - http://dev.touch-akl.com/celebtrations/ 我一直在尝试做的是在 Canvas 上绘制 2 个图像(发光,然后耀斑。这些图像的链接
请检查此https://jsfiddle.net/rhbwpn19/4/ 图像预览对于第一篇帖子工作正常,但对于其他帖子则不然。 我应该在这里改变什么? function readURL(input)
我对 Canvas 有疑问。我可以用单个图像绘制 Canvas ,但我不能用单独的图像绘制每个 Canvas 。- 如果数据只有一个图像,它工作正常,但数据有多个图像,它不工作你能帮帮我吗? va
我的问题很简单。如何获取 UIImage 的扩展类型?我只能将图像作为 UIImage 而不是它的名称。图像可以是静态的,也可以从手机图库甚至文件路径中获取。如果有人可以为此提供一点帮助,将不胜感激。
我有一个包含 67 个独立路径的 SVG 图像。 是否有任何库/教程可以为每个路径创建单独的光栅图像(例如 PNG),并可能根据路径 ID 命名它们? 最佳答案 谢谢大家。我最终使用了两个答案的组合。
我想将鼠标悬停在一张图片(音乐专辑)上,然后播放一张唱片,所以我希望它向右移动并旋转一点,当它悬停时我希望它恢复正常动画片。它已经可以向右移动,但我无法让它随之旋转。我喜欢让它尽可能简单,因为我不是编
Retina iOS 设备不显示@2X 图像,它显示 1X 图像。 我正在使用 Xcode 4.2.1 Build 4D502,该应用程序的目标是 iOS 5。 我创建了一个测试应用(主/细节)并添加
我正在尝试从头开始以 Angular 实现图像 slider ,并尝试复制 w3school基于图像 slider 。 下面我尝试用 Angular 实现,谁能指导我如何使用 Angular 实现?
我正在尝试获取图像的图像数据,其中 w= 图像宽度,h = 图像高度 for (int i = x; i imageData[pos]>0) //Taking data (here is the pr
我的网页最初通过在 javascript 中动态创建图像填充了大约 1000 个缩略图。由于权限问题,我迁移到 suPHP。现在不用标准 标签本身 我正在通过这个 php 脚本进行检索 $file
我正在尝试将 python opencv 图像转换为 QPixmap。 我按照指示显示Page Link我的代码附在下面 img = cv2.imread('test.png')[:,:,::1]/2
我试图在这个 Repository 中找出语义分割数据集的 NYU-v2 . 我很难理解图像标签是如何存储的。 例如,给定以下图像: 对应的标签图片为: 现在,如果我在 OpenCV 中打开标签图像,
import java.util.Random; class svg{ public static void main(String[] args){ String f="\"
我有一张 8x8 的图片。 (位图 - 可以更改) 我想做的是能够绘制一个形状,给定一个 Path 和 Paint 对象到我的 SurfaceView 上。 目前我所能做的就是用纯色填充形状。我怎样才
要在页面上显示图像,你需要使用源属性(src)。src 指 source 。源属性的值是图像的 URL 地址。 定义图像的语法是: 在浏览器无法载入图像时,替换文本属性告诉读者她们失去的信息。此
**MMEditing是基于PyTorch的图像&视频编辑开源工具箱,支持图像和视频超分辨率(super-resolution)、图像修复(inpainting)、图像抠图(matting)、
我正在尝试通过资源文件将图像插入到我的程序中,如下所示: green.png other files 当我尝试使用 QImage 或 QPixm
我是一名优秀的程序员,十分优秀!