Buffering when transcoding from aac_latm to aac

I have dvd set up to transcode the video as it records. My problem is on playback on Samsung tv or fire tv.

It says the video is direct playing but the audio track is transcoding from aac_latm to aac. I am getting buffering every ten seconds.

Any ideas?