Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 AVC / H.264

Reply
 
Thread Tools Search this Thread Display Modes
Old 7th April 2020, 09:35   #1  |  Link
Habanero2
Guest
 
Posts: n/a
Lossless Screencast with Audio on Linux

Hi,

i want to create a screencast from a video and tried this command line from here https://trac.ffmpeg.org/wiki/Capture/Desktop

Code:
ffmpeg -video_size 1920x1080 -framerate 25 -f x11grab -i :0.0+100,200 -f pulse -ac 2 -i default output.mkv
This results in a stuttering video after 30sec and there are a lot of error messages in the terminal window. When i try the command line at the end of the side it works better but its video-only

Code:
ffmpeg -video_size 1920x1080 -framerate 25 -f x11grab -i :0.0 -c:v libx264 -crf 0 -preset ultrafast output.mkv
I can't record video and audio together. when i bring audio and video together

Code:
ffmpeg -video_size 1920x1080 -framerate 25 -f x11grab -i :0.0 -c:v libx264 -crf 0 -preset ultrafast -f pulse -ac 2 -i default output.mkv
i have the error

Code:
Unknown decoder 'libx264'
How can i record lossless video with lossless audio?

EDIT
What is the correct framerate in the command line? my computer is connected to the display with displayport running with 75hz. Do i need to capture with 75fps?
  Reply With Quote
Old 8th April 2020, 18:35   #2  |  Link
Blue_MiSfit
Derek Prestegard IRL
 
Blue_MiSfit's Avatar
 
Join Date: Nov 2003
Location: Los Angeles
Posts: 5,989
Move the -i default to before -c:v libx264
Blue_MiSfit is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 00:33.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.