Add chapters to FLAC

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Add chapters to FLAC

lyncher
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
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Add chapters to FLAC

Carl Eugen Hoyos-2
2019-02-06 17:13 GMT+01:00, [hidden email] <[hidden email]>:

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

No, this is a missing feature in FFmpeg.

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

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