mythtv scripts Re: [mythtv-users] mythtranscode results in 15GB files

Shawn core at
Mon Oct 25 13:40:33 UTC 2004

For every problem with myth I've had, I write a perl script which allows
me to sidestep the issue. I'm just not successful getting backtraces
much of the timefor whatever reason...

I've had crashes, partial recordings, and transcoder glitches which I've
worked around. If you have need for any of these, let me know and I'll
try and get them release ready.

        mythbackend is simply monitored by a script
        that /etc/init.d/mythbacked restarts, if needed and the frontend
        runs in a loop. I have another script I can call upon shutting
        those things down without the monitor script restarting them.
Partial, or lost recordings:
        I have swatch monitor mythtv upon the mythbackend.log saying a
        recording started checks to see the recording has an entry in
        the DB and that the file is growing. I think sometimes mysqld
        gets mucked and doesn't commit rows. I then kickstart the
        recording by restarting mysql and myth. I really don't know what
        happens next as I've never been watching when it happens. All I
        know is that I no longer have this problem.
Transcoder glitches
        I wrote a perl script that checks the sanity of all nuv files
        and recordings table entries by making sure the size of the .tmp
        file isn't bigger than it's .nuv, checking that all nuvs have DB
        entries and vice versa. Oh shit! It deletes recordings it
        doesn't see in the DB... I have to comment that out in case
        login fails! Glad I thought of that before it happened...

On Mon, 2004-10-25 at 22:51 +1000, Dave wrote:
> Just so you know you're not insane. I have the same problem.
> That said, I have no idea what the problem is, I never had time to fix
> it. I am not transcoding anything lately.
> On Mon, 2004-10-25 at 01:03 -0500, Shawn wrote:
> > It was at MPEG4, and switching it to rtjpeg did nothing for the screwed
> > up behavior.
> > 
> > I'm having one fucked up day.
> > 
> > On Mon, 2004-10-25 at 00:21 +0200, KvB wrote:
> > > Try setting up your transcodes profile for "From MPEG2" to MPEG4 instead of
> > > the default RTJPEG (or something).
> > > 
> > > ----- Original Message ----- 
> > > From: "Shawn" <core at>
> > > To: "mythtv" <mythtv-users at>
> > > Sent: Sunday, October 24, 2004 9:47 PM
> > > Subject: [mythtv-users] mythtranscode results in 15GB files
> > > 
> > > 
> > > > I can't figure out why the hell it's doing this, but mythtranscode is
> > > > filling up my filesystem with files up to ten times as big as the ones
> > > > it's transcoding. What the fuck?
> > 

More information about the mythtv-users mailing list