I am trying out Beyond Compare. It looks powerful, but I will have to get to know it better.
I suggest trying BC 5 (beta). BC 4 (release) also provides a Hex Compare but not a FLAC Media Compare. There is definitely a learning curve. It's worth studying the color codes (summarized in the View menu).
BC5 Folder Compare --> File Compare:1) Put the two files you want to compare into different folders, being sure both have exactly the same filename.
2) Open a new Folder Compare Session either from the Home window or menu
Session > New Session > Folder Compare. Enter the two folders.
3) You will see the two files on the same line. Hit the "Diffs" toolbar button to see just files which are different.
4) On the line with the files of interest, double click in the empty column centered between the left and right folder displays. The empty column entry changes to "not equals" sign and BC opens a new tab based on a binary compare of just the two files.
5) BC 5 detects the media type, and the new tab defaults to a Media Compare view showing a nice side-by-side list of Metadata for the two files, followed by Audio Data. No line numbers or byte addresses.
6) To get hex detail broken into binary "lines" with leading Byte Addresses, switch to: Session > Compare Files Using > Hex Compare. Be sure
View > Byte Addresses is selected.
7) You can switch between viewing "All" and just "Diffs" in the binary file compare using toolbar buttons, same as for folder compare.
BC 4 works the same way, except the binary file compare defaults to Hex Compare.
Hex File Compare in two steps:From BC's Home screen, click right chevron and select "Hex Compare", or use the menu
Session > New Session > Hex Compare.
Enter the two full file paths to fill the left and right file comparison windows.
-----
A large block of zero-valued bytes is most likely padding. The general ordering of FLAC files is header tags - embedded images - audio data. For FLAC file structure details, see
https://xiph.org/flac/format.html#scopeYou can find locations in the binary file using
Search > Find, entering either hex or text values. For example, search for hex bytes "00 00 00 00" to find zero-valued blocks. To find embedded images in a FLAC file, search for text "image". If your file has five embedded images, then you should get five hits for "image". Images are also listed in the Media Compare view.
BTW, BC 5 features a slick modern dark mode skin - black, grey, colored button icons, and user selectable text/highlight colors (Tools > Options > Appearance)!
5/14/2024: Edited multiple times for clarity.
BC 4.4.7 | BC 5.0 Beta (build 29328) | Disclaimer: I have no business association whatsoever with Scooter Software, Inc. I'm just a delighted daily user of BC since 2005 and early contributor to the BC user forum (mostly 2005-2008).