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 件のコメント:

コメントを投稿

国産VMSは殆どが〇〇レベル

 前回 ......... 市場占有率は驚くほど高いのです。 もしくは高かったのです。........... ということを書いたのですが、日本製のVMSが市場占有率が高かった理由はただ一つです。 それは水と空気と安全はただ の日本特有の出来事です。 100%事後検証しかニーズが無...