-vf setbar="Cheers", setcar="Cadillac" etc.
+ Reply to Thread
Results 31 to 40 of 40
-
-sar 16:15 didn't cause ffmpeg to set any aspect ratio when I tried it (720x576 video). I think it only specifies the input SAR, although the log file says:
Code:Reading option '-sar' ... matched as AVOption 'sar' with argument '16:15'.
Code:[Parsed_setsar_0 @ 0000000019936940] w:720 h:576 sar:0/1 dar:5/4 -> sar:16/15 dar:4/3 . [rawvideo @ 0000000019840340] PACKET SIZE: 622080, STRIDE: 1080 [libx264 @ 0000000000b8b340] using SAR=16/15
Code:[Parsed_setdar_0 @ 0000000019536880] w:720 h:576 dar:5/4 sar:0/1 -> dar:4/3 sar:16/15 . [rawvideo @ 0000000019440240] PACKET SIZE: 622080, STRIDE: 1080 [libx264 @ 0000000000b8b340] using SAR=16/15
Code:Applying option aspect (set aspect ratio (4:3, 16:9 or 1.3333, 1.7777)) with argument 4:3. . [rawvideo @ 0000000019670140] PACKET SIZE: 622080, STRIDE: 1080 [libx264 @ 0000000000b8b2c0] using SAR=16/15
Last edited by hello_hello; 22nd May 2025 at 17:08.
Avisynth functions Resize8 Mod - Audio Speed/Meter/Wave - FixBlend.zip - Position.zip
Avisynth/VapourSynth functions CropResize - FrostyBorders - CPreview (Cropping Preview) -
-
-
-
Avisynth functions Resize8 Mod - Audio Speed/Meter/Wave - FixBlend.zip - Position.zip
Avisynth/VapourSynth functions CropResize - FrostyBorders - CPreview (Cropping Preview) -
Sure.
The difference is that we are in the contest of Analog Captures, needing cropping/masking.
When you specify the PAR (if supported by the players) you can croop by any amount without taking care of adjusting the proportions.
If you specify the DAR (supported by almost everything) you cannot crop by any amount without compensate to keep the right proportions.
We talked about that many times -
I was simply trying to discover why you've said specifying a DAR is supported by almost everything while specifying a SAR/PAR may not be supported, when either way ffmpeg writes the same SAR/PAR to the video stream and the same corresponding DAR to the container (I'm not sure if a DAR or SAR is written to an MP4 container, but it's the DAR for MKV).
Avisynth functions Resize8 Mod - Audio Speed/Meter/Wave - FixBlend.zip - Position.zip
Avisynth/VapourSynth functions CropResize - FrostyBorders - CPreview (Cropping Preview) -
Absolutely agree — the distinction between SAR (or PAR) and DAR becomes really important when you’re dealing with cropping or masking during post-processing. Setting the PAR means you can freely crop or mask the edges without having to manually recalculate or adjust the aspect ratio each time, since the pixel aspect ratio handles the proportional scaling for you.
On the other hand, if you only set DAR, then any cropping you do will throw off the displayed image proportions unless you also adjust the DAR accordingly, which can get tedious and error-prone. So for workflows involving lots of trimming or masking, relying on SAR/PAR gives you a lot more flexibility and keeps your video looking correct without extra math every time you tweak the frame.
This is especially handy when working with analog captures or non-square pixels where the storage resolution and display aspect ratio don’t match naturally. Overall, it’s a subtle but crucial point that can save a ton of headaches in video restoration and editing projects. -
Originally Posted by Henry
On the other hand, if you crop to 4:3 each time and export using as SAR of 1:1/square pixels, you will always have a full, correctly proportioned 4:3 screen. Handling the maths becomes easy after you've done it a few times.
Similar Threads
-
Looking for simple H.264 editor and smart renderer
By Rinka_CA in forum EditingReplies: 9Last Post: 17th Oct 2024, 09:45 -
Keep 720x480 resolution or scale to 720x540?
By Wallabee19 in forum Newbie / General discussionsReplies: 4Last Post: 4th Oct 2024, 02:05 -
Why does NTSC video usually get captured at a resolution of 720x480?
By Videogamer555 in forum Capturing and VCRReplies: 77Last Post: 21st Jul 2023, 14:31 -
Why can't Virtualdub Smart render two x264 clips?
By seanmcnally in forum Video ConversionReplies: 4Last Post: 16th Sep 2021, 10:06 -
.mpd stream to a viewable stream
By anwarica in forum Video Streaming DownloadingReplies: 3Last Post: 9th Jul 2020, 18:55