[FFmpeg-trac] #4284(ffmpeg:new): FFmpeg doesn't pass -x265-params to the x265 encoder correctly.
FFmpeg
trac at avcodec.org
Sun Jan 25 13:37:27 CET 2015
#4284: FFmpeg doesn't pass -x265-params to the x265 encoder correctly.
-------------------------------------+-------------------------------------
Reporter: kvssoft | Type: defect
Status: new | Priority: normal
Component: ffmpeg | Version: git-
Keywords: FFmpeg, | master
x265, x265-params, HEVC, H.265 | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Hi!
Summary of the bug:
When I'm trying to pass x265 parameters by using -x265-params, multiple
issues happen:
1. Some parameters may be reported as "unknown". For example, the
--profile option
(http://x265.readthedocs.org/en/default/cli.html#cmdoption--profile) is
being reported as unknown (see: unknown-report.log, line 98).
2. If a switch parameter was specified (the parameter that doesn't need a
value, for example --no-scenecut
(http://x265.readthedocs.org/en/default/cli.html#cmdoption--scenecut)),
then parameters (even the correct ones) are not passed to x265 at all.
Without any warnings or errors (see: ignore-report.log and ignore-
output.log). At the same time, if the problematic switch parameter is
replaced with its "key=value" version (for example: --scenecut 0), then
parameters are being successfully passed to the encoder.
So, it seems that the problem is complex, and not related only to specific
x265 parameters.
How to reproduce:
{{{
1. ffmpeg.exe -r 24 -i "1080-png\sintel_trailer_2k_%04d.png" -c:v libx265
-x265-params "profile=main:level=3.0:crf=28:keyint=48:min-
keyint=48:scenecut=0" -r 24 -pix_fmt yuv420p -filter:v
"scale='trunc(oh*a/2)*2:360'" "360p-hevc.mp4"
2. ffmpeg.exe -r 24 -i "1080-png\sintel_trailer_2k_%04d.png" -c:v libx265
-x265-params "profile=main:level=3.0:crf=28:keyint=48:min-keyint=48:no-
scenecut" -r 24 -pix_fmt yuv420p -filter:v "scale='trunc(oh*a/2)*2:360'"
"360p-hevc.mp4"
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4284>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list