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

Videotoolbox Codec (Apple Silicon) #49

Closed c-o-m-m-a-n-d-e-r closed 1 year ago

c-o-m-m-a-n-d-e-r commented 1 year ago

using HW Codec if possible on Apple Silicon

m1k1o commented 1 year ago

Tried this out on apple M1, looks good! But for one of my test sources it ended up with wrong aspect ratio. Wondering what might cause that, because on CPU transcoding its fine.

c-o-m-m-a-n-d-e-r commented 1 year ago

Ok, strange! got an M2 here ... everything was fine.