[mythtv-users] nuvexport problems

Bruno Bigras bigras.bruno at gmail.com
Sun Jan 10 13:10:45 UTC 2010


Hi,

I'm trying to export an episode to an avi using nuvexport and I got a
'Expected number for ar but found: -ac'. I think it's because there's
no value for 'ar' and 'ac' in the following command

/usr/bin/nice -n19 ffmpeg -f rawvideo -s 480x480 -r 29.970 -i
/tmp/fifodir_7821/vidout -f yuv4mpegpipe - 2> /dev/null |
/usr/bin/nice -n19 yuvdenoise 2> /dev/null | /usr/bin/nice -n19 ffmpeg
-y -f s16le -ar  -ac  -f yuv4mpegpipe -s 480x480 -aspect
1.33333333333333 -r 29.970 -i - -aspect 1.33333333333333 -r 29.970
-deinterlace -croptop    6 -cropright 6 -cropbottom 6 -cropleft  6 -s
512x384  -vcodec libxvid -b '1000k' -minrate '32' -maxrate '2000k' -bt
'32k' -bufsize 65535 -flags +mv4+trell+loop -aic 1 -mbd 1 -cmp 2
-subcmp 2 -cgop 1 -b_qfactor '150' -b_qoffset '100' -bf '1' -pass 1
-passlogfile '/tmp/xvid.7821.log' -f avi /dev/null 2>&1

I looked into /usr/share/nuvexport/export/ffmpeg.pm and saw this :
        $ffmpeg .= ' -y -f '.($Config{'byteorder'} == 4321 ? 's16be' : 's16le')
                  .' -ar ' . $episode->{'finfo'}{'audio_sample_rate'}
                  .' -ac ' . $episode->{'finfo'}{'audio_channels'};

I looked into the database and found that the table 'recordedfile' had
both those fields but the table is empty. I recorded 6 episode but
never transcoded any of them. Am I missing something?

I'm using mythbuntu 9.10.

mysql> SELECT * FROM recordedfile;
Empty set (0,00 sec)

mysql> SELECT count(*) FROM record;
+----------+
| count(*) |
+----------+
|        0 |
+----------+
1 row in set (0,00 sec)

mysql> SELECT count(*) FROM recorded;
+----------+
| count(*) |
+----------+
|        6 |
+----------+
1 row in set (0,00 sec)


thanks

Bruno


More information about the mythtv-users mailing list