- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在尝试在 Linux 服务器上运行 ffmpeg(信息来自 uname -a
):
Linux comp32 2.6.32-279.14.1.el6.x86_64 #1 SMP Tue Nov 6 11:21:14 CST 2012 x86_64 x86_64 x86_64 GNU/Linux
ffmpeg
(以及所需的编码器和解码器)在系统上成功编译,但是当我尝试执行如下基本操作时:ffmpeg -v debug -i example。 m4v image%d.jpg
,我收到一条有点神秘的错误消息:
ffmpeg version 2.8.1 Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 4.7.1 (GCC)
configuration: --prefix=/users/albanie/local/usr
libavutil 54. 31.100 / 54. 31.100
libavcodec 56. 60.100 / 56. 60.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 40.101 / 5. 40.101
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set logging level) with argument 'debug'.
Reading option '-i' ... matched as input file with argument 'example.m4v'.
Reading option 'image%d.jpg' ... matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument debug.
Successfully parsed a group of options.
Parsing a group of options: input file example.m4v.
Successfully parsed a group of options.
Opening an input file: example.m4v.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x2ee2380] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x2ee2380] ISO: File Type Major Brand: M4V
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x2ee2380] Before avformat_find_stream_info() pos: 185580655 bytes read:927102 seeks:1
[h264 @ 0x2ee3720] no picture
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x2ee2380] All info found
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x2ee2380] After avformat_find_stream_info() pos: 24214 bytes read:959870 seeks:2 frames:3
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'example.m4v':
Metadata:
major_brand : M4V
minor_version : 512
compatible_brands: isomiso2avc1
encoder : Lavf56.25.101
Duration: 00:13:47.93, start: 0.033333, bitrate: 1793 kb/s
Stream #0:0(und), 2, 1/30000: Video: h264 (High), 4 reference frames (avc1 / 0x31637661), yuv420p(left), 720x576 [SAR 64:45 DAR 16:9], 1001/60000, 1656 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(eng), 1, 1/48000: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
Metadata:
handler_name : SoundHandler
Successfully opened the file.
Parsing a group of options: output file image%d.jpg.
Successfully parsed a group of options.
Opening an output file: image%d.jpg.
Successfully opened the file.
detected 32 logical cores
[graph 0 input from stream 0:0 @ 0x303f7c0] Setting 'video_size' to value '720x576'
[graph 0 input from stream 0:0 @ 0x303f7c0] Setting 'pix_fmt' to value '0'
[graph 0 input from stream 0:0 @ 0x303f7c0] Setting 'time_base' to value '1/30000'
[graph 0 input from stream 0:0 @ 0x303f7c0] Setting 'pixel_aspect' to value '64/45'
[graph 0 input from stream 0:0 @ 0x303f7c0] Setting 'sws_param' to value 'flags=2'
[graph 0 input from stream 0:0 @ 0x303f7c0] Setting 'frame_rate' to value '30000/1001'
[graph 0 input from stream 0:0 @ 0x303f7c0] w:720 h:576 pixfmt:yuv420p tb:1/30000 fr:30000/1001 sar:64/45 sws_param:flags=2
[format @ 0x2f750c0] compat: called with args=[yuvj420p|yuvj422p|yuvj444p]
[format @ 0x2f750c0] Setting 'pix_fmts' to value 'yuvj420p|yuvj422p|yuvj444p'
[auto-inserted scaler 0 @ 0x2f75f00] Setting 'flags' to value 'bicubic'
[auto-inserted scaler 0 @ 0x2f75f00] w:iw h:ih flags:'bicubic' interl:0
[format @ 0x2f750c0] auto-inserting filter 'auto-inserted scaler 0' between the filter 'Parsed_null_0' and the filter 'format'
[AVFilterGraph @ 0x303f720] query_formats: 4 queried, 2 merged, 1 already done, 0 delayed
[auto-inserted scaler 0 @ 0x2f75f00] picking yuvj420p out of 3 ref:yuv420p alpha:0
[swscaler @ 0x2f664a0] deprecated pixel format used, make sure you did set range correctly
[auto-inserted scaler 0 @ 0x2f75f00] w:720 h:576 fmt:yuv420p sar:64/45 -> w:720 h:576 fmt:yuvj420p sar:64/45 flags:0x4
[mjpeg @ 0x2ee96c0] Forcing thread count to 1 for MJPEG encoding, use -thread_type slice or a constant quantizer if you want to use multiple cpu cores
[mjpeg @ 0x2ee96c0] intra_quant_bias = 96 inter_quant_bias = 0
Output #0, image2, to 'image%d.jpg':
Metadata:
major_brand : M4V
minor_version : 512
compatible_brands: isomiso2avc1
encoder : Lavf56.25.101
Stream #0:0(und), 0, 1001/30000: Video: mjpeg, 1 reference frame, yuvj420p(pc, left), 720x576 [SAR 64:45 DAR 16:9], 1001/30000, q=2-31, 200 kb/s, 29.97 fps, 29.97 tbn, 29.97 tbc (default)
Metadata:
handler_name : VideoHandler
encoder : Lavc56.60.100 mjpeg
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> mjpeg (native))
Error while opening decoder for input stream #0:0 : Resource temporarily unavailable
[AVIOContext @ 0x2eeaee0] Statistics: 959870 bytes read, 2 seeks
我还尝试使用 ffmpeg
的静态构建,从 here 下载,但收到相同的资源暂时不可用消息。关于如何解决这个问题有什么想法吗?
最佳答案
弄清楚了 - 这是一个“系统”问题而不是 ffmpeg 问题。我在集群的计算节点上运行,该节点(默默地)强制执行单线程代码。通过更改命令以包含额外的标志 -threads 1
,我能够让 ffmpeg
运行,因此命令为:
ffmpeg -threads 1 -i example.m4v image%d.jpg
希望这对面临同样头痛的其他人有用。
关于ffmpeg:资源暂时不可用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33341303/
有人告诉我,如果我只有一个“东西”,比如家(不是多个家),我应该在 routes.rb 中使用资源 :home,而不是资源 :home。但是当我查看路由时,POST 函数似乎想要 home#creat
Activity 开始。这些代码框架顺利通过。 // Initialize array adapters. One for already paired devices and //
资源 search-hadoop.com search-hadoop.com索引所有邮件列表,非常适合历史搜索。当你遇到问题时首先在这里搜索,因为很可能有人已经遇到了你的问题。 邮件列表 在A
我是 WPF 的新手,正在努力使用位于单独程序集中的样式。这就是我正在做的:- 我有一个带有\Themes 文件夹的类库项目,其中包含一个“generic.xaml”,它合并了\Themes 内的子文
我正在编写一个使用虚拟树状文件结构的插件。基本上它就像一个包含文件的标准文件系统,区别在于这些文件实际上并不存在于文件系统中的特定位置,而只是 java 对象。 这些当前由使用 SettingProv
如果我在 XAML 中使用以下内容,我会收到错误消息: 错
我正在使用 laravel 资源来获取 api 的数据: return [ 'id' => $this->id, 'unread' =>
我有以下 pom.xml: 4.0.0 mycompany resource-fail 0.0.1-SNAPSHOT BazBat
许多GDI +类都实现IDisposable,但是我不确定何时应该调用Dispose。对于使用new或静态方法(例如Graphics.CreateGraphics)创建的实例来说,这很明显。但是,由属
我正在构建一组 RESTful 资源,其工作方式如下:(我将使用“people”作为示例): 获取/people/{key} - 返回一个人对象 (JSON) GET/people?first_nam
已关闭。此问题不符合Stack Overflow guidelines 。目前不接受答案。 要求我们推荐或查找工具、库或最喜欢的场外资源的问题对于 Stack Overflow 来说是偏离主题的,因为
我有一个使用 $resource 的简单 Controller : var Regions = $resource('mocks/regions.json'); $scope.regions =
在 Azure 门户中,如何查看不同资源之间的依赖关系。我特别想查看哪些资源正在使用我要删除的存储。 最佳答案 您可以使用应用程序洞察应用程序 map 来执行此操作: 您还可以打开存储帐户的日志记录:
我正在使用 ionic 生成资源(图标和启动画面)。我正在使用 ionic v2.1.0 和 cordova v6.4.0。 到目前为止我一直在使用(它在以前的版本中工作): cordova plat
是否可以使用 Assets 包含子文件夹中的文件? 示例:[base_url]/assets/css/pepper-grinder/jquery-ui-1.8.11.custom.min.css 最佳
我正在阅读一些尝试教授 Android 开发的书。在书中,作者概述了 res/下的一些目录。他提到 res/menu 包含基于 XML 的菜单规范。他还提到了保存“通用文件”的 res/raw。当我创
关闭。这个问题是opinion-based 。目前不接受答案。 想要改进这个问题吗?更新问题,以便 editing this post 可以用事实和引文来回答它。 . 已关闭 9 年前。 Improv
我在服务器上使用 express-resource。在我的 AngularJS Controller 中: var User = $resource('/services/users/:use
因此,每当我运行我的应用程序时,它都会立即崩溃并给出以下错误: No package identifier when getting value for resource number 0x00000
对于我正在创建的(网络)应用程序,我需要使用基本身份验证在我的 UIWebView 中加载页面。 现在设置我使用的授权 header : NSString *result = [NSString st
我是一名优秀的程序员,十分优秀!