Форум Beholder http://beholder.ru/bb/ | |
Beholder Voyager Lite + Linux + ffmpeg http://beholder.ru/bb/viewtopic.php?f=11&t=13473 |
Страница 1 из 1 |
Автор: | agent [ 10 дек 2012, 02:26 ] |
Заголовок сообщения: | Beholder Voyager Lite + Linux + ffmpeg |
Взял этот девайс сегодня, он завелся под Linux (Fedora 16 kernel 3.6.7), но не могу с него получать видео. Проверил под Windows родной программой - все заработало. Под Linux использую ffmpeg и возникает проблема с pixel format. При этом, конечно, перед попыткой снимать видео настраиваю его через v4l2-ctl (на тип сигнала и частоту канала). А имеено: Код: ffmpeg -v debug -f v4l2 -i /dev/video1 ffmpeg version N-47423-g1696c72 Copyright (c) 2000-2012 the FFmpeg developers built on Dec 4 2012 15:41:15 with gcc 4.6.3 (GCC) 20120306 (Red Hat 4.6.3-2) configuration: --enable-gpl --enable-libmp3lame --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libv4l2 libavutil 52. 11.101 / 52. 11.101 libavcodec 54. 79.100 / 54. 79.100 libavformat 54. 43.100 / 54. 43.100 libavdevice 54. 3.102 / 54. 3.102 libavfilter 3. 24.100 / 3. 24.100 libswscale 2. 1.103 / 2. 1.103 libswresample 0. 17.102 / 0. 17.102 libpostproc 52. 2.100 / 52. 2.100 [video4linux2,v4l2 @ 0x9647540] [3]Capabilities: 5030001 [video4linux2,v4l2 @ 0x9647540] Querying the device for the current frame size [video4linux2,v4l2 @ 0x9647540] Setting frame size to 720x576 libv4l2: error setting pixformat: Invalid argument [video4linux2,v4l2 @ 0x9647540] The V4L2 driver changed the pixel format from 0x32315559 to 0x56595559 [video4linux2,v4l2 @ 0x9647540] The V4L2 driver using the interlaced modelibv4l2: error setting pixformat: Invalid argument The V4L2 driver changed the pixel format from 0x32315559 to 0x56595559 [video4linux2,v4l2 @ 0x9647540] The V4L2 driver using the interlaced modelibv4l2: error setting pixformat: Invalid argument The V4L2 driver changed the pixel format from 0x32315659 to 0x56595559 [video4linux2,v4l2 @ 0x9647540] The V4L2 driver using the interlaced modelibv4l2: error setting pixformat: Invalid argument The V4L2 driver using the interlaced modelibv4l2: error setting pixformat: Invalid argument The V4L2 driver changed the pixel format from 0x59565955 to 0x56595559 [video4linux2,v4l2 @ 0x9647540] The V4L2 driver using the interlaced modelibv4l2: error setting pixformat: Invalid argument The V4L2 driver changed the pixel format from 0x33524742 to 0x56595559 [video4linux2,v4l2 @ 0x9647540] The V4L2 driver using the interlaced modelibv4l2: error setting pixformat: Invalid argument The V4L2 driver changed the pixel format from 0x33424752 to 0x56595559 [video4linux2,v4l2 @ 0x9647540] The V4L2 driver using the interlaced modeCannot find a proper format for codec_id 0, pix_fmt -1. /dev/video1: Input/output error Подозрительно, что на v4l2-ctl -d /dev/video1 -V выдает Код: v4l2-ctl -d /dev/video1 -V Format Video Capture: Width/Height : 720/576 Pixel Format : 'YUYV' Field : Interlaced Bytes per Line: 1440 Size Image : 829440 Colorspace : Unknown (00000000) И как я понимаю проблема именно в Colorspace : Unknown (00000000) При этом есть еще AverMedia тюнер USB он работает нормально и на такую же комманду выдает осмысленный Colorspace: Код: v4l2-ctl -d /dev/video0 -V Format Video Capture: Width/Height : 720/576 Pixel Format : 'YUYV' Field : Interlaced Bytes per Line: 1440 Size Image : 829440 Colorspace : Broadcast NTSC/PAL (SMPTE170M/ITU601) Есть идеи? |
Автор: | agent [ 19 дек 2012, 20:22 ] |
Заголовок сообщения: | Re: Beholder Voyager Lite + Linux + ffmpeg |
Так и не удалось заставить работать. Скорее всего проблема в драйвере. Решил использовать AVerMedia Volar Go и AVerMedia Volar Lite II, драйвера под Linux поставляются производителем. |
Страница 1 из 1 | Часовой пояс: UTC + 3 часа |