2018年1月20日土曜日

ffmpeg Directshow

ffmpeg -list_devices true -f dshow -i nul

ffmpeg -list_devices true -f dshow -i nul 2> list.txt

ffmpeg -rtbufsize 50M -f dshow -i video="XS_4103184795" -f sdl "iDS XF camera"

ffmpeg -rtbufsize 50M -f dshow -i video="XS_4103184795" -vf fps=30 -f sdl "iDS XF camera"


ffmpeg -list_options true -f dshow -i video="XS_4103184795"

ffmpeg -rtbufsize 50M -f dshow -video_size 1280x720 -i video="XS_4103184795" -vf fps=10 -f sdl "iDS XF camera"

反転

-vf hflip,vflip

ffmpeg -rtbufsize 50M -f dshow -video_size 1280x720 -i video="XS_4103184795" -vf fps=10,vflip -f sdl "iDS XF camera"

ffplay

ffplay -rtbufsize 50M -f dshow -video_size 1280x720 -i video="XS_4103184795" -vf fps=10,vflip
-framerateは指定できるが低いと元画像の切れが悪くなる。 CPUパワーとのトレードオフ

ffplay -rtbufsize 50M -f dshow -video_size 1280x720 -framerate 10 -i video="XS_4103184795" -vf fps=10,vflip

詳しくは
http://fixedpoint.jp/ffmpeg/ffplay-doc.html
http://fftest33.blog.fc2.com/blog-entry-54.html

0 件のコメント:

コメントを投稿

 https://www.youtube.com/channel/UC58IHx5AcHaE9ceS9Fdoocg/live <iframe width="560" height="315" src="https://www...