2009-11-27 07:01:12     Virtual Video Driver - video for linux

Document created by Aaronwu Employee on Aug 19, 2013
Version 1Show Document
  • View in full screen mode

2009-11-27 07:01:12     Virtual Video Driver - video for linux

Owen OH (IRELAND)

Message: 82814   

 

Hello All,

 

I'm working towards capturing a TV feed from an ADV7184 & before I get into it would like to see if I can get video off the board.

 

I see under

 

<M> Video For Linux

[*]   Enable Video For Linux API 1 (DEPRECATED)

---   Enable Video For Linux API 1 compatible Layer

      Video Capture Adapters --->

        <M> Blackfin Camera driver

        --- CMOS Camera Sensor Selection

            Virtual Video Driver

 

It's possible to select a virtual video driver. Under the description it states that it's for testing video capture. I'm wondering if anybody has used it & how it invoke it?

 

Thanks

 

Owen

QuoteReplyEditDelete

 

 

2009-11-27 07:23:09     Re: Virtual Video Driver - video for linux

Owen OH (IRELAND)

Message: 82815   

 

Bit of a lucky guess but to invoke its:

 

modprobe vivi

 

& responds with:

 

vivi: V4L2 device registered as /dev/video0

Video Technology Magazine Virtual Video Capture Board ver 0.5.0 successfully loaded.

QuoteReplyEditDelete

 

 

2009-12-04 13:21:07     Re: Virtual Video Driver - video for linux

Owen OH (IRELAND)

Message: 83096   

 

I tried using this in conjuction with ffmpeg & seems to through up problems:

 

root:/>  ffmpeg -r 20 -f video4linux -s 352x288 -i /dev/video0 -an -f rawvideo -pix_fmt yuv420p /var/test.yuv

FFmpeg version UNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al.

  configuration: --prefix=/usr --source-path=/home/owen/blackfin/uClinux-dist/lib/ffmpeg/build/../ffmpeg-svn-11114 --target-os=Linux --cpu=bfin --arch=bfin --extra-ldflags=    -mcpu=bf533-0.3 --enable-static --enable-shared --enable-gpl --enable-pp --disable-strip --cross-prefix=bfin-linux-uclibc-

  libavutil version: 49.5.0

  libavcodec version: 51.48.0

  libavformat version: 52.1.0

  built on Dec  4 2009 17:59:00, gcc: 4.1.2 (ADI svn)

[video4linux @ 0x3b0830]mmap: Invalid argument

/dev/video0: I/O error occured

Usually that means that input file is truncated and/or corrupted.

 

 

 

Owen

Attachments

    Outcomes