[mythtv-commits] Ticket #5971: stream reading eats up all memory in all myth apps

MythTV mythtv at cvs.mythtv.org
Sun Dec 7 14:54:28 UTC 2008


#5971: stream reading eats up all memory in all myth apps
------------------------------------------+---------------------------------
 Reporter:  Hans-Peter Oeri <hp at oeri.ch>  |        Owner:  ijr    
     Type:  defect                        |       Status:  new    
 Priority:  blocker                       |    Milestone:  unknown
Component:  Video Playback                |      Version:  head   
 Severity:  medium                        |   Resolution:         
  Mlocked:  0                             |  
------------------------------------------+---------------------------------

Comment(by Hans-Peter Oeri <hp at oeri.ch>):

 Working on a less complex sample of 20MB, and with --verbose all, I get
 the following:

 {{{
 2008-12-07 15:48:41.384 Transcoding from /home/hpoeri/Desktop/trial20.mpg
 to out20.mpg
 2008-12-07 15:48:41.393 Opening /home/hpoeri/Desktop/trial20.mpg
 2008-12-07 15:48:41.829 ac-tex damaged at 19 2
 2008-12-07 15:48:41.829 Warning MVs not available
 2008-12-07 15:48:41.830 concealing 1156 DC, 1156 AC, 1156 MV errors
 2008-12-07 15:48:41.857 Could not find codec parameters (Audio: mp3, s16)
 2008-12-07 15:48:41.857 Could not find codec parameters (Video: 0x0000)
 2008-12-07 15:48:42.233 Input #0, mpegts, from
 '/home/hpoeri/Desktop/trial20.mpg':
 2008-12-07 15:48:42.233   Duration: N/A, bitrate: N/A
 2008-12-07 15:48:42.253     Stream #0.0[0x1fa]: Video: mpeg2video,
 yuv420p, 544x576 [PAR 24:17 DAR 4:3], 3900 kb/s, 25.00 tb(r)
 2008-12-07 15:48:42.253     Stream #0.1[0x1fb](ger): Audio: mp3, s16
 2008-12-07 15:48:42.253     Stream #0.2[0x1fd](ger): Data: 0x0000
 2008-12-07 15:48:42.253     Stream #0.3[0x200]: Video: 0x0000, 90000.00
 tb(r)
 2008-12-07 15:48:42.254 Skipping invalid audio stream: 1
 2008-12-07 15:48:42.254 Skipping unsupported codec 2 on stream 2
 2008-12-07 15:48:42.700 Found end of file without finding  any frames
 2008-12-07 15:48:42.701 Transcoding /home/hpoeri/Desktop/trial20.mpg
 failed
 }}}

 Which would seem coherent with the no-freeing noticed above. Although the
 sample file is playable with all relevant players I have, myth's
 libavformat seems to eat up memory while searching for a frame (or frame
 boundaries?)

 Unfortunately, I don't know anything about mpegts contents, yet.

 However, myth really should give up before EOF or OOM ;)

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/5971#comment:7>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list