Hi,
Is it possible to add chapter (track) information to a FLAC file?

I'm encoding with:
ffmpeg -i audio.wav -i chapters.txt -map_metadata 1 -f flac out.flac

And I get:
Output #0, flac, to 'out.flac':
  Metadata:
    encoder         : Lavf58.22.100
    Chapter #0:0: start 1.000000, end 2.000000
    Stream #0:0: Audio: flac, 16000 Hz, mono, s16, 128 kb/s
    Metadata:
      encoder         : Lavc58.39.100 flac

If I play the file in VLC/MPV no chapters are detected.

chapters.txt:
;FFMETADATA1
[CHAPTER]
TIMEBASE=1/1000
START=0
END=629
title=story_0
[CHAPTER]
TIMEBASE=1/1
START=630
END=1259
title=story_1

Thanks!

_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to