[FFmpeg-user] ffmpeg qsv performance well below expected

2021-01-01 Thread dan
In running ubuntu with an i3-10100 I'm able to transcode 2 MPEG2 to h.265 using the following command ffmpeg -hwaccel qsv -i http://hdhomerun:5004/auto/v2.2.ts -c:v hevc_qsv -c:a copy -profile:v main -global_quality 30 -g 48 -keyint_min 48 -sc_threshold 0 -hls_time 2 -hls_list_size 10

[FFmpeg-user] ffprobe - bit rates in reports

2021-01-01 Thread Mark Filipak (ffmpeg)
fltp (default) How can I get it to report bit rates in both? Thank you. ffprobe -report "Radiolab Live - Apocalyptical .flv" ffprobe started on 2021-01-01 at 17:31:51 Report written to "ffprobe-20210101-173151.log" Log level: 48 Command line: ffprobe -report "Radio

Re: [FFmpeg-user] How to get 4-bit PNG frames?

2021-01-01 Thread Carl Eugen Hoyos
> Am 01.01.2021 um 19:09 schrieb Rocky Ji : > > I used PNG PNG is ok, gif is probably better. But you did not create a useful pal8 stream, see the link I posted. Use either qtrle or ffv1 as intermediate formats (x264 is also a possibility but ffv1 is better in your case). Please find out

Re: [FFmpeg-user] How to get 4-bit PNG frames?

2021-01-01 Thread Rocky Ji
Ok. But is there a way to limit pallette to 16 colors / 32 colors (using some kind of estimation, rounding, etc.). I used PNG because the incoming stream is of text editors and GUIs not forest/movie like scenes. But now I am now open to using other formats such as JPEG or GIF, etc. whichever

Re: [FFmpeg-user] How to get 4-bit PNG frames?

2021-01-01 Thread Carl Eugen Hoyos
> Am 01.01.2021 um 11:57 schrieb Rocky Ji : > > ffmpeg -i /dev/video2 -r 4 -vf format=pal8 -pix_fmt pal8 -f image2 > s-%04d.png > > to get 4 8-bit PNG screenshots every second from game capture device (if I > am understanding it correctly). No, this is not how pal8 conversion works, see:

[FFmpeg-user] How to get 4-bit PNG frames?

2021-01-01 Thread Rocky Ji
Hi, I am using: ffmpeg -i /dev/video2 -r 4 -vf format=pal8 -pix_fmt pal8 -f image2 s-%04d.png to get 4 8-bit PNG screenshots every second from game capture device (if I am understanding it correctly). For my purposes, I need to reduce size further. So I want to get 4-bit PNGs (or 5-bit is also

Re: [FFmpeg-user] xmedian questions

2021-01-01 Thread Paul B Mahol
On Fri, Jan 1, 2021 at 4:08 AM Mark Filipak (ffmpeg) wrote: > On 12/31/2020 09:50 PM, list+ffmpeg-u...@jdlh.com wrote: > > On 2020-12-31 17:25, Mark Filipak (ffmpeg) wrote: > >> 1, Median? Really? (Or maybe really average?) > >> > >> For inputs = 239+15+15+15: > >> median = (239+15)/2 = 127 > >>