AVS is Chinese national video standard, it is included in ffmpeg. To validate that you ffmpeg-tool supports AVS pls. run
ffmpeg -codecs | findstr xavs
...
DEV.L. cavs Chinese AVS (Audio Video Standard) (AVS1-P2, JiZhun profile) (encoders: libxavs )
Note: ffmpeg supports the profile JiZhun by default.
Example of AVS encoding [the bitrate 600 Kbps, the frame rate 60 fps, GOP size is 60, no b-frames (low-latency), motion estimation method – hex, single reference]:
ffmpeg -video_size 384x320 -pixel_format yuv420p -i battlefield_384x320.yuv -b:v 600k -refs 1 -bf 0 -g 60 -me_method hex -r 60 -vcodec libxavs -y battlefield_384x320.avs
Most of players do not recognize AVS elementary stream (i.e. without corresponding container), ffplay does recognizes:
ffplay -loglevel panic battlefield_384x320.avs
Note: the silent mode is necessary since false alarms are issued per frame.
Example: Encode with generating avi-container
ffmpeg -video_size 384x320 -pixel_format yuv420p -i battlefield_384x320.yuv -b:v 600k -refs 1 -bf 0 -g 60 -me_method hex -r 60 -vcodec libxavs -y battlefield_384x320
.avi
Pot player plays AVS stream encapsulated to AVI container.
Papers:
“Overview of AVS-Video: tools, performance and complexity”, Lu Yu**, Feng Yi, Jie Dong, Cixun Zhang
23+ years’ programming and theoretical experience in the computer science fields such as video compression, media streaming and artificial intelligence (co-author of several papers and patents).
the author is looking for new job, my resume