[mythtv-commits] Ticket #10396: Periodical, short audio artifacts in one the channels when upmixing to 5.1

MythTV noreply at mythtv.org
Thu Mar 15 01:56:50 UTC 2012


#10396: Periodical, short audio artifacts in one the channels when upmixing to 5.1
------------------------------------------+--------------------------------
 Reporter:  blazej.lewcio@…               |          Owner:  jyavenard
     Type:  Bug Report - General          |         Status:  infoneeded_new
 Priority:  minor                         |      Milestone:  unknown
Component:  MythTV - Audio Output         |        Version:  Unspecified
 Severity:  medium                        |     Resolution:
 Keywords:  upmixing                      |  Ticket locked:  0
------------------------------------------+--------------------------------

Comment (by markspieth):

 it does explain 16 sec audio glitch period as the rate is now right @
 48k*4bytes * 3072000.

 1. encoder not recreated if no change is detected AFAICT.

 2. it will output old data for a short period before new data is output
 after stream change. proc state clear in reset is still advisable but not
 a (the) glitch generator.

 3. encoder->Encode is called with bdiff (byte not frame multiple) which is
 not aligned to 6ch bpf which means it will absorb a fractional
 unset/uninited sample at buffer wrap time and then shift/rotate channel
 presentation to the encoder. fix waud reset and this will go away
 irrespective of the output bpf or fix incomplete buffer wrap condition in
 Encode wrap part.

 Also I did extensive tests with audio out 6ch and I couldn't get it to
 fail in the way described.

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


More information about the mythtv-commits mailing list