[mythtv-commits] Ticket #7274: Mytharchive shows random file sizes for imported videos

MythTV noreply at mythtv.org
Thu Apr 21 21:45:46 UTC 2011


#7274: Mytharchive shows random file sizes for imported videos
---------------------------------------------+--------------------------
 Reporter:  Marc Randolph <mrand@…>          |          Owner:  paulh
     Type:  defect                           |         Status:  assigned
 Priority:  minor                            |      Milestone:  unknown
Component:  Plugin - MythArchive             |        Version:  head
 Severity:  medium                           |     Resolution:
 Keywords:                                   |  Ticket locked:  0
---------------------------------------------+--------------------------

Comment (by anp@…):

 I've have this problem too. TWhen I , from mytharchive, is creation a
 VIDEO DVD and get to the "select archive items" screen the size of the
 selected video is rubbish. The encoder profile is deafult SP and the size
 can be 12032 TB for a 2 minuets MKV file.
 If I change the encoding profile to NONE the size is 0 KB. Returning back
 to SP the size is 0 KB.

 I can continue and create the DVD. I use the MYTHCENTER theme and have a
 fine DVD with chapter menus and pictures.

 The mythfrontend version is: [0.24-20110303.1mdv2010.2]

 If I run mythfrontend with all debug info, among others I get these lines
 when creating a DVD with the VIDEO aeblehoest.mkv:


 2011-04-07 20:54:21.849 MSqlQuery::exec(DBManager1) SELECT intid, title,
 plot, length, filename, coverfile, category, showlevel, subtitle, season,
 episode FROM videometadata ORDER BY title,season,episode <<<< Returns 162
 row(s)

 2011-04-07 20:54:21.850 MSqlQuery::next(DBManager1) Result: "intid = 353,
 title = aeblehoest, plot = Mor og Frederikke samler æbler i haven., length
 = 2, filename = aeblehoest.mkv, coverfile =
 /video/mythtv/video/pictures/aeblehoest.jpg, category = 0, showlevel = 1,
 subtitle = , season = 0, episode = 0"


 2011-04-07 20:54:23.973 MythUIHelper:
 LoadCacheImage(/video/mythtv/video/pictures/aeblehoest.jpg,-video-mythtv-
 video-pictures-aeblehoest.jpg--140x284.png)

 2011-04-07 20:54:23.973 MythUIImage(0xa5d0a2: Load(), spawning thread to
 load '/video/mythtv/video/pictures/aeblehoest.jpg'

 Here is the failure:

 2011-04-07 20:54:23.973 VideoSelector: Cannot find file: aeblehoest.mkv

 And now some more debug info:

 2011-04-07 20:54:23.973 MythUIImage(0xa5d0a2:
 LoadImage(/video/mythtv/video/pictures/aeblehoest.jpg) Object cover_image

 2011-04-07 20:54:23.973 MythUIHelper:
 LoadCacheImage(/video/mythtv/video/pictures/aeblehoest.jpg,-video-mythtv-
 video-pictures-aeblehoest.jpg--140x284.png)

 2011-04-07 20:54:23.977 MythUIHelper: NOT IN RAM CACHE, Adding, and adding
 to size :-video-mythtv-video-pictures-aeblehoest.jpg--140x284.png:
 :159040:

 2011-04-07 20:54:23.977 MythUIHelper: MythUIHelper::CacheImage : Cache
 Count = :159: size :779876:

 2011-04-07 20:54:23.977 MythUIImage(0xa5d0a2: LoadImage found in cache
 :-video-mythtv-video-pictures-aeblehoest.jpg--140x284.png: RefCount = 2


 2011-04-07 20:54:36.511 MSqlQuery::exec(DBManager0) DELETE FROM
 archiveitems;

 And because videoselector failed to find info, this happens :

 2011-04-07 20:54:36.511 MSqlQuery::exec(DBManager0) INSERT INTO
 archiveitems (type, title, subtitle, description, startdate, starttime,
 size, filename, hascutlist, duration, cutduration, videowidth,
 videoheight, filecodec, videocodec, encoderprofile) VALUES('Video',
 'aeblehoest', '', 'Mor og Frederikke samler æbler i haven.', '', '', '0',
 'aeblehoest.mkv', 'false', '0', '0', '0', '0', '', '', 'SP');


 I've tried to "google" videoselector but I only got the source file.

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/7274#comment:4>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list