Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
|
|||||||
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 | Link |
|
Registered User
Join Date: Jul 2009
Posts: 10
|
"broken ffmpeg default settings detected" and "use an encoding preset (vpre)"
Hi,
I try to encoding a YUV420 picture using ffmpeg and x264, but I'cannot open the x264 codec because i have these errors: [libx264 @ 0x8b7d8b0]broken ffmpeg default settings detected [libx264 @ 0x8b7d8b0]use an encoding preset (vpre) If I use the mpeg4 ffmpeg encoder the encoding is ok, the error is only with x264. What is the cause of this error? Thanks in advance. Best regards |
|
|
|
|
|
#2 | Link |
|
x264 developer
Join Date: Sep 2005
Posts: 8,690
|
ffmpeg's defaults are broken and they override x264's encoding settings with completely broken ones. There doesn't seem to be much effort among ffmpeg developers to get this fixed, or for that matter, accept patches that fix them.
As a result, x264 will refuse to encode if it detects that you are using broken ffmpeg default settings and tells you to use -vpre instead with one of the included presets. This guide gives more information. |
|
|
|
|
|
#3 | Link |
|
Registered User
Join Date: Jul 2009
Posts: 10
|
Very clear, many thanks, i understand the problem. I ask another advice, I've to call the x264 not by CLI but by using ffmpeg api's, do you know source code file or other resource where i can consult for understand the correct routine for call x264 encoder?
|
|
|
|
![]() |
|
|