[mythtv-users] preview of recorded shows buggy

Ma Begaj derliebegott at gmail.com
Sat Jun 2 14:17:23 UTC 2007


Thanks for the comments.

> Possible permissions issues:
>     a) you run the backend as root, but the frontend as mythtv, so the
> backend's pre-generated pixmaps are owned by root and mythtv can't
> update them

backend and frontend are using the same user.

>     b) your recordings directory is shared via NFS and the files are
> owned by mythtv:mythtv, but the mythtv user on the file server has UID X
> and on the frontend has UID Y; so as far as NFS is concerned, they're
> two different users (also can be applied in the reverse to allow someone
> access to files they normally couldn't touch)
no NFS at all, everything is done locally

>     c) other things I can't think of (which you can tell us when you
> find out what it is :)

this is output of -v playback in the moment when I open recording
list. I am not getting much information out of it:


QDateTime::fromString: Parameter out of range
2007-06-02 12:27:11.554 Starting preview generator 1 && (1 ||
((<2007-06-02T02:55:02)->1 && (>=2007-06-02T02:55:00)->0)) && 1 && 1
&& 1
2007-06-02 12:27:11.563
RingBuf(/home/mm/Desktop/MythTv/2_20070602000855.mpg):
OpenFile(/home/mm/Desktop/MythTv/2_20070602000855.mpg, 0)
2007-06-02 12:27:11.566 NVP: Exited decoder loop.
2007-06-02 12:27:11.570
RingBuf(/home/mm/Desktop/MythTv/2_20070602000855.mpg):
CalcReadAheadThresh(139179496 KB)
                         -> threshhold(64 KB) min read(0 KB) blk size(32 KB)
2007-06-02 12:27:11.577 ~VideoOutputNull()
[mpeg @ 0xb7637600]Parser not found for Codec Id: 94210 !
0: start_time: 0.353 duration: 897.023
1: start_time: 445.343 duration: 897.015
2: start_time: 0.336 duration: 897.003
stream: start_time: 3.732 duration: 14911.359 bitrate=4467 kb/s
2007-06-02 12:27:11.655 AFD: Stream #0, has id 0x480 codec id
MPEG2VIDEO, type Video, bitrate 8000000 at 0x0x8302a10
2007-06-02 12:27:11.656 detectInterlace(Detect Scan, Interlaced Scan,
25, 576) ->Interlaced Scan
2007-06-02 12:27:11.656 AFD: Looking for decoder for MPEG2VIDEO
2007-06-02 12:27:11.656 AFD: Opened codec 0x8688850, id(MPEG2VIDEO) type(Video)
2007-06-02 12:27:11.656 AFD: Stream #1, has id 0x105 codec id
MPEG2VBI, type Data, bitrate 0 at 0x0x8542ca0
2007-06-02 12:27:11.656 AFD: data codec (Data)
2007-06-02 12:27:11.656 AFD: Stream #2, has id 0x448 codec id MP2,
type Audio, bitrate 384000 at 0x0x8302b00
2007-06-02 12:27:11.656 AFD: Looking for decoder for MP2
2007-06-02 12:27:11.656 AFD: Opened codec 0x876e630, id(MP2) type(Audio)
2007-06-02 12:27:11.656
RingBuf(/home/mm/Desktop/MythTv/2_20070602000855.mpg):
CalcReadAheadThresh(3052695892 KB)
                         -> threshhold(64 KB) min read(0 KB) blk size(32 KB)
2007-06-02 12:27:11.657 Dec: Trying to select track (w/lang)
2007-06-02 12:27:11.657 Dec: Selecting first track
2007-06-02 12:27:11.657 Dec: Selected track #1 in the Unknown language(0)
2007-06-02 12:27:11.657 Resyncing position map. posmapStarted = 0
livetv(0) watchingRec(0)
2007-06-02 12:27:12.102
RingBuf(/home/mm/Desktop/MythTv/2_20070602000855.mpg):
OpenFile(/home/mm/Desktop/MythTv/2_20070602000855.mpg, 1)
2007-06-02 12:27:12.102
RingBuf(/home/mm/Desktop/MythTv/2_20070602000855.mpg):
CalcReadAheadThresh(2953888360 KB)
                         -> threshhold(64 KB) min read(0 KB) blk size(32 KB)
[mpeg @ 0xb7637600]Parser not found for Codec Id: 94210 !
0: start_time: 0.353 duration: 897.023
1: start_time: 445.343 duration: 897.015
2: start_time: 0.336 duration: 897.003
stream: start_time: 3.732 duration: 14911.359 bitrate=4467 kb/s
2007-06-02 12:27:12.129 AFD: Stream #0, has id 0x480 codec id
MPEG2VIDEO, type Video, bitrate 8000000 at 0x0x849cd80
2007-06-02 12:27:12.136 detectInterlace(Detect Scan, Interlaced Scan,
25, 576) ->Interlaced Scan
2007-06-02 12:27:12.136 AFD: Looking for decoder for MPEG2VIDEO
2007-06-02 12:27:12.136 AFD: Opened codec 0x860fc90, id(MPEG2VIDEO) type(Video)
2007-06-02 12:27:12.136 AFD: Stream #1, has id 0x105 codec id
MPEG2VBI, type Data, bitrate 0 at 0x0x8301470
2007-06-02 12:27:12.136 AFD: data codec (Data)
2007-06-02 12:27:12.136 AFD: Stream #2, has id 0x448 codec id MP2,
type Audio, bitrate 384000 at 0x0x84840f0
2007-06-02 12:27:12.136 AFD: Looking for decoder for MP2
2007-06-02 12:27:12.136 AFD: Opened codec 0x86934b0, id(MP2) type(Audio)
2007-06-02 12:27:12.137
RingBuf(/home/mm/Desktop/MythTv/2_20070602000855.mpg):
CalcReadAheadThresh(3052695892 KB)
                         -> threshhold(64 KB) min read(0 KB) blk size(32 KB)
2007-06-02 12:27:12.137 Dec: Trying to select track (w/lang)
2007-06-02 12:27:12.137 Dec: Selecting first track
2007-06-02 12:27:12.137 Dec: Selected track #1 in the Unknown language(0)
2007-06-02 12:27:12.137 AFD: Recording has no position -- using
libavformat seeking.
2007-06-02 12:27:12.137 AFD: Successfully opened decoder for file:
"/home/mm/Desktop/MythTv/2_20070602000855.mpg". novideo(0)
2007-06-02 12:27:12.144 VideoOutputNull()
2007-06-02 12:27:12.144 Display Rect  left: 0, top: 0, width: 0,
height: 0, aspect: 1.33333
2007-06-02 12:27:12.144 Video Rect    left: 14, top: 12, width: 691,
height: 553, aspect: 1.33333
2007-06-02 12:27:12.145 Created data @0xad265020->0xad2fce22
2007-06-02 12:27:12.145 Created data @0xad1cd020->0xad264e22
2007-06-02 12:27:12.145 Created data @0xad135020->0xad1cce22
2007-06-02 12:27:12.145 Created data @0xad09d020->0xad134e22
2007-06-02 12:27:12.145 Created data @0xad005020->0xad09ce22
2007-06-02 12:27:12.145 Created data @0xacf6d020->0xad004e22
2007-06-02 12:27:12.145 Created data @0xaced5020->0xacf6ce22
2007-06-02 12:27:12.145 Created data @0xace3d020->0xaced4e22
2007-06-02 12:27:12.145 Created data @0xacda5020->0xace3ce22
2007-06-02 12:27:12.145 Created data @0xacd0d020->0xacda4e22
2007-06-02 12:27:12.145 Created data @0xacc75020->0xacd0ce22
2007-06-02 12:27:12.145 Created data @0xacbdd020->0xacc74e22
-----------------------------------------------------

this line with "Created data" appears 30-40 times and everything
starts from the beginning again ...
it repeats 7-8 times and preview starts running smoothly with this output:
---------------------------------------
2007-06-02 16:14:31.125 Created data @0xab905020->0xab99ce22
2007-06-02 16:14:31.125 Created data @0xab86d020->0xab904e22
2007-06-02 16:14:31.151 Display Rect  left: 0, top: 0, width: 0,
height: 0, aspect: 1.33333
2007-06-02 16:14:31.152 Video Rect    left: 14, top: 12, width: 691,
height: 553, aspect: 1.33333
2007-06-02 16:14:31.152 NVP: ClearAfterSeek(1)
2007-06-02 16:14:31.164 NVP: Waiting for prebuffer.. 0
AAAAAAAAAAAAAAAAAAAAAAAAAAULLLL
2007-06-02 16:14:31.198 AFD: HandleGopStart: gopset not set, syncing positionMap
2007-06-02 16:14:31.201 Resyncing position map. posmapStarted = 0
livetv(0) watchingRec(0)
2007-06-02 16:14:31.201 AFD: HandleGopStart: Initial key frame distance: 15.
'video_output' mean = '40007.99', std. dev. = '149.70', fps = '25.00'
'video_output' mean = '39995.45', std. dev. = '181.16', fps = '25.00'
'video_output' mean = '39997.36', std. dev. = '573.86', fps = '25.00'
2007-06-02 16:14:47.065 NVP: 400 interlaced frames seen.
'video_output' mean = '39997.26', std. dev. = '970.44', fps = '25.00'
'video_output' mean = '39997.51', std. dev. = '523.89', fps = '25.00'
'video_output' mean = '39988.13', std. dev. = '29.41', fps = '25.01'
...
--------------------------------------------------




I could disable preview, but it is a feature which I like and it looks nice.

One more thing: my mythtv folder for recorded shows only contains the
recorded shows and .png pictures, not some smaller preview videos.
Should I be able to find them here, or are these videos being scaled
from the original one?


Thanks a lot.

M.


More information about the mythtv-users mailing list