[mythtv-users] mythtranscode and Job Queue

jack snodgrass mrlinuxgroups at gmail.com
Mon Oct 30 23:27:58 UTC 2006


On 10/30/06, Taylan Pince <taylan at taylanpince.com> wrote:
>
> Hello,
>
> I can't seem to figure out how to re-transcode my recorded programs.
> I recently changed my settings to encode with MPEG-4, decreasing the
> file size of my recordings. Now I want to go back and encode older
> recordings again to save some space. So I did the following:
>
> mythtranscode -i /video1/1008_20061025200000.mpg -p 'autodetect' --
> showprogress
>
> And it did properly encode, taking a 2.2GB file to 750MB. But instead
> of replacing the old one, it saved it with .mpg.tmp at the end. What
> should I do to replace the old one and update the database? Would
> deleting the old one and renaming the new one cause any issues?

I don't know for certain, but I do know that myth doesn't care about
the size of the file or anything about the file other than the name
of the file. If you want to replace the mpg with the mpg.tmp file
that should be fine.

I'm looking at doing something a bit different.. I am going to keep
multiple copies of the same show in different video qailities.
Some I'll keep longer than others.

>
> My other question is, can I add these to the job queue directly?

... depends on your definition of 'can'. You / I can update the mysql
table with something like:
insert into jobqueue (chanid, starttime, type, status) values
(1014,'2006-10-27 19:00:00',256,1)

... you need to know the internal channel number and the start time of
the show. I'm going to work on this sql statement so I can run it
based on the filename of a file.

This will place a new job in the jobqueue. the 256 type corresponds to
my 'user job 1'. If you want a different job, let myth update the jobqueue
table with something and see what values it uses.

jack


More information about the mythtv-users mailing list