[mythtv-users] still have db, playback, transcode, seektable ? problem

Kevin Bailey ke-myth at retriever.dyndns.org
Sun Dec 27 20:20:01 UTC 2009


I'm still trying to solve this issue where most shows
on CBS won't play, and hose up the back-end. I upgraded
to 0.22, hoping it would do a little DB rebuilding or
maybe just solve the problem outright, but it didn't.

I finally remembered a possible search term: seektable.
This encouraged me to try on the back-end:

mythtranscode --mpeg2 --buildindex --showprogress \
--verbose general,important --infile \
/export/mythtv/1021_20090928213100.mpg

This gave me:

2009-12-27 12:03:51.087 Using runtime prefix = /usr
2009-12-27 12:03:51.088 Using configuration directory = /home/kevin/.mythtv
2009-12-27 12:03:51.088 Empty LocalHostName.
2009-12-27 12:03:51.094 New DB connection, total: 1
2009-12-27 12:03:51.098 Closing DB connection named 'DBManager0'
2009-12-27 12:03:51.098 Enabled verbose msgs: important
2009-12-27 12:03:51.100 New DB connection, total: 2
2009-12-27 12:03:51.102 New DB connection, total: 3
2009-12-27 12:03:51.113 Tuning to 'MPEG Program 1' pnum: 0x1 without CRC
check on PMT
2009-12-27 12:03:51.117 mpegts_read_header: could not find any PMT's
2009-12-27 12:03:51.117 Couldn't open input file, error #-1
QSqlDatabasePrivate::removeDatabase: connection 'DBManager0' is still in
use, all queries will cease to work.
QSqlDatabasePrivate::removeDatabase: connection 'DBManager1' is still in
use, all queries will cease to work.
QSqlDatabasePrivate::removeDatabase: connection 'DBManager2' is still in
use, all queries will cease to work.

Using -c and -s doesn't change it much; just removes the last
comment about DBManager2.

When I just browse the titles in the front-end (at the preview
screen), the back-end puts this in the log:

2009-12-27 11:46:13.230 New DB connection, total: 1
2009-12-27 11:46:13.234 Connected to database 'mythconverg' at host:
localhost
2009-12-27 11:46:13.235 Closing DB connection named 'DBManager0'
2009-12-27 11:46:13.237 Connected to database 'mythconverg' at host:
localhost
2009-12-27 11:46:13.241 Current MythTV Schema Version (DBSchemaVer): 1244
2009-12-27 11:46:13.243 New DB connection, total: 2
2009-12-27 11:46:13.245 Connected to database 'mythconverg' at host:
localhost
2009-12-27 11:46:13.263 Filter dir '/usr/lib/mythtv/filters' doesn't exist?
2009-12-27 11:46:13.280 Tuning to 'MPEG Program 1' pnum: 0x1 without CRC
check on PMT
2009-12-27 11:46:13.285 mpegts_read_header: could not find any PMT's
2009-12-27 11:46:13.285 AFD Error: avformat err(-1) on av_open_input_file
call.
2009-12-27 11:46:13.286 Couldn't open decoder for:
/export/mythtv/1021_20090928213100.mpg
2009-12-27 11:46:13.287 NVP(0), Error: Could not open file for preview.
2009-12-27 11:46:13.289 Preview Error: Run() file not local:
'/export/mythtv/1021_20090928213100.mpg'
2009-12-27 11:46:13.296 Preview Error: Preview process not ok.
			fileinfo(/export/mythtv/1021_20090928213100.mpg.png)
exists: 0 readable: 0 size: 0
2009-12-27 11:46:13.301 MainServer: Failed to make preview image.

The comments about PMTs and avformat make me suspect
that it can't figure out the cotents but mplayer
plays it fine. -identify gives:

Playing /mnt/mythtv/1021_20090928213100.mpg.
TS file format detected.
PROGRAM_ID=1 (0x01), PMT_PID: 48(0x30)
PROGRAM_ID=1 (0x01), PMT_PID: 48(0x30)
PROGRAM_ID=1 (0x01), PMT_PID: 48(0x30)
PROGRAM_ID=1 (0x01), PMT_PID: 48(0x30)
PROGRAM_ID=1 (0x01), PMT_PID: 48(0x30)
PROGRAM_ID=1 (0x01), PMT_PID: 48(0x30)
VIDEO MPEG2(pid=49) AUDIO A52(pid=52) NO SUBS (yet)!  PROGRAM N. 0
ID_VIDEO_ID=49
ID_AUDIO_ID=52
ID_AUDIO_ID=53
PROGRAM_ID=1 (0x01), PMT_PID: 48(0x30)
PROGRAM_ID=1 (0x01), PMT_PID: 48(0x30)
PROGRAM_ID=1 (0x01), PMT_PID: 48(0x30)
PROGRAM_ID=1 (0x01), PMT_PID: 48(0x30)
PROGRAM_ID=1 (0x01), PMT_PID: 48(0x30)
PROGRAM_ID=1 (0x01), PMT_PID: 48(0x30)
PROGRAM_ID=1 (0x01), PMT_PID: 48(0x30)
VIDEO:  MPEG2  1920x1080  (aspect 3)  29.970 fps  16578.0 kbps (2072.2
kbyte/s)
ID_FILENAME=/mnt/mythtv/1021_20090928213100.mpg
ID_DEMUXER=mpegts
ID_VIDEO_FORMAT=0x10000002
ID_VIDEO_BITRATE=16578000
ID_VIDEO_WIDTH=1920
ID_VIDEO_HEIGHT=1080
ID_VIDEO_FPS=29.970
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_FORMAT=8192
ID_AUDIO_BITRATE=0
ID_AUDIO_RATE=0
ID_AUDIO_NCH=0
ID_LENGTH=1720.03
ID_SEEKABLE=1
ID_CHAPTERS=0

Lots of PMTs and IDs and such.

Any ideas ?


More information about the mythtv-users mailing list