shinchiro / mpv-winbuild-cmake

CMake-based MinGW-w64 Cross Toolchain
615 stars 114 forks source link

feature request: adding decoders of avs2/3 (10bit) #269

Closed hooke007 closed 2 years ago

hooke007 commented 2 years ago

related commit of mpv https://github.com/mpv-player/mpv/commit/375076578f4c1c450ecf0b60de6290ad9942ddfc

ref https://github.com/xatabhk/FFmpeg-avs2-avs3 https://github.com/xatabhk/davs2-10bit https://github.com/uavs3/uavs3d

zhongfly commented 2 years ago

Btbn's ffmpeg build have avs2/3 support, so we can refer it. See https://github.com/BtbN/FFmpeg-Builds/blob/master/scripts.d/50-davs2.sh and https://github.com/BtbN/FFmpeg-Builds/blob/master/scripts.d/50-uavs3d.sh

hooke007 commented 2 years ago

Btbn's ffmpeg build

I see but it doesn't support 10bit.

hooke007 commented 2 years ago

@shinchiro Thanks for the quick response, unfortunately 10bit decoding could not work here.

Test samples avs3 10bit https://github.com/xatabhk/avs2-avs3-video-samples/blob/master/jellyfish-640x360-avs3-10bit.mkv avs2 10bit https://github.com/xatabhk/avs2-avs3-video-samples/blob/master/CCTV4K.AVS2-10bit.AC3.CB.08-27-6s.mkv

shinchiro commented 1 year ago

In theory, it should work for uavs3d. I dont what's wrong with it. davs2 dont support 10bit when compiling

zhongfly commented 1 year ago

https://github.com/uavs3/uavs3d/commit/b388875ee9e3ad3784ebc913c6eff3264f4a8720 should have fixed 10bit decode for uavs3