在cmd的指令如下:
ffmpeg -i “D:\VideoSequence\NewYork_3840x1920_30fps_8bit_420_erp.mp4” -s 3840x1920 -pix_fmt yuv420p “NewYork_3840x1920_30fps_8bit_420_erp.yuv”
ffmpeg -i “D:\VideoSequence\Elephants_3840x2048_30fps_8bit_420_erp.mp4” -s 3840x2048 -pix_fmt yuv420p “Elephants_3840x2048_30fps_8bit_420_erp.yuv”
转换时间很快 全景视频序列可以至南大马展课题组下载(大善人)
截取yuv文件前21帧内容:
ffmpeg.exe -s 3840x1920 -i D:\VideoSequence\AAngelfalls.yuv -c:v rawvideo -filter:v “select=‘between(n,0, 21)’” AAngel.yuv
ffmpeg.exe -s 3840x1920 -i D:\VideoSequence\originalYUV\KiteFlite_3840x1920_30fps_8bit_420_erp.yuv -c:v rawvideo -filter:v “select=‘between(n,0, 21)’” AKiteflite.yuv
ffmpeg.exe -s 3840x1920 -i D:\VideoSequence\originalYUV\Snowberg_3840x1920_30fps_8bit_420_erp.yuv -c:v rawvideo -filter:v “select=‘between(n,0, 21)’” ASnowberg.yuv
ffmpeg.exe -s 3840x1920 -i D:\VideoSequence\originalYUV\Trolley_3840x1920_30fps_8bits_420_erp.yuv -c:v rawvideo -filter:v “select=‘between(n,0, 21)’” ATrolley.yuv
ffmpeg.exe -s 3840x1920 -i D:\VideoSequence\originalYUV\Harbor_3840x1920_30fps_8bit_420_erp.yuv -c:v rawvideo -filter:v “select=‘between(n,0, 21)’” AHarbor.yuv
ffmpeg.exe -s 3840x1920 -i D:\VideoSequence\originalYUV\GasLamp_3840x1920_30fps_8bit_420_erp.yuv -c:v rawvideo -filter:v “select=‘between(n,0, 21)’” AGaslamp.yuv
D:\VideoSequence\originalYUV\Greatwall_3840x1920_30fps_8bit_420_erp.yuv -c:v rawvideo -filter:v “select=‘between(n,0, 21)’” AGreatwall.yuv