@BosseB
These new videos refuse to play on the LG TV, it claims the files are invalid ...
This is, what happens, when the FFmpeg-Process was not closed properly with <q>, so that the mp4-File could not be finished.
Some Containers, like mp4, need
a Header and a Trailer (see FFmpeg's 'avformat_write_header()' and 'av_write_trailer()').
Without them, the generated File won't be valid (But then the File shouldn't be playable with other Players, of course).
Some other Containers, like AVI and MKV, don't need to be finished, so that they are playable, even if
the FFmpeg-Process was interrupted (brutally), means even if it was not closed properly.
Here some other Possibilities for not being playable...
The Device/Player does not support
a Codec and/or the Container.
Take 'ffprobe.exe' or the VLC-Player or
my FFmpeg-Player (-> press <i> = Info) to read out VideoData, and
check if Your Device/Player supports
all of them.
Or
Framerates higher than 25FPS (= Frames per Second) are not supported.
Or the VideoWidth and -Height must be
"Power of Two".
Or the
AspectRatio can not be arbitrary -> try Recording, e.g. with
scale=-2:720(BTW: The FFPlay4Laz-Player plays and optionally corrects anything
- Sorry, but had to repeat it, again.)
If not successful, record Your Screen with "safe" Codecs and Container, like
mpeg2/mpeg4 for Video, mp2/mp3 for Audio and AVI/MPG for the ContainerFormat.
"Safe" means in this Context, that any Player - even elder ones - should be able to play them.
If still unsuccessful, ask in a Forum, that is specifically related to FFmpeg-Questions, like
SuperUser.
('FFmpeg' does not have an own Forum.)
The videos grabbed from the screen are all much larger files
With ScreenRecording You will never obtain the Quality and CompressionRate of the original Video.
BTW:
According to the FFmpeg-LogFile, that You've posted
here, there is an
"USB Video Device" connected to Your System.
What is that "USB Video Device" ?
If the VideoStream is available there, try to record it from there. Maybe You get a better VideoQuality and better AV-Sync then.
The FFmpeg-CommandLine should be then:
-f dshow -i video="USB Video Device":audio="Stereo Mix (Conexant ISST Audio)" -vcodec libx264 -pix_fmt yuv420p "grabbed.mp4"