Opened 10 years ago

Closed 9 years ago

#3987 closed enhancement (needs_more_info)

When converting to higher bits and resizing, do first convert and than resize

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

Description

Summary of the bug:
When the the user wants to convert the input to a higher bit depth AND to resize, do first the conversion to that bit depth and than resize.

How to reproduce:
ffmpeg -loglevel verbose -i 8bitInput.mkv -pix_fmt yuv420p10le -vf "scale=1280:-1" -sws_flags spline -f rawvideo - 1>/dev/null

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

Change History (3)

comment:1 by Carl Eugen Hoyos, 10 years ago

Could you elaborate on what you think is currently wrong and why the behaviour should change?

comment:2 by Michael Niedermayer, 9 years ago

Please provide a testcase that shows a problem, where can the input file be found, what is the problem with the output ?
it appears you make some (incorrect) assumtations on how swscale works and your report is based on top of these. Its a bit tricky to understand from this what the actual issue is that you report

comment:3 by Carl Eugen Hoyos, 9 years ago

Resolution: needs_more_info
Status: newclosed

Please reopen this ticket if you can add the missing information.

Note: See TracTickets for help on using tickets.