recording live video stream from tv card using ffmpeg in windows

I want to capture thumbnail every 1 second from tv card(tv signal) using ffmpeg in windows.

first of all, to record live video from tv card, I tried below.

ffmpeg -f dshow -i video="SKYTV HD USB Maxx Video Capture" -r 20 -threads 0 D://test.mkv

But it didn't work. the Error message is

"[dshow@000000000034d920] Could not run filter video=SKYTV HD USB Maxx Video Capture: Input/output error"

I use the device called 'SKYTV HD USB Maxx Video Capture' for getting tv signal(TV card).

(people usually suggest " ffmpeg -f oss -i dev/dsp -f video4linux2 -i dev/video0/tmp/out.mpg " but I dont think it works at window. this is the error message i got: " Unknown input format: 'video4linux2' ")

what should i do to record live video and get thumbnail every 1 second from tv card(tv signal) using ffmpeg in window?

Please help..!


First be sure that the video label you use is really the label return by:

ffmpeg -list_devices true -f dshow -i dummy

More info here But another solution should be ti use the old "Video For Windows" (VFW). To try that, list your device with:

ffmpeg -y -f vfwcap -i list

And use your device number as value of the -i option:

ffmpeg -y -f vfwcap -r 25 -i 0 out.mp4

And if finally you are able to record your stream, there is different options, but in your case everything is clear describe here

ffmpeg -y -f vfwcap -r 25 -i 0 -f image2 -vf fps=fps=1 out%d.jpg
链接地址: http://www.djcxy.com/p/81074.html

上一篇: 使用ffmpeg在窗口录制来自电视卡的直播视频

下一篇: 在Windows中使用ffmpeg从电视卡录制实时视频流