[mythtv-users] Mythexport

Matt Laird lairdm at gmail.com
Tue Jul 28 02:24:45 UTC 2009


Hi all,

I was trying to install mythexport under Mythbuntu 9.04 and am
encountering some issues.  It doesn't actually seem to be running
ffmpeg.

In the code for the daemon I've added some debug lines:

    foreach (@args){
        if($_ =~ m/\/dev\/null/){
            logdebug("command (null) : nice -n19 ffmpeg -i $filename $_");
            $_ = "nice -n19 ffmpeg -i $filename $_";
        }
        else{
            logdebug("command : nice -n19 ffmpeg -i $filename $_");
            $_ = "nice -n19 ffmpeg -i $filename $_ '$newfilename' 2>&1";
        }
    }

However it's not making it to either.  The log file:

July 27 17:14:53 myth /usr/bin/mythexport-daemon[22498]: query = select
id, type, param from mythexport_job_queue order by id at line 609 in
/usr/bin/mythexport-daemon
July 27 17:14:53 myth /usr/bin/mythexport-daemon[22498]: exportdir =
/var/lib/mythtv/mythexport/video at line 396 in /usr/bin/mythexport-daemon
July 27 17:14:53 myth /usr/bin/mythexport-daemon[22498]: starttime =
20090727171300 at line 397 in /usr/bin/mythexport-daemon
July 27 17:14:53 myth /usr/bin/mythexport-daemon[22498]: chanid = 1003
at line 398 in /usr/bin/mythexport-daemon
July 27 17:14:53 myth /usr/bin/mythexport-daemon[22498]: config = ipod
at line 399 in /usr/bin/mythexport-daemon
July 27 17:14:53 myth /usr/bin/mythexport-daemon[22498]: query = SELECT
rec.title, rec.subtitle, rec.description, pg.syndicatedepisodenumber,
pg.showtype, rec.programid, rec.basename, rec.starttime
    FROM recorded rec LEFT JOIN program pg ON pg.starttime =
rec.starttime AND pg.chanid = rec.chanid
    WHERE rec.chanid=? AND rec.starttime=? at line 413 in
/usr/bin/mythexport-daemon
July 27 17:14:53 myth /usr/bin/mythexport-daemon[22498]: Going into new mode
 at line 430 in /usr/bin/mythexport-daemon
July 27 17:14:53 myth /usr/bin/mythexport-daemon[22498]: query = SELECT
callsign FROM channel WHERE chanid=? at line 438 in
/usr/bin/mythexport-daemon
July 27 17:14:53 myth /usr/bin/mythexport-daemon[22498]: command =
AtomicParsley
'/var/lib/mythtv/mythexport/video/CBUT-3_CBUT_-Mon_Jul_27_17_12_00_2009-20090727171300.mp4'
--genre "TV Shows" --stik "TV Show" --TVNetwork CBUT --TVShowName "3
(CBUT)" --TVEpisode "" --TVEpisodeNum  --TVSeason  --description ""
--title "Mon Jul 27 17:12:00 2009" 2>&1 at line 556 in
/usr/bin/mythexport-daemon
July 27 17:14:53 myth /usr/bin/mythexport-daemon[22498]: ERROR:
AtomicParsley
'/var/lib/mythtv/mythexport/video/CBUT-3_CBUT_-Mon_Jul_27_17_12_00_2009-20090727171300.mp4'
--genre "TV Shows" --stik "TV Show" --TVNetwork CBUT --TVShowName "3
(CBUT)" --TVEpisode "" --TVEpisodeNum  --TVSeason  --description ""
--title "Mon Jul 27 17:12:00 2009" 2>&1 FAILED at line 557 in
/usr/bin/mythexport-daemon
rm: cannot remove
`/var/lib/mythtv/mythexport/video/CBUT-3_CBUT_-Mon_Jul_27_17_12_00_2009-20090727171300.mp4':
No such file or directory
mv: cannot stat `/var/lib/mythtv/mythexport/video/*temp*': No such file
or directory
July 27 17:14:53 myth /usr/bin/mythexport-daemon[22498]: ERROR:
/var/lib/mythtv/mythexport/video/CBUT-3_CBUT_-Mon_Jul_27_17_12_00_2009-20090727171300.mp4
is not available at line 565 in /usr/bin/mythexport-daemon
July 27 17:14:53 myth /usr/bin/mythexport-daemon[22498]: query = INSERT
into mythexport VALUES(NULL,?,?,?,?,NOW(),DATE_ADD(NOW(),INTERVAL ?
DAY),?,?) at line 571 in /usr/bin/mythexport-daemon
July 27 17:14:53 myth /usr/bin/mythexport-daemon[22498]: query = delete
from mythexport_job_queue where id=? at line 638 in
/usr/bin/mythexport-daemon

Also shows it trying to run AttomicParsley, but not ffmpeg.

I've got a pretty genetic profile setup through the web interface:

; Config::Simple 4.59
; Mon Jul 27 17:04:37 2009

[ipod feed]
removeCommercials=
codec=xvid
extension=
sizeX=480
sizeY=320
aspect=3:2
videoBR=600kb
device=ipod
threads=
podcastName=
deletePeriod=
audioBR=192kb
audioChannels=
ffmpegArgs=-y -acodec libfaac -ab 192kb -vcodec libxvid -b 600kb -mbd 2
-flags +4mv+aic -trellis 2 -cmp 2 -subcmp 2 -s 480x320 -aspect 3:2
deinterlace=

I'm not exactly sure why it isn't making it to the foreach loop.
Could anyone suggest any solutions?

Thanks.


More information about the mythtv-users mailing list