On 25/07/2025 15.45, Devin Heitmueller wrote:
> On Fri, Jul 25, 2025 at 1:22 PM Mark Filipak <markfilipak.i...@gmail.com> 
> wrote:
>> No, SAR is 32/27, so DAR is 16/9. FFmpeg should scale just the same as a
>> player does [note], and then pad to 1920x1080. FFmpeg appears to
>> mis-scale the RLE subtitles (i.e. dvdsub), or, at least, to get the new
>> run lengths wrong -- a guess because I have no way to actually see the
>> run length numbers. (You know, now that I'm thinking about it more, I
>> don't know whether the problem is with FFmpeg's scaling or with the
>> players.)
> 
> It would be helpful if you could provide an actual ffmpeg command line
> demonstrating what you're trying to do.  If you're just passing the
> dvdsub data through to the MP4 unmodified, then it's entirely possible
> that it's just the player that doesn't know how to render them over
> 16:9 video.
> 
> Devin

Oh, sure. But it reveals nothing much. _SOURCEva_ is 1920x1080, up from
720x480. _SOURCEs_ is 720x480, '-map 1:s -c:s dvd_subtitle' are the only
options involving subtitles and there's no scaling... But the subtitles
in _TARGET_ are 'fat'. :-)

set _PATH_=c:\work\
set _NAME_=VANTAGE POINT [2008]
if exist "%_PATH_%%_NAME_%_.mp4" pause
rename "%_PATH_%%_NAME_%.mp4" "%_NAME_%_.mp4"
set _SOURCEva_=%_PATH_%%_NAME_%_.mp4
set _SOURCEs_=%_PATH_%%_NAME_%.mkv
set _TARGET_=%_PATH_%%_NAME_%.mp4
set _STANDARD_PREP_=-analyzeduration 500000000 -probesize 500000000
-start_at_zero -copyts -dn
set _NO_CAPTIONS_=filter_units=remove_types=6
ffmpeg %_STANDARD_PREP_% -r:v 24000/1001 -i "%_SOURCEva_%" -i "%_SOURCEs_%"^
 -bsf:v "%_NO_CAPTIONS_%"^
 -map 0 -c copy^
 -map 1:s -c:s dvd_subtitle^
 "%_TARGET_%"

I hope my script doesn't bother you. I call it a factory. It works for
me. I used to save then as command scripts. Now I open them in a text
editor and just swipe-n-paste into a terminal window.

_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to