jellyfin-ffmpeg icon indicating copy to clipboard operation
jellyfin-ffmpeg copied to clipboard

Add ac4 patch to enable ATSC 3.0

Open simcop2387 opened this issue 2 years ago • 9 comments

I don't expect this to actually get accepted, but wanted to make it for tracking purposes. This adds the AC4 codec patch that exists to the ffmpeg used by jellyfin so that ATSC 3.0 support can be achieved. I've tested this with my local install and an ATSC 3.0 broadcast and it works very well.

This could be used while awaiting official support in FFMpeg in a future version, and I've created an amd64 .deb that I'm placing as a release on my fork for anyone who needs it.

simcop2387 avatar Apr 07 '22 16:04 simcop2387

Agreed about the changes, I can make them but I also agree that waiting for the switch to ffmpeg 5.x is better anyway. The original patch on the trac link is actually made for ffmpeg 5 and i did some surgery to get it to apply to 4.4, which is why i made this. for anyone who wanted to apply it earlier than waiting for that upgrade to happen. If I find them time I'll fix this up so it's easier to apply and test.

simcop2387 avatar Jun 01 '22 01:06 simcop2387

If you didn't already see it: the codebase of Jellyfin-ffmpeg is now 5.x, so that should make things easier for you :)

Shadowghost avatar Jun 01 '22 05:06 Shadowghost

Is there any news on this? I live in an ATSC 3.0 market and am actively looking to transcode AC4 :)

soxrok2212 avatar Nov 03 '22 00:11 soxrok2212

Is there any news on this? I live in an ATSC 3.0 market and am actively looking to transcode AC4 :)

It looks like @nyanmisaka requested that @simcop2387 make some additional changes. I was looking into how to get ac4 support into the ffmpeg base, and it looks like changes are discussed in the ffmpeg-devel email distro.

scott4290 avatar Dec 31 '22 19:12 scott4290

There's another fork here: https://github.com/sub3/FFmpeg/commit/565c5ab0f8dac2711b46874cd3e32c6aebd23e90

I've yet to try it though, as I need to run a new coax to my HD HomeRun and my server is changing up a bit.

soxrok2212 avatar Aug 24 '23 17:08 soxrok2212

I am also looking for AC4 support for ATSC 3. Any chance this will be merged in the near future? Sorry just bought a HDHomeRun Flex for the sole purpose of getting these channels, but can't hear them. Any resources you can point me to compile the ffmpeg from a working fork?

Robert-D avatar Sep 15 '23 01:09 Robert-D

@simcop2387

...and I've created an amd64 .deb that I'm placing as a release on my fork for anyone who needs it.

Any way we can get a .deb package of the static build files for ffmpeg 5? I tried the release for version 4 on your fork, but when I selected the new location of the ffmpeg file inside jellyfin it gave me an error "We're unable to find FFmpeg using the path you've entered. FFprobe is also required and must exist in the same folder. These components are normally bundled together in the same download. Please check the path and try again."

Robert-D avatar Sep 15 '23 03:09 Robert-D

Any update on this? Still not able to play ATSC tracks on Jellyfin

androidWG avatar Jan 23 '24 06:01 androidWG

There are still no patches compatible with current FFmpeg versions. FFmpeg does only support remuxing of AC-4 streams at the moment.

Shadowghost avatar Jan 23 '24 07:01 Shadowghost