m1k1o / go-transcode

On-demand transcoding origin server for live inputs and static files in Go using ffmpeg. Also with NVIDIA GPU hardware acceleration.
Apache License 2.0
208 stars 38 forks source link

panic: specify at least one VOD video profile #52

Closed metal450 closed 2 months ago

metal450 commented 2 months ago

So excited to find this - it looks like exactly what I was looking for :)

However, trying to get it up & running in Docker, I'm getting stuck with panic: specify at least one VOD video profile (even when using the sample hlsvod config.yaml, which I believe does list 4 video profiles). Here's the complete A-Z steps I'm following:

git clone https://github.com/m1k1o/go-transcode
cd go-transcode
cp docs/examples/hlsvod/config.yaml config.yaml
cp docs/examples/hlsvod/docker-compose.yaml docker-compose.yaml
mkdir media
# (copy a few vids into the media dir)
docker-compose up

The result:

2024-06-12 21 50 30

Given that I'm using the docs/examples/hlsvod/config.yaml file, should it not work with the setup above?

Thanks in advance

m1k1o commented 2 months ago

The first line says that it does not use config file. What is weird, since you have it there.

metal450 commented 2 months ago

Hmm, interesting, it behaves like the above on Windows (using Docker Toolbox) but if I run it on a Linux host it actually works. Good enough for me!

Thanks for the quick reply :)