ffmpeg h264问题:“未找到预设的文件”在XP上 [英] ffmpeg h264 problem: "File for preset ... not found" on XP

查看:151
本文介绍了ffmpeg h264问题:“未找到预设的文件”在XP上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有xp,因为我不熟悉编译我下载的win32静态版本的ffmpeg,svn-r26251。我想调整一个mp4(1280x720最初)的视频,以获得一个更小的文件大小与大致相同的质量。我的命令是:



ffmpeg -i ma.mp4 -vcodec libx264 -vpre hq -s 640x360 ma2.mp4



但是它说文件为预设'hq'未找到。我试过 - 没有任何区别。没有libx264,生成的文件ma2.mp4不会在jwplayer中播放,你只是听到音频。 (原因是它不是mpeg4(h264),它只是mpeg4)。我应该怎么做?

解决方案

对于x264预设,而不是使用-vpre,新的构建将与 - 预设,因为这将直接调用x264预设。


i have xp and since i'm not familiar with compiling i downloaded win32-static version of ffmpeg, svn-r26251. i want to resize an mp4 (1280x720 originally) video to get a smaller file size with approximately same quality. My command is:

ffmpeg -i ma.mp4 -vcodec libx264 -vpre hq -s 640x360 ma2.mp4

however it says "file for preset 'hq' not found". i tried -fpre, made no difference. without libx264, the resulting file, ma2.mp4, won't play in jwplayer, you just hear audio. (the reason is that it is not "mpeg4(h264)", it is just "mpeg4"). what should i do?

解决方案

For x264 preset, instead of using "-vpre", the new builds will work with "-preset", as this will call the x264 preset directly.

这篇关于ffmpeg h264问题:“未找到预设的文件”在XP上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆