happycube / ld-decode

Software defined LaserDisc decoder
GNU General Public License v3.0
296 stars 76 forks source link

Give ld-export-metadata support for writing Audacity labels files #842

Closed atsampson closed 1 year ago

atsampson commented 1 year ago

CC @Gamnn.

Move the code to extract chapters/stopcodes from the FFmetadata writer into the library, and add a new writer for Audacity labels files.

Fixes #751.

Gamnn commented 1 year ago

Like --ffmpeg-metadata, it would be good if it ignores single-frame chapter changes due to dropouts in the vbi.

Frame 44644 during chapter registered as chapter 12, leaving a gap between chapter 2 and 3.

0.000000    254.354100  Chapter 0
254.354100  887.686800  Chapter 1
887.686800  1489.588100 Chapter 2
1928.693433 2091.923167 Chapter 3
2091.923167 2437.601833 Chapter 4
2437.601833 2632.663367 Chapter 5
atsampson commented 1 year ago

Fixed now - thanks!