Hello,
I am using vdr-1.6.0 and mplayer with Nexus FF card and it's spdif output.
When I run some "720p_AC3.avi" movies, my HC ampli receives 5.1 audio
without
problem. But with movies with DTS audio tracks, vdr+mplayer give only PCM in
stereo mode. There is an issue with DTS passthrough.
When I try mplayer **without vdr**, DTS is working :
Mplayer -ao mpegpes afm hwac3 movie.avi
My mplayer.sh.conf has theses lines :
USEAC3="true"
AC3AOUT="-ao mpegpes -afm hwac3"
Did I missed something ?
Do you know how could I fix this issue ?
Thank you.
==========================================================================
Here is the log
logger: *** Starting mplayer.sh Version 0.8.7
logger: *** DEBUG: Variable CFGFIL has value
"/DATA/configVDR/mplayer.sh.conf"
logger: *** DEBUG: Variable USEAC3 has value "true"
logger: *** DEBUG: Variable AC3AOUT has value "-ao mpegpes -afm hwac3"
logger: *** DEBUG: Variable TV_ASPECT has value "16/9"
logger: *** DEBUG: Variable PAL has value "true"
logger: *** DEBUG: Variable NTSC has value "false"
logger: *** DEBUG: Variable USE_SPEED has value "true"
logger: *** DEBUG: Variable DETC_FILTER has value "ivtc=1"
logger: *** DEBUG: Variable MPLAYER has value "/usr/bin/mplayer"
logger: *** DEBUG: Variable VOP has value "lavc=5000"
logger: *** DEBUG: Variable VO has value "mpegpes:card=1"
logger: *** DEBUG: Variable AO has value "mpegpes:card=1"
logger: *** DEBUG: Variable CACHE has value "8192"
logger: *** DEBUG: Variable CACHESTR has value "-cache 8192"
logger: *** DEBUG: Variable FRAMEDROP has value "true"
logger: *** DEBUG: Variable FDSTR has value "-framedrop"
logger: *** DEBUG: Variable LIRCRC has value ""
logger: *** DEBUG: Variable LIRCSTR has value ""
logger: *** DEBUG: Variable SUBTITLE has value " -subpos 80 -sub-bg-color 0
-sub-bg-alpha 30"
logger: *** DEBUG: Variable REMOTE has value "-slave -nolirc"
logger: *** Use Option USERDEF at your own risk!
logger: *** DEBUG: Variable USERDEF has value "-quiet"
logger: *** DEBUG: Variable XResPAL has value "352 480 528 544 688 704 720"
logger: *** DEBUG: Variable XResNTSC has value "352 480 512 640 704 720"
logger: *** DEBUG: Variable SLOW_CPU has value "false"
logger: *** DEBUG: *** Option DVDFiles not set correctly! You will not be
able to play VCD/DVD ""
logger: *** DEBUG: Variable DVDFiles has value ""
logger: *** DEBUG: *** Option DVD not set correctly! You will not be able to
play VCD/DVD ""
logger: *** DEBUG: Variable DVD has value ""
logger: *** DEBUG: Variable DVDLANG has value "fr"
logger: *** DEBUG: Variable DVDOPTIONS has value "-aop
list=volume:volume=170"
logger: *** DEBUG: Variable VCDOPTIONS has value ""
logger: *** DEBUG: Variable MPEG_DIRECT has value "true"
logger: *** DEBUG: Variable SUFFIX has value ".mkv"
logger: *** DEBUG: Variable MPLAYER_V1 has value "true"
logger: *** DEBUG: Calling getvidxy function to analyze source video stream
...
logger: *** DEBUG: OutputFromMPLAYER: "ID_VIDEO_ID=0
ID_VID_0_NAME=Cliffhanger (1993) ID_AUDIO_ID=0 ID_AID_0_NAME=DTS 5.1 768
kbps ID_AID_0_LANG=eng ID_FILENAME=/VIDEO/DIVX/Cliffhanger (1993) - 720p
x264 DTS US.mkv ID_DEMUXER=mkv
ID_VIDEO_FORMAT=avc1
ID_VIDEO_BITRATE=0
ID_VIDEO_WIDTH=1280
ID_VIDEO_HEIGHT=532
ID_VIDEO_FPS=23.976
ID_VIDEO_ASPECT=2.4060
ID_AUDIO_FORMAT=8193
ID_AUDIO_BITRATE=0
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=6
ID_LENGTH=6762.71
ID_VIDEO_CODEC=ffh264
ID_AUDIO_BITRATE=768000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
ID_AUDIO_CODEC=dts"
logger: *** DEBUG: MPLAYER_RETURN: "0"
logger: *** DEBUG: parsed output for ORIG_X: "1280"
logger: *** DEBUG: parsed output for ORIG_Y: "532"
logger: *** DEBUG: parsed output for ORIG_FPS: "23.976"
logger: *** DEBUG: parsed output for ORIG_ASPECT: "2.4060"
logger: *** DEBUG: parsed output for VIDEO_FORMAT: "avc1"
logger: *** DEBUG: parsed output for AUDIO_CODEC: "dts"
logger: *** INFO: Source Video has Resolution of 1280 x 532 ...
logger: *** DEBUG: Film ""
logger: *** DEBUG: Variable MAX_X has value "1024"
logger: *** DEBUG: Variable NEW_Y has value "425"
logger: *** INFO: For Sqare Pixels we would scale to 1024 x 425 ...
logger: *** DEBUG: Variable XResTEMP has value "352 480 528 544 688 704 720"
logger: *** DEBUG: Variable AnzahlVonXResTEMP has value "7"
logger: *** DEBUG: Variable NEW_X has value "720"
logger: *** DEBUG: setting REAL_Y = FULL_Y ""
logger: *** DEBUG: Variable CMDLINE has value "/usr/bin/mplayer -vo
mpegpes:card=1 -ao mpegpes:card=1 -vf
scale=720:425,expand=720:576:-1:-1:1,lavc=5000:25 -speed 1.04 -framedrop
-cache 8192 -slave -nolirc -subpos 80 -sub-bg-color 0 -sub-bg-alpha 30
-quiet "
MPlayer 1.0rc2-4.3.2 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Core(TM)2 Duo CPU E4500 @ 2.20GHz (Family: 6, Model: 15,
Stepping: 13)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1 Compiled with
runtime CPU detection.
PLAYING /VIDEO/DIVX/Cliffhanger (1993) - 720p x264 DTS US.mkv
[mkv] Track ID 1: video (V_MPEG4/ISO/AVC) "Cliffhanger (1993)", -vid 0 [mkv]
Track ID 2: audio (A_DTS) "DTS 5.1 768 kbps", -aid 0, -alang eng [mkv] Will
play video track 1.
Matroska file format detected.
VIDEO: [avc1] 1280x532 24bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s)
Opening /dev/dvb/adapter0/video0+audio0
Opening video filter: [lavc=5000:25]
Opening video filter: [expand w=720 h=576 x=-1 y=-1 osd=1]
Expand: 720 x 576, -1 ; -1, osd: 1, aspect: 0.000000, round: 1 Opening video
filter: [scale w=720 h=425]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
Forced audio codec: mad
Opening audio decoder: [libdca] DTS decoding with libdca Stream with high
frequencies VQ coding
AUDIO: 48000 Hz, 2 ch, s16le, 768.0 kbit/50.00% (ratio: 96000->192000)
Selected audio codec: [dts] afm: libdca (DTS-libdca)
==========================================================================
Opening /dev/dvb/adapter0/audio0
[AO MPEGPES] 49919 Hz not supported, try to resample.
AO: [mpegpes] 48000Hz 2ch s16be (2 bytes per sample) PLAYBACK STARTED
mplayer: volume=100 mpVolume=100 mpMute=0