Avidemux Forum

Avidemux => Main version 2.6 => Topic started by: Jan Gruuthuse on December 11, 2017, 03:50:24 AM

Title: Fixed: Auto dvd function broken
Post by: Jan Gruuthuse on December 11, 2017, 03:50:24 AM
swsResize filter applied:
QuoteswsResize
sxwscale Resize: 1280x720 => 1280x720, algo 2

Add Borders
Add Border: Left:0 Right:0 Top:72=> 1280x864

Whilst saving (Mpeg-PS Muxer (ff) avidemux protests:
Quote[Mismatch]
Bad Width/height for DVD

Destination Video Format stays in 720p format 1280 x 720
and should be a conversion to 576i 720 × 576

My wild guess, somewhere display format was adopted recently with current result.
Perhaps here: [muxerMp4] Add config options to specify pixel aspect ratio, disguised as usual DAR values (https://github.com/mean00/avidemux2/commit/9056cebade4e4a59cd8108a4098ebd2f2dc1ba1e)

or around that time period?
Title: Auto svcd function broken
Post by: Jan Gruuthuse on December 11, 2017, 03:53:29 AM
Quote[Mismatch]
Bad Width/height for SVCD
Title: Auto vcd function broken
Post by: Jan Gruuthuse on December 11, 2017, 03:55:02 AM
Quote[Mismatch]
Bad Width/height for VCD
Title: Re: Auto dvd function broken
Post by: eumagga0x2a on December 11, 2017, 08:24:30 AM
It was a fallout from [resize] Make lock aspect ratio checkbox state persistent (https://github.com/mean00/avidemux2/commit/6c5d1de4d6e88f5e38f11cd0ae4b8c84d31a09a7#diff-7a9c95dd0eba2040377b40b72647d054) and [resize] Add more items to the list of pixel aspect ratio values, default to square pixels (https://github.com/mean00/avidemux2/commit/a35e841872c02687dc179ad629ae9f55a6152822).

Should be fixed by [autoScripts] Update to the new swscale filter API (https://github.com/mean00/avidemux2/commit/cb0da58b6182385143d1b59d28a7b093ecf0f8eb), thanks for noticing.
Title: Re: Auto dvd function broken
Post by: Jan Gruuthuse on December 11, 2017, 08:46:49 AM
thanks
Title: Re: Auto dvd function broken
Post by: Jan Gruuthuse on December 11, 2017, 09:10:45 AM
Perhaps better to add option when applying AutoDVD to remove Active filters or ask to do so?

When applied more then once, the settings/filters are compounded. Given weird results?
Title: Re: Auto dvd function broken
Post by: eumagga0x2a on December 11, 2017, 02:09:31 PM
Yes, I noticed this while trying to fix "widescreen" mpeg2 encoder setting being ignored. I'm not sure that the API allows to query already added filters while clearing all filters unconditionally may be unwanted and destructive.