Commit Graph

15 Commits

Author SHA1 Message Date
Andrey Skvortsov
c8e0808ea5 flatpak: auto-detect x264 gstreamer plugin
due to patent and licensing problems x264 gstreamer plugin isn't
included in flatpak runtime. Use openh264 encoder is x264 encoder is
missing.

openh264 takes bitrate in bits per second and x264 takes bitrate in
kbits per second.
2025-04-08 22:51:27 +00:00
Andrey Skvortsov
53854bdf73 mpegize: add support for dcraw_emu 2025-04-08 22:51:27 +00:00
Andrey Skvortsov
15a999cb87 mpegize: fix double % in output
since there is no format output here double percents are not needed.
2025-04-08 22:51:27 +00:00
Andrey Skvortsov
8282b4eaca mpegize: force to remove non-empty subdirectories
os.rmdir doesn't remove non-empty directories. m.base/sm subdirectory
contains audio-samples, that were not removed after video is created.
2025-04-08 22:51:27 +00:00
Andrey Skvortsov
978680e5c6 mpegize: remove processed raw files
raw files are save in tmpfs and consume RAM, to avoid extra
RAM-pressure remove these files after they are processed and not
needed anymore.
2025-04-08 22:51:27 +00:00
Pavel Machek
8ba6d0b96b mpegize: fix dng mode 2024-08-31 17:06:28 +00:00
Pavel Machek
8d74a7da06 rmdir can be easily done without calling the shell. 2024-05-10 22:07:28 +02:00
Pavel Machek
48a4b8db2a Get rid of fragile recursive rm, move cleanup to mpegize. This way
"mpegize stop" does not have to wait for "mpegize start".
2024-05-10 10:19:56 +02:00
Pavel Machek
b77064dda0 Start encoding while the recording is running in the YUV case. This
allows "unlimited" video length. PinePhone OG is able to do the
encoding with ~180% CPU use.
2024-05-10 10:19:50 +02:00
Pavel Machek
1395f823a0 Pass start/stop down to mpegize script. 2024-05-10 10:11:07 +02:00
Pavel Machek
0e8adec2a3 Display progress while encoding movie. 2024-05-07 15:59:40 +02:00
Pavel Machek
bc9085ffad Pass dng/grw mode down to mpegize. 2024-05-06 22:18:45 +02:00
Pavel Machek
a3dea3503d Switch to gstreamer for video encoding
This will enable better progress indication, and on-line recording in
future.
2024-05-06 13:56:07 +02:00
Pavel Machek
950d11fd96 Use Python version of Jpegize as a preparation 2024-05-06 13:56:04 +02:00
Pavel Machek
fcba2b33c2 Add support files that will be used for video recording. 2024-04-30 18:09:42 +00:00