Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

mythtv very confused about length of recording

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


marcone at xs4all

Nov 14, 2006, 9:22 PM

Post #1 of 8 (1767 views)
Permalink
mythtv very confused about length of recording

I have this recording that is about an hour long, however mythtv thinks
it's 2 minutes and 31 seconds. As a result, skipping forward and backward
is... interesting.
I tried rebuilding the seektable with mythcommflag, but it had no effect.
How can I convince mythtv that this recording is in fact 1 hour long?
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


justin.hornsby at gmail

Nov 14, 2006, 10:46 PM

Post #2 of 8 (1705 views)
Permalink
Re: mythtv very confused about length of recording [In reply to]

On 15/11/06, Marco Nelissen <marcone [at] xs4all> wrote:
> I have this recording that is about an hour long, however mythtv thinks
> it's 2 minutes and 31 seconds. As a result, skipping forward and backward
> is... interesting.
> I tried rebuilding the seektable with mythcommflag, but it had no effect.
> How can I convince mythtv that this recording is in fact 1 hour long?

Is your machine set to use the right timezone?


--
Justin Hornsby
Moderator of www.mythtvtalk.com and MythTV advocate.
email: justin(dot)hornsby(at)gmail.com
web: http://www.juski.co.uk
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


freedenizen at gmail

Nov 15, 2006, 5:12 AM

Post #3 of 8 (1711 views)
Permalink
Re: mythtv very confused about length of recording [In reply to]

On 11/14/06, Justin Hornsby <justin.hornsby [at] gmail> wrote:
> On 15/11/06, Marco Nelissen <marcone [at] xs4all> wrote:
> > I have this recording that is about an hour long, however mythtv thinks
> > it's 2 minutes and 31 seconds. As a result, skipping forward and backward
> > is... interesting.
> > I tried rebuilding the seektable with mythcommflag, but it had no effect.
> > How can I convince mythtv that this recording is in fact 1 hour long?
>
> Is your machine set to use the right timezone?

Or if you are using separate fe and be, are their times in sync?
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


kf6zql at gmail

Nov 15, 2006, 6:19 AM

Post #4 of 8 (1728 views)
Permalink
Re: mythtv very confused about length of recording [In reply to]

Just the other day my myth started asying all my recordings were a random
time length, but usually in the 9 hour range. I also lost all commercial
flagging. I ended up upgrading to Knoppmyth R5D1 and couldn't be happier,
fixed al my issues and had a working myth box in about an hour and a half..
no work required.

On 11/15/06, Asher <freedenizen [at] gmail> wrote:
>
> On 11/14/06, Justin Hornsby <justin.hornsby [at] gmail> wrote:
> > On 15/11/06, Marco Nelissen <marcone [at] xs4all> wrote:
> > > I have this recording that is about an hour long, however mythtv
> thinks
> > > it's 2 minutes and 31 seconds. As a result, skipping forward and
> backward
> > > is... interesting.
> > > I tried rebuilding the seektable with mythcommflag, but it had no
> effect.
> > > How can I convince mythtv that this recording is in fact 1 hour long?
> >
> > Is your machine set to use the right timezone?
>
> Or if you are using separate fe and be, are their times in sync?
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>


ylee at pobox

Nov 15, 2006, 7:18 AM

Post #5 of 8 (1691 views)
Permalink
Re: mythtv very confused about length of recording [In reply to]

Marco Nelissen <marcone [at] xs4all> says:
> I have this recording that is about an hour long, however mythtv thinks
> it's 2 minutes and 31 seconds. As a result, skipping forward and backward
> is... interesting.
> I tried rebuilding the seektable with mythcommflag, but it had no effect.
> How can I convince mythtv that this recording is in fact 1 hour long?

mythtranscode \
--mpeg2 \
--buildindex \
--allkeys # Works without this, but frames smear a little at jumps \
-c xxxx # Four-digit channel number (see recording's filename)[1] \
-s yyyy-mm-dd-hh-mm # Date and time recording began (see filename) \
--showprogress \
--verbose important,general # Because I like detail

[1] Note that, although

--infile mythrecording.mpg

should be equivalent to

-c ______ -s ______

I can't use this because I call from crontab every hour

perl /usr/share/doc/mythtv-0.20/contrib/mythrename.pl --format "\%T
\%- \%Y-\%m-\%d, \%g-\%i \%A, ch\%c \%- \%S"

(the above all on one line) to rename all my recordings to
human-readable ones. -c -s always works.

--
Yeechang Lee <ylee [at] pobox> | +1 650 776 7763 | San Francisco CA US
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


marcone at xs4all

Nov 15, 2006, 8:57 AM

Post #6 of 8 (1701 views)
Permalink
Re: mythtv very confused about length of recording [In reply to]

>On 11/14/06, Justin Hornsby <justin.hornsby [at] gmail> wrote:
>> On 15/11/06, Marco Nelissen <marcone [at] xs4all> wrote:
>> > I have this recording that is about an hour long, however mythtv thinks
>> > it's 2 minutes and 31 seconds. As a result, skipping forward and backward
>> > is... interesting.
>> > I tried rebuilding the seektable with mythcommflag, but it had no effect.
>> > How can I convince mythtv that this recording is in fact 1 hour long?
>>
>> Is your machine set to use the right timezone?
>
>Or if you are using separate fe and be, are their times in sync?

This is a combined FE/BE, and the timezone is set correctly. Why would
a wrong timezone even make mythtv confused about the duration of this
recording? I can see how it would cause recordings to happen at the
wrong time, but why would it make mythtv think that this 1-hour recording
is a 2-and-a-half minute recording?

_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


rlholgate at gmail

Nov 15, 2006, 12:04 PM

Post #7 of 8 (1702 views)
Permalink
Re: mythtv very confused about length of recording [In reply to]

Check your database, you may have corrupted tables and/or indexes on tables.
Alternatively your database partition may be full (preventing writes), which
amounts to the same problem. I have experienced problems like this after
mysql got itself messed up due to partition full or machine crash, In my
case the db was suffering from inability to write metadata for recordings,
which is why the time data was all off.

Below are the notes I wrote for myself for repairing a broken database.
Check them before using yourself, and of course your mileage may vary :-)
There is much documentation on myisamchk at the mysql website.

If this is your problem, then after repairing tables the recordings with
messed up time info will still have messed up time info, but at least new
recordings will get correct time info.

Recovery of MYSQL after /var/ filled up.

1) Make sure mysql is shut down.

2) Clear some space on /var - i.e. resolve the issue.

3) Run 'myisamchk *.MYI' to see if tables are corrupted. Databases are in
subdir
ectories under /var/lib/mysql. Remember to check/repair ALL databases, not
just
'mythconverg' or 'mysql'. Use --silent to just see errors and not have loads
of
debug output.

4) Run 'myisamchk --recover *.MYI' to repair tables and rebuild indexes. Can
take a binary copy of the tables first if desired.

5) Check tables again as per step 3, using --silent. Hope to see no
messages.

6) If all well, restart mysql.




On 11/15/06, Marco Nelissen <marcone [at] xs4all> wrote:
>
> >On 11/14/06, Justin Hornsby <justin.hornsby [at] gmail> wrote:
> >> On 15/11/06, Marco Nelissen <marcone [at] xs4all> wrote:
> >> > I have this recording that is about an hour long, however mythtv
> thinks
> >> > it's 2 minutes and 31 seconds. As a result, skipping forward and
> backward
> >> > is... interesting.
> >> > I tried rebuilding the seektable with mythcommflag, but it had no
> effect.
> >> > How can I convince mythtv that this recording is in fact 1 hour long?
> >>
> >> Is your machine set to use the right timezone?
> >
> >Or if you are using separate fe and be, are their times in sync?
>
> This is a combined FE/BE, and the timezone is set correctly. Why would
> a wrong timezone even make mythtv confused about the duration of this
> recording? I can see how it would cause recordings to happen at the
> wrong time, but why would it make mythtv think that this 1-hour recording
> is a 2-and-a-half minute recording?
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>


marcone at xs4all

Nov 15, 2006, 9:58 PM

Post #8 of 8 (1688 views)
Permalink
Re: mythtv very confused about length of recording [In reply to]

Yeechang Lee <ylee [at] pobox> wrote:
> Marco Nelissen <marcone [at] xs4all> says:
> > I have this recording that is about an hour long, however mythtv thinks
> > it's 2 minutes and 31 seconds. As a result, skipping forward and backward
> > is... interesting.
> > I tried rebuilding the seektable with mythcommflag, but it had no effect.
> > How can I convince mythtv that this recording is in fact 1 hour long?
>
> mythtranscode \
> --mpeg2 \
> --buildindex \
> --allkeys # Works without this, but frames smear a little at jumps \
> -c xxxx # Four-digit channel number (see recording's filename)[1] \
> -s yyyy-mm-dd-hh-mm # Date and time recording began (see filename) \
> --showprogress \
> --verbose important,general # Because I like detail

That did the trick. Thanks!
Between having to run mythtranscode this time around, and mythcommflag
the last time something was screwed up, it seems like a "repair this
recording"-option within mythtv would be useful.
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.