Uploaded by reneyss829

command

advertisement
RIFE:
python inference_img.py --img 10.png 12.png --exp=1
python inference_video.py --exp=1 --video=video.mp4 python inference_video.py --video=1021.mp4 --montage --png
python inference_video.py --exp=1 --img=D:\YUV_test\dogs30\decpng\0_0
yuv转MP4:
ffmpeg -threads 16 -f rawvideo -framerate 25 -video_size 640x480 -pix_fmt yuv420p -i 10_2_1.yuv -c:v libx265 -preset fast -qp 10 1021.mp4
MP4转yuv:
ffmpeg -i Entrance_4X_100fps.mp4 Entrance100.yuv
图片合成MP4:
ffmpeg -r 25 -f image2 -i %d.png -s 3840x1920 -c:v libx264 -pix_fmt yuv420p out10-2.mp4 -q:v 0 -q:a 0
图片合成yuv: %%注意这种方法有损失,png也不行
ffmpeg -i %d.jpg -r 23 -pix_fmt yuv420p -s 3840x1920 out.yuv
抽取部分帧:
ffmpeg -f rawvideo -s 3840x1920 -i Dogs60.yuv -c:v rawvideo -filter:v "select=between(n\,1020\,1079)" 18.yuv
ffmpeg -i ./input.mp4 -vf "select=between(n\,20\,200)" -y -acodec copy ./output.mp4
x265编码指令:
x265.exe --input D:\YUV_test\plane\14\14_2_2.yuv -I 0 --fps 30 --qp 22 --input-res 680x480 --output D:\YUV_test\plane\14\out.bin --psnr --csv intracoding.csv --csv-log-level 4 --frame-threads 16 -p 0 python inference_img.py --img 1.png 3.png --exp=1
ffmpeg -threads 16 -f rawvideo -framerate 30 -video_size 1920x1080 -pix_fmt yuv420p -i sea.yuv -c:v libx265 -preset fast -qp 5 sea.mp4
ffmpeg -f image2 -i %d.png -pix_fmt yuv420p -s 3840x1920 sea.yuv
ffmpeg -i 1.png -pix_fmt yuv420p -s 3840x1920 1.yuv
获取SI\TI information
.\SITI.exe -i D:\YUV_test\sing\8\8_0_0.yuv -w 640 -h 480 -f 1 >1.txt .\SITI.exe -i D:\YUV_test\Entrance_ori.yuv -w 3840 -h 1920 -f 1
SITI.exe -i D:\YUV_test\Dive.yuv -w 3840 -h 1920 -f 1
ffmpeg -f rawvideo -s 3840x1920 -i Dogs.yuv -c:v rawvideo -filter:v "select=between(n\,0\,1800)" Dogs30.yuv
ffmpeg -threads 16 -f rawvideo -framerate 30 -video_size 640x480 -pix_fmt yuv420p -i D:\YUV_test\plane\14\14_2_2.yuv -c:v libx265 -preset fast -qp 22 sea.mp4 -loglevel quiet -report -benchmark 
Download