Recent

Author Topic: NON(!)-EXE FFPlay4Laz  (Read 60288 times)

furious programming

  • Sr. Member
  • ****
  • Posts: 466
  • I click a little.
    • TreeStructInfo — format for text and binary configuration files
Re: NON(!)-EXE FFPlay4Laz
« Reply #120 on: August 11, 2020, 11:23:58 pm »
Gosh, I didn't even know there was a second thread too — sorry for off-topic.

Unfortunately, I tried FFmpeg and had a lot of problems. Either there was no desktop recorder, or the audio capture didn't work, or I was getting a tons of errors during recording. I had the biggest problem with recording a fragment of the desktop, which is on an additional monitor, with a negative X coordinate (the monitor is to the left of the main screen) — it's just imposible. I gave up.

Then I used the VLC player, because it can record the desktop and sound (although it is not intuitive), but I still had problems with the sound. Despite reinstalling the drivers, codecs and the VLC player itself, the problems could not be fixed... Finally, I record the gameplay using VLC (video) and Audacity (audio), and then merge both source files using ShotCut. It takes a little more work, but better this than nothing.
« Last Edit: August 11, 2020, 11:26:54 pm by furious programming »
Lazarus 2.0.10 with FPC 3.2.0 (SVN Revision 63526), Windows XP (all 32-bit)

metis

  • Full Member
  • ***
  • Posts: 192
Re: NON(!)-EXE FFPlay4Laz
« Reply #121 on: August 13, 2020, 12:31:49 pm »
@furious programming

Did the FFmpeg-CommandLines, that I've posted work for You ?

Quote
I tried FFmpeg and had a lot of problems.
You are not alone with this.

Quote
with a negative X coordinate...it's just imposible.
Negative X/Y-Coordinates result in an Error, which is shown in the CLI's Output.

Quote
Then I used the VLC player, ...
IMHO 'VLC' is too slow for Playing and too complicated for Recording with Sound.

Quote
Despite reinstalling ..., codecs and the VLC player itself, ...
If You use 'FFmpeg' directly, no further Installations are needed -> much easier.

Most Apps, that I've found for ScreenRecording or Converting are nothing else than
Wizards, which compose a CommandLine and pass it to...FFmpeg, that's all.
So, if You know, how to use the FFmpeg-CommandLines, You won't need anything else.
There are lots of WebPages to show, how to do it, mostly for C-Programming, but
hey, the CommandLines are the same with FPC.

Please, put further Posts, that are not related to Streaming/Playing with 'FFmpeg' into
my FFGrab4Laz-Thread. I started it, because the Code and CommandLines for
Recording/Converting are totally different from Streaming/Playing, so
it's better not to merge the two Subjects.

BTW (if not found yet): FFInfo4Laz = Read out MediaFile-Data with FFmpeg-LIBs is here:
https://forum.lazarus.freepascal.org/index.php/topic,22038.msg208700.html#msg208700
-> Download attached 'FFStreamInfo.lpr.txt'.
Or use RunFFmpeg's [Info] resp. FFmpeg's CommandLine-Tool 'ffprobe.exe', like:
ffprobe.exe -i "input.mp4" -report -hide_banner

Now, You got all my 'FFmpeg for Lazarus/FPC' related Projects.  :)
« Last Edit: August 18, 2020, 04:44:30 pm by metis »
Life could be so easy, if there weren't those f*** Details.

 

TinyPortal © 2005-2018