[FFmpeg-user] Blinking red

2022-01-05 Thread Kai Hendry
Hi there, Tried to make a screen cast this morning, but the result is flashing red? https://s.natalian.org/2022-01-06/vscode-span.mp4 https://s.natalian.org/2022-01-06/vscode-span.log Any ideas what I am doing wrong? Thank you in advance, ___ ffmpeg-us

[FFmpeg-user] Screen cast audio is not in sync

2021-02-21 Thread Kai Hendry
Hi there, How do I prevent my audio going out of sync with my screen capture please? https://s.natalian.org/2021-02-22/update-chart.log https://s.natalian.org/2021-02-22/update-chart.mp4 Perhaps it's an issue with my USB microphone? https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues

[FFmpeg-user] Works in ffmpeg-git, doesn't in ffmpeg 1:4.2.2-5

2020-04-06 Thread Kai Hendry
For several months as an Archlinux user, kms screen capture has been broken in the standard ffmpeg package. [h264_vaapi @ 0x55f36423d5c0] Pick nothing to encode next - need more input for reference pictures. [hwmap @ 0x55f364244000] Filter input: drm_prime, 2560x1440 (60557866). [AVHWFramesConte

Re: [FFmpeg-user] Archlinux update breaks kmsgrab: Failed to get plane resources: Permission denied

2020-02-13 Thread Kai Hendry
Hi, Just to follow up, I think I have it working again and the permission errors have fallen away with 5.5.2-arch1-1 and perhaps some other package update. After much back and forth it would appear the `-crtc_id 48` was causing the initial issue with vaapi_device /dev/dri/renderD128. [kmsgrab @

Re: [FFmpeg-user] Archlinux update breaks kmsgrab: Failed to get plane resources: Permission denied

2020-02-06 Thread Kai Hendry
Replying to https://ffmpeg.org/pipermail/ffmpeg-user/2020-February/046699.html Didn't manage to configure mailman correctly to just send replies to my email post. I created another "Capture the screen from the first active KMS plane" [1] without the hide banner switch. 1. https://s.natalian.org

[FFmpeg-user] Archlinux update breaks kmsgrab: Failed to get plane resources: Permission denied

2020-02-05 Thread Kai Hendry
Hi there, For sometime I've been happily using kmsgrab to make screencasts on my Archlinux Xorg desktop. https://github.com/kaihendry/recordmydesktop2.0/blob/9825a44d886318d78463c0a602681c0c7931cf83/x11capture#L71 But then it broke after a reboot as described here: https://www.reddit.com/r/ffmp

Re: [FFmpeg-user] kmsgrab on Intel 8th generation aka h/w accelerated screen capture

2018-06-25 Thread Kai Hendry
Thanks for the sudo setcap cap_sys_admin+ep /path/to/ffmpeg tip. It indeed works. https://github.com/kaihendry/recordmydesktop2.0/commits/kms Unfortunately kmsgrab seems to lag for me: https://s.natalian.org/2018-06-26/1529976937.mp4 And sometimes is unreliable: https://s.natalian.org/2018-06-26

Re: [FFmpeg-user] kmsgrab on Intel 8th generation aka h/w accelerated screen capture

2018-06-24 Thread Kai Hendry
On Mon, 25 Jun 2018 at 09:49, robertlazarski wrote: > That command worked for me though of course without your external dep. You managed to record sound with your kmsgrab? Not sure what you mean by external dep! ___ ffmpeg-user mailing list ffmpeg-user@

[FFmpeg-user] kmsgrab on Intel 8th generation aka h/w accelerated screen capture

2018-06-24 Thread Kai Hendry
Hi ffmpeg users, Sorry I initially posted my question here: https://www.reddit.com/r/ffmpeg/comments/8tgejw/kmsgrab_on_intel_8th_generation_aka_hw/ Via https://trac.ffmpeg.org/wiki/Hardware/VAAPI#ScreenCapture I discovered kmsgrab which astonishingly doesn't seem to drop frames or over heat my T4

Re: [FFmpeg-user] h264_vaapi missing frames

2018-03-27 Thread Kai Hendry
Actually I spoke too soon. It's definitely dropping frames still. For example. https://s.natalian.org/2018-03-28/1522205981.mp4.log https://s.natalian.org/2018-03-28/1522205981.mp4 ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mai

Re: [FFmpeg-user] h264_vaapi missing frames

2018-03-25 Thread Kai Hendry
On 23 March 2018 at 21:12, Mark Thompson wrote: > This is still duplicating a very large number of frames for video sync. As > suggested previously, please try with video sync disabled ("-vsync 0") or > without audio. https://s.natalian.org/2018-03-25/vsync.mp4.log https://s.natalian.org/2018-

Re: [FFmpeg-user] h264_vaapi missing frames

2018-03-23 Thread Kai Hendry
On 23 March 2018 at 14:06, Erik Dobberkau wrote: > If you only capture a fraction of the frames your device is actually > producing without motion blending, isn't that to be expected? A fraction of the frames? I should iiuc be capturing at 30 fps. I am not quite sure how to tell how much is being

Re: [FFmpeg-user] h264_vaapi missing frames

2018-03-22 Thread Kai Hendry
Thank you Moritz! Damn, I feel like a fool. ;) Unfortunately Mark's suggestion doesn't seem to have an impact. As you hopefully can see here: https://s.natalian.org/2018-03-23/1521768226.mp4 The mouse still doesn't move smoothy across the screen. Hence I feel it's dropping frames! https://s.nat

Re: [FFmpeg-user] h264_vaapi missing frames

2018-03-21 Thread Kai Hendry
On 21 March 2018 at 19:17, Mark Thompson wrote: > If that doesn't work then I suggest reducing the test case to find which > parts are causing the problem - e.g. try without audio, using libx264 instead > of VAAPI, without extra video sync ("-vsync 0"). Thanks! Will give it a shot. > Aside: t

Re: [FFmpeg-user] h264_vaapi missing frames

2018-03-20 Thread Kai Hendry
Hi Mark, On 20 March 2018 at 17:58, Mark Thompson wrote: > Show your command line? The pts values in that file are quite uniform, > suggesting that you've forced the output to be treated as if it is 30/1001 > fps even if it isn't. The status line also says "frame= 529 ... dup=430", > which

Re: [FFmpeg-user] h264_vaapi missing frames

2018-03-19 Thread Kai Hendry
Thanks Dennis for the suggestion! On 20 March 2018 at 10:54, Dennis Mungai wrote: > Have you tried using the restream option? > ffmpeg -re -i capture_device -vaapi_device /dev/dri/renderD128 > -movflags +faststart > -vf 'format=nv12|vaapi,hwupload' -c:v h264_vaapi {$encoder_opts} outputfile. I d

[FFmpeg-user] h264_vaapi missing frames

2018-03-19 Thread Kai Hendry
Hi there, With my brand new Intel 8th gen laptop (Intel Corporation UHD Graphics 620 (rev 07) with 8 core Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz on Archlinux, I thought I'd experiment with hardware accelerated capture as opposed to my normal 2-step approach of 1) recording to mkv https://github.

Re: [FFmpeg-user] Transcoding foscam mkv to mp4 is resulting in larger files

2015-09-13 Thread Kai Hendry
On 13 September 2015 at 12:24, Steve Boyer wrote: > Put the "-c:a copy -c:v copy" to copy the streams and not transcode and it > worked fast (778 fps) and plays fine with ffplay and VLC. MPlayer plays it > at an insane FPS. Stats on the resulting file: Thanks Steve, I didn't realise a 'copy' was

Re: [FFmpeg-user] Transcoding foscam mkv to mp4 is resulting in larger files

2015-09-13 Thread Kai Hendry
On 13 September 2015 at 12:40, Lou wrote: > All relevant info should be placed within the message, and debug output > is usually too verbose (unless it is specifically requested). It's hard enough to use FFREPORT=file=/tmp/htmlvideo.log:level=32 and now I need to selectively paste in the output?

[FFmpeg-user] Transcoding foscam mkv to mp4 is resulting in larger files

2015-09-12 Thread Kai Hendry
Hi guys, The Input #0, mpeg transcoding into mp4 (for iPhone playback via Safari) is resulting in up 3x larger files. Why is that? ffprobe of a typical MKV input file: http://ix.io/kLm The ffmpeg log: http://ix.io/kMw Sidenote: Found I had to put in a frame rate of 30 else things wouldn't work.

Re: [FFmpeg-user] HLS one liner from /dev/videoX

2015-04-30 Thread Kai Hendry
On 30 April 2015 at 17:21, Tom Evans wrote: > What is missing (and the only thing that is really required) is the > full command line that you used to invoke ffmpeg, and the console > output that invocation of ffmpeg produced, presented as inline in the > email. No attachments, no externally linke

Re: [FFmpeg-user] HLS one liner from /dev/videoX

2015-04-30 Thread Kai Hendry
On 30 April 2015 at 15:38, Moritz Barsnick wrote: > Yes. You have too many links to external stuff (tarballs, logs [why not > attached here?], various scenarios, various requests, and it's unclear > what the problem is. Whoa, I try to be as detailed as possible and then I get criticized for inclu

[FFmpeg-user] HLS one liner from /dev/videoX

2015-04-29 Thread Kai Hendry
Hi guys, I've received an answer on http://stackoverflow.com/a/29952909/4534 which doesn't work for me. I am simply trying to create a browser friendly stream in my LAN from my /dev/video1 device. Here is the report log: http://s.natalian.org/2015-04-30/ffmpeg-20150430-102645.log http://ix.io/icO

Re: [FFmpeg-user] FFMPEG compatible hardware?

2015-03-13 Thread Kai Hendry
On 13 March 2015 at 16:53, Moritz Barsnick wrote: > HDMI inputs. Here's one I randomly picked from their website (well, it > looked like the "smallest" one with HDMI input): > https://www.blackmagicdesign.com/products/decklink/techspecs/W-DLK-06 Ah, didn't know about these. But since they don't h

[FFmpeg-user] FFMPEG compatible hardware?

2015-03-13 Thread Kai Hendry
Forgive me if this is wrong place to ask such questions. I've been trying to work out what capture hardware can get HDMI video into a usable format for manipulating with FFMPEG on my Linux system. I've compiled my research so far upon: http://natalian.org/archives/2015/03/13/HDMI_in/ I seem lim

Re: [FFmpeg-user] ffvhuff mkv playback issues and odd coloured artefacts

2015-03-04 Thread Kai Hendry
On 4 March 2015 at 18:15, Christoph Gerstbauer wrote: > which -pix_fmt (pixelformat) does your recorded ffvhuff have? I cant see a > syntax setting for the pixel format in your video. I didn't have one defined https://github.com/kaihendry/recordmydesktop2.0/commit/0405b25a5c7a5673dfdc46590c4cdde3

Re: [FFmpeg-user] ffvhuff mkv playback issues and odd coloured artefacts

2015-03-04 Thread Kai Hendry
Thanks to "relaxed" on the IRC channel: On 4 March 2015 at 10:46, Kai Hendry wrote: > So using ffmpeg 1:2.5.4-1 and mplayer 37353-1 from Archlinux, I'm now > unable to playback the intermediate mkv files without stuttering. Solution: Use ffplay or mpv instead of mplayer &g

[FFmpeg-user] ffvhuff mkv playback issues and odd coloured artefacts

2015-03-03 Thread Kai Hendry
Hi there, I wrote a simple ffmpeg based script to make screencasts https://github.com/kaihendry/recordmydesktop2.0/blob/master/x11capture It's worked well from my Thinkpad X220, but after switching to a new Thinkpad X1 Carbon 3 with a larger 1920x1080 screen, I'm having two issues that I've attemp