[olug] Video Capture Project Update
Joseph Gulizia
joseph.gulizia at gmail.com
Mon Jun 4 18:50:39 UTC 2012
Output using MPlayer:
joe at joe-SCOLA:~$ mplayer tv:// -tv
driver=v4l2:norm=NTSC:input=0:amode=0:width=640:height=480:device=/dev/video0
MPlayer svn r34540 (Ubuntu), built with gcc-4.6 (C) 2000-2012 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote
control.
Playing tv://.
TV file format detected.
Selected driver: v4l2
name: Video 4 Linux 2 input
author: Martin Olschewski <olschewski at zpr.uni-koeln.de>
comment: first try, more to come ;-)
Selected device: Pinnacle Dazzle DVC 90/100/101/
Capabilities: video capture audio read/write streaming
supported norms: 0 = NTSC; 1 = NTSC-M; 2 = NTSC-M-JP; 3 = NTSC-M-KR; 4 =
NTSC-443; 5 = PAL; 6 = PAL-BG; 7 = PAL-H; 8 = PAL-I; 9 = PAL-DK; 10 =
PAL-M; 11 = PAL-N; 12 = PAL-Nc; 13 = PAL-60; 14 = SECAM; 15 = SECAM-B; 16 =
SECAM-G; 17 = SECAM-H; 18 = SECAM-DK; 19 = SECAM-L; 20 = SECAM-Lc;
inputs: 0 = Composite1; 1 = S-Video;
Current input: 0
Current format: YUYV
v4l2: ioctl set format failed: Invalid argument
v4l2: ioctl set format failed: Invalid argument
v4l2: ioctl set format failed: Invalid argument
Selected input hasn't got a tuner!
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object
file: No such file or directory
[vdpau] Error when calling vdp_device_create_x11: 1
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 640x480 => 640x480 Packed YUY2
Selected video codec: [rawyuy2] vfm: raw (RAW YUY2)
==========================================================================
Audio: no sound
Starting playback...
V: 0.0 374/374 ??% ??% ??,?% 0 0
v4l2: 376 frames successfully processed, 0 frames dropped.
Exiting... (End of file)
On Mon, Jun 4, 2012 at 11:07 AM, Joseph Gulizia <joseph.gulizia at gmail.com>wrote:
> Trudged through MPlayer documentation.......still can't get audio or save
> output....help sought.
>
> Joe
>
> On Sat, Jun 2, 2012 at 7:16 AM, Joseph Gulizia <joseph.gulizia at gmail.com>wrote:
>
>> An update to video capture project...
>>
>> Thanks to Jon Larsen and others at the last OLUG meeting I looked at
>> Zoneminder which led me Blue-Cherry. Blue-Cherry sells video capture cards
>> among other things. Talking with them they said to use MPlayer.
>>
>> They gave me the following code:
>>
>> mplayer tv:// -tv
>> driver=v4l2:norm=NTSC:input=0:amode=1:width=640:height=480:device=/dev/video0
>>
>> So now I have decent looking video from either a camcorder (Canon ZR-960
>> Mini-DV) or a DVD player (older Coby) running through the card. I also
>> tried the code and camcorder using a Dazzle device and got video.
>>
>> Next steps:
>>
>> 1) Being able to save the videos and then find them
>> 2) Getting audio to work.
>> 3) Building a simple GUI that allows the users to:
>> choose video format (PAL, NTSC) and passes parameters that we have
>> pre-set (python if I had my choice)
>>
>> Trudging through the MPlayer docs........somewhat frustrating....lot to
>> read.
>>
>> Using Mencoder I get errors when I put in "-o FileName" at end of string
>> below.
>>
>> mencoder tv:// -tv
>> driver=v4l2:norm=NTSC:input=0:amode=1:width=640:height=480:device=/dev/video0-o TestVideo
>>
>> Also I know a destination path goes somewhere --
>> /home/scola/Desktop/(fileName.extention)
>>
>> Joe
>>
>
>
More information about the OLUG
mailing list