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

Mailing List Archive: MythTV: Commits

Ticket #7426: Static noise from 96kHz/24bit audio files in MythMusic

 

 

MythTV commits RSS feed   Index | Next | Previous | View Threaded


mythtv at cvs

Oct 25, 2009, 5:32 AM

Post #1 of 14 (1246 views)
Permalink
Ticket #7426: Static noise from 96kHz/24bit audio files in MythMusic

#7426: Static noise from 96kHz/24bit audio files in MythMusic
---------------------------------------------------+------------------------
Reporter: Paul Hooper <paul.a.hooper@…> | Owner: stuartm
Type: defect | Status: new
Priority: minor | Milestone: 0.22
Component: Plugin - MythMusic | Version: 0.22rc1
Severity: medium | Mlocked: 0
---------------------------------------------------+------------------------
I am getting static noise from the left channel (right channel is fine)
when attempting to play 96kHz/24bit audio files in MythMusic. This is the
case with both wav and flac files. It seems the correct output device is
opened.

{{{
2009-10-25 11:55:31.980 Opening audio device 'spdif'. ch 2(2) sr 96000
2009-10-25 11:55:31.980 Opening ALSA audio device 'spdif'.
}}}

Files play correctly when using the aplay command.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7426>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Oct 26, 2009, 2:11 AM

Post #2 of 14 (1212 views)
Permalink
Re: Ticket #7426: Static noise from 96kHz/24bit audio files in MythMusic [In reply to]

#7426: Static noise from 96kHz/24bit audio files in MythMusic
---------------------------------------------------+------------------------
Reporter: Paul Hooper <paul.a.hooper@…> | Owner: stuartm
Type: defect | Status: new
Priority: minor | Milestone: 0.22
Component: Plugin - MythMusic | Version: 0.22rc1
Severity: medium | Mlocked: 0
---------------------------------------------------+------------------------

Comment(by jyavenard):

Mythtv fundamentally can't manage audio > 16 bits. 32 bits audio could be
rather easily adapted ; but 24 bits is going to be a pain as it's not your
typical C-type size so you have to manually handle endianess..

SPDIF is also designed to carry a maximum of 20 bits audio ; 24 bits can
be done, but not all receiver will handle it...

Also note that 96kHz isn't a sample rate that can be handled natively by
most audio cards ; the maximum they would typically handle is 48kHz. So
everything would be downsampled.

If you can upload some samples somewhere and post the link here, I could
have a look...

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7426#comment:1>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Oct 26, 2009, 2:53 AM

Post #3 of 14 (1200 views)
Permalink
Re: Ticket #7426: Static noise from 96kHz/24bit audio files in MythMusic [In reply to]

#7426: Static noise from 96kHz/24bit audio files in MythMusic
---------------------------------------------------+------------------------
Reporter: Paul Hooper <paul.a.hooper@…> | Owner: stuartm
Type: defect | Status: infoneeded_new
Priority: minor | Milestone: 0.22
Component: MythTV - Audio Output | Version: 0.22rc1
Severity: medium | Mlocked: 0
---------------------------------------------------+------------------------
Changes (by stuartm):

* status: new => infoneeded_new
* component: Plugin - MythMusic => MythTV - Audio Output


--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7426#comment:2>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Oct 26, 2009, 3:36 PM

Post #4 of 14 (1199 views)
Permalink
Re: Ticket #7426: Static noise from 96kHz/24bit audio files in MythMusic [In reply to]

#7426: Static noise from 96kHz/24bit audio files in MythMusic
---------------------------------------------------+------------------------
Reporter: Paul Hooper <paul.a.hooper@…> | Owner: stuartm
Type: defect | Status: infoneeded_new
Priority: minor | Milestone: 0.22
Component: MythTV - Audio Output | Version: 0.22rc1
Severity: medium | Mlocked: 0
---------------------------------------------------+------------------------

Comment(by Paul Hooper <paul.a.hooper@…>):

Thanks for the reply, sample attached. I was wrong about the right channel
being fine in my original post, the audio is there but it is stretched
(played back at approx. half speed). Left channel is just static.

I had a quick look at the myth ALSA audio output code and I can see the
max supported rate is 48kHz. There seems to be some code for dealing with
24bit sample format and endianness. aplay deals with 24 bit audio using
blocks of three bytes. You guys know all this anyway. My C++ has gone from
rusty to practically non existent over the last few years, so I'm a bit
out of my depth here.

16/20/24-bit and 44.1k/48k/96k/192kHz sample rate support is included with
many realtek ICs, even those on cheap motherboards like mine! I'm guessing
this is because of new codecs like Dolby TrueHD and DTS-HD using these
rates and formats. Are there any existing plans to support these new
formats?

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7426#comment:3>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Oct 26, 2009, 8:23 PM

Post #5 of 14 (1189 views)
Permalink
Re: Ticket #7426: Static noise from 96kHz/24bit audio files in MythMusic [In reply to]

#7426: Static noise from 96kHz/24bit audio files in MythMusic
---------------------------------------------------+------------------------
Reporter: Paul Hooper <paul.a.hooper@…> | Owner: stuartm
Type: defect | Status: new
Priority: minor | Milestone: 0.22
Component: MythTV - Audio Output | Version: 0.22rc1
Severity: medium | Mlocked: 0
---------------------------------------------------+------------------------
Changes (by jyavenard):

* status: infoneeded_new => new


Comment:

Attach a patch for mythmusic that will let play non 16-bits audio (24 bits
and 32 bits) by converting it to 16 bits...

Quickly tested on your sample...

Will use the same technique to playback DTS-HD and the like ...

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7426#comment:4>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Nov 14, 2009, 6:49 AM

Post #6 of 14 (1077 views)
Permalink
Re: Ticket #7426: Static noise from 96kHz/24bit audio files in MythMusic [In reply to]

#7426: Static noise from 96kHz/24bit audio files in MythMusic
---------------------------------------------------+------------------------
Reporter: Paul Hooper <paul.a.hooper@…> | Owner: stuartm
Type: defect | Status: new
Priority: minor | Milestone: 0.22
Component: MythTV - Audio Output | Version: 0.22rc1
Severity: medium | Mlocked: 0
---------------------------------------------------+------------------------

Comment(by warpme@…):

Hi
I also have issue of noise in left channel. Right channel seems to be OK.
Issue seems to be somehow related to mythmusic changes within last months,
as 2-3 months ago I was testing trunk and all was OK. I'm trying exactly
the same flac files - so definitely this is regression...

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7426#comment:5>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Nov 14, 2009, 6:58 AM

Post #7 of 14 (1072 views)
Permalink
Re: Ticket #7426: Static noise from 96kHz/24bit audio files in MythMusic [In reply to]

#7426: Static noise from 96kHz/24bit audio files in MythMusic
---------------------------------------------------+------------------------
Reporter: Paul Hooper <paul.a.hooper@…> | Owner: jyavenard
Type: defect | Status: assigned
Priority: minor | Milestone: 0.22
Component: MythTV - Audio Output | Version: 0.22rc1
Severity: medium | Mlocked: 0
---------------------------------------------------+------------------------
Changes (by stuartm):

* owner: stuartm => jyavenard
* status: new => assigned


--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7426#comment:6>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Nov 14, 2009, 7:00 AM

Post #8 of 14 (1073 views)
Permalink
Re: Ticket #7426: Static noise from 96kHz/24bit audio files in MythMusic [In reply to]

#7426: Static noise from 96kHz/24bit audio files in MythMusic
---------------------------------------------------+------------------------
Reporter: Paul Hooper <paul.a.hooper@…> | Owner: jyavenard
Type: defect | Status: infoneeded
Priority: minor | Milestone: unknown
Component: MythTV - Audio Output | Version: 0.22rc1
Severity: medium | Mlocked: 0
---------------------------------------------------+------------------------
Changes (by stuartm):

* status: assigned => infoneeded
* milestone: 0.22 => unknown


Comment:

Warpme, instead of a useless 'me too' you could have tested jyavenard's
patch.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7426#comment:7>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Nov 14, 2009, 8:50 AM

Post #9 of 14 (1074 views)
Permalink
Re: Ticket #7426: Static noise from 96kHz/24bit audio files in MythMusic [In reply to]

#7426: Static noise from 96kHz/24bit audio files in MythMusic
---------------------------------------------------+------------------------
Reporter: Paul Hooper <paul.a.hooper@…> | Owner: jyavenard
Type: defect | Status: infoneeded
Priority: minor | Milestone: unknown
Component: MythTV - Audio Output | Version: 0.22rc1
Severity: medium | Mlocked: 0
---------------------------------------------------+------------------------

Comment(by warpme@…):

Well,

Let me point out that from my perspective, message passed by my report is
no "me too" but rather info that it is regression.

Maybe I wrongly interpreting comments of jyavenard (as for me it suggest
that issue is result of limitations of mythtv/spdif).
Also nature of proposed solution is more workaround than RCA with final
solution not decreasing myth functional level.

As in past all was OK, if I would be developer - my msg will be key for
me, as it change interpretation of issue from "it is design limitation" to
"it is regression"

By above I disagree with Your kind remark about useless nature of my
report....

If You can't/don't have willingness/time/whatever to help resolve it -
fine. I really appreciate Your work on myth.
But if if You want to do something with this issue - I'm trying to help -
just by such reports.

br

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7426#comment:8>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Nov 14, 2009, 8:55 AM

Post #10 of 14 (1074 views)
Permalink
Re: Ticket #7426: Static noise from 96kHz/24bit audio files in MythMusic [In reply to]

#7426: Static noise from 96kHz/24bit audio files in MythMusic
---------------------------------------------------+------------------------
Reporter: Paul Hooper <paul.a.hooper@…> | Owner: jyavenard
Type: defect | Status: infoneeded
Priority: minor | Milestone: unknown
Component: MythTV - Audio Output | Version: 0.22rc1
Severity: medium | Mlocked: 1
---------------------------------------------------+------------------------
Changes (by robertm):

* mlocked: 0 => 1


Comment:

Was there a reason you posted this to the list (where it doesn't belong)
and the again to the ticket (where it also doesn't belong)?

Locked.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7426#comment:9>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Nov 14, 2009, 9:17 AM

Post #11 of 14 (1075 views)
Permalink
Re: Ticket #7426: Static noise from 96kHz/24bit audio files in MythMusic [In reply to]

#7426: Static noise from 96kHz/24bit audio files in MythMusic
---------------------------------------------------+------------------------
Reporter: Paul Hooper <paul.a.hooper@…> | Owner: jyavenard
Type: defect | Status: assigned
Priority: minor | Milestone: unknown
Component: MythTV - Audio Output | Version: 0.22rc1
Severity: medium | Mlocked: 0
---------------------------------------------------+------------------------
Changes (by danielk):

* status: infoneeded => assigned
* mlocked: 1 => 0


--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7426#comment:10>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Nov 14, 2009, 9:32 AM

Post #12 of 14 (1075 views)
Permalink
Re: Ticket #7426: Static noise from 96kHz/24bit audio files in MythMusic [In reply to]

#7426: Static noise from 96kHz/24bit audio files in MythMusic
---------------------------------------------------+------------------------
Reporter: Paul Hooper <paul.a.hooper@…> | Owner: jyavenard
Type: defect | Status: assigned
Priority: minor | Milestone: unknown
Component: MythTV - Audio Output | Version: 0.22rc1
Severity: medium | Mlocked: 0
---------------------------------------------------+------------------------

Comment(by danielk):

Everyone calm down.

Warpme, if the patch does not resolve your problem, please open a new
ticket with a clear description of your problem. Posts to tickets send an
e-mail to all MythTV developers and all those on the svn mailing list it
is a very poor place to argue the merits of a bug report.

Robert, the post most certainly belongs in the mailing list. Clearing up
any confusion as to what is helpful information is something that should
be done in a conversational forum. In this case there was a patch so
telling jyavenard there was a regression without testing his solution was
not terribly helpful, but as a general rule it is helpful to know whether
a problem is a regression or not; regressions can be considerably easier
to fix. As a non-developer Warpme could not be expected to understand this
nuance without it being explained to him first.

Now please continue any discussion on the mailing list. Tickets should be
"just the facts".

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7426#comment:11>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Apr 21, 2010, 8:08 AM

Post #13 of 14 (677 views)
Permalink
Re: Ticket #7426: Static noise from 96kHz/24bit audio files in MythMusic [In reply to]

#7426: Static noise from 96kHz/24bit audio files in MythMusic
---------------------------------------------------+------------------------
Reporter: Paul Hooper <paul.a.hooper@…> | Owner: jyavenard
Type: defect | Status: assigned
Priority: minor | Milestone: 0.24
Component: MythTV - Audio Output | Version: 0.22rc1
Severity: medium | Mlocked: 0
---------------------------------------------------+------------------------
Changes (by jyavenard):

* milestone: unknown => 0.24


--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7426#comment:12>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

May 25, 2010, 8:39 AM

Post #14 of 14 (557 views)
Permalink
Re: Ticket #7426: Static noise from 96kHz/24bit audio files in MythMusic [In reply to]

#7426: Static noise from 96kHz/24bit audio files in MythMusic
---------------------------------------------------+------------------------
Reporter: Paul Hooper <paul.a.hooper@…> | Owner: jyavenard
Type: defect | Status: closed
Priority: minor | Milestone: 0.24
Component: MythTV - Audio Output | Version: 0.22rc1
Severity: medium | Resolution: fixed
Mlocked: 0 |
---------------------------------------------------+------------------------
Changes (by jyavenard):

* status: assigned => closed
* resolution: => fixed


Comment:

Fixed in r24847

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7426#comment:13>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits

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.