Thanks for all the help guys, maybe just me who are stupid and wrote "export" before " AE_ENGINE=SOFT "
Atleast it worked after i just wrote in AE_ENGINE=SOFT in the terminal. Thanks once again!
If you have PlexHT installed via the Ubuntu PPA, you should have "plexhometheater.sh" as startup script (which calls the plexhometheater binary and sets "XBMC_HOME" path). The script comes pre-filled with the "export AE_ENGINE=SOFT" line, it's just commented out. Simply edit the file, remove the "#" in front of the line and you're set. That's what I did. ;)
After fixing what the environment variable AE_ENGINE broke I was able to fix the fast forward on my system.
Disabling AC3 under Settings->System->Audio-Output was the solution.
This is kinda the same solution as disabling Direct Play, as seen on the first page on this thread. But with this I hope it transcodes the audio only.
Edit: Needed to disable the other options as well for some videos.
Edit 2: My Menu-Sounds still don't work, but thats ok.
I was having the same issues (fast forward video with no audio), but this thread ended up leading me to a solution that resolved all the issues I was having.
I added the environment variable "AE_ENGINE=SOFT", but was still having issues. I tried disabling all of the audio capability options (AC3, DTS, etc), which slowed the video down to normal speeds and gave me stereo audio, but then I wasn't getting passthrough to my receiver.
At that point I noticed I was able to see new options under the Audio and Passthrough output device. I chose my NVidia HDMI out (there are several and needed to experiment to find the right one) for both. I changed Audio output channels to 2.0 (which I believe is only used if downmixing or PHT is decoding something like MP3). On the "capable receiver" options, I checked Dolby Digital (AC3), DTS, and AAC. The other capable receiver options are left unchecked. I am now getting normal speed video and rich sounding audio on high bitrate videos with DTS and Dolby Digital 5.1 audio. I have also tested video files with MP3 and Dolby Digital 2.0, and 1080p Youtube videos from my queue with success on all fronts.
I tried enabling LPCM but was having issues when that option is checked, so now I'm leaving it unchecked. Menu sounds are working for me.
My setup:
PHT 1.0.13dev-git running on a mid-2010 Apple Mac Mini (NVidia Geforce 320M) running Ubuntu 12.0.4. It is connected via HDMI to a Pioneer receiver.
Hope that helps someone out there. If you need more details, just let me know.
I also suspected the gstreamer plugins - no wonder, they have "bad" in the name... - and uninstalled them right away. Unfortunately that didn't help either.
So, today I completely removed PlexHT again (also removed .plexht in my home dir) and reinstalled it. Problem was still there - UNTIL I deactived the audio options, like on your screenshot! Everything works like a charm!
I really hope, that this gets fixed soon, and that I can take some load off my server, which is connected to a Pioneer VSX-922-K, which is more than capable of decoding AC3, DTS and whatnot. But it look like, that I'm stuck currently with the server having to decode the audio stream. Well, at least it works. :)
Thanks again for everybody trying to help me and thanks for the Plex team for making this AWESOME piece of software (the server and the many clients for the different OSes)!!!
P.S.: Too bad, that I like the old skin better, but on that one I didn't find these options! They must have been new to this version, that's why I still had no sound when I tried to reinstall the 0.9.x - it was probably saved in my .plexht folder and since I had no option in 0.9.x to disable them, I didn't realize that.
I was having exactly this problem and had to unclick the Dolby options to get things to work....then I realised my Onkyo amp was set to work on zone 2 (not sure how I managed that) and when I changed that so it was just normal it seemed to work fine with the Dolby options ticked. Video speed went back to normal and sound worked ok. So might be a setting on your amp...
I had the same issue - video playing at ~10x normal speed and no sound - on an Intel NUC with the Celeron N2820 and Ubuntu 14.04, connected to a receiver over HDMI. Almost all my movies have DD or DTS soundtracks, and I have a 5.1 speaker setup, so transcoding the audio to plain stereo wasn't very tempting.
AE_ENGINE=SOFT didn't do anything on its own. But changing the PHT "Audio output device" and "Passthrough output device" worked. The audio device was "play through PulseAudio" (default), and the fix is apparently to bypass PulseAudio altogether. In my case, by setting both the audio and the passthrough device to "HDA Intel PCH, marantz on HDMI". (Where HDA Intel PCH is the sound card, and marantz is the receiver.)
BTW, this error
libva: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva: va_openDriver() returns -1
is because that file doesn't exist. (There is a i965_dri.so, but symlinking *_dri.so to *_drv_video.so didn't help, I just got a complaint about a missing function instead. That is, whatever libva is looking for, it's not *_dri.so.)
The terminal shows the same error even with AE_ENGINE=SOFT. But with the configuration changes above, the video plays at normal speed, the sound appears unafffected, and I get DD and DTS passthrough to the receiver.
Anyone coming across this thread, I was able to get my DTS audio working by following Plexeej2's advice. Simply enter sudo nano /usr/bin/plexhometheater.sh into terminal and hit enter. The code listed in his post will appear. Remove the "#" from in front of the "#export AE_ENGINE=SOFT", then press control and x. It will ask you save changes by pressing Y. Then enter
After this I went into the audio settings in my Plex Home Theater and changed the Output Device. I had to try a few different ones because one worked but I lost the Plex system sounds (the click when scrolling), but the one I settled on gave me DTS and system sounds.