Scott Lamb
Scott Lamb
My workaround is an external tool. It's currently in a private repo, but here's the tl;dr: ```rust /// `retimer` saves modification times (mtimes) of source files, and restores them only...
Yeah, that stitching is nice for the situation. In terms of Moonfire support, there is another user interested in implementing H.265 in Retina, and from there it'd be pretty easy...
Yeah, that stitching is nice for the situation. In terms of Moonfire support, there is another user interested in implementing H.265 in Retina, and from there it'd be pretty easy...
> mp4 demux: Fragment sequence discontinuity detected 1 != 2 I just grepped for this in VLC code: https://github.com/videolan/vlc/blob/3c9e8c2005f0f5d3810dde925a03d5d3038e8d15/modules/demux/mp4/mp4.c#L5217-L5221 It apparently reads the sequence number from the `mfhd` box. https://github.com/videolan/vlc/blob/3c9e8c2005f0f5d3810dde925a03d5d3038e8d15/modules/demux/mp4/mp4.c#L1784-L1790...
Does 28cd864 (on the `increment-seq` branch, not `master`) fix the problem?
Oh, we'll probably need to do the same thing for `baseMediaDecodeTime` also: https://github.com/scottlamb/moonfire-nvr/blob/a6bdf0bd808d6cde09fd8949ce00a51804fb1b65/server/src/mp4.rs#L1275
Oops! My workstation is down so I haven't tested this properly, but I think ~~b3d39df~~ edit: 936c7d9 (in particular: 7fe2284) fixes that problem. again on `increment-seq` branch.
> I can confirm your commit fixes the issue! Cool, glad that helped you keep moving. In general I'm not sure what seq number to set when the caller can...
I've been thinking this over. I suspect the problem is the timestamps. The structure of the media segments is set up for using with my HTML5 Media Source Extensions code,...
> I believe MPEG-TS conveys both DTS and PTS. (See [spec](https://www.itu.int/rec/T-REC-H.222.0-201808-S/en), Table 2-21, PTS_DTS_flag.) Seems weird if H.264-over-RTP doesn't. I think RTP really doesn't. There's an [expired draft](https://datatracker.ietf.org/doc/draft-deping-avtcore-video-bframe/) for conveying...