Commit graph

194 commits

Author SHA1 Message Date
Luna
8b041f0725 Add DVD encode profiles and subtitle hardsub burn-in
Introduce three project-level DVD encode profiles (Compatibility 4500k /
High quality VBR / Custom) via new config keys, and burn a chosen
embedded subtitle track into the picture:

- file_movie carries the hardsub selection (index/kind), persists it, and
  builds a subtitle-picker combobox in its properties page; set_final_rates
  maps the profile to the final video/audio bitrate.
- ffmpeg burns text subs with the subtitles= filter after scaling and image
  subs with an overlay filtergraph before scaling; NTSC DVD audio is now AC3
  for all profiles. A start_offset (-ss) is threaded through for segmenting.
- avconv gets the text-sub path and start_offset for parity.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-02 12:45:36 -07:00
Luna
a158119d41 Detect embedded subtitle tracks in analyzers
Add a subtitle branch to the ffprobe/avprobe stream loops that collects
each embedded subtitle track (index, codec, language, title, default/
forced flags) and classifies it as text or image by codec. This is the
basis for letting the user pick a track to burn into the picture.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-02 00:39:13 -07:00
Sergio Costas
739beb853c Fix Fedora
Fedora doesn't support importlib_metadata; instead it uses
importlib.metadata. Since it works in everything else, the
change is sensible.
2026-02-19 19:45:53 +01:00
Sergio Costas
27e4ff04eb Remove pkg-config
pkg-config has been removed, so importlib.metadata should be used
instead.
2026-02-15 20:05:31 +01:00
Sergio Costas
18fa425dd9 Update the license comments 2025-08-29 18:26:12 +02:00
Sergio Costas
9bd6d94c6c Change to menu defaults if files not found on open
When opening an old devede project, if the background picture or
music files aren't there, an exception would happen. This can
happen even with the defaults, because in the last version, they
were migrated into a different folder.

Now, if the files aren't found, the new defaults will be used.
2025-02-08 19:57:43 +01:00
AsciiWolf
0be36de127 Add developer tag to AppStream metadata
To make the metadata compatible with future AppStream standard version
2025-01-25 11:10:08 +00:00
Sergio Costas
13a38f5e76 Fixed translations 2025-01-18 21:35:43 +01:00
Sergio Costas
887e0b17c0 Trying to fix the translations 2025-01-18 21:04:40 +01:00
Sergio Costas
eebf4b5370 Use regexp to detect version number 2025-01-18 20:41:52 +01:00
Sergio Costas
f92e52a4af Ensure translations are included in .deb
Also fix debug and required programs dialogs, ensuring that all
the text is shown.
2025-01-05 15:09:53 +01:00
Sergio Costas
31a6da7f01 Migrate to pyproject.toml 2024-12-21 23:20:22 +01:00
Sergio Costas
668be31105 Better check 2024-08-13 23:23:27 +02:00
Sergio Costas
a959d120cc Remove FIFO filter
It has been removed from ffmpeg
2024-08-13 22:17:52 +02:00
Rastersoft
a84aea081b Fix error when duration is N/A 2023-12-17 20:28:25 +00:00
Sergio Costas
cf386691b0 Fixed non translated string 2022-11-17 14:11:09 +01:00
Sergio Costas
949684b55d Add support for rotated videos 2022-03-02 15:03:12 +00:00
Sergio Costas
568271ee80 Revert "test"
This reverts commit dc6b805fe6.
2021-11-07 17:51:42 +01:00
Sergio Costas
dc6b805fe6 test 2021-09-13 21:04:50 +02:00
CoopCoding
b4c198b0ef Refactored getting cores count to be work cross platform. 2021-06-25 12:35:09 +10:00
Sergio Costas
6fb3a369cd general: added HEVC support 2019-10-15 00:26:37 +02:00
Sergio Costas
501e8aac48 general: removed the "or any later version" statement
After the events happened recently in the management of the FSF,
I decided that it is safer to not rely on the good faith of other
people, so I decided to allow distribution of Devede only under
the current GPLv3 license, and not allow other, still unknown,
future versions of the license.
2019-10-13 18:18:11 +02:00
Sergio Costas
0cdb5934a5 Now uses the menu title as the volume name
This patch uses the menu title as the volume name for the DVD image.
This way, when mounted in a computer, instead of "DVDVIDEO", the user
will see the menu title (unless there is no menu title; in that case,
"DVDVIDEO" will be used).
2019-07-21 18:33:02 +02:00
Geoff Beier
8eb2d5cf95 use store_element() and restore_element() in on_button_accept_clicked
In file_movie.on_button_accept_clicked() file_movie.store_file() and
restore_file() are called. These methods don't exist; it looks like the
intent was to call store_element() and restore_element().

Testing confirms this; properties are now applied to all the selected
files.

Fixes Issue #79
2019-07-20 22:26:21 -04:00
Sergio Costas
a22a0a3c60 fix code style 2019-02-04 23:14:00 +01:00
Sergio Costas
b46d897e4d Move the configuration into XDG_CONFIG_HOME
This patch stores the configuration data inside XDG_CONFIG_HOME instead
of doing it directly inside $HOME. Of course, it has backwards
compatibility, using the old file if the new doesn't exists.
2019-02-04 23:12:39 +01:00
Sergio Costas
5e64ed7693 Removed unused line 2019-01-06 19:14:59 +01:00
Sergio Costas
0162267bfa Ensure that all entries are shown in the menu
There were two errors in the menu generation:

- if there were no page jumps, the number of pages was always "one"
- in each page, one entry was missing (except for the first page,
where two entries were missing).

This patch fixes both
2019-01-06 19:08:54 +01:00
Sergio Costas
0c52e14115 Keep backwards compatibility with old files
Due to an error, old devede files can't be opened with this version.
This patch fixes it.
2019-01-06 19:08:13 +01:00
Sergio Costas
f2301c7b19 Now the separator type is consistent from the begining
Due to an error, by default the separators where created as
"page jump" type, but it wasn't honored unless the checkbox was ticked
and unticked again.
2019-01-06 19:06:59 +01:00
Sergio Costas
f8227c1be8 removed unused prints 2019-01-04 12:41:02 +01:00
Sergio Costas
6d1b166f2d Added support for page blocks in menues
Now allows to add separators in the menu that forces a page jump,
allowing to group videos in pages.
2019-01-04 12:37:04 +01:00
Sergio Costas
c222c4ab14 Allow to add separator
Until now, all the menu entries were shown in a continuous list, one
after another. This patch allows to add separators between entries.
2019-01-03 23:18:59 +01:00
Sergio Costas
8719778d22 Add projects to Recent files in GTK
Now, when a Devede project is opened or saved, it is added to the list
of Recent files, thus being shown there when choosing to open a project.
2019-01-02 23:25:45 +01:00
Sergio Costas
3a532f504a Replace EVAL and EXEC
In the old code, eval() and exec() were used to insert properties in
an object with an specific name. This is clearly an ugly solution,
when the right way is to use self.__setattr__ and self.__dict__.

This patch replaces that ugly code with new one that follows the
pythonic way of doing the things.
2019-01-02 22:47:09 +01:00
Sergio Costas
f0893b3ff7 Now adjusts the audio bitrate to ensure that it is legal for MP2 2018-06-28 01:00:40 +02:00
Sergio Costas
5c6b98647b Added experimental support for 16:9 menues 2018-05-01 20:47:27 +02:00
Sergio Costas
e70bca519b Added support for xfburn 2018-05-01 18:57:46 +02:00
Sergio Costas
8a68f263c3 Fixed the audio duration in the menu.
If a custom audio is used in the DVD menu, it will last the duration of the custom audio, not only 30 seconds.
2018-04-29 16:09:54 +02:00
Sergio Costas
6b3b7ccf81 Added extra checks for odd aspect ratios 2018-03-24 13:54:27 +01:00
Sergio Costas
8dfa31ea25 Added check to avoid division by zero when the aspect ratio is zero 2018-02-04 18:23:41 +01:00
Sergio Costas
98ddf8d04c Now sets transient for settings window 2017-12-03 11:50:09 +01:00
Sergio Costas
0b677edd1c Removed minrate during second pass when using two-pass encoding because it fails with ffmpeg 2017-11-26 19:42:34 +01:00
Sergio Costas
46da595b05 Fixed bug when there is no cd burner installed 2017-07-10 22:38:19 +02:00
Sergio Costas
4b21a1c3aa Fixed the same buf from mkisofs in genisoimage 2017-02-07 01:05:23 +01:00
Sergio Costas
2842a12644 Allows to translate and personalize the Play all text in the dvd menu 2017-01-29 21:35:33 +01:00
Harald Weiner
b25b7c6abd bug fix for issue #38 2017-01-09 10:09:16 +01:00
Sergio Costas
fdf7f148c1 Passed autopep8 2017-01-06 19:36:01 +01:00
Sergio Costas
27828d2dc5 Now uses the right minimum and maximum bitrate
Now sets the right file extension with Matroska and DivX files
2016-12-15 00:09:40 +01:00
Sergio Costas
020813cfe6 Fixed a bug when loading a project, due to the changes made in the last commit 2016-11-24 00:45:43 +01:00