Hi there!
Do you have any idea how we can get chapter markers (for example in .mkv) from shows like this?
For example 4 chapters here: https://www.channel4.com/programmes/jamie-fast-and-simple/on-demand/75544-002
In general it works fine with channel4.com. But I just can't manage to get chapter markers.
Sometimes it is really useful or even necessary to have chapters in the show, well … especially if you download cooking shows for your aunt or grandma.
As far as I see N_m3u8DL-RE has no options to add chapter markers to video files, does it? Anyway I found nothing.
I tried yt-dlp as well. I've been downloading videos with yt-dlp for a long time and I was used to get chapter markers in .mkv with the help of
OR evenCode:--embed-chaptersI tried it also in this case but unfortunately it didn't work.Code:--embed-metadata
yt-dlp downloads a video and audiofiles without merging and without any other information:
Any ideas? What else can I try?Code:--embed-chapters is ignored since --allow-unplayable-formats was given
+ Reply to Thread
Results 1 to 11 of 11
-
-
I think I don't understand your answer.
If I use it without merging, for example like this
Code:N_m3u8DL-RE "https://ak-jos-c4assets-com.akamaized.net/CH4_08_02_900_75544_003_1_172927372129769/CH4_08_02_900_75544_003_1_172927372129769_J01.ism/stream.mpd?c3.ri=13629144445474358419&mpd_segment_template=time&filter=%28type%3D%3D%22video%22%26%26%28%28DisplayHeight%3E%3D288%29%26%26%28systemBitrate%3C4800000%29%29%29%7C%7Ctype%21%3D%22video%22&ts=1730909258&e=600&st=bj13WLTw3Q40BCqX8-sDCJfbgx8kp2Ev3Lbe1C0rzOY" --save-name "Simple0103" -sv best -sa all -ss all -mt --key 00000000000000000000000011272788:3d225c4007715a45ab8715ffed4f3800
-
You get the chapter timestamps from their API, not the stream itself. If you want to do it all manually, you'd have to use the web developer in your browser, find the timestamps, and then use mkvmerge to add them when muxing.
-
Last edited by pro3154; 6th Nov 2024 at 14:54. Reason: the second question added
-
No, the vast majority of streaming services don't encrypt their API. Channel5 is the only one I can think of that does.
For automation, you'd need a script. If you don't know how to make one, I recommend checking out Devine from the sticky threads at the top. It's a framework written in python that'll allow you to add and download from various streaming services. You can find some of them in my signature, including Channel4/All4.
It's not super beginner friendly, but will save you a lot of time and manual labor once properly set up:
[Attachment 83373 - Click to enlarge] -
Thank you for your answers, stabbedbybrick.
Do you need Python knowledge to install and to set up Devine?
Is Devine the only possibility to make automatically the chapter markers?
I am asking so directly because it seems to me that Devine is the most difficult "tool" of all I saw here or read about here.
Well, I suppose it was the best explanation of what Devine is. At least for me. Merci, now I understand a little bit better
Yes, I believe that.
Then I'll give it a try since I can't write scripts at the moment and, I think, will be not able to set up Devine properly so soon. -
I'm resurrecting this thread with a similar problem. So far, I have succeeded in download a streamed video using N_m3u8DL-RE, however, the chapter markers present in the stream are omitted. Upon closer examination of N_m3u8DL-RE I concluded that it does not currently support chapters, or maybe I haven't looked in the right place.
@pro3154: Have you had any success?
@stabbedbybrick: Thanks for all the pointers.
Can you clarify where to look for in web developer mode in the browser?
I understand your fork of devine takes care of the chapters, which is great. Does it do so out of the box or is some kind of adaption to the stream at hand necessary? I admit I have no prior experience with devine. Any more concrete pointers are welcome. -
You can give yt-dlp-mp4decrypt a shot.
Code:yt-dlp --embed-chapters --use-postprocessor Mp4Decrypt:when=before_dl;devicepath=/path/to/my.wvd https://www.channel4.com/programmes/jamie-fast-and-simple/on-demand/75544-002
Last edited by SocietyBox; 14th Jan 2025 at 12:59.
-
Thank you for the hint, SocietyBox!
It sounds very interesting
Have you tried yt-dlp-mp4decrypt yourself? If you did, tell me please:
- Does the standalone version of yt-dlp work?
- Do you need python for this app or its installation? -
Similar Threads
-
LosslessCut - can't see Chapter Markers in output files
By Bridgy in forum EditingReplies: 0Last Post: 16th Oct 2024, 10:53 -
Simple way to delete chapter markers within MKV
By magnu in forum EditingReplies: 3Last Post: 5th Sep 2023, 00:25 -
Jump between chapter markers on MPC-HC
By Blasterox in forum Software PlayingReplies: 0Last Post: 6th Apr 2023, 18:41 -
Bulk export chapter markers and names?
By jooj in forum MediaReplies: 0Last Post: 26th Mar 2020, 11:53 -
Is there a software for editing Chapter markers in bulk?
By jooj in forum Newbie / General discussionsReplies: 1Last Post: 17th Mar 2020, 08:13