Hello, I am new to ffmpeg and I am having some trouble using my libdc1394 supported webcam with it. I keep getting the same error: ---- [libdc1394 @ 0x1722520] Can't find matching camera format for uyvy422, 320x240@29970:1000fps hw:0,0: Operation not permitted ---- Here is some build info: ffmpeg version N-47291-g0b14c19 Copyright (c) 2000-2012 the FFmpeg developers built on Nov 30 2012 01:11:28 with gcc 4.5.3 (GCC) 20110311 (prerelease) configuration: --enable-libdc1394 libavutil 52. 9.102 / 52. 9.102 libavcodec 54. 77.100 / 54. 77.100 libavformat 54. 40.100 / 54. 40.100 libavdevice 54. 3.100 / 54. 3.100 libavfilter 3. 23.104 / 3. 23.104 libswscale 2. 1.103 / 2. 1.103 libswresample 0. 17.101 / 0. 17.101 libdc1394 version is 2.2.0 Camera is Chameleon CMLN-13S2C Does anyone have any idea as to what I could be doing wrong? Thanks, Bryan
On Fri, 30 Nov 2012 16:03:31 -0500 Bryan Goldstein <brysgo@gmail.com> wrote:
Hello,
I am new to ffmpeg and I am having some trouble using my libdc1394 supported webcam with it. I keep getting the same error: ---- [libdc1394 @ 0x1722520] Can't find matching camera format for uyvy422, 320x240@29970:1000fps hw:0,0: Operation not permitted ----
Here is some build info:
ffmpeg version N-47291-g0b14c19 Copyright (c) 2000-2012 the FFmpeg developers built on Nov 30 2012 01:11:28 with gcc 4.5.3 (GCC) 20110311 (prerelease) configuration: --enable-libdc1394 libavutil 52. 9.102 / 52. 9.102 libavcodec 54. 77.100 / 54. 77.100 libavformat 54. 40.100 / 54. 40.100 libavdevice 54. 3.100 / 54. 3.100 libavfilter 3. 23.104 / 3. 23.104 libswscale 2. 1.103 / 2. 1.103 libswresample 0. 17.101 / 0. 17.101
libdc1394 version is 2.2.0
Camera is Chameleon CMLN-13S2C
Does anyone have any idea as to what I could be doing wrong?
Thanks, Bryan
Please provide the complete ffmpeg command line and the complete, uncut console output.
Hi Lou, Here it is uncut: --- omap3-multi:~$ sudo ffmpeg -loglevel debug -v verbose -f libdc1394 -i hw:0,0 -vcodec mpeg4 -b:v 10000k -bufsize 150000k -r 640x480 http://127.0.0.1:8090/feed1.ffm Password: ffmpeg version N-47291-g0b14c19 Copyright (c) 2000-2012 the FFmpeg developers built on Nov 30 2012 01:11:28 with gcc 4.5.3 (GCC) 20110311 (prerelease) configuration: --enable-libdc1394 libavutil 52. 9.102 / 52. 9.102 libavcodec 54. 77.100 / 54. 77.100 libavformat 54. 40.100 / 54. 40.100 libavdevice 54. 3.100 / 54. 3.100 libavfilter 3. 23.104 / 3. 23.104 libswscale 2. 1.103 / 2. 1.103 libswresample 0. 17.101 / 0. 17.101 [libdc1394 @ 0x1cdc520] Can't find matching camera format for uyvy422, 320x240@29970:1000fps hw:0,0: Operation not permitted --- However, I can still get the same output by just doing `ffmpeg -f libdc1394 -i hw:0,0` Thanks, Bryan On Fri, Nov 30, 2012 at 7:41 PM, Lou <lou@lrcd.com> wrote:
On Fri, 30 Nov 2012 16:03:31 -0500 Bryan Goldstein <brysgo@gmail.com> wrote:
Hello,
I am new to ffmpeg and I am having some trouble using my libdc1394 supported webcam with it. I keep getting the same error: ---- [libdc1394 @ 0x1722520] Can't find matching camera format for uyvy422, 320x240@29970:1000fps hw:0,0: Operation not permitted ----
Here is some build info:
ffmpeg version N-47291-g0b14c19 Copyright (c) 2000-2012 the FFmpeg developers built on Nov 30 2012 01:11:28 with gcc 4.5.3 (GCC) 20110311 (prerelease) configuration: --enable-libdc1394 libavutil 52. 9.102 / 52. 9.102 libavcodec 54. 77.100 / 54. 77.100 libavformat 54. 40.100 / 54. 40.100 libavdevice 54. 3.100 / 54. 3.100 libavfilter 3. 23.104 / 3. 23.104 libswscale 2. 1.103 / 2. 1.103 libswresample 0. 17.101 / 0. 17.101
libdc1394 version is 2.2.0
Camera is Chameleon CMLN-13S2C
Does anyone have any idea as to what I could be doing wrong?
Thanks, Bryan
Please provide the complete ffmpeg command line and the complete, uncut console output. _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
If it helps, the error is being thrown in libavdevice/libdc1394.c when a sanity check is reached and the fps->framerate appears to be zero (which I'm guessing it shouldn't be). - Bryan On Sun, Dec 2, 2012 at 11:13 AM, Bryan Goldstein <brysgo@gmail.com> wrote:
Hi Lou,
Here it is uncut: --- omap3-multi:~$ sudo ffmpeg -loglevel debug -v verbose -f libdc1394 -i hw:0,0 -vcodec mpeg4 -b:v 10000k -bufsize 150000k -r 640x480 http://127.0.0.1:8090/feed1.ffm Password: ffmpeg version N-47291-g0b14c19 Copyright (c) 2000-2012 the FFmpeg developers built on Nov 30 2012 01:11:28 with gcc 4.5.3 (GCC) 20110311 (prerelease) configuration: --enable-libdc1394 libavutil 52. 9.102 / 52. 9.102 libavcodec 54. 77.100 / 54. 77.100 libavformat 54. 40.100 / 54. 40.100 libavdevice 54. 3.100 / 54. 3.100 libavfilter 3. 23.104 / 3. 23.104 libswscale 2. 1.103 / 2. 1.103 libswresample 0. 17.101 / 0. 17.101 [libdc1394 @ 0x1cdc520] Can't find matching camera format for uyvy422, 320x240@29970:1000fps hw:0,0: Operation not permitted --- However, I can still get the same output by just doing `ffmpeg -f libdc1394 -i hw:0,0`
Thanks, Bryan
On Fri, Nov 30, 2012 at 7:41 PM, Lou <lou@lrcd.com> wrote:
On Fri, 30 Nov 2012 16:03:31 -0500 Bryan Goldstein <brysgo@gmail.com> wrote:
Hello,
I am new to ffmpeg and I am having some trouble using my libdc1394 supported webcam with it. I keep getting the same error: ---- [libdc1394 @ 0x1722520] Can't find matching camera format for uyvy422, 320x240@29970:1000fps hw:0,0: Operation not permitted ----
Here is some build info:
ffmpeg version N-47291-g0b14c19 Copyright (c) 2000-2012 the FFmpeg developers built on Nov 30 2012 01:11:28 with gcc 4.5.3 (GCC) 20110311 (prerelease) configuration: --enable-libdc1394 libavutil 52. 9.102 / 52. 9.102 libavcodec 54. 77.100 / 54. 77.100 libavformat 54. 40.100 / 54. 40.100 libavdevice 54. 3.100 / 54. 3.100 libavfilter 3. 23.104 / 3. 23.104 libswscale 2. 1.103 / 2. 1.103 libswresample 0. 17.101 / 0. 17.101
libdc1394 version is 2.2.0
Camera is Chameleon CMLN-13S2C
Does anyone have any idea as to what I could be doing wrong?
Thanks, Bryan
Please provide the complete ffmpeg command line and the complete, uncut console output. _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Okay, it worked when I manually set the fps inside of <libavdevice/libdc1394.c> to the right framerate object. What I don't get is why it didn't just work to use `-r 7500`, anyone know what I'm doing wrong? Thanks, Bryan On Mon, Dec 3, 2012 at 12:33 PM, Bryan Goldstein <brysgo@gmail.com> wrote:
If it helps, the error is being thrown in libavdevice/libdc1394.c when a sanity check is reached and the fps->framerate appears to be zero (which I'm guessing it shouldn't be).
- Bryan
On Sun, Dec 2, 2012 at 11:13 AM, Bryan Goldstein <brysgo@gmail.com> wrote:
Hi Lou,
Here it is uncut: --- omap3-multi:~$ sudo ffmpeg -loglevel debug -v verbose -f libdc1394 -i hw:0,0 -vcodec mpeg4 -b:v 10000k -bufsize 150000k -r 640x480 http://127.0.0.1:8090/feed1.ffm Password: ffmpeg version N-47291-g0b14c19 Copyright (c) 2000-2012 the FFmpeg developers built on Nov 30 2012 01:11:28 with gcc 4.5.3 (GCC) 20110311 (prerelease) configuration: --enable-libdc1394 libavutil 52. 9.102 / 52. 9.102 libavcodec 54. 77.100 / 54. 77.100 libavformat 54. 40.100 / 54. 40.100 libavdevice 54. 3.100 / 54. 3.100 libavfilter 3. 23.104 / 3. 23.104 libswscale 2. 1.103 / 2. 1.103 libswresample 0. 17.101 / 0. 17.101 [libdc1394 @ 0x1cdc520] Can't find matching camera format for uyvy422, 320x240@29970:1000fps hw:0,0: Operation not permitted --- However, I can still get the same output by just doing `ffmpeg -f libdc1394 -i hw:0,0`
Thanks, Bryan
On Fri, Nov 30, 2012 at 7:41 PM, Lou <lou@lrcd.com> wrote:
On Fri, 30 Nov 2012 16:03:31 -0500 Bryan Goldstein <brysgo@gmail.com> wrote:
Hello,
I am new to ffmpeg and I am having some trouble using my libdc1394 supported webcam with it. I keep getting the same error: ---- [libdc1394 @ 0x1722520] Can't find matching camera format for uyvy422, 320x240@29970:1000fps hw:0,0: Operation not permitted ----
Here is some build info:
ffmpeg version N-47291-g0b14c19 Copyright (c) 2000-2012 the FFmpeg developers built on Nov 30 2012 01:11:28 with gcc 4.5.3 (GCC) 20110311 (prerelease) configuration: --enable-libdc1394 libavutil 52. 9.102 / 52. 9.102 libavcodec 54. 77.100 / 54. 77.100 libavformat 54. 40.100 / 54. 40.100 libavdevice 54. 3.100 / 54. 3.100 libavfilter 3. 23.104 / 3. 23.104 libswscale 2. 1.103 / 2. 1.103 libswresample 0. 17.101 / 0. 17.101
libdc1394 version is 2.2.0
Camera is Chameleon CMLN-13S2C
Does anyone have any idea as to what I could be doing wrong?
Thanks, Bryan
Please provide the complete ffmpeg command line and the complete, uncut console output. _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
I finally resolved the issue. I wasn't setting the framerate right in two ways: 1) The 7500 should have been 7.5 . 2) The '-r' flag must go *before* the input device if it is to be applied to the input. So in case anyone else wants to figure those things out without looking stupid they can! Your welcome, Bryan On Mon, Dec 3, 2012 at 1:44 PM, Bryan Goldstein <brysgo@gmail.com> wrote:
Okay, it worked when I manually set the fps inside of <libavdevice/libdc1394.c> to the right framerate object. What I don't get is why it didn't just work to use `-r 7500`, anyone know what I'm doing wrong?
Thanks, Bryan
On Mon, Dec 3, 2012 at 12:33 PM, Bryan Goldstein <brysgo@gmail.com> wrote:
If it helps, the error is being thrown in libavdevice/libdc1394.c when a sanity check is reached and the fps->framerate appears to be zero (which I'm guessing it shouldn't be).
- Bryan
On Sun, Dec 2, 2012 at 11:13 AM, Bryan Goldstein <brysgo@gmail.com>wrote:
Hi Lou,
Here it is uncut: --- omap3-multi:~$ sudo ffmpeg -loglevel debug -v verbose -f libdc1394 -i hw:0,0 -vcodec mpeg4 -b:v 10000k -bufsize 150000k -r 640x480 http://127.0.0.1:8090/feed1.ffm Password: ffmpeg version N-47291-g0b14c19 Copyright (c) 2000-2012 the FFmpeg developers built on Nov 30 2012 01:11:28 with gcc 4.5.3 (GCC) 20110311 (prerelease) configuration: --enable-libdc1394 libavutil 52. 9.102 / 52. 9.102 libavcodec 54. 77.100 / 54. 77.100 libavformat 54. 40.100 / 54. 40.100 libavdevice 54. 3.100 / 54. 3.100 libavfilter 3. 23.104 / 3. 23.104 libswscale 2. 1.103 / 2. 1.103 libswresample 0. 17.101 / 0. 17.101 [libdc1394 @ 0x1cdc520] Can't find matching camera format for uyvy422, 320x240@29970:1000fps hw:0,0: Operation not permitted --- However, I can still get the same output by just doing `ffmpeg -f libdc1394 -i hw:0,0`
Thanks, Bryan
On Fri, Nov 30, 2012 at 7:41 PM, Lou <lou@lrcd.com> wrote:
On Fri, 30 Nov 2012 16:03:31 -0500 Bryan Goldstein <brysgo@gmail.com> wrote:
Hello,
I am new to ffmpeg and I am having some trouble using my libdc1394 supported webcam with it. I keep getting the same error: ---- [libdc1394 @ 0x1722520] Can't find matching camera format for uyvy422, 320x240@29970:1000fps hw:0,0: Operation not permitted ----
Here is some build info:
ffmpeg version N-47291-g0b14c19 Copyright (c) 2000-2012 the FFmpeg developers built on Nov 30 2012 01:11:28 with gcc 4.5.3 (GCC) 20110311 (prerelease) configuration: --enable-libdc1394 libavutil 52. 9.102 / 52. 9.102 libavcodec 54. 77.100 / 54. 77.100 libavformat 54. 40.100 / 54. 40.100 libavdevice 54. 3.100 / 54. 3.100 libavfilter 3. 23.104 / 3. 23.104 libswscale 2. 1.103 / 2. 1.103 libswresample 0. 17.101 / 0. 17.101
libdc1394 version is 2.2.0
Camera is Chameleon CMLN-13S2C
Does anyone have any idea as to what I could be doing wrong?
Thanks, Bryan
Please provide the complete ffmpeg command line and the complete, uncut console output. _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
On 12-11-30 05:03 PM, Bryan Goldstein wrote:
Hello,
I am new to ffmpeg and I am having some trouble using my libdc1394 supported webcam with it. I keep getting the same error: ---- [libdc1394 @ 0x1722520] Can't find matching camera format for uyvy422, 320x240@29970:1000fps hw:0,0: Operation not permitted
Wild guess, but dvgrab requires running as root to access 1394 devices, at least on any machine I've used it on, perhaps ffmpeg does too? -- Anthony Brown Audiovisual coordinator Brunswick Street Baptist Church Telephone: (506)-458-8348 (leave message) Email: av@bsbc.nb.ca
Hi Anthony, I don't think that's it, I tried running it as root and got the same message. Thanks, Bryan On Sat, Dec 1, 2012 at 2:16 PM, Anthony Brown <av@bsbc.nb.ca> wrote:
On 12-11-30 05:03 PM, Bryan Goldstein wrote:
Hello,
I am new to ffmpeg and I am having some trouble using my libdc1394 supported webcam with it. I keep getting the same error: ---- [libdc1394 @ 0x1722520] Can't find matching camera format for uyvy422, 320x240@29970:1000fps hw:0,0: Operation not permitted
Wild guess, but dvgrab requires running as root to access 1394 devices, at least on any machine I've used it on, perhaps ffmpeg does too?
--
Anthony Brown Audiovisual coordinator Brunswick Street Baptist Church Telephone: (506)-458-8348 (leave message) Email: av@bsbc.nb.ca
_______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
participants (3)
-
Anthony Brown -
Bryan Goldstein -
Lou