#11256: how i can use curves options in hwupload in ffmpeg ?
-------------------------------------+-------------------------------------
             Reporter:  elias        |                    Owner:  (none)
  tsolis                             |
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  7.0          |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Description changed by elias tsolis:

Old description:

> 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

New description:

 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 options on brightness, 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#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to