Opened 4 years ago

Last modified 4 years ago

#12373 new Bug Report - General

No sound in LiveTV on Windows through DirectX

Reported by: henkpoley@… Owned by:
Priority: minor Milestone: unknown
Component: Ports - Windows Version: 0.27.4
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Strangely enough sound works on recordings playback.

Similar user report: http://www.gossamer-threads.com/lists/mythtv/users/579329

LiveTV log:

2015-02-11 17:01:26.198107 I  TV: Creating TV object
2015-02-11 17:01:26.271111 I  TV: Created TvPlayWindow.
2015-02-11 17:01:26.341115 I  TV: Attempting to change from None to WatchingLive
TV
2015-02-11 17:01:26.341115 I  MythCoreContext: Connecting to backend server: 192
.168.178.201:6543 (try 1 of 15)
2015-02-11 17:01:26.389118 N  TV: Spawning LiveTV Recorder -- begin
2015-02-11 17:01:27.112160 N  TV: Spawning LiveTV Recorder -- end
2015-02-11 17:01:27.133161 I  TV: playbackURL(myth://Oehoe/5014_20150211160127.m
pg) cardtype(DUMMY)
2015-02-11 17:01:27.176163 N  AudioPlayer: Enabling Audio
2015-02-11 17:01:27.178163 I  MythRenderD3D9: Default Adaptor Format X8R8G8B8.
2015-02-11 17:01:27.178163 I  MythRenderD3D9: Best back buffer format: A8R8G8B8.

2015-02-11 17:01:27.178163 I  MythRenderD3D9: Hardware YV12 to RGB conversion av
ailable.
2015-02-11 17:01:27.178163 I  MythRenderD3D9: Chosen video surface format YV12.
2015-02-11 17:01:27.178163 I  MythRenderD3D9: Hardware YV12 to RGB conversion av
ailable.
2015-02-11 17:01:27.219166 I  MythRenderD3D9: Device backbuffer format: X8R8G8B8
.
2015-02-11 17:01:27.219166 I  MythRenderD3D9: Created DXVA2 device manager.
2015-02-11 17:01:27.219166 I  MythRenderD3D9: Retrieved device handle.
2015-02-11 17:01:27.251168 E  MythFontProperties: Failed to load 'Liberation San
s', got 'Arial' instead
                        Location: C:/Program Files (x86)/MythTV/share/mythtv/the
mes/Terra/osd.xml @ 119
                        Name: 'timefont'        Type: 'fontdef'
2015-02-11 17:01:27.257168 E  MythFontProperties: Failed to load 'Liberation San
s', got 'Arial' instead
                        Location: C:/Program Files (x86)/MythTV/share/mythtv/the
mes/Terra/osd.xml @ 247
                        Name: 'timefont'        Type: 'fontdef'
[freemheg] WARN Launch not found //a
[freemheg] WARN Launch not found //startup
2015-02-11 17:01:27.276169 E  MythFontProperties: Failed to load 'DejaVu Sans',
got 'Arial' instead
                        Location: C:/Program Files (x86)/MythTV/share/mythtv/the
mes/default-wide/osd.xml @ 5
                        Name: 'medium'  Type: 'fontdef'
2015-02-11 17:01:27.276169 E  MythFontProperties: Failed to load 'DejaVu Sans',
got 'Arial' instead
                        Location: C:/Program Files (x86)/MythTV/share/mythtv/the
mes/default-wide/osd.xml @ 9
                        Name: 'file'    Type: 'fontdef'
2015-02-11 17:01:27.284169 I  Player(2): Video timing method: USleep with busy w
ait
2015-02-11 17:01:27.286170 I  TV: Created player.
2015-02-11 17:01:27.286170 I  TV: Changing from None to WatchingLiveTV
2015-02-11 17:01:27.286170 I  TV: State is LiveTV & mctx == ctx
2015-02-11 17:01:27.290170 I  TV: UpdateOSDInput done
2015-02-11 17:01:27.290170 I  TV: UpdateLCD done
2015-02-11 17:01:27.297170 I  TV: ITVRestart done
2015-02-11 17:01:27.300170 I  TV: Main UI disabled.
2015-02-11 17:01:27.300170 I  TV: Entering main playback loop.
2015-02-11 17:01:29.192279 I  AFD: codec MP2 has 2 channels
2015-02-11 17:01:29.192279 I  AFD: Opened codec 0x2bf20000, id(MP2) type(Audio)
2015-02-11 17:01:29.201279 W  MythPainter: 2 images not yet de-allocated.
2015-02-11 17:01:29.201279 I  D3D9 Painter: Clearing D3D9 painter cache.
2015-02-11 17:01:29.202279 I  MythRenderD3D9: Deleting D3D9 resources.
2015-02-11 17:01:29.202279 I  MythRenderD3D9: Deleting D3D9 device.
2015-02-11 17:01:29.202279 I  MythRenderD3D9: Deleting D3D9.
2015-02-11 17:01:29.202279 I  MythRenderD3D9: D3D9 resources released.
2015-02-11 17:01:29.205279 I  MythRenderD3D9: Default Adaptor Format X8R8G8B8.
2015-02-11 17:01:29.205279 I  MythRenderD3D9: Best back buffer format: A8R8G8B8.

2015-02-11 17:01:29.205279 I  MythRenderD3D9: Hardware YV12 to RGB conversion av
ailable.
2015-02-11 17:01:29.205279 I  MythRenderD3D9: Chosen video surface format YV12.
2015-02-11 17:01:29.205279 I  MythRenderD3D9: Hardware YV12 to RGB conversion av
ailable.
2015-02-11 17:01:29.253282 I  MythRenderD3D9: Device backbuffer format: X8R8G8B8
.
2015-02-11 17:01:29.253282 I  MythRenderD3D9: Created DXVA2 device manager.
2015-02-11 17:01:29.253282 I  MythRenderD3D9: Retrieved device handle.
2015-02-11 17:01:29.270283 I  AFD: Opened codec 0x2bf1f7e0, id(MPEG2VIDEO) type(
Video)
2015-02-11 17:01:29.299285 I  AOBase: Opening audio device 'DirectX:Primair gelu
idsstuurprogramma' ch 2(2) sr 48000 sf signed 16 bit reenc 0
2015-02-11 17:01:29.571300 N  Player(2): Waited 101ms for video buffers AAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAP
2015-02-11 17:01:32.220452 I  TV: Attempting to change from WatchingLiveTV to No
ne
2015-02-11 17:01:32.238453 W  MythPainter: 2 images not yet de-allocated.
2015-02-11 17:01:32.239453 I  D3D9 Painter: Clearing D3D9 painter cache.
2015-02-11 17:01:32.239453 I  MythRenderD3D9: Deleting D3D9 resources.
2015-02-11 17:01:32.239453 I  MythRenderD3D9: Deleting D3D9 device.
2015-02-11 17:01:32.239453 I  MythRenderD3D9: Deleting D3D9.
2015-02-11 17:01:32.239453 I  MythRenderD3D9: D3D9 resources released.
[freemheg] WARN Launch not found //a
[freemheg] WARN Launch not fou2015-02-11 17:01:32.753482 I  TV: Changing from Wa
tchingLiveTV to None
nd //startup
2015-02-11 17:01:32.754482 I  TV: Exiting main playback loop.

Prerecorded playback:

2015-02-11 17:03:25.994959 I  TV: Creating TV object
2015-02-11 17:03:26.078964 I  TV: Created TvPlayWindow.
2015-02-11 17:03:26.138968 I  TV: Attempting to change from None to WatchingPreR
ecorded
2015-02-11 17:03:26.201971 N  AudioPlayer: Enabling Audio
2015-02-11 17:03:26.828007 I  AFD: Opened codec 0x1a1a5860, id(DVB_SUBTITLE) typ
e(Subtitle)
2015-02-11 17:03:26.828007 I  AFD: codec MP2 has 2 channels
2015-02-11 17:03:26.828007 I  AFD: Opened codec 0x1a1a6060, id(MP2) type(Audio)
2015-02-11 17:03:26.831007 I  AFD: Opened codec 0x1a1a5c60, id(MPEG2VIDEO) type(
Video)
2015-02-11 17:03:26.850008 I  AOBase: Opening audio device 'DirectX:Primair gelu
idsstuurprogramma' ch 2(2) sr 48000 sf signed 16 bit reenc 0
2015-02-11 17:03:27.004017 I  MythRenderD3D9: Default Adaptor Format X8R8G8B8.
2015-02-11 17:03:27.004017 I  MythRenderD3D9: Best back buffer format: A8R8G8B8.

2015-02-11 17:03:27.004017 I  MythRenderD3D9: Hardware YV12 to RGB conversion av
ailable.
2015-02-11 17:03:27.004017 I  MythRenderD3D9: Chosen video surface format YV12.
2015-02-11 17:03:27.004017 I  MythRenderD3D9: Hardware YV12 to RGB conversion av
ailable.
[freemheg] WARN Launch not foun2015-02-11 17:03:27.036019 I  MythRenderD3D9: Dev
ice backbuffer format: X8R8G8B8.
d //a2015-02-11 17:03:27.036019 I  MythRenderD3D9: Created DXVA2 device manager.


[2015-02-11 17:03:27.036019 I  MythRenderD3D9: Retrieved device handle.
freemhe2015-02-11 17:03:27.067021 E  MythFontProperties: Failed to load 'Liberat
ion Sans', got 'Arial' instead
                        Location: C:/Program Files (x86)/MythTV/share/mythtv/the
mes/Terra/osd.xml @ 119
                        Name: 'timefont'        Type: 'fontdef'
g] WA2015-02-11 17:03:27.074021 E  MythFontProperties: Failed to load 'Liberatio
n Sans', got 'Arial' instead
                        Location: C:/Program Files (x86)/MythTV/share/mythtv/the
mes/Terra/osd.xml @ 247
                        Name: 'timefont'        Type: 'fontdef'
RN Launch 2015-02-11 17:03:27.093022 E  MythFontProperties: Failed to load 'Deja
Vu Sans', got 'Arial' instead
                        Location: C:/Program Files (x86)/MythTV/share/mythtv/the
mes/default-wide/osd.xml @ 5
                        Name: 'medium'  Type: 'fontdef'
not fou2015-02-11 17:03:27.093022 E  MythFontProperties: Failed to load 'DejaVu
Sans', got 'Arial' instead
                        Location: C:/Program Files (x86)/MythTV/share/mythtv/the
mes/default-wide/osd.xml @ 9
                        Name: 'file'    Type: 'fontdef'
nd 2015-02-11 17:03:27.103023 I  Player(3): Video timing method: USleep with bus
y wait
//start2015-02-11 17:03:27.104023 I  TV: Created player.
u2015-02-11 17:03:27.104023 I  TV: Changing from None to WatchingPreRecorded
p
2015-02-11 17:03:27.123024 I  TV: Main UI disabled.
2015-02-11 17:03:27.123024 I  TV: Entering main playback loop.
2015-02-11 17:03:28.356094 I  TV: Attempting to change from WatchingPreRecorded
to None
2015-02-11 17:03:28.372095 I  D3D9 Painter: Clearing D3D9 painter cache.
2015-02-11 17:03:28.373095 I  MythRenderD3D9: Deleting D3D9 resources.
2015-02-11 17:03:28.373095 I  MythRenderD3D9: Deleting D3D9 device.
2015-02-11 17:03:28.373095 I  MythRenderD3D9: Deleting D3D9.
2015-02-11 17:03:28.373095 I  MythRenderD3D9: D3D9 resources released.
[freemheg] WARN Launch not found //a
[freemheg] WARN Launch not found //startup
2015-02-11 17:03:28.444099 I  TV: Changing from WatchingPreRecorded to None
2015-02-11 17:03:28.444099 I  TV: Exiting main playback loop.

Change History (2)

comment:1 Changed 4 years ago by HenkPoley@…

I notice with -v audio that AOBase sets Pause to 1 and then says "AOBase: OutputAudioLoop?: audio paused"

I don't see any resume or un-pause of the audio going on.

comment:2 Changed 4 years ago by HenkPoley@…

If I press 'p' twice, to pause and un-pause the video, the audio starts working.

Note: See TracTickets for help on using tickets.