Jump to content


Photo

Show number of channels for Dolby Digital


  • Please log in to reply
30 replies to this topic

Re: Show number of channels for Dolby Digital #21 Robinson

  • Senior Member
  • 2,621 posts

+30
Good

Posted 9 June 2017 - 21:21

Very promising. :)


ET9000, OpenPLi 4.0, 13E, 19E

HD51, OpenPLi 6.2, 75E - 30W


Re: Show number of channels for Dolby Digital #22 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 10 June 2017 - 08:54

 

you'd need to "tap" the demuxer,

Or the manufacturer need to add something in their drivers so we can retrieve this information...

Agree, that would be even better. But we'd never get ALL of the manufacturers to come with the same api...


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: Show number of channels for Dolby Digital #23 littlesat

  • PLi® Core member
  • 57,187 posts

+699
Excellent

Posted 10 June 2017 - 09:40

Yep.... and using external tools is a work-a-round... brrrrr.... To get the provider ID from ECMs could also be done via DVBsnoop... but I choose a different way... ;) And with DVB snoop you do not always get the played stream. It shows the first recorded, streamed or played stream.... so no guarantee to get the proper data.


Edited by littlesat, 10 June 2017 - 09:41.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Show number of channels for Dolby Digital #24 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 10 June 2017 - 14:50

External tools is the unix way and it works fine.

Also what you are saying is not what I describe in my post earlier.

Just like we do with bitrate plugin... we can get the audio PID and pass the audio TS stream for analysis in a software like ffprobe.

What is the way you are proposing other than my work-a-round?
Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: Show number of channels for Dolby Digital #25 jpuigs

  • Senior Member
  • 1,143 posts

+32
Good

Posted 10 June 2017 - 23:58

I've been playing with ffprobe, and I see it doesn't difference audio (mp2) in Stereo or Joint Stereo modes.

It always says "stereo".


Edited by jpuigs, 10 June 2017 - 23:59.

Enigma is getting old....

 

Spoiler

Re: Show number of channels for Dolby Digital #26 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 11 June 2017 - 10:31

External tools is the unix way and it works fine.

Also what you are saying is not what I describe in my post earlier.

Just like we do with bitrate plugin... we can get the audio PID and pass the audio TS stream for analysis in a software like ffprobe.

What is the way you are proposing other than my work-a-round?

The neatest way would be to include the ffmpeg libraries in enigma and then you can probe withouth using external applications. BUT it is complex and difficult.


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: Show number of channels for Dolby Digital #27 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 11 June 2017 - 10:33

I've been playing with ffprobe, and I see it doesn't difference audio (mp2) in Stereo or Joint Stereo modes.

It always says "stereo".

That is because both ARE stereo ;)

 

Why do you want to know? Most (all?) audio encoders can switch between "full stereo" and "joint stereo" on a frame-by-frame basis, e.g. audio consisting of only one voice "in the middle" will be encoded using joins stereo and as soon as the music starts, the encoder will switch to full stereo.

 

Why do you want to know, really? Do you think you can hear the difference?


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: Show number of channels for Dolby Digital #28 jpuigs

  • Senior Member
  • 1,143 posts

+32
Good

Posted 11 June 2017 - 11:19

Yes.

Some broadcasters (most of them radiostations) which use low bitrate values, 96 kb/s, 112 kb/s, 128 kb/s , are transmitted using joint stereo instead of stereo, because it gives better sound quality than real stereo (AT LOW BITRATES) , although it loses some stereo separation in certain frequencies.

Mpeg-1 layer 2 doesn't switch between Joint and stereo, at least I've never seen it.


Enigma is getting old....

 

Spoiler

Re: Show number of channels for Dolby Digital #29 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 11 June 2017 - 11:57

I've seen it (in music clips).

 

I doesn't give better sound quality, it gives better compression rates, because only one channel needs to be encoded, plus the difference between left and right, which, when jount stereo is used, should be minimal. At low (CBR) bit rates, it will result in better quality. It will not result in less stereo separation, though. When both channels are 100% different (theoretical case), they will still be encoded as two 100% different channels, just through a matrix (left, right) -> (center, difference). The center  channel will yield very little information in this case and the difference channel will yield a huge amount of information. This will result in very inefficient compression, so when this is the case, it's really better to use two-independent-channel-stereo. But it has nothing to do with stereo separation.

 

Which is another situation to FM stereo, where also a center and a difference channel is broadcast, but where the difference channel is turned down deliberately, to minimise bandwidth, keeping the whole FM channel within the allotted 75 kHz boundaries. AFAIK digital audio encoders do not practise this.

 

I am still curious why you'd want to know this on a per-channel basis, anyway.


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: Show number of channels for Dolby Digital #30 jpuigs

  • Senior Member
  • 1,143 posts

+32
Good

Posted 11 June 2017 - 13:50

AFAIK, on MP2 (Mpeg 1 Layer 2) audio signals, the joint stereo mode used is the intensive coding mode.

 

The other joint mode, the Mid/Side (M/S) mode is used on MP3, AAC.....  and is similar to FM analog stereo. Mid = L+R = Mono  , Side= L-R


Edited by jpuigs, 11 June 2017 - 13:52.

Enigma is getting old....

 

Spoiler

Re: Show number of channels for Dolby Digital #31 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 12 June 2017 - 17:45

Yes, you are right, apparently I was referring to mid/side stereo encoding.

 

I don't think even ffprobe will give this information, let alone drivers or hardware...


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.



4 user(s) are reading this topic

0 members, 4 guests, 0 anonymous users