[FFmpeg-user] FFMPEG opencl hwaccel, opencl tonemap, vulcan hw accel for record desktop/streaming
KoreanFanOfficial
koreanfanofficial at gmail.com
Wed May 4 13:34:42 EEST 2022
ffmpeg -y -r 25 -framerate 25 -video_size 1920x1080 -window_id 0x5a0002e
-init_hw_device opencl=gpu:0.0 -filter_hw_device gpu -f x11grab -i :0 -f
alsa -i pulse -vf
"format=nv12,hwupload,tonemap_opencl=t=bt709:tonemap=linear:format=nv12,hwdownload,format=nv12,scale=1280:720"
-c:v h264 -profile:v baseline -preset veryfast -sws_flags fast_bilinear
-b:v 2500k -maxrate 2628k -minrate 2628k -bufsize 2628k -c:a mp3 -b:a 128k
-f flv video.flv
didnt work, didnt work any opencl filer.
вт, 3 мая 2022 г. в 23:08, DEF <shaker.doc at gmail.com>:
> On Tue, 3 May 2022 at 15:13, KoreanFanOfficial
> <koreanfanofficial at gmail.com> wrote:
> >
> > ffmpeg -y -vsync 0 -r 25 -video_size 1920x1080 -f x11grab -i :0 -f alsa
> -i
> > default -vf 'scale=1280x720,format=nv12' -c:v libx264 -preset ultrafast
> > -profile baseline -sws_flags fast_bilinear -b:v 4500k -maxrate 4500k
> > -minrate 4500k -bufsize 4500k -c:a aac -b:a 96k -f flv soft.flv
> > this is my default command for record
>
> I cannot see what you are tonemapping.
>
> replace your c:v libx264 with -c:v h264_mf and omit -preset ultrafast
> -profile baseline -sws_flags fast_bilinear.
>
> I think -vf 'scale=1280x720,format=nv12' is needed when you use other
> hardware acceleration.
>
> Def
>
> >
> > вт, 3 мая 2022 г. в 09:41, Def Etienne <shaker.doc at gmail.com>:
> >
> > >
> > >
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
>
More information about the ffmpeg-user
mailing list