[FFmpeg-user] Issues trying to capture video from Point Grey Bumblebee 2 camera

Federico Salvioli savioli3 at virgilio.it
Tue Mar 10 19:40:36 CET 2015


Hi to everybody,
     I am trying to capture a video from a point grey bumblebee BB2 
firewire camera which is a IIDC 1394 v1.31 camera, when I try to save 
the video on a file, ffmpeg freezes when trying to open the input file.
On this pc I can connect succesfully to the camera using libdc1394 directly.

Here is my trial:

 1.
    ffmpeg-t2-logleveldebug-r15-flibdc1394-i/dev/fw1-ywebcam.mpg
 2.
    ffmpegversion2.6Copyright(c)2000-2015the FFmpeg developers
 3.
       built withgcc4.4.7(GCC)20120313(Red Hat 4.4.7-11)
 4.
    configuration:--prefix=/root/ffmpeg_build--extra-cflags=-I/root/ffmpeg_build/include--extra-ldflags=-L/root/ffmpeg_build/lib--bindir=/root/bin--enable-libvorbis--enable-libvpx--enable-libdc1394
 5.
    libavutil 54.20.100/54.20.100
 6.
    libavcodec 56.26.100/56.26.100
 7.
    libavformat 56.25.101/56.25.101
 8.
    libavdevice 56. 4.100/56. 4.100
 9.
    libavfilter 5.11.102/5.11.102
10.
    libswscale 3. 1.101/3. 1.101
11.
    libswresample 1. 1.100/1. 1.100
12.
    Splitting the commandline.
13.
    Reading option'-t'... matchedasoption't'(record or
    transcode"duration"seconds of audio/video)with argument'2'.
14.
    Reading option'-loglevel'... matchedasoption'loglevel'(setlogging
    level)with argument'debug'.
15.
    Reading option'-r'... matchedasoption'r'(setframe rate(Hz value,
    fraction or abbreviation))with argument'15'.
16.
    Reading option'-f'... matchedasoption'f'(force format)with
    argument'libdc1394'.
17.
    Reading option'-i'... matchedasinputfilewith argument'/dev/fw1'.
18.
    Reading option'-y'... matchedasoption'y'(overwrite output files)with
    argument'1'.
19.
    Reading option'webcam.mpg'... matchedasoutput file.
20.
    Finished splitting the commandline.
21.
    Parsing a group of options: global .
22.
    Applying option loglevel(setlogging level)with argument debug.
23.
    Applying option y(overwrite output files)with argument1.
24.
    Successfully parsed a group of options.
25.
    Parsing a group of options: inputfile/dev/fw1.
26.
    Applying option t(record or transcode"duration"seconds of
    audio/video)with argument2.
27.
    Applying option r(setframe rate(Hz value, fraction or
    abbreviation))with argument15.
28.
    Applying option f(force format)with argument libdc1394.
29.
    Successfully parsed a group of options.
30.
    Opening an input file:/dev/fw1.
31.
    ^C

I tried changing the -i file but looks like ffmpeg tries to capture 
always from the same device whatever I write in the -i option. Executing 
in a separate shell a

 1.
    watchlsof/dev/fw*

I get

 1.
    Every 2.0s: lsof/dev/fw0/dev/fw1 /dev/fw2                          
                      Tue Mar1004:48:412015
 2.
 3.
    COMMAND  PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
 4.
    ffmpeg2892root  mem    CHR 248,17387/dev/fw1
 5.
    ffmpeg2892root    6u   CHR 248,1      0t07387/dev/fw1
 6.
    ffmpeg2892root    7u   CHR 248,1      0t07387/dev/fw1


Anyone has a clue about what it is happening? What am I doing wrong?



---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com


More information about the ffmpeg-user mailing list