K Shea wrote:
> Well I should clarify that I do not know for sure that this is Pro Logic II, it's just that I read a thread on one of the forums that suggested that was the issue, and the test videos on YouTube play in exactly the same way as the "problem" content, which is to say that audio that should go to the left surround or right surround plays in all four speakers - there is no right/left separation or front/rear separation. But MythTV plays these same test videos and outputs all six channels correctly. Also there was a thread on an ffmpeg forum that said that ffmpeg can encode Pro Logic II but not decode it. They even opened a ticket on it, but so far have not done anything more about it (see http://trac.ffmpeg.org/ticket/4085 ).
To be accurate - ProLogic and ProLogic II are decoding technologies used in amps, they aren't encoding technologies. You don't have material encoded with ProLogic or ProLogic II. Instead I believe the content is encoded with Dolby Stereo or Dolby Surround (not entirely sure the correct description) which is a pretty old way of encoding rear surround (originally just one channel) into a stereo audio signal. It was used in movies as you didn't have to produce additional prints (the audio was compatible with standard stereo kit), but if your cinema paid for a Dolby Surround decoder you got rear channel surround. Then ProLogic was produced as an improved domestic decoding solution - which added things like a centre channel rather than relying on a phantom channel.
It was never really that popular in Europe for TV Production, though movies broadcast on stereo TV channels (our analogue TV system in the UK had a 728kbps 32kHz lightly companded but not compressed digital stereo system called NICAM added in the late 80s) would be ProLogic compatible when broadcast. So decoders had some use over here, and VHS HiFi tracks (and Laseer disc stereo tracks) were similarly compatible.
If you also played conventional stereo that had been well mixed into a ProLogic decoder you found that you got some sound in your rear speakers in ProLogic mode. It might sound quite nice - but it is entirely fake. Decent audience applause mixed with stereo mics will come out of the rear channels for example.
> Ubuntu 12.04 LTS and XBMC Gotham. Don't have Windows, and don't like OpenElec because it takes over the system (you cannot run a desktop or any other programs, except the ones they allow or provide). Regarding "the odd other bugs with Intel / XBMC", can you explain further? I have been thinking about perhaps getting something a little bit more up to date than my current HTPC device, which uses a built-in nVidia ION graphics chipset, but nowadays it seems everything comes with Intel graphics. I understand there is some issue with those that has to do with VAAPI or something, but I don't really understand the issue and don't know how bad the problem really is. And unfortunately, unless I wanted to build a full-blown desktop system (which I don't), I don't see any way to avoid Intel graphics on a low cost HTPC device that will run Linux.
Ah - I run OpenElec mainly - I dedicate my HTPC to OpenElec and "it just works". However there are some Intel driver bugs knocking around that stop it being perfect. Plenty of threads over at forum.kodi.tv about them (kodi being the new name for XBMC). There are issues with Intel's Linux drivers which cause hangs. However if they are fixed the Motion Compensative decoding you get with a Chromebox with a Celeron 2955U Haswell CPU is pretty damn good.
My main HTPC is an i5 with an nVidia GPU in it - and it works brilliantly for pretty much everything. (I have an i5 because I need 4:2:2 decoding of H264 content which isn't VDPAU-friendly) My other HTPCs are ASUS Chromeboxes. They are good - but when the Intel bugs are fixed (fingers crossed) they'll be amazing.
>
> I think my amp is too old to have ProLogic II - it does have a Dolby setting but that makes no difference with this issue (I normally leave it on THX because I think it sounds better). The connection between the HTPC and the receiver is via SPDIF (optical) and that works very well for movies and such, and for content from a certain group of stations that encode in AC3. The difference is that XBMC recognizes that content as 5.1, whereas on the programs that have the Pro Logic II or whatever it is, XBMC thinks it's 2.0 content (yet still directs output to the left, right, center, and subwoofer correctly). I do have passthough enabled so I'm actually not sure what XBMC does with the sound, all I know is that for whatever reason the MythTV frontend gets the sound right and XBMC doesn't.
ProLogic pre-dates Dolby Digital - it was used with VHS tapes prior to DVD, which introduced Dolby Digital. It may be that your amp is too NEW to support it. It's ancient technology. You do find that some shows made in 5.1 and broadcast with Dolby Digital / AC3 on some platforms have a stereo mix down that creates a ProLogic compatible track (so if you watch them on a stereo channel you get surround with ProLogic) but the quality is average, and the phase relationships required for decent ProLogic decoding can be distured by the MP2/AC3 compression used for broadcast, so results are varied.
That said - all of my Onko amps have still got ProLogic decoding on them. One of them is 6 years old, the other 3 years old. (And these are mainly used HDMI Audio for DTS HD MA, Dolby True HD and multichannel PCM.)
>
> FWIW in one of the threads (I think an ffmpeg one) someone said that this is the code that MythTV uses (http://github.com/MythTV/mythtv/blob/master/mythtv/libs/libmythfreesurround/el_processor.cpp) but that they can't just copy it due to some nonsense about different version of open source licenses or something like that. But for all I know, that page could contain coded instructions for baking a cake and I would not know the difference.
Licences are really important. They are what run projects like TV Headend, XBMC and allow us to benefit from software that others have worked on and given their work for nothing. I think we have to respect that they can chose to license their code as they wish. I know that there are ongoing discussions about the licences used by TV Headend. Open Source software licences are pretty important.