[mythtv-users] Mytharchive and jpeg2yuv

Will Dormann wdormann at gmail.com
Fri Jan 21 03:04:49 UTC 2011


On 1/20/11 9:31 PM, Teruel de Campo MD wrote:
> <<**ERROR: [mplex] Unable to read from /mnt_tb/dvd/work/temp.m2v>>
> Temp.m2v is 0 size !!!
> 
> I believe the problem is with Mytharchive. All the images are png and if
> you input a png file into jpeg2yuv  you will produce a temp.m2v of 0
> size.
> 
> Here is the test
> 
> $ jpeg2yuv -n -1 -v2 -I p -f 25 -j
> '/usr/share/mythtv/mytharchive/themes/Black/preview.png' > temp.m2v
> 
> $ ls -la  now temp.m2v  is size 0


I don't think that mytharchive ever attempts to perform such a command.
 If I enter the above command on my system it fails as well, which is
expected.

When mytharchive (mythburn.py) runs jpeg2yuv, it uses JPEG images that
were created earlier in the script.  There are a number of instances
where the JPEG files are created, but for example:
bgimage.save(os.path.join(getTempPath(),"background-%s-f%06d.jpg" %
(page, framenum)),"JPEG",quality=99)

You may wish to post your entire mythburn.log file or a link to it.  I'd
also say to make sure you have the latest mythburn.py, but I can't say
that I've had your problem even when I was running 0.21 or earlier versions.


-WD


More information about the mythtv-users mailing list