Replies: 5 comments 2 replies
-
Hey @jmarlena! But I am interested to hear what sort of thing you are trying to build. Maybe I can give a more specific input on it. |
Beta Was this translation helpful? Give feedback.
-
I want a way to show a table of contents next to the video like from this egghead.io course: https://egghead.io/lessons/javascript-introduction-to-github |
Beta Was this translation helpful? Give feedback.
-
Got it @jmarlena! So Remotion doesn't provide anything "out of the box" to achieve this, but there isn't anything that's constraining you to implement a table of contents alongside a video. Right now, you can export a video as an MP4 file and play it inside a Soon we will also have a Remotion will not provide a built-in solution for table of contents, I think it's better if we only focus on the core objective of making programmatic videos. Hope this is helpful! If you have any further questions, feel free to ask. |
Beta Was this translation helpful? Give feedback.
-
👋 It sounds like this would not have helped @.jmarlena's use case, but just in case in helps anyone else stumbling onto this topic, While remotion doesn't currently support accepting this metadata as input to ffmpeg -i video.mp4 -i metadata.txt -map_metadata 1 -codec copy video_with_metadata.mp4
;FFMETADATA1
title=video title from metadata
artist=video artist from metadata
[CHAPTER]
TIMEBASE=1/1000
START=0
END=3000
title=chapter \#1
[CHAPTER]
TIMEBASE=1/1000
START=3000
END=5000
title=chapter \#2 Not all video players support this metadata, but in VLC at least, it will use the title and artist for the window title and display name for the video playlist. Additionally, chapters can be used to jump to chapter starts: In the near term, remotion could potentially accept global video metadata such as title/artist/etc and generate metadata input for ffmpeg, but chapter markers might not be valuable as a cli argument since the video length is dynamic. Captioning support #356 has similar constraints, so solutions for that might involve strategies that prove useful for supporting chapter boundaries based on markup. |
Beta Was this translation helpful? Give feedback.
-
I haven't yet tested how YouTube lately consumes TextTracks / captions, but there is a WebVTT standard for "Chapters". Looks the same as WebVTT as normal captions, but with no overlapping timings & is linked to as chapters.
https://developer.mozilla.org/en-US/docs/Web/API/WebVTT_API |
Beta Was this translation helpful? Give feedback.
-
Hello!
I'm just wondering if this project supports a table of contents so viewers can more easily navigate the video's contents.
Thanks for your time. 💛
Beta Was this translation helpful? Give feedback.
All reactions