Sat 03 Jun 2017 12:35:50 PM UTC, comment #9:
There is a workaround described in the comment (using mplayer for audio passthrough and letting Bino handle just video), and I think that's enough for now.
|
Mon 19 Dec 2016 12:50:55 AM UTC, comment #8:
I can add that openal1.17 breaks bino sound output in Linux.
I use bino with HDMI passthrough via AMD/ATI] Turks XT [Radeon HD 6670/7670] with the free radeon driver.
With openal 1.13 I can see all my alsa devices in the bino's sound config menu.
With openal1.17 the choice of sound devices is gone and no sound can be heard at all.
returning to openal 1.13 solves the problem, but dependencies of other apps will eventually force me to move to the bad openal version.
|
Sun 06 Jan 2013 04:45:37 PM UTC, comment #7:
Here's a patch which disables audio decoding and output for AC3 and DTS content for people with only one iec958 output and only in the ALSA/pulseaudio default device, so Bino does not block this device for using the intermediate tee mplayer hwac3/hwdts passthru to AV-Receiver workaround (Linux/Mac(?) only) above:
index 84e1cd6..4da5bd7 100644
--- a/src/media_object.cpp
+++ b/src/media_object.cpp
@@ -876,8 +876,8 @@ void media_object::open(const std::string &url, const device_request &dev_reques
{
_ffmpeg->format_ctx->streams[i]->discard = AVDISCARD_ALL; // ignore by default; user must activate streams
AVCodecContext *codec_ctx = _ffmpeg->format_ctx->streams[i]->codec;
- AVCodec *codec = (codec_ctx->codec_id == CODEC_ID_TEXT
- ? NULL : avcodec_find_decoder(codec_ctx->codec_id));
+ AVCodec *codec = (codec_ctx->codec_id == CODEC_ID_TEXT ? NULL : codec_ctx->codec_id == CODEC_ID_AC3 ?
+ NULL : codec_ctx->codec_id == CODEC_ID_DTS ? NULL : avcodec_find_decoder(codec_ctx->codec_id));
// XXX: Sometimes the reported width and height for a video stream change after avcodec_open(),
// but the original values seem to be correct. This seems to happen mostly with 1920x1080 video
// that later is reported as 1920x1088, which results in a gray bar displayed at the bottom of
bino: [wrn] /mnt/vdr1-aux/3D.HSBS.DTS.x264.test.mkv stream 1: Cannot open audio codec: codec not supported
bino: [inf] /mnt/vdr1-aux/3D.HSBS.DTS.x264.test.mkv:
bino: [inf] Video stream 0: 1920x1080, 1.78:1 / 1920x1080-1.78:1-yuv420p-709-mpeg-l, 5751.62 seconds
bino: [inf] Using up to 2 threads for decoding.
bino: [inf] Input:
bino: [inf] Video 1920x1080, 1.78:1: 1920x1080-1.78:1-yuv420p-709-mpeg-l
bino: [inf] No audio.
bino: [inf] No subtitle.
bino: [inf] Duration: 5751.62 seconds
bino: [inf] Stereo layout: mono
You may need to tweak the pipe with inserting buffer and/or mplayer buffer/speed/scaletempo optons e.g. to get Bino video and 'mplayer ... -vo null -vc null -ac hwac3/hwdts -ao alsa:noblock:device=iec958=<card name> ... -' in sync ;-)
Since Bino audio playing design seems to rely on libavcodec decode_audio() there's more code (working in) needed to "short circuit" the demuxer to a libavdevice ALSA iec958 output device, pulseaudio 2 AC3 (neither DTS) passthru is still not working here, so I will not support pulseaudio (available for windows, too) for this.
|
Thu 27 Dec 2012 07:04:03 PM UTC, comment #6:
Mailing list is down / buggy, no cormfirmation, no own posts to list, nothing in archives,
posting here.
Hi Martin,
> Hi Tim!
>
> On Tue, 27 Nov 2012 10:15:41 +0000, Tim Sampson wrote:
>> On 26/11/2012 18:59, Martin Lambers wrote:
>> >> We have a client using Bino and they are requesting 7.1 audio. Is
>> >> there a way to provide 7.1 audio within a playable video file for
>> >> Bino. Thanks,
>> > This should work, except if your client wants S/PDIF output for AC-3
>> > and DTS passthrough. This requires some work before it will be
>> > supported; see also <https://savannah.nongnu.org/bugs/?37039>.
>>
>> In what sense does it work? Does it work when the computer has a
>> built in sound card with several outputs for speakers? I'm one of
>> those people that wants to pass surround sound to my home theatre
>> system.
>
> OpenAL supports surround sound output, so if your sound card is
> configured for this, it should work.
According to which standard or which (consumer-) S/PDIF - device supports >2 Channel besides AC3/DTS encoded, please?
Someone please get Alsa in for the Linux version, thanks.
y
tom
|
Sat 22 Dec 2012 05:40:34 PM UTC, comment #5:
NOISSUE
$ mknod binopipe p
$ bino binopipe &
$ cat movie.avi | tee binopipe | mplayer -quiet ... <audiodelayopt> ...-vo null ...-ac hwac3 ... - &
?
Should work on MacOS, too.
Windoze guys get a real and open source compatible OS before bothering devs with Your OS limitations, thank You.
|
Wed 14 Nov 2012 11:16:13 PM UTC, comment #4:
Just adding my voice that passthrough to SPDIF is a desired feature. I've got great 3D visuals but 2D sound.
|
Thu 30 Aug 2012 01:56:22 PM UTC, comment #3:
"As far as I know, OpenAL does not support passthrough to SPDIF, so this feature is hard to add to Bino. It probably requires some system-specific approach, unless there is some cross-platform audio-passthrough library. " Martin Lambers
As I know, XBMC does support Audio AC3/DTS Passthrought and it is Cross-Platform as well. VLC and Smplayer are both Cross-Platform too and both have this option. Maybe FFMpeg has a implementation of this feature that makes this approach not quite that hard.
Best Regards,
|
Fri 17 Aug 2012 12:12:24 PM UTC, comment #2:
I don't know what can be done for the Linux version. Perhaps the ALSA project and the A52 plugin? I really don't know. For the Windows version only, there could be an option to use ffdshow audio filter. That way, Bino can use its internal libraries for video decoding and subtitles rendering and at the same time create a simple directshow graph where a media splitter such as Haali's Media splitter and ffdshow audio filter will be used for audio playback. Another approach would be to use the SPDIFER.
http://ac3filter.net/wiki/Spdifer
But i don't see another way to make this work, except of using Directshow. I think it's the easiest approach to enable multichannel audio output on SPDIF for Bino. What do you think?
|
Tue 14 Aug 2012 07:54:27 PM UTC, comment #1:
As far as I know, OpenAL does not support passthrough to SPDIF, so this feature is hard to add to Bino. It probably requires some system-specific approach, unless there is some cross-platform audio-passthrough library.
|
Mon 06 Aug 2012 02:31:40 PM UTC, original submission:
I am trying to playback movies with either AC3 Dolby Digital audio or DTS audio to my home cinema receiver. I can't feed the receiver multichannel audio through the TOSLINK optical fiber SPDIF connector. For regular 2D movies i use Media Player Classic from the K-Lite Codec pack and i have configured the FFDAudio filter to passthrough the multichannel audio. It works perfectly. But i have no multichannel audio with Bino. Does Bino have the capability for direct AC3 and DTS passthrough to the S/PDIF connector of a sound card? Is there any option that i might have missed? It's a very important feature according to my opinion. Thanks in advance.
|