Opened 10 years ago
Closed 10 years ago
Last modified 10 years ago
#2066 closed defect (invalid)
Facing problem related to directpred (Please find attached screen shot)
|Reported by:||Kamalesh||Owned 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.
Change History (6)
by , 10 years ago
comment:1 by , 10 years ago
|Priority:||critical → normal|
|Status:||new → closed|
comment:2 by , 10 years ago
Please let me knwo what happened to this ticket?
Do u need any other info then let me knw
comment:3 by , 10 years ago
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 by , 10 years ago
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 : 0.0.0.0000
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 #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.
by , 10 years ago
preset file used
screen shot for the issue