summaryrefslogtreecommitdiff
path: root/ar
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-10-05 22:40:03 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-10-05 22:40:03 +0900
commitc6986c452a1938195ea3c1290e9444015f7e20ee (patch)
treef0d83e4615ebd3f3885b0ceaa61e1fb95fd0cead /ar
parentaff1bd6ae803c0e735d3a854ecfd68213c95d4bb (diff)
modified bin/dvdburn
Diffstat (limited to 'ar')
-rwxr-xr-xar/.local/bin/dvdburn5
1 files changed, 1 insertions, 4 deletions
diff --git a/ar/.local/bin/dvdburn b/ar/.local/bin/dvdburn
index 0e78b83..35760a8 100755
--- a/ar/.local/bin/dvdburn
+++ b/ar/.local/bin/dvdburn
@@ -13,16 +13,13 @@ if [ ! -f "$input_file" ]; then
exit 1
fi
-# Set default VIDEO_FORMAT if not provided
-VIDEO_FORMAT="${VIDEO_FORMAT:-PAL}"
-
# Create temporary directory for DVD structure
tmp_dir=$(mktemp -d)
echo "Temporary directory created: $tmp_dir"
# Convert MP4 to DVD-compatible MPEG-2 format
echo "Converting $input_file to DVD-Video format ($VIDEO_FORMAT)..."
-ffmpeg -i "$input_file" -target "$VIDEO_FORMAT"-dvd -vf scale=720:576 -aspect 16:9 "$tmp_dir/video.mpg"
+ffmpeg -i "$input_file" -target ntsc-dvd -aspect 16:9 "$tmp_dir/video.mpg"
# Create DVD file structure
echo "Creating DVD file structure..."