Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When using ffmpeg to record the screen, the screen jitters #145

Open
songsen opened this issue Dec 11, 2020 · 5 comments
Open

When using ffmpeg to record the screen, the screen jitters #145

songsen opened this issue Dec 11, 2020 · 5 comments

Comments

@songsen
Copy link

songsen commented Dec 11, 2020

When using ffmpeg to record the screen, the screen jitters

./ffmpeg -framerate 30 -f dshow -i video="screen-capture-recorder" -vcodec h264_qsv dshowcapture.mp4 -y 
@rdp
Copy link
Owner

rdp commented Dec 12, 2020 via email

@songsen
Copy link
Author

songsen commented Dec 14, 2020

What about different vcodec?
On Friday, December 11, 2020, Eason @.***> wrote: When using ffmpeg to record the screen, the screen jitters ./ffmpeg -framerate 30 -f dshow -i video="screen-capture-recorder"
-vcodec h264_qsv dshowcapture.mp4 -y
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.<
https://ci6.googleusercontent.com/proxy/Epcbs0dQePKwM9R3huOMjjaCGfcZt1YZuE_LRxuAZDlUc7Mb45gwJe_8IX237ln35okQ3rREVHLkTlyxmpYgDeoYwfpTvgQdDkIIqjnheC2GNWD9sMDvM0aHhSGyvJ_x8IzvwzWBSdIAmVdDNrcVzgc1kuKJp4a-rgt_ZXnEhVXetBb9p5Hkj20TVTtlb_iZGmJmAHW09nmqwqBIGnD-o59wNG4=s0-d-e1-ft#https://github.com/notifications/beacon/AAADBUFVY7NB73A52ALV2VTSUHWI3A5CNFSM4UWNBNK2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4LLOFHAQ.gif>

It is normal to use the following instructions

./ffmpeg -framerate 30 -f gdigrab -i desktop -vcodec h264_qsv dshowcapture.mp4 -y 

But using libx264 will encounter the same problem

./ffmpeg -framerate 30 -f dshow -i video="screen-capture-recorder" -vcodec libx264 dshowcapture.mp4 -y 

@rdp
Copy link
Owner

rdp commented Dec 14, 2020 via email

@songsen
Copy link
Author

songsen commented Dec 14, 2020

Same problem with gdigrab?
On Sunday, December 13, 2020, Eason @.> wrote: What about different vcodec? On Friday, December 11, 2020, Eason @.> wrote: When using ffmpeg to
record the screen, the screen jitters ./ffmpeg -framerate 30 -f dshow -i video="screen-capture-recorder"
-vcodec h264_qsv dshowcapture.mp4 -y — You are receiving this because you are subscribed to this thread. Reply
to this email directly, view it on GitHub, or unsubscribe.<
https://ci6.googleusercontent.com/proxy/Epcbs0dQePKwM9R3huOMjjaCGfcZt1YZuE_LRxuAZDlUc7Mb45gwJe_8IX237ln35okQ3rREVHLkTlyxmpYgDeoYwfpTvgQdDkIIqjnheC2GNWD9sMDvM0aHhSGyvJ_x8IzvwzWBSdIAmVdDNrcVzgc1kuKJp4a-rgt_ZXnEhVXetBb9p5Hkj20TVTtlb_iZGmJmAHW09nmqwqBIGnD-o59wNG4=s0-d-e1-ft#https://github.com/notifications/beacon/AAADBUFVY7NB73A52ALV2VTSUHWI3A5CNFSM4UWNBNK2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4LLOFHAQ.gif
It is normal to use the following instructions ./ffmpeg -framerate 30 -f gdigrab -i desktop -vcodec h264_qsv
dshowcapture.mp4 -y
But using libx264 will encounter the same problem ····shell ./ffmpeg -framerate 30 -f dshow -i video="screen-capture-recorder"
-vcodec libx264 dshowcapture.mp4 -y
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.<
https://ci6.googleusercontent.com/proxy/5v7NTLJ5qMRn9f8kh1p15guMDMvQJVFy3Oc1rbumLUl-R13xd4qVE9csQxYPgsPWXAV9Y7ld5Ub8RLUSPt5CeLfc4LL1n_0_49l_wpohfSY4TUpFmqfn6vhDUXY1cCNOJz0NBkeHIgwcFkjNPPwj6hRBYg-XKolCP_k3zATnjGAFirtT9c96gOlLoUx3dWUKJ4sloLmjsxOpW3AaSsf408QLwKFz7-wqMPEaL7Cefg=s0-d-e1-ft#https://github.com/notifications/beacon/AAADBUD3NX5IXG34OG6U7OTSUVYHDA5CNFSM4UWNBNK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFRNGXPI.gif>

No such problem

@rdp
Copy link
Owner

rdp commented Dec 15, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants