#FFmpeg not writing stream file

1 messages · Page 1 of 1 (latest)

shell aurora
#

I am trying to get a basic configuration set up with ErsatzTV and I cannot get it to stream any media. I get errors on multiple media files (.mkv anime with EN/JP subs and audio), both with hardware transcoding on and with it off.

I am running this in a virtual machine (Proxmox with hardware passthrough) running Ubuntu 22.04 LTS, with ErsatzTV using the latest version via Docker (jasongdove/ersatztv:latest-vaapi). I also attempted this outside of Docker with identical results. Host (outside of Proxmox) is a Dell OptiPlex 7050 Micro with an Intel(R) Core(TM) i7-6700T CPU @ 2.80GHz (Intel HD Graphics 530). I do not have a discrete GPU.

The same hardware can stream these video files fine in Jellyfin, so I do not reason to believe that the files are corrupted.

FFmpeg report is attached. The last few lines (below) also repeat infinitely, which was trimmed.

[vist#0:0/av1 @ 0x5604c6190e40] Error submitting packet to decoder: Invalid data found when processing input
[av1 @ 0x5604c619ee40] Missing Sequence Header.

Software used to view stream is VLC (testing) and Jellyfin (end goal).

Any help would be appreciated!

shell aurora
#

Tracked down issue. It's something with -c:v av1. Removing this encodes the files just fine.

#

Is there an "advanced" way to customize ffmpeg args to remove this without me having to hack together an ffmpeg middleware to remove this arg?

lone crane
#

no, you don't need to customize anything, there's a bug with the av1 decoder selection, it should be using libdav1d - working on a fix now

#

to be clear, the problem is decoding, -c:v av1 before the input is the decoder. etv doesn't support encoding to av1

shell aurora
#

I'll take a look. Thank you!

shell aurora
#

Deployed fix; can confirm it works. Thank you for your hard work!