<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Aug 5, 2015 at 8:39 AM, George Nassas <span dir="ltr"><<a href="mailto:gnassas@mac.com" target="_blank">gnassas@mac.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><span>On Aug 4, 2015, at 9:03 AM, Jim Stichnoth <<a href="mailto:stichnot@gmail.com" target="_blank">stichnot@gmail.com</a>> wrote:<br><div><blockquote type="cite"><br><div><div class="gmail_extra" style="font-family:Helvetica;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">Mythtranscode should be removing those marks:</div><div class="gmail_extra" style="font-family:Helvetica;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><a href="https://github.com/MythTV/mythtv/blob/master/mythtv/programs/mythtranscode/main.cpp#L1065" target="_blank">https://github.com/MythTV/mythtv/blob/master/mythtv/programs/mythtranscode/main.cpp#L1065</a><br></div><div class="gmail_extra" style="font-family:Helvetica;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">It leaves only the bookmark, and updates the bookmark to reflect the cutlist.</div></div></blockquote></div><br></span><div>Wondering about this update part - I don’t see where the bookmark gets updated to reflect the cut list. Is it right in front of me and just I don’t see it?</div></div></blockquote><div><br></div><div>See ComputeNewBookmark().  Which btw should be removed, and the caller should call DecoderBase::TranslatePositionAbsToRel() instead.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><br></div><div>Taking this is a slightly different direction, my general experience is bookmarks don’t get adjusted after a lossless transcode so you end up with a stray mark pointing mid-scene or past the end of the recording. It used to be, maybe years ago, that bookmarks would be removed after a lossless transcode but somewhere along the line that stopped happening.</div></div></blockquote><div><br></div><div>Ticket #7731 changed the behavior from "delete bookmark" to "translate bookmark".  This applies only to mythtranscode, and not to any third-party scripts that do lossless transcode.  To debug problems like this, it would be helpful to have the before-and-after output of "mythutil --getmarkup", though I realize that once you discover a problem, it's usually too late to get the pre-transcode data.  Which brings me on a tangent.  If I were still using mythtranscode these days (as opposed to just using cutlists and throwing marginally more disk space at the problem), I would try to change things so that (1) the original file is deleted in the same way regular recordings are deleted, i.e. keep around for N days before permanently deleting; (2) there is a UI for restoring an old version.  This is probably best done by cloning the original recording and its metadata, and using the existing delete-recording mechanism on the original.</div><div></div></div><br></div><div class="gmail_extra">Jim</div></div>