This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

[HELP] how to encode AVS2 to H265 video?
#6
Can't see a crash in the debug output,..
it starts with:
ffmpeg version N-121490-g7e8ef2ded2 Copyright (c) 2000-2025 the FFmpeg developers built with gcc 15.2.0 (Rev8, Built by MSYS2 project) configuration: --pkg-config=pkgconf --cc='ccache gcc' --cxx='ccache g++' --ld='ccache g++' --extra-cxxflags=-fpermissive --extra-cflags=-Wno-int-conversion --disable-autodetect --enable-amf --enable-bzlib --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-iconv --enable-lzma --enable-nvenc --enable-zlib --enable-sdl2 --enable-ffnvcodec --enable-nvdec --enable-cuda-llvm --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libdav1d --enable-libaom --disable-debug --enable-fontconfig --enable-libass --enable-libbluray --enable-libfreetype --enable-libharfbuzz --enable-libmfx --enable-libmysofa --enable-libopenjpeg --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libwebp --enable-libxml2 --enable-libzimg --enable-libshine --enable-gpl --enable-avisynth --enable-libxvid --enable-libopenmpt --enable-librav1e --enable-libsrt --enable-libgsm --enable-libvmaf --enable-libsvtav1 --enable-libglslang --enable-vulkan --enable-libdavs2 --enable-libuavs3d --enable-liboapv --extra-cflags=-DLIBTWOLAME_STATIC --extra-cflags=-DLIBXML_STATIC --extra-libs=-liconv --disable-w32threads libavutil 60. 13.100 / 60. 13.100 libavcodec 62. 16.100 / 62. 16.100 libavformat 62. 6.101 / 62. 6.101 libavdevice 62. 2.100 / 62. 2.100 libavfilter 11. 9.100 / 11. 9.100 libswscale 9. 3.100 / 9. 3.100 libswresample 6. 2.100 / 6. 2.100 [davs2 info]: davs2: 1.6.206 b41cf117452e2d73.8, 2025-10-24 14:43:32 [davs2 info]: CPU Capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2 [davs2 info]: Manager 23e895d5fe0: using 1 thread(s): 1(frame/AEC)+0(pool/REC), 2 tasks [davs2 info]: Manager 23e895d5fe0: Sequence Resolution: 3840x2160. [davs2 error]: Dec[ 0] 23e895d6b60: Un-supported bit-depth 10 in this version.  [davs2 error]: Dec[ 0] 23e895d6b60: Un-supported bit-depth 10 in this version.  Input #0, mpegts, from 'F:\avs2\AVS2.ts': Duration: 01:18:47.99, start: 1.400000, bitrate: 26218 kb/s Program 1 Metadata: service_name : Service01 service_provider: FFmpeg Stream #0:0[0x100]: Video: avs2 (libdavs2) (AVSV / 0x56535641), yuv420p10le, 3840x2160, 50 fps, 50 tbr, 90k tbn, start 2.052533 Stream #0:1[0x101]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 384 kb/s, start 1.400000 Stream mapping: Stream #0:1 -> #0:0 (copy) Output #0, ac3, to 'C:\Users\x\AppData\Local\Temp\iId_1_aid_257_2025-10-25@19_33_46_1410_01.ac3': Metadata: encoding_tool : Hybrid 2025.10.24.1 encoder : Lavf62.6.101 Stream #0:0: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 384 kb/s Press [q] to stop, [?] for help
after that is does not seem to crash, but just output empty data,...
seems like ffmpeg doesn't support 10bit avs2 ¯\_(ツ)_/¯

There seem to be custom builds of ffmpeg which support this, see: https://github.com/xatabhk/FFmpeg-avs2-avs3/releases
but those are not part of libdavs2 atm.
Nothing I can do about that, but you can probably simply replace the existing ffmpeg version with one from that github repository. (I did not test this, this is just an assumption,... and I don't know whether this will break decoding of something else through ffmpeg.)

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply


Messages In This Thread
how to encode AVS2 to H265 video? - by ssdde - 25.10.2025, 10:14
RE: how to encode AVS2 to H265 video? - by Selur - 25.10.2025, 13:51

Forum Jump:


Users browsing this thread: 1 Guest(s)