[mythtv-users] Lossless remux ISO to MKV for .22 video storage groups

Joel Means means.joel at gmail.com
Thu Oct 22 14:39:18 UTC 2009


On Thu, Oct 22, 2009 at 12:46 AM, Johnny <jarpublic at gmail.com> wrote:
>> LONG_TRACK=`lsdvd -q ID4.iso | grep Longest | cut -d":" -f2 | sed 's/ //'`
>
> I had to replace the ID4.iso with the following to get it to work.
>
> LONG_TRACK=`lsdvd -q "${INFILE}" | grep Longest | cut -d":" -f2 | sed 's/ //'`

Oops.  That's what I get with copy and paste.

> Also I have a problem with the title numbers not matching between
> lsdvd and makemkv. I narrowed it down to the "minimum title length"
> setting that is available in the gui and used by the commandline. The
> lowest I can set that to is 2 seconds. Any title shorter than that
> gets ignored and some DVDs seem to have weird titles that are only a
> few seconds long, so this could still be a problem sometimes. I can't
> figure out how to disable the minimum title length feature completely.
> I guess I could use it to my advantage and set it to something like
> 3600 seconds. Then it would only grab titles that are more than an
> hour and I could not use the lsdvd option at all. Thanks for the
> script, it takes me forever to google around and get my script fu
> going when I try to do something every few years.

Like I said, I don't have any files with multiple titles to try it
with.  I would have thought that both programs would list them in the
order they appear on the DVD, but it sounds like maybe not.  You could
use "makemkvcon info iso:${INFILE}".  With the output from that, you
could grep out a list of titles with times and sort it to find the
longest.  I don't really have the time right now to figure that out,
but maybe this weekend.

Joel


More information about the mythtv-users mailing list