[mythtv-commits] Ticket #2115: MP3 encoding of captured audio produces static on PowerPC linux machines.

MythTV mythtv at cvs.mythtv.org
Thu Aug 3 07:43:27 UTC 2006


#2115: MP3 encoding of captured audio produces static on PowerPC linux machines.
-----------------------------------+----------------------------------------
 Reporter:  zdevito at princeton.edu  |       Owner:  ijr 
     Type:  defect                 |      Status:  new 
 Priority:  minor                  |   Milestone:      
Component:  mythtv                 |     Version:  0.19
 Severity:  medium                 |  
-----------------------------------+----------------------------------------
 I have the mythbackend running on a linux ppc machine--a powermac g4
 (digit audio revision) running Ubuntu dapper.  Using a  Plextor PX-TV402U-
 NA I am able to record TV with uncompressed audio fine but using mp3
 encoding produces static. I have tracked the problem to an endian issue in
 NuppelVideoRecorder.  It looks like the audio is read from the sound card
 as 16-bit little endian data; this raw audio data is sent directly to lame
 library for encoding, but the lame library expects data in system byte-
 order. Swapping the bytes in the audio before sending the audio to lame
 fixes the problem.  I have attached a patch that fixes the issue for big
 endian machines.

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


More information about the mythtv-commits mailing list