No audio on Firestick 4K

For discussion of topics specific to MythTV on Android devices
Post Reply
mtbdrew
Senior
Posts: 107
Joined: Tue Jul 22, 2014 1:10 pm
United States of America

No audio on Firestick 4K

Post by mtbdrew »

Followed instructions on wiki page for audio:

Audio Setup Value
Audio -> Audio output device AudioTrack:
Audio -> Digital Audio Capabilities All unchecked
Audio -> Speaker Configuration Stereo
Audio -> Upconvert Stereo Unchecked

However when playing video there is no sound. If trying to test audio output in setup get error message:

"Audio device is invalid or not usable"

Installed version:
mythfrontend-20210506-arm-v31.0-148-gb2ed400037
Fire OS 6.2.8.0(NS6280/3233)

Logs:

adb logcat mfe:D *:S |& tee android.log
--------- beginning of system
--------- beginning of main
05-19 19:25:01.118 8708 8734 W mfe : themeinfo.cpp:83:parseThemeInfo ThemeInfo: Unable to open themeinfo.xml for assets:/mythtv/themes/Terra/watermarks/themeinfo.xml
05-19 19:25:01.118 8708 8734 E mfe : themeinfo.cpp:47:ThemeInfo ThemeInfo: The theme (assets:/mythtv/themes/Terra/watermarks) is missing a themeinfo.xml file.
05-19 19:25:06.325 8708 8734 I mfe : mythmainwindow.cpp:1903:RegisterMediaPlugin Registering Internal as a media playback plugin.
05-19 19:25:06.426 8708 8734 I mfe : mediamonitor-unix.cpp:124:MediaMonitorUnix MediaMonitor disabled by user setting.
05-19 19:25:06.426 8708 8734 W mfe : mythplugin.cpp:111:MythPluginManager No libraries in plugins directory /data/app/org.mythtv.mythfrontend-1/lib/arm
05-19 19:25:06.627 8708 8734 I mfe : main.cpp:1225:RunMenu Found mainmenu.xml for theme 'Functionality'
05-19 19:25:06.730 8708 8734 I mfe : themechooser.cpp:1034:ThemeUpdateChecker Checking for theme updates every hour
05-19 19:25:06.730 8708 8734 I mfe : housekeeper.cpp:664:RegisterTask Registering HouseKeeperTask 'HardwareProfiler'.
05-19 19:25:06.831 8708 8734 I mfe : housekeeper.cpp:737:Start Starting HouseKeeper.
05-19 19:25:06.831 8708 8734 I mfe : mythsystemunix.cpp:83:run Starting IO manager (read)
05-19 19:25:06.832 8708 8734 I mfe : mythsystemunix.cpp:262:run Starting process manager
05-19 19:25:06.832 8708 8734 I mfe : mythsystemunix.cpp:488:run Starting process signal handler
05-19 19:25:06.832 8708 8734 I mfe : mythsystemunix.cpp:83:run Starting IO manager (write)
05-19 19:25:13.779 8708 8734 I mfe : audio/audiooutputopensles.cpp:343:GetOutputSettings AOSLES: Native Rate 48000
05-19 19:26:02.830 8708 8734 I mfe : mythmainwindow.cpp:2614:customEvent Updating the frontend idle time to: 90 mins
05-19 19:26:19.654 8708 8734 I mfe : tv_play.cpp:1009:TV TV::TV(): Creating TV object
05-19 19:26:19.855 8708 8734 I mfe : mythmainwindow.cpp:2859:PauseIdleTimer Suspending idle timer
05-19 19:26:19.856 8708 8734 I mfe : tv_play.cpp:1209:Init TV::Init(): Created TvPlayWindow.
05-19 19:26:20.057 8708 8734 I mfe : tv_play.cpp:2187:HandleStateChange TV::HandleStateChange(): Attempting to change from None to WatchingPreRecorded
05-19 19:26:20.759 8708 8734 I mfe : audioplayer.cpp:162:ReinitAudio AudioPlayer: Enabling Audio
05-19 19:26:20.759 8708 8734 I mfe : mythplayer.cpp:789:OpenFile Player(0): Opening 'myth://master/11101_20210515010000.ts'
05-19 19:26:21.661 8708 8734 I mfe : decoders/avformatdecoder.cpp:2037:ScanStreams AFD: codec AC3 has 6 channels
05-19 19:26:21.663 8708 8734 I mfe : decoders/avformatdecoder.cpp:2539:OpenAVCodec AFD: Opened codec 0x7ef71400, id(AC3) type(Audio)
05-19 19:26:21.664 8708 8734 I mfe : decoders/avformatdecoder.cpp:2037:ScanStreams AFD: codec AC3 has 2 channels
05-19 19:26:21.665 8708 8734 I mfe : decoders/avformatdecoder.cpp:2539:OpenAVCodec AFD: Opened codec 0x7ef71000, id(AC3) type(Audio)
05-19 19:26:21.666 8708 8734 I mfe : decoders/avformatdecoder.cpp:2449:ScanStreams AFD: Using ffmpeg for video decoding
05-19 19:26:21.668 8708 8734 I mfe : decoders/avformatdecoder.cpp:2539:OpenAVCodec AFD: Opened codec 0x7f1fe400, id(MPEG2VIDEO) type(Video)
05-19 19:26:21.769 8708 8734 I mfe : audio/audiooutputbase.cpp:775:Reconfigure AOBase: Opening audio device 'AudioTrack:' ch 2(2) sr 48000 sf 32 bit floating point reenc 0
05-19 19:26:22.870 8708 8734 I mfe : opengl/mythpainteropengl.cpp:84:ClearCache Clearing OpenGL painter cache.
05-19 19:26:23.274 8708 8734 E mfe : mythfontproperties.cpp:443:ParseFromXml MythFontProperties: Failed to load 'DejaVu Sans', got 'Roboto' instead
05-19 19:26:23.274 8708 8734 E mfe : Location: /data/user/0/org.mythtv.mythfrontend/files/themes/Functionality/osd.xml @ 5
05-19 19:26:23.274 8708 8734 E mfe : Name: 'medium' Type: 'fontdef'
05-19 19:26:23.375 8708 8734 E mfe : mythfontproperties.cpp:443:ParseFromXml MythFontProperties: Failed to load 'DejaVu Sans', got 'Roboto' instead
05-19 19:26:23.375 8708 8734 E mfe : Location: /data/user/0/org.mythtv.mythfrontend/files/themes/Functionality/osd.xml @ 9
05-19 19:26:23.375 8708 8734 E mfe : Name: 'file' Type: 'fontdef'
05-19 19:26:23.375 8708 8734 I mfe : mythvideoout.cpp:401:SetDeinterlacing VideoOutput: SetDeinterlacing (Doublerate 1): Single Medium|CPU|GLSL Double Basic|CPU|GLSL
05-19 19:26:23.376 8708 8734 I mfe : tv_play.cpp:5746:StartPlayer TV::StartPlayer(): Created player.
05-19 19:26:23.376 8708 8734 I mfe : tv_play.cpp:2439:HandleStateChange TV::HandleStateChange(): Changing from None to WatchingPreRecorded
05-19 19:26:23.376 8708 8734 I mfe : decoders/avformatdecoder.cpp:4728:ProcessAudioPacket AFD: Audio stream changed
05-19 19:26:23.377 8708 8734 I mfe : decoders/avformatdecoder.cpp:4732:ProcessAudioPacket AFD: Number of audio channels changed from 2 to 6
05-19 19:26:23.377 8708 8734 I mfe : tv_play.cpp:2525:HandleStateChange TV::HandleStateChange(): Main UI disabled.
05-19 19:26:23.377 8708 8734 I mfe : tv_play.cpp:391:StartTV TV::StartTV(): Entering main playback loop.
05-19 19:26:23.478 8708 8734 I mfe : screensaver-android.cpp:28:Disable ScreenSaverAndroid: disable
05-19 19:26:23.479 8708 8734 I mfe : screensaver-android.cpp:30:Disable ScreenSaverAndroid: disable 1
05-19 19:26:23.579 8708 8734 I mfe : mythvideoout.cpp:401:SetDeinterlacing VideoOutput: SetDeinterlacing (Doublerate 1): Single Medium|CPU|GLSL Double Basic|CPU|GLSL
05-19 19:26:23.580 8708 8734 W mfe : opengl/mythopenglvideo.cpp:516:SetupFrameFormat GLVid: New frame format: None:None 1920x1080 (Tex: 2D) -> YUV420P:YUV420P 1920x1080 (Tex: 2D)
mtbdrew
Senior
Posts: 107
Joined: Tue Jul 22, 2014 1:10 pm
United States of America

Re: No audio on Firestick 4K

Post by mtbdrew »

Attached is the actual log file.
User avatar
pgbennett
Developer
Posts: 503
Joined: Mon Apr 27, 2015 5:41 pm
United States of America

Re: No audio on Firestick 4K

Post by pgbennett »

I tested this with that version of mythfrontend on a fire stick 4K. The "test audio output" does not work correctly with AudioTrack. It was not fully implemented. I also saw that error message. However, playback works correctly with audio.

If your audio device was not recognized you should have seen an error message about an invalid audio device and audio being disabled when starting playback.

Does audio work with other applications on the fire stick 4K? For example Prime video or youtube?
mtbdrew
Senior
Posts: 107
Joined: Tue Jul 22, 2014 1:10 pm
United States of America

Re: No audio on Firestick 4K

Post by mtbdrew »

Audio works fine with all other apps including Kodi, Netflix, Prime, CW etc. I get no error message on playback of Mythtv recordings using Myth Frontend. Same recordings work fine when played via Kodi.

FYI, On my Amazon Cube the audio test function works correctly, no error message and channel test noise comes out corresponding speaker. Setup for the cube is 5.1 going into a Yamaha RCVR. The F4K is directly into a Samsung TV.
mtbdrew
Senior
Posts: 107
Joined: Tue Jul 22, 2014 1:10 pm
United States of America

Re: No audio on Firestick 4K

Post by mtbdrew »

Swapped the F4K to the other Samsung and audio works fine with the new TV. Tried the PI3 connected to the other TV and MythTV FE gives the same issue on the PI3. So there is something about the old Samsung that causes the issue with MythTV FE regardless if it is the PI3 or F4K.
mtbdrew
Senior
Posts: 107
Joined: Tue Jul 22, 2014 1:10 pm
United States of America

Re: No audio on Firestick 4K

Post by mtbdrew »

So not sure why audio works for Prime video, Netflix, CW and, even Kodi but not MythTV FE on HDMI1 and HDMI2 on this TV. However switched to HDMI4 and audio works fine with MythTV FE now on both the F4K and the PI3.
BillyECarroll
Newcomer
Posts: 1
Joined: Fri Oct 22, 2021 2:49 pm
United States of America

Re: No audio on Firestick 4K

Post by BillyECarroll »

mtbdrew wrote:
Thu May 20, 2021 4:25 pm
Audio works fine with all other apps including Kodi, Netflix, Prime, CW, etc. I get no error message on playback of Mythtv recordings using Myth Frontend. The same recordings work fine when played via Kodi.
I also have been facing a similar problem.
User avatar
jfabernathy
Senior
Posts: 577
Joined: Wed Feb 18, 2015 2:37 pm
Location: Raleigh, NC
United States of America

Re: No audio on Firestick 4K

Post by jfabernathy »

Just a thought. On my Samsung UHD TV, it saves audio setting per HDMI input, so you can have one working and one not. I know that I can change from DD to PCM on the TV and Prime might work and Mythtv may not. I don't know why, but that's the settings I play with.
Post Reply