Menu

#91 Crop Filter disable SAR setting (x265)

2.6.11
open
nobody
None
1
2019-04-04
2019-04-04
No

I have a video with 64/45 SAR. ffprobe on the input:

Stream #0:0[0x944]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, top first), 720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
Everything works fine when I just convert the video.
Stream #0:0(und): Video: hevc (Main) (hev1 / 0x31766568), yuv420p(tv), 720x576, 440 kb/s, SAR 64:45 DAR 16:9, 25 fps, 25 tbr, 25k tbn, 25 tbc (default)

Now I add a crop filter

adm.addVideoFilter("crop", "top=42", "bottom=42", "left=0", "right=0", "rubber_is_hidden=False")

The output then no longer has a SAR value set:

Stream #0:0(und): Video: hevc (Main) (hev1 / 0x31766568), yuv420p(tv), 720x492, 395 kb/s, SAR 1:1 DAR 60:41, 25 fps, 25 tbr, 25k tbn, 25 tbc (default)

Discussion


Log in to post a comment.