Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Commits

Ticket #10396: Periodical, short audio artifacts in one the channels when upmixing to 5.1

 

 

First page Previous page 1 2 Next page Last page  View All MythTV commits RSS feed   Index | Next | Previous | View Threaded


noreply at mythtv

Mar 1, 2012, 12:19 PM

Post #1 of 38 (478 views)
Permalink
Ticket #10396: Periodical, short audio artifacts in one the channels when upmixing to 5.1

#10396: Periodical, short audio artifacts in one the channels when upmixing to 5.1
----------------------------------------------+-------------------------
Reporter: blazej.lewcio@… | Owner: jyavenard
Type: Bug Report - General | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - Audio Output | Version: Unspecified
Severity: medium | Keywords: upmixing
Ticket locked: 0 |
----------------------------------------------+-------------------------
When using upmixing to 5.1, I get a periodical audio artifacts in one of
the left channels. It appears approx. every 16 s, and takes approx. 1 s
(or less). It sounds like a mix of stuttering and oscillation (short
circuit) between the central and affected speaker. It seems to be
independent from the content. It appear whether I watch speech only (news)
or speech with music background (movies).

It happens only with Live TV, in my case DVB-T. It does not happen with
MythVideo. Also, I don't get the artifacts after starting Live TV
directly, but first when I switch the channels. I suspect, it can be
reproduced when I switch the channel and than go back to the initial
channel again.

I use #182496.

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10396>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Mar 1, 2012, 2:22 PM

Post #2 of 38 (469 views)
Permalink
Re: Ticket #10396: Periodical, short audio artifacts in one the channels when upmixing to 5.1 [In reply to]

#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
------------------------------------------+--------------------------------
Changes (by jyavenard):

* status: new => infoneeded_new


Comment:

What version of myth are you using?

What's 182496

try latest master (0.25) and report..

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10396#comment:1>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Mar 1, 2012, 2:34 PM

Post #3 of 38 (471 views)
Permalink
Re: Ticket #10396: Periodical, short audio artifacts in one the channels when upmixing to 5.1 [In reply to]

#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 blazej.lewcio@…):

It is the commit signature from the master branch (Commit
18249695bed199c3003a945358e5f2564954b2dc, from Mon Feb 27 16:02:26).

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10396#comment:2>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Mar 1, 2012, 6:22 PM

Post #4 of 38 (465 views)
Permalink
Re: Ticket #10396: Periodical, short audio artifacts in one the channels when upmixing to 5.1 [In reply to]

#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 jyavenard):

Please provide a tad more detail.. I'm not a mind reader

Audio card type
Audio settings used (standard and advanced)
Audio format being played
Provide a sample where you can reproduce the issue

And finally the output of playback with mythfrontend started with -v audio

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10396#comment:3>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Mar 2, 2012, 1:47 AM

Post #5 of 38 (467 views)
Permalink
Re: Ticket #10396: Periodical, short audio artifacts in one the channels when upmixing to 5.1 [In reply to]

#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 blazej.lewcio@…):

Affects both, "good" and "best" upmixing.

The input in my case is MP2, stereo.

My soundcard:
0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xf9ff8000 irq 44
, and I use IEC958.

Log is attached. The artifacts could be perceived several times after the
last channel change, but not before. The last change was switching back.

I'm not able to capture a sample of the artifact with simple Mythtv
recording. The recordings are just fine. If there is a way to capture
output signal to the speakers, I'd be happy to do this.

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10396#comment:4>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Mar 5, 2012, 3:31 PM

Post #6 of 38 (467 views)
Permalink
Re: Ticket #10396: Periodical, short audio artifacts in one the channels when upmixing to 5.1 [In reply to]

#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 blazej.lewcio@…):

Additional info:
I can reproduce it by seeking in a video too. Thus, affects not only
LiveTV but also (stereo-only) videos. Until now, not observed with pure
5.1 content (, but extensively tested).

Additional log extract from "-v all" is now attached. Information when the
distortion was observed is included in the file. I don't get any log
output correlated with the distortion when I use "-v audio" only.

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10396#comment:5>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Mar 5, 2012, 3:53 PM

Post #7 of 38 (470 views)
Permalink
Re: Ticket #10396: Periodical, short audio artifacts in one the channels when upmixing to 5.1 [In reply to]

#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):

Probably needs a reset method in freesurround to clear the fft mixing
buffer on audio stream transitions.

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10396#comment:6>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Mar 5, 2012, 5:21 PM

Post #8 of 38 (466 views)
Permalink
Re: Ticket #10396: Periodical, short audio artifacts in one the channels when upmixing to 5.1 [In reply to]

#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 jyavenard):

Mark, the upmixer is destroyed/recreated whenever the audio format has
changed. I would assume this would clear any internal buffer used by the
upmixer.

However, if you would mind crafting a patch for that, it would be very
much appreciated.

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10396#comment:7>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Mar 6, 2012, 3:41 PM

Post #9 of 38 (458 views)
Permalink
Re: Ticket #10396: Periodical, short audio artifacts in one the channels when upmixing to 5.1 [In reply to]

#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):

added a patch (untested) to clear audio state on Reset() which happens
after seek.

It appears audio is not destroyed under seek circumstances.

I expect this to work, but its a good idea in any case.

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10396#comment:8>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Mar 6, 2012, 9:47 PM

Post #10 of 38 (460 views)
Permalink
Re: Ticket #10396: Periodical, short audio artifacts in one the channels when upmixing to 5.1 [In reply to]

#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 jyavenard):

but for the problem to occur as the OP described, that would assume that a
reset is occurring every 16s, which is unlikely to ever happen

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10396#comment:9>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Mar 7, 2012, 1:47 AM

Post #11 of 38 (460 views)
Permalink
Re: Ticket #10396: Periodical, short audio artifacts in one the channels when upmixing to 5.1 [In reply to]

#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 jyavenard):

blazej.lewcio [at] googlemail, can you try the provided patch and report?

Thanks

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10396#comment:10>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Mar 7, 2012, 1:54 AM

Post #12 of 38 (459 views)
Permalink
Re: Ticket #10396: Periodical, short audio artifacts in one the channels when upmixing to 5.1 [In reply to]

#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 blazej.lewcio@…):

sure, I'll try it this afternoon (CET)

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10396#comment:11>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Mar 7, 2012, 2:24 PM

Post #13 of 38 (459 views)
Permalink
Re: Ticket #10396: Periodical, short audio artifacts in one the channels when upmixing to 5.1 [In reply to]

#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 blazej.lewcio@…):

Unfortunately, the patch does not fix the problem.

Additional info: If the sound starts to be distorted and I toggle off/on
the upmixer, the upmixed sound works fine again, but if I then seek in the
stream again, the problem returns.

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10396#comment:12>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Mar 7, 2012, 3:38 PM

Post #14 of 38 (457 views)
Permalink
Re: Ticket #10396: Periodical, short audio artifacts in one the channels when upmixing to 5.1 [In reply to]

#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 blazej.lewcio@…):

Additional info: the distortion clearly happens when the if condition at
line 1246 (in my code) in libmyth/audio/audiooutputbase.cpp is entered.

{{{
1243 bdFrames = (kAudioRingBufferSize - org_waud) / bpf;
1244 printf("BufSize=%d, org_waud=%d, bpf=%d\n",
kAudioRingBufferSize, org_waud, bpf);
1245
1246 if (bdFrames < nFrames)
1247 {
1248 puts(" xxxx");
1249 upmixer->receiveFrames((float *)(WPOS), bdFrames);
1250 nFrames -= bdFrames;
1251 org_waud = 0;
1252 }
}}}

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10396#comment:13>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Mar 7, 2012, 6:41 PM

Post #15 of 38 (452 views)
Permalink
Re: Ticket #10396: Periodical, short audio artifacts in one the channels when upmixing to 5.1 [In reply to]

#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 jyavenard):

The bug could be on how the upmixer handles when its buffer is completely
full...

but certainly now how audiooutputbase calls it

Having said that, this conditions occurs several times a minute, and I've
never seen the problem before, and I haven't had any reports of the
problem before.

We did have a similar issue and it turned out to be an ALSA issue when
using a particular audio buffer size.

To make sure that it's not what is occurring here, can you start the
frontend with:
ALSABufferOverride=200 mythfrontend -v audio

by default we use a value of 500ms, but this has caused problem for some.

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10396#comment:14>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Mar 8, 2012, 10:53 AM

Post #16 of 38 (455 views)
Permalink
Re: Ticket #10396: Periodical, short audio artifacts in one the channels when upmixing to 5.1 [In reply to]

#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 blazej.lewcio@…):

same problem with 200

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10396#comment:15>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Mar 8, 2012, 2:39 PM

Post #17 of 38 (437 views)
Permalink
Re: Ticket #10396: Periodical, short audio artifacts in one the channels when upmixing to 5.1 [In reply to]

#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 jyavenard):

Replying to [comment:13 blazej.lewcio@…]:
> Additional info: the distortion clearly happens when the if condition at
line 1246 (in my code) in libmyth/audio/audiooutputbase.cpp is entered.
>
> {{{
> 1243 bdFrames = (kAudioRingBufferSize - org_waud) / bpf;
> 1244 printf("BufSize=%d, org_waud=%d, bpf=%d\n",
kAudioRingBufferSize, org_waud, bpf);
> 1245
> 1246 if (bdFrames < nFrames)
> 1247 {
> 1248 puts(" xxxx");
> 1249 upmixer->receiveFrames((float *)(WPOS), bdFrames);
> 1250 nFrames -= bdFrames;
> 1251 org_waud = 0;
> 1252 }
> }}}

so you are saying that whenever the distortion occurs it coincides with
the xxxx being printed ?

Can you reproduce the problem changing the quality of the upmixer to low
in the settings?

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10396#comment:16>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Mar 8, 2012, 2:41 PM

Post #18 of 38 (438 views)
Permalink
Re: Ticket #10396: Periodical, short audio artifacts in one the channels when upmixing to 5.1 [In reply to]

#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 jyavenard):

oh, and can you post the output with the extra log you added ?

Thanks

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10396#comment:17>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Mar 9, 2012, 12:26 AM

Post #19 of 38 (415 views)
Permalink
Re: Ticket #10396: Periodical, short audio artifacts in one the channels when upmixing to 5.1 [In reply to]

#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 blazej.lewcio@…):

for all the last tests I used the "good" upmixer (out of two: good and
best I can choose, low as such is not in the list). Log extract of the
distortion moment is attached.

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10396#comment:18>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Mar 9, 2012, 1:30 AM

Post #20 of 38 (421 views)
Permalink
Re: Ticket #10396: Periodical, short audio artifacts in one the channels when upmixing to 5.1 [In reply to]

#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 jyavenard):

Ok.

And what about then if using the "Best" quality ?

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10396#comment:19>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Mar 9, 2012, 1:33 AM

Post #21 of 38 (417 views)
Permalink
Re: Ticket #10396: Periodical, short audio artifacts in one the channels when upmixing to 5.1 [In reply to]

#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 jyavenard):

With you log it doesn't have any timestamp, so it's impossible to tell
what...

Replace your printf with:
VBAUDIO(QString("BufSize=%1, org_waud=%2,
bpf=%3").arg(kAudioRingBufferSize).arg(org_waud).arg(bpf));

and your puts with:
VBAUDIO(QString("Frames = %1, bdFrames = %2, nFrames =
%3").arg(frames).arg(bdFrames).arg(nFrames));

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10396#comment:20>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Mar 14, 2012, 4:41 PM

Post #22 of 38 (384 views)
Permalink
Re: Ticket #10396: Periodical, short audio artifacts in one the channels when upmixing to 5.1 [In reply to]

#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):

This is the interesting bit

{{{

2012-03-10 12:22:10.329782 I AO: BufSize=3072000, org_waud=1032192,
bpf=24
2012-03-10 12:22:10.361386 I AO: Pause 1
2012-03-10 12:22:10.363426 I AO: OutputAudioLoop: audio paused
2012-03-10 12:22:13.075240 W
RingBuf(/home/mythtv/Recordings/18403_20120310122212.mpg): Not starting
read ahead thread, already running
2012-03-10 12:22:13.136754 N Player(0): Forcing decode extra audio option
on (Video method requires it).
2012-03-10 12:22:13.754258 I AFD: Opened codec 0xffffffffa80cfb40,
id(MPEG2VIDEO) type(Video)
2012-03-10 12:22:13.754274 I AFD: codec MP2 has 2 channels
2012-03-10 12:22:13.754310 I AFD: Opened codec 0xffffffffa432ef10,
id(MP2) type(Audio)
2012-03-10 12:22:13.754340 I AFD: Audio Track #1 is A/V stream #2 and has
2 channels in the German language(6776178).
2012-03-10 12:22:13.754388 I AFD: Selected track 1: German MP2 2ch (A/V
Stream #2)
2012-03-10 12:22:13.754410 I AFD: Initializing audio parms from audio
track #1
2012-03-10 12:22:13.754441 I AFD: Audio format changed
from id(NONE) -1Hz -1ch -1bps (profile 0)
to id( MP2) 48000Hz 2ch 16bps (profile 0)
2012-03-10 12:22:13.754458 I AO: Needs upmix from 2 -> 6 channels
2012-03-10 12:22:13.754465 I AO: Reconfigure(): No change -> exiting
2012-03-10 12:22:13.758942 N AFD: Resetting byte context eof (livetv 1
was eof 0)
2012-03-10 12:22:13.949832 I AO: BufSize=3072000, org_waud=1040384,
bpf=24

}}}

notice that org_waud diff across the no change reconfigure is not a
multiple of 24 (6*4)
{{{
(1040384-1032192)/24 = 341.333
}}}
not sure why yet. Unexpected.

In this case this would rotate the channels by 2 putting L,R into LS,RS or
C,LFE, etc.

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10396#comment:21>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Mar 14, 2012, 5:21 PM

Post #23 of 38 (383 views)
Permalink
Re: Ticket #10396: Periodical, short audio artifacts in one the channels when upmixing to 5.1 [In reply to]

#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 jyavenard):

this is a very interesting find...

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10396#comment:22>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Mar 14, 2012, 5:26 PM

Post #24 of 38 (379 views)
Permalink
Re: Ticket #10396: Periodical, short audio artifacts in one the channels when upmixing to 5.1 [In reply to]

#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 jyavenard):

Great.. For some reason I didn't receive notifications that this log had
been posted...

At some stage in the log, everything get shifted slightly... it's not just
when it reset the circular buffer

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10396#comment:23>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Mar 14, 2012, 5:40 PM

Post #25 of 38 (384 views)
Permalink
Re: Ticket #10396: Periodical, short audio artifacts in one the channels when upmixing to 5.1 [In reply to]

#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):

i did not get notified either. attach file does not notify.

looks like 2 problems

encoder is in use. needs a clear during Reset (like the other modules)
also in Reset() waud = raud may not preserve bpf boundary

first one is easy. have patch already.

2nd one is unclear ATM for what is thread safe.

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10396#comment:24>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits

First page Previous page 1 2 Next page Last page  View All MythTV commits RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.