[mythtv-users] mythcommflag --rebuild and xvid avi's

James Hood ebenblues at gmail.com
Wed Jan 23 19:24:17 UTC 2008


Hi,

I've written a userjob script to convert an mpeg2 recording file to a
compressed xvid avi file and modify the myth database with the new filename,
but I'm running into problems using mythcommflag to rebuild the seek table.
mythcommflag (0.20.2 version) segfaults when I run it. I turned on the "-v
all" option, and the output seems to indicate the file is recognized as
mpeg4 and the seek table rebuild part completes before the segfault, but
fastforward and rewind while watching the recording (via the "Watch
Recordings" player) seems very broken, which leads me to suspect something
didn't go right in the seek table rebuild. I don't know anything about how
the seek table values should look in the database, so I'm pasting the
verbose output for the seek table sql inserts so others can look at them and
see if they look "normal". Any help is appreciated.

$ mythcommflag -f 1006_20080114101800.avi --rebuild -v all
2008-01-23 12:05:22.867 Using runtime prefix = /usr/local
2008-01-23 12:05:22.916 New DB connection, total: 1
2008-01-23 12:05:22.930 Connected to database 'mythconverg' at host:
localhost
2008-01-23 12:05:22.935 Enabling Settings Cache.
2008-01-23 12:05:22.935 Clearing Settings Cache.
2008-01-23 12:05:22.938 MSqlQuery: SELECT chanid, starttime FROM recorded
WHERE
basename = '1006_20080114101800.avi' ;
2008-01-23 12:05:22.940 mythcommflag version: 0.20.20070821-1 www.mythtv.org
2008-01-23 12:05:22.941 Enabled verbose msgs: all

MythTV Commercial Flagger, started at Wed Jan 23 12:05:22 2008
...
2008-01-23 12:05:23.910 MSqlQuery: INSERT INTO recordedseek (chanid,
starttime, mark, type, offset) VALUES ( '1006' ,'2008-01-14T10:18:00' ,
'191' , 9 , '855124' );
2008-01-23 12:05:23.911 MSqlQuery: INSERT INTO recordedseek (chanid,
starttime, mark, type, offset) VALUES ( '1006' ,'2008-01-14T10:18:00' ,
'490' , 9 , '1601644' );
2008-01-23 12:05:23.913 MSqlQuery: INSERT INTO recordedseek (chanid,
starttime, mark, type, offset) VALUES ( '1006' ,'2008-01-14T10:18:00' ,
'789' , 9 , '2695088' );
2008-01-23 12:05:23.914 MSqlQuery: INSERT INTO recordedseek (chanid,
starttime, mark, type, offset) VALUES ( '1006' ,'2008-01-14T10:18:00' ,
'1088' , 9 , '3500512' );
2008-01-23 12:05:23.915 MSqlQuery: INSERT INTO recordedseek (chanid,
starttime, mark, type, offset) VALUES ( '1006' ,'2008-01-14T10:18:00' ,
'1159' , 9 , '3709286' );
2008-01-23 12:05:23.916 MSqlQuery: INSERT INTO recordedseek (chanid,
starttime, mark, type, offset) VALUES ( '1006' ,'2008-01-14T10:18:00' ,
'1458' , 9 , '4945528' );
2008-01-23 12:05:23.917 MSqlQuery: INSERT INTO recordedseek (chanid,
starttime, mark, type, offset) VALUES ( '1006' ,'2008-01-14T10:18:00' ,
'1757' , 9 , '6081250' );
2008-01-23 12:05:23.919 MSqlQuery: INSERT INTO recordedseek (chanid,
starttime, mark, type, offset) VALUES ( '1006' ,'2008-01-14T10:18:00' ,
'2056' , 9 , '7345850' );
2008-01-23 12:05:23.920 MSqlQuery: INSERT INTO recordedseek (chanid,
starttime, mark, type, offset) VALUES ( '1006' ,'2008-01-14T10:18:00' ,
'2355' , 9 , '8363650' );
2008-01-23 12:05:23.921 MSqlQuery: INSERT INTO recordedseek (chanid,
starttime, mark, type, offset) VALUES ( '1006' ,'2008-01-14T10:18:00' ,
'2654' , 9 , '9288420' );
2008-01-23 12:05:23.922 MSqlQuery: INSERT INTO recordedseek (chanid,
starttime, mark, type, offset) VALUES ( '1006' ,'2008-01-14T10:18:00' ,
'2953' , 9 , '10209926' );
2008-01-23 12:05:23.923 MSqlQuery: INSERT INTO recordedseek (chanid,
starttime, mark, type, offset) VALUES ( '1006' ,'2008-01-14T10:18:00' ,
'3252' , 9 , '11292148' );
2008-01-23 12:05:23.925 MSqlQuery: INSERT INTO recordedseek (chanid,
starttime, mark, type, offset) VALUES ( '1006' ,'2008-01-14T10:18:00' ,
'3551' , 9 , '12416720' );
2008-01-23 12:05:23.926 MSqlQuery: INSERT INTO recordedseek (chanid,
starttime, mark, type, offset) VALUES ( '1006' ,'2008-01-14T10:18:00' ,
'3850' , 9 , '13484584' );
2008-01-23 12:05:23.927 MSqlQuery: INSERT INTO recordedseek (chanid,
starttime, mark, type, offset) VALUES ( '1006' ,'2008-01-14T10:18:00' ,
'3947' , 9 , '13835546' );
2008-01-23 12:05:23.929 MSqlQuery: INSERT INTO recordedseek (chanid,
starttime, mark, type, offset) VALUES ( '1006' ,'2008-01-14T10:18:00' ,
'4246' , 9 , '15183700' );
2008-01-23 12:05:23.930 MSqlQuery: INSERT INTO recordedseek (chanid,
starttime, mark, type, offset) VALUES ( '1006' ,'2008-01-14T10:18:00' ,
'4545' , 9 , '16707978' );
2008-01-23 12:05:23.931 MSqlQuery: INSERT INTO recordedseek (chanid,
starttime, mark, type, offset) VALUES ( '1006' ,'2008-01-14T10:18:00' ,
'4637' , 9 , '16992918' );
2008-01-23 12:05:23.932 MSqlQuery: INSERT INTO recordedseek (chanid,
starttime, mark, type, offset) VALUES ( '1006' ,'2008-01-14T10:18:00' ,
'4786' , 9 , '17858010' );
2008-01-23 12:05:23.933 MSqlQuery: INSERT INTO recordedseek (chanid,
starttime, mark, type, offset) VALUES ( '1006' ,'2008-01-14T10:18:00' ,
'5034' , 9 , '19168308' );
2008-01-23 12:05:23.935 MSqlQuery: INSERT INTO recordedseek (chanid,
starttime, mark, type, offset) VALUES ( '1006' ,'2008-01-14T10:18:00' ,
'5164' , 9 , '19597340' );
2008-01-23 12:05:23.936 MSqlQuery: INSERT INTO recordedseek (chanid,
starttime, mark, type, offset) VALUES ( '1006' ,'2008-01-14T10:18:00' ,
'5216' , 9 , '19874304' );
2008-01-23 12:05:23.937 MSqlQuery: INSERT INTO recordedseek (chanid,
starttime, mark, type, offset) VALUES ( '1006' ,'2008-01-14T10:18:00' ,
'5255' , 9 , '20084710' );
2008-01-23 12:05:23.939 MSqlQuery: INSERT INTO recordedseek (chanid,
starttime, mark, type, offset) VALUES ( '1006' ,'2008-01-14T10:18:00' ,
'5304' , 9 , '20368652' );
2008-01-23 12:05:23.940 MSqlQuery: INSERT INTO recordedseek (chanid,
starttime, mark, type, offset) VALUES ( '1006' ,'2008-01-14T10:18:00' ,
'5370' , 9 , '20638334' );
2008-01-23 12:05:23.941 MSqlQuery: INSERT INTO recordedseek (chanid,
starttime, mark, type, offset) VALUES ( '1006' ,'2008-01-14T10:18:00' ,
'5380' , 9 , '20695016' );
Rebuilt
...
Segmentation Fault
$

Thanks,
James

-- 
"The humble learn the fastest because they don't waste time on defending a
false image."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20080123/07fec825/attachment.htm 


More information about the mythtv-users mailing list