Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#2066 closed defect (invalid)

Facing problem related to directpred (Please find attached screen shot)

Reported by: indecomm Owned by:
Priority: normal Component: ffmpeg
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no


Summary of the bug:
How to reproduce:

% ffmpeg -i input ... output
ffmpeg version
built on ...

Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.

Attachments (2)

issue.png (215.3 KB) - added by indecomm 7 years ago.
screen shot for the issue
test.ffpreset (2.1 KB) - added by indecomm 7 years ago.
preset file used

Download all attachments as: .zip

Change History (6)

Changed 7 years ago by indecomm

screen shot for the issue

comment:1 Changed 7 years ago by cehoyos

  • Priority changed from critical to normal
  • Resolution set to invalid
  • Status changed from new to closed

comment:2 Changed 7 years ago by indecomm

Please let me knwo what happened to this ticket?
Do u need any other info then let me knw

comment:3 Changed 7 years ago by reimar

You should really copy and paste the output instead of attaching a screenshot.
For what I can tell your preset file contains the option "directpred" which is now called "direct-pred".
Apart from that it's very unlikely that it makes sense for you to specify such settings manually, you should almost always use exclusively one of the presets build into x264 itself.

comment:4 Changed 7 years ago by indecomm


Sorry for providing very brief description on the issue.

Here is the complete update on the issue,

Basically we are trying to convert a multimedia file (of any format) to .mp4 format using some third party presets.
Attached here with filename (test.ffpreset).

We have imported this preset into winff tool and tried to convert a multimedia file(.flv) to .mp4 file. The preset

selected in the tool had the value as "-f mp4 -acodec vorbis -aq 30 -ab 128k -ac 2 -ar 24000 -vcodec libx264 -

fpre test.ffpreset -b 330k -s 640x360 -vf pad=iw:ih+2*60:0:60 -strict experimental -threads 0"

Conversion was unsuccessful with below error
"Unrecognized option 'directpred'
libx264-ingenico.ffpreset: Invalid option or argument: 'directpred=3
', parsed as 'directpred' = '3'"

Later we tried by changing "directpred" to "direct-pred", again it was unsuccessful with below error

Please use -b:a or -b:v, -b is ambiguous
[NULL @ 032a5f60] [Eval @ 0022e6fc] Undefined constant or missing '(' in 'mixed'

[NULL @ 032a5f60] Unable to parse option value "mixed-refs-dct8x8-fastpskip-wpre
[NULL @ 032a5f60] Error setting option flags2 to value -mixed-refs-dct8x8-fastps
Output #0, mp4, to 'C:\Users\Kamalesh.Kumar\Desktop\desparado.mp4':


WMFSDKVersion : 12.0.7601.17514
WMFSDKNeeded :
IsVBR : 0
title : Facebook
Stream #0:0: Video: none, yuv420p, 640x360, q=-1--1, 90k tbn, 29.97 tbc
Stream #0:1: Audio: none, 24000 Hz, stereo, fltp, 128 kb/s

Stream mapping:

Stream #0:1 -> #0:0 (wmv3 -> libx264)
Stream #0:0 -> #0:1 (wmav2 -> vorbis)

Error while opening encoder for output stream #0:0 - maybe incorrect parameters
such as bit_rate, rate, width or height

Could you please suggest us a solution on what preset values should be used for above mentioned configurations.

Changed 7 years ago by indecomm

preset file used

Note: See TracTickets for help on using tickets.