cultchristmas wrote: ↑04 Oct 2024, 01:48
1) Why does filebot change 552 to 480:
FileBot uses predefined thresholds to identify common video resolutions. Since 552 is closer to 480 than to 576, FileBot rounds it down and categorizes it as 480p. The standard definitions it follows are likely set to identify 720×480 (for NTSC) or 720×576 (for PAL) content. Handbrake may have applied slight cropping or resizing to the video, bringing it to 552p, which doesn't match a common video format, leading to FileBot assigning 480p.
2) Yes, you can create a custom format to ensure that FileBot assigns the correct label. You could modify your format script to handle this better by checking if the vertical resolution (vf) is closer to 576 or 480 and adjusting the label accordingly.
Here’s a possible adjustment to your format:
{ vf >= 552 ? '576p' : '480p' }
3) Metadata: Streaming apps or media managers like Plex may misidentify the file as NTSC (480p) instead of PAL (576p), leading to misrepresentation in your library.
Compatibility: If you’re organizing your media by resolution, it could cause confusion when browsing through your collection. For example, if you expect PAL content to be 576p, but it is labeled as 480p, you might miscategorize your media.
Playback: In terms of playback, it’s less likely to cause issues, but certain streaming setups might treat the file as NTSC incorrectly.
4. Recommendations?
Double-check Handbrake’s profile settings: It seems Handbrake is scaling your video slightly, which causes the resolution to become 720×552. Look into whether you’ve set it to crop or scale during encoding, and make sure you keep the output resolution at 720×576 (the full PAL resolution) to avoid this discrepancy.
Custom FileBot script: Use a custom script as mentioned above to ensure proper resolution tagging. Alternatively, consider writing a script that reads the actual resolution directly from Mediainfo to override FileBot's predefined resolution matching.