[mythtv-commits] Re: Ticket #660: MythMuisc plays mp3 files ripped by iTunes at half speed

MythTV mythtv at cvs.mythtv.org
Sun Nov 20 04:47:25 EST 2005


#660: MythMuisc plays mp3 files ripped by iTunes at half speed
----------------------------------+-----------------------------------------
 Reporter:  robert at leblancnet.us  |        Owner:  ijr
     Type:  defect                |       Status:  new
 Priority:  minor                 |    Milestone:     
Component:  mythmusic             |      Version:     
 Severity:  medium                |   Resolution:     
----------------------------------+-----------------------------------------
Comment (by paulh):

 I took a quick look at this. The file plays at half speed for me also.

 The way the maddecoder in mythmusic works is it looks for a frame header
 starting from
 the beginning of the file. When it finds one it sets up the AudioOutput
 using values found
 from this first header found for the number of channels, bitrate etc.

 The problem with the attached file is the first header is either corrupt
 or has wrong information
 in it which causes the AudioOutput to be set up wrongly.

 If you force the number of channels to 2 right after its read the header
 the file then plays fine.

 I'm tempted to say tell iTunes to sort out there mp3 encoder if it was not
 for the fact that every
 player I tried had no problems playing the file except for MythMusic.

 A quick fix would be to ignore the results from the first header found and
 use the second or later
 header. Not sure if that is the way to go though.

 Anybody have any insight into the best way to fix this?

-- 
Ticket URL: <http://cvs.mythtv.org/trac/ticket/660>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list