Re: [FFmpeg-user] FFMPEG opencl hwaccel, opencl tonemap, vulcan hw accel for record desktop/streaming

2022-05-04 Thread Carl Zwanzig

On 5/4/2022 10:45 PM, KoreanFanOfficial wrote:

I am not top posting its google mail post this, dont be stupid.


You -are- top-posting (look at the archived messages) and I'm not generally 
stupid.


z!
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

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


Re: [FFmpeg-user] FFMPEG opencl hwaccel, opencl tonemap, vulcan hw accel for record desktop/streaming

2022-05-04 Thread KoreanFanOfficial
i start to use ffmpeg user mailing list since 2018, and gmail always post
massage like in this thread.

чт, 5 мая 2022 г. в 01:45, KoreanFanOfficial :

> I am not top posting its google mail post this, dont be stupid. ffmpeg
> compiled by default in debian distro 11/12
>
> ср, 4 мая 2022 г. в 13:50, Dennis Mungai :
>
>> On Wed, 4 May 2022 at 18:54, KoreanFanOfficial <
>> koreanfanoffic...@gmail.com>
>> wrote:
>>
>> > sry i dont understand your english
>> >
>> > ср, 4 мая 2022 г. в 11:23, Carl Zwanzig :
>> >
>> > > On 5/4/2022 7:58 AM, KoreanFanOfficial wrote:
>> > >
>> > > > output:
>> > > [...]
>> > >
>> > > That was not the _complete_ and uncut output. And it was top-posted,
>> > which
>> > > is not allowed on this mailing list. Do the first and not the second.
>> > >
>> > > z!
>>
>>
>>
>> You really need to stop top-posting. See
>> http://catb.org/jargon/html/T/top-post.html
>>
>> Secondly, complete and uncut console output is what allows us to see HOW
>> the ffmpeg binary was built, including the version (release or git tip
>> master, etc) and any spurious errors emitted regarding the command run on
>> your terminal.
>>
>> >
>> ___
>> ffmpeg-user mailing list
>> ffmpeg-user@ffmpeg.org
>> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>
>> To unsubscribe, visit link above, or email
>> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
>>
>
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

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


Re: [FFmpeg-user] FFMPEG opencl hwaccel, opencl tonemap, vulcan hw accel for record desktop/streaming

2022-05-04 Thread KoreanFanOfficial
I am not top posting its google mail post this, dont be stupid. ffmpeg
compiled by default in debian distro 11/12

ср, 4 мая 2022 г. в 13:50, Dennis Mungai :

> On Wed, 4 May 2022 at 18:54, KoreanFanOfficial <
> koreanfanoffic...@gmail.com>
> wrote:
>
> > sry i dont understand your english
> >
> > ср, 4 мая 2022 г. в 11:23, Carl Zwanzig :
> >
> > > On 5/4/2022 7:58 AM, KoreanFanOfficial wrote:
> > >
> > > > output:
> > > [...]
> > >
> > > That was not the _complete_ and uncut output. And it was top-posted,
> > which
> > > is not allowed on this mailing list. Do the first and not the second.
> > >
> > > z!
>
>
>
> You really need to stop top-posting. See
> http://catb.org/jargon/html/T/top-post.html
>
> Secondly, complete and uncut console output is what allows us to see HOW
> the ffmpeg binary was built, including the version (release or git tip
> master, etc) and any spurious errors emitted regarding the command run on
> your terminal.
>
> >
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
>
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

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


Re: [FFmpeg-user] FFMPEG opencl hwaccel, opencl tonemap, vulcan hw accel for record desktop/streaming

2022-05-04 Thread Dennis Mungai
On Wed, 4 May 2022 at 18:54, KoreanFanOfficial 
wrote:

> sry i dont understand your english
>
> ср, 4 мая 2022 г. в 11:23, Carl Zwanzig :
>
> > On 5/4/2022 7:58 AM, KoreanFanOfficial wrote:
> >
> > > output:
> > [...]
> >
> > That was not the _complete_ and uncut output. And it was top-posted,
> which
> > is not allowed on this mailing list. Do the first and not the second.
> >
> > z!



You really need to stop top-posting. See
http://catb.org/jargon/html/T/top-post.html

Secondly, complete and uncut console output is what allows us to see HOW
the ffmpeg binary was built, including the version (release or git tip
master, etc) and any spurious errors emitted regarding the command run on
your terminal.

>
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

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


Re: [FFmpeg-user] FFMPEG opencl hwaccel, opencl tonemap, vulcan hw accel for record desktop/streaming

2022-05-04 Thread KoreanFanOfficial
sry i dont understand your english

ср, 4 мая 2022 г. в 11:23, Carl Zwanzig :

> On 5/4/2022 7:58 AM, KoreanFanOfficial wrote:
>
> > output:
> [...]
>
> That was not the _complete_ and uncut output. And it was top-posted, which
> is not allowed on this mailing list. Do the first and not the second.
>
> z!
>
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
>
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

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


Re: [FFmpeg-user] FFMPEG opencl hwaccel, opencl tonemap, vulcan hw accel for record desktop/streaming

2022-05-04 Thread Carl Zwanzig

On 5/4/2022 7:58 AM, KoreanFanOfficial wrote:


output:

[...]

That was not the _complete_ and uncut output. And it was top-posted, which 
is not allowed on this mailing list. Do the first and not the second.


z!

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

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


Re: [FFmpeg-user] FFMPEG opencl hwaccel, opencl tonemap, vulcan hw accel for record desktop/streaming

2022-05-04 Thread KoreanFanOfficial
ffmpeg -y -r 25 -framerate 25 -video_size 1920x1080 -window_id 0x5e3 \
-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

output:
[AVHWDeviceContext @ 0x55e902e5b440] QSV to OpenCL mapping not usable.
[x11grab @ 0x55e902edd500] Stream #0: not enough frames to estimate rate;
consider increasing probesize
Input #0, x11grab, from ':0':
  Duration: N/A, start: 1651676129.706988, bitrate: 1500672 kb/s
  Stream #0:0: Video: rawvideo (BGR[0] / 0x524742), bgr0, 1920x977, 1500672
kb/s, 25 fps, 1000k tbr, 1000k tbn, 1000k tbc
Guessed Channel Layout for Input Stream #1.0 : stereo
Input #1, alsa, from 'pulse':
  Duration: N/A, start: 1651676131.790687, bitrate: 1536 kb/s
  Stream #1:0: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
  Stream #1:0 -> #0:1 (pcm_s16le (native) -> mp3 (libmp3lame))
Press [q] to stop, [?] for help
[AVHWDeviceContext @ 0x55e902e5b440] No image support in OpenCL driver
(zero supported image formats).
[Parsed_hwupload_1 @ 0x55e902f9b140] Query format failed for
'Parsed_hwupload_1': Invalid argument
Error reinitializing filters!
Failed to inject frame into filter network: Invalid argument
Error while processing the decoded data for stream #0:0
[alsa @ 0x55e902f67d00] Thread message queue blocking; consider raising the
thread_queue_size option (current value: 8)
Conversion failed!

ср, 4 мая 2022 г. в 09:04, Def Etienne :

>
>
> Sent from my iPhone
>
> > On 4 May 2022, at 11:35, KoreanFanOfficial 
> wrote:
> >
> > 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
>
> Now add the complete uncut console output.
>
>
> > didnt work, didnt work any opencl filer.
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
>
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

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


Re: [FFmpeg-user] FFMPEG opencl hwaccel, opencl tonemap, vulcan hw accel for record desktop/streaming

2022-05-04 Thread Def Etienne


Sent from my iPhone

> On 4 May 2022, at 11:35, KoreanFanOfficial  
> wrote:
> 
> 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

Now add the complete uncut console output. 


> didnt work, didnt work any opencl filer.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

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


Re: [FFmpeg-user] FFMPEG opencl hwaccel, opencl tonemap, vulcan hw accel for record desktop/streaming

2022-05-04 Thread KoreanFanOfficial
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 :

> On Tue, 3 May 2022 at 15:13, KoreanFanOfficial
>  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 :
> >
> > >
> > >
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
>
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

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


Re: [FFmpeg-user] FFMPEG opencl hwaccel, opencl tonemap, vulcan hw accel for record desktop/streaming

2022-05-03 Thread DEF
On Tue, 3 May 2022 at 15:13, KoreanFanOfficial
 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 :
>
> >
> >
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

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


Re: [FFmpeg-user] FFMPEG opencl hwaccel, opencl tonemap, vulcan hw accel for record desktop/streaming

2022-05-03 Thread KoreanFanOfficial
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

вт, 3 мая 2022 г. в 09:41, Def Etienne :

>
>
> Sent from my iPhone
>
> > On 3 May 2022, at 06:10, KoreanFanOfficial 
> wrote:
> >
> > How i can use those option for desktop record/streaming with software
> > encoder, cant find working ffmpeg code
>
> Could you please give a sample command line that does not use them.
>
> I am assuming that you just want to use hardware acceleration for
> screencasting, in which case you do not need to use all the options at
> once.
>
> Def
>
> > ___
> > ffmpeg-user mailing list
> > ffmpeg-user@ffmpeg.org
> > https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> >
> > To unsubscribe, visit link above, or email
> > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
>
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

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


Re: [FFmpeg-user] FFMPEG opencl hwaccel, opencl tonemap, vulcan hw accel for record desktop/streaming

2022-05-03 Thread Def Etienne


Sent from my iPhone

> On 3 May 2022, at 06:10, KoreanFanOfficial  
> wrote:
> 
> How i can use those option for desktop record/streaming with software
> encoder, cant find working ffmpeg code

Could you please give a sample command line that does not use them. 

I am assuming that you just want to use hardware acceleration for 
screencasting, in which case you do not need to use all the options at once. 

Def 

> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> 
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

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


[FFmpeg-user] FFMPEG opencl hwaccel, opencl tonemap, vulcan hw accel for record desktop/streaming

2022-05-02 Thread KoreanFanOfficial
How i can use those option for desktop record/streaming with software
encoder, cant find working ffmpeg code
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

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