Currently using TVH with my HDHR Flex 4k for ATSC1 channels, all is working. I want to make use of the ATSC3 channels too though. I'm using VLC to test. I'm using Emby's FFMPEG 5.1 version (it has AC4 decode) to transcode audio from AC4 to AC3 while copying the HEVC video. I'm using the pipe: command in the mux's URL and I've messed with it a lot to troubleshoot but this is the most basic form: pipe:///usr/bin/ffmpeg -i http://192.168.1.10:5004/auto/v108.1 -c:v copy -c:a ac3 -b:a 640k -ac 6 -f mpegts pipe:1
My issue is that when I play the channel in VLC, I get no video or audio streams. In the TVHeadend status tab, the stream looks normal and the 'bandwidth' looks exactly as it should, like the data is flowing.
I tested the channel without the pipe through ffmpeg. This way I do get video in VLC but no audio, as expected since AC4 isn't supported.
I tested my pipe command from the terminal and instead of output to pipe:1, I outputted it to test.ts file. This file results in HEVC and AC3 (transcoded) and plays in VLC just fine.
I cannot understand what about the audio transcoded output that TVHeadend doesn't like. I tried transcoding to AAC instead of AC3 and got the same result. I've tried A LOT.
I can upload my sample file if anyone is willing to take a look. I am at the end of my knowledge here. Here is the ffprobe output of my transcoded sample that won't play:
Input #0, mpegts, from 'test.ts':
Duration: 00:01:15.38, start: 1.400000, bitrate: 6906 kb/s
Program 1
Metadata:
service_name : Service01
service_provider: FFmpeg
Stream #0:0[0x100]: Video: hevc (Main 10) (HEVC / 0x43564548), yuv420p10le(tv, bt709), 1280x720 [SAR 1:1 DAR 16:9], 59.94 fps, 59.94 tbr, 90k tbn
Stream #0:1[0x101](eng): Audio: ac3 (AC-3 / 0x332D4341), 44100 Hz, 5.1(side), fltp, 640 kb/s