Hi! Could somebody enlight me why xine under vdr mediaplayer have problems with ac3 sound? I have file what I can play without problems directly with xine:
xine: found demuxer plugin: matroska demux plugin video discontinuity #1, type is 0, disc_off 0 waiting for audio discontinuity #1 audio discontinuity #1, type is 0, disc_off 0 demux_matroska: Track 1, A_AC3 und waiting for in_discontinuity update #1 demux_matroska: Track 2, V_MPEG4/ISO/AVC eng vpts adjusted with prebuffer to 24249 load_plugins: plugin ffmpegvideo will be used for video streamtype 4d. load_plugins: plugin a/52 will be used for audio streamtype 00.
But if I select same file in VDR - [menu] - Media Player - Play file Picture is ok, but only sound what I get is surround channel (background noise).
I have copied file '.xine/config' to '.xine/config_xineliboutput' with no help.
At plugins setup - xineliboutpu - audio I have set: Speakers: Pass Through Upmix stereo to 5.1: Yes Rest of selections are no/off
Connection from computer to amp is SPDIF
On Mon, Nov 3, 2008 at 10:57 AM, JJussi linux-dvb@jjussi.com wrote:
Hi! Could somebody enlight me why xine under vdr mediaplayer have problems with ac3 sound? I have file what I can play without problems directly with xine:
xine: found demuxer plugin: matroska demux plugin video discontinuity #1, type is 0, disc_off 0 waiting for audio discontinuity #1 audio discontinuity #1, type is 0, disc_off 0 demux_matroska: Track 1, A_AC3 und waiting for in_discontinuity update #1 demux_matroska: Track 2, V_MPEG4/ISO/AVC eng vpts adjusted with prebuffer to 24249 load_plugins: plugin ffmpegvideo will be used for video streamtype 4d. load_plugins: plugin a/52 will be used for audio streamtype 00.
But if I select same file in VDR - [menu] - Media Player - Play file Picture is ok, but only sound what I get is surround channel (background noise).
I have copied file '.xine/config' to '.xine/config_xineliboutput' with no help.
At plugins setup - xineliboutpu - audio I have set: Speakers: Pass Through Upmix stereo to 5.1: Yes Rest of selections are no/off
Connection from computer to amp is SPDIF
I assume that you use vdr-sxfe as the frontend for xineliboutput? What does its log output look like? Please set logging to verbose and post here (as attachments) the results. And the same with xine.
-Petri
JJussi wrote:
I assume that you use vdr-sxfe as the frontend for xineliboutput? What does its log output look like? Please set logging to verbose and post here (as attachments) the results. And the same with xine.
-Petri
Hi! That's right! vdr-sxfe is my front end. Here is log files.
Well, your logs didn't really reveal anything. I get the same entries when replaying a matroska file with AC3 audio and everything works just fine. Here are relevant parts of my settings, in case those might help you.
config_xineliboutput:
audio.driver:alsa audio.device.alsa_default_device:hw:0,1 audio.device.alsa_front_device:hw:0,1 audio.device.alsa_passthrough_device:plug:spdif:0 audio.device.alsa_surround40_device:plug:spdif:0 audio.device.alsa_surround51_device:hw:0,1 audio.output.speaker_arrangement:Pass Through audio.synchronization.slow_fast_audio:1 audio.synchronization.av_sync_method:resample audio.synchronization.resample_mode:off
VDR's setup.conf:
xineliboutput.Audio.Compression = 100 xineliboutput.Audio.Delay = 0 xineliboutput.Audio.Driver = alsa xineliboutput.Audio.Headphone = 0 xineliboutput.Audio.Port = default xineliboutput.Audio.SoftwareVolumeControl = 1 xineliboutput.Audio.Speakers = Pass Through xineliboutput.Audio.Surround = 0 xineliboutput.Audio.Upmix = 0
-Petri
On Monday, 3. Novemberta 2008 20:52:15 Petri Helin wrote:
audio.driver:alsa audio.device.alsa_default_device:hw:0,1 audio.device.alsa_front_device:hw:0,1 audio.device.alsa_passthrough_device:plug:spdif:0 audio.device.alsa_surround40_device:plug:spdif:0 audio.device.alsa_surround51_device:hw:0,1 audio.output.speaker_arrangement:Pass Through audio.synchronization.slow_fast_audio:1 audio.synchronization.av_sync_method:resample audio.synchronization.resample_mode:off
Hi! I tried these.. Only thing what changed, now my amp cannot decode signal anymore, it's more like "loud noise".. Digital garbage. Search continues...
JJussi wrote:
I tried these.. Only thing what changed, now my amp cannot decode signal anymore, it's more like "loud noise".. Digital garbage. Search continues...
$ aplay -L -C 1 | grep iec958 iec958:CARD=Intel,DEV=0 iec958:CARD=DG2,DEV=0
$ grep iec958 .xine/config_xineliboutput audio.device.alsa_passthrough_device:iec958:CARD=Intel,DEV=0
Check correct output name with aplay and change it to config_xineliboutput (iec958 could be spdif*).
On Tuesday, 4. Novemberta 2008 11:24:37 Pertti Kosunen wrote:
$ aplay -L -C 1 | grep iec958 iec958:CARD=Intel,DEV=0
$ grep iec958 .xine/config_xineliboutput audio.device.alsa_passthrough_device:iec958:CARD=Intel,DEV=0
Check correct output name with aplay and change it to config_xineliboutput (iec958 could be spdif*).
Sorry.. Didn't help.. :-(
Base question/problem is.. Why vdr-xineliboutput don't work with xine settings? (as I stated at start of this thread, with xine I don't have problems with these files... Coping config file to setup_xineliboutput don't solve problem.)
JJussi wrote:
Base question/problem is.. Why vdr-xineliboutput don't work with xine settings? (as I stated at start of this thread, with xine I don't have problems with these files... Coping config file to setup_xineliboutput don't solve problem.)
Most likely there is something else wrong. If I understood correctly, the problematic file has AC3 sound, but what exactly is it? Dolby digital 5.1? Does the same happen with all files containing AC3 sounds? Could you try with the samples found on this site (e.g. the 26MB Ambient Life): http://www.diatonis.com/downloads_dts_ac3.html
What does your receiver say about the stream it is receiving? Does it recognize it as a DD track?
-Petri
On Tuesday, 4. Novemberta 2008 19:04:42 Petri Helin wrote:
JJussi wrote:
Base question/problem is.. Why vdr-xineliboutput don't work with xine settings? (as I stated at start of this thread, with xine I don't have problems with these files... Coping config file to setup_xineliboutput don't solve problem.)
Most likely there is something else wrong. If I understood correctly, the problematic file has AC3 sound, but what exactly is it? Dolby digital 5.1? Does the same happen with all files containing AC3 sounds? Could you try with the samples found on this site (e.g. the 26MB Ambient Life): http://www.diatonis.com/downloads_dts_ac3.html
What does your receiver say about the stream it is receiving? Does it recognize it as a DD track?
-Petri
vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
I would.. If I could.. When I try to download file, I get "403 Forbidden"
JJussi wrote:
I would.. If I could.. When I try to download file, I get "403 Forbidden"
Even for this direct link?
http://www.diatonis.com/downloads/diatonis_ac3_48k_soal.zip
-Petri
On Tuesday, 4. Novemberta 2008 19:41:38 Petri Helin wrote:
Even for this direct link?
Even direct link.. But I managed to get that other "currents" file..
Result: When I have set # at start of line what defines that passthrough device (--> so system uses default value of it), my amp says that sound is "Dolby D Ex".. Same what it says for that test.mkv file, BUT with that mkv file it shows different speaker configuration. With this configuration, I can hear music (that currents) but sound from that mkv file is just surround sound what comes out from front speakers (and not rear speakers)
When I have set passthrough device to spdif, amp thinks that sound is Stereo PCM (what explains that digital garbits sound from speakers)
IF I set passthrough device to iec958:CARD=Intel,DEV=0, then result is: amp don't see any signal and playback is stopped after 1 second.
Did you try to use xine-ui directly instead of vdr-sxfe ?
2008/11/5 Pertti Kosunen pertti.kosunen@pp.nic.fi
JJussi wrote:
IF I set passthrough device to iec958:CARD=Intel,DEV=0, then result is: amp don't see any signal and playback is stopped after 1 second.
Do you run vdr-sxfe with '--audio alsa'?
vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
I mean you can use xine (xine-ui) to connect to the xinelibout-put vdr stream plugin. Launch xine et click on xvdr.
2008/11/5 JJussi linux-dvb@jjussi.com
On Wednesday, 5. Novemberta 2008 13:13:53 Sébastien Serra wrote:
Did you try to use xine-ui directly instead of vdr-sxfe ?
What you mean? When using xine to play mkv file I type at command line #>xine file.mkv
And with vdr-sxfe I select Media Player from menu...
-- JJussi
vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr