[FFmpeg-trac] #11256(undetermined:new): how i can use curves options in hwupload in ffmpeg ?

FFmpeg trac at avcodec.org
Mon Oct 21 10:31:07 EEST 2024


#11256: how i can use curves options in hwupload in ffmpeg ?
-------------------------------------+-------------------------------------
             Reporter:  elias        |                     Type:  defect
  tsolis                             |
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 currently, i use this, however, i am unable to run it specifying points in
 curves. Is any option to use a gnuplot file directly? or to extract
 smplayer optiotns on brightenss, gamma etc. to use them with ffmpeg
 somehow?

 for vids in *.avi; do ffmpeg  -hwaccel vaapi -hwaccel_output_format
 yuv420p -vaapi_device /dev/dri/renderD128 -i "$vids" -vf
 'curves=preset=lighter,setpts=2*PTS,format=nv12,hwupload,scale_vaapi=w=2560:h=1440:format=nv12'
 -strict experimental   -c:v hevc_vaapi  -b:v 20M -video_track_timescale
 90000  "a_${vids/.*}.mp4"; done;

 debian trixie linux,
 ffmpeg version 7.0.2-3
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11256>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list