Ffmpeg Xuggle mp4输出(isom mp41编解码器?)问题
我们正在使用Xuggler从图片创建mp4,此时没有音频。我们得到的mp4可以在本地播放,但不能嵌入网页或chromecast中。我怀疑问题在于,我们正在使用一种较旧的ISOM mp41编解码器,而HTML5和chromecast不支持这种编解码器。这是基于标题信息片段的猜测:Ffmpeg Xuggle mp4输出(isom mp41编解码器?)问题,ffmpeg,xuggle,Ffmpeg,Xuggle,我们正在使用Xuggler从图片创建mp4,此时没有音频。我们得到的mp4可以在本地播放,但不能嵌入网页或chromecast中。我怀疑问题在于,我们正在使用一种较旧的ISOM mp41编解码器,而HTML5和chromecast不支持这种编解码器。这是基于标题信息片段的猜测: Internet media type : video/mp4 Codec ID : isom Codec ID
Internet media type : video/mp4
Codec ID : isom
Codec ID : isom (isom/iso2/mp41)
Codec ID/Url :
http://www.apple.com/quicktime/download/standalone.html
CodecID_Compatible : isom/iso2/mp41
Codec : MPEG-4
Codec : MPEG-4
Codec/Extensions usually used : mov mp4 m4v m4a m4b m4p 3ga 3gpa
3gpp 3gp 3gpp2 3g2 k3g jpm jpx mqv ismv isma ismt f4a f4b f4v
我可以嵌入和chromecast mp42类型的文件。所以我的问题的第一部分是,我在研究isom和mp41时是否走上了正确的轨道?如果是这样,我能让Xuggler使用更新的编解码器输出吗?
我可以张贴完整的标题,如果这将是有益的。
以上片段来自mediainfo。下面是整件事,太长了,无法发表评论:
一般的
计数:325
此类流的计数:1
流的种类:一般
流的种类:一般
流标识符:0
通知:MPEG-4(基本媒体):377kib,12s 301 ms
视频流计数:1
视频格式列表:MPEG-4视频
带提示列表的视频格式:MPEG-4视频
视频编解码器:MPEG-4视频
全名:C:\Users\Jon\Desktop\vid-1.mp4
文件夹名称:C:\Users\Jon\Desktop
文件名:vid-1
文件扩展名:mp4
格式:MPEG-4
格式:MPEG-4
通常使用的格式/扩展:mov mp4 m4v m4a m4b m4p 3ga 3gpa 3gpp 3gp 3gpp2 3g2 k3g jpm jpx mqv ismv isma ismt f4a f4b f4v
商业名称:MPEG-4
格式配置文件:基本媒体
互联网媒体类型:视频/mp4
编解码器ID:isom
编解码器ID:isom(isom/iso2/mp41)
编解码器ID/Url:
CodecID_兼容:isom/iso2/mp41
编解码器:MPEG-4
编解码器:MPEG-4
通常使用的编解码器/扩展:mov mp4 m4v m4a m4b m4p 3ga 3gpa 3gpp 3gp 3gpp2 3g2 k3g jpm jpx mqv ismv isma ismt f4a f4b f4v
档案大小:386063
文件大小:377kib
文件大小:377kib
文件大小:377kib
文件大小:377kib
文件大小:377.0 KiB
持续时间:12301
持续时间:12秒301毫秒
持续时间:12秒301毫秒
持续时间:12秒301毫秒
持续时间:00:00:12.301
持续时间:00:00:14:00
持续时间:00:00:12.301(00:00:14:00)
总体比特率模式:CBR
整体比特率模式:恒定
总比特率:251077
总比特率:251 kb/s
帧速率:3.415
帧速率:3.415 FPS
帧数:42
溪流大小:1368
河流规模:1.34千磅(0%)
流大小:1千磅
溪流大小:1.3千磅
溪流大小:1.34千磅
溪流大小:1.336千磅
河流规模:1.34千磅(0%)
该流的比例:0.00354
校长人数:36
数据大小:384703
页脚尺寸:1324
不可能:不可能
文件创建日期:UTC 2017-05-05 19:49:25.209
文件创建日期(本地):2017-05-05 15:49:25.209
文件最后修改日期:UTC 2017-01-04 19:04:53.000
文件最后修改日期(本地):2017-01-04 15:04:53.000
编写应用程序:Lavf54.3.100
编写应用程序:Lavf54.3.100
Video
Count : 338
Count of stream of this kind : 1
Kind of stream : Video
Kind of stream : Video
Stream identifier : 0
StreamOrder : 0
Inform : 250 kb/s, 200*200 (1.000), at
3.415 FPS, MPEG-4 Visual (Simple@L1)
ID : 1
ID : 1
Format : MPEG-4 Visual
Commercial name : MPEG-4 Visual
Format profile : Simple@L1
Format settings, BVOP : No
Format settings, BVOP : No
Format settings, QPel : No
Format settings, QPel : No
Format settings, GMC : 0
Format settings, GMC : No warppoints
Format settings, Matrix : Default (H.263)
Format settings, Matrix : Default (H.263)
Internet media type : video/MP4V-ES
Codec ID : 20
Codec : MPEG-4V
Codec : MPEG-4 Visual
Codec/Family : MPEG-4V
Codec/CC : 20
Codec profile : Simple@L1
Codec settings, Packet bitstream : No
Codec settings, BVOP : No
Codec settings, QPel : No
Codec settings, GMC : 0
Codec settings, GMC : No warppoints
Codec settings, Matrix : Default (H.263)
Duration : 12301
Duration : 12 s 301 ms
Duration : 12 s 301 ms
Duration : 12 s 301 ms
Duration : 00:00:12.301
Duration : 00:00:14:00
Duration : 00:00:12.301 (00:00:14:00)
Bit rate mode : CBR
Bit rate mode : Constant
Bit rate : 250207
Bit rate : 250 kb/s
Width : 200
Width : 200 pixels
Height : 200
Height : 200 pixels
Sampled_Width : 200
Sampled_Height : 200
Pixel aspect ratio : 1.000
Display aspect ratio : 1.000
Display aspect ratio : 1.000
Rotation : 0.000
Frame rate mode : VFR
Frame rate mode : Variable
Frame rate : 3.415
Frame rate : 3.415 FPS
Minimum frame rate : 3.333
Minimum frame rate : 3.333 FPS
Maximum frame rate : 65535.000
Maximum frame rate : 65 535.000 FPS
Frame count : 42
Resolution : 8
Resolution : 8 bits
Colorimetry : 4:2:0
Color space : YUV
Chroma subsampling : 4:2:0
Chroma subsampling : 4:2:0
Bit depth : 8
Bit depth : 8 bits
Scan type : Progressive
Scan type : Progressive
Interlacement : PPF
Interlacement : Progressive
Compression mode : Lossy
Compression mode : Lossy
Bits/(Pixel*Frame) : 1.832
Stream size : 384695
Stream size : 376 KiB (100%)
Stream size : 376 KiB
Stream size : 376 KiB
Stream size : 376 KiB
Stream size : 375.7 KiB
Stream size : 376 KiB (100%)
Proportion of this stream : 0.99646
Writing library : Lavc54.14.101
Writing library : Lavc54.14.101
在文件上运行mediainfo并显示其读数。这就是上面的代码片段,来自mediainfo。我认为这是最相关的,但关键是:你的编解码器应该是MPEG-4/AVC。我认为不支持MPEG-4第2部分。