[FFmpeg-trac] #2410(undetermined:new): ffmpeg down with video4linux2.

FFmpeg trac at avcodec.org
Fri Mar 29 04:28:56 CET 2013


#2410: ffmpeg down with video4linux2.
-------------------------------------+-------------------------------------
             Reporter:  dinhka       |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  important    |                Component:
              Version:  unspecified  |  undetermined
             Keywords:  v4l2         |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------
Description changed by cehoyos:

Old description:

> I have Easycap DC60 card(a video capture card). it runs on kernel 3.2
> with stk1160 driver. I download ffmpeg source code on 3013/03/29 and
> compile it.
> when I run a commandline:
>
> [root at localhost ~]# ffmpeg -f video4linux2 -pix_fmt yuv420p -i
> /dev/video0  -vco
> dec mpeg4 -b:v 1200k -y test.avi
> ffmpeg version N-51426-gdd17843 Copyright (c) 2000-2013 the FFmpeg
> developers
>   built on Mar 29 2013 00:22:28 with gcc 4.4.7 (GCC) 20120313 (Red Hat
> 4.4.7-3)
>   configuration: --enable-version3 --enable-libopencore-amrnb --enable-
> libopenco                                                      re-amrwb
> --enable-avfilter --enable-nonfree --enable-libmp3lame --enable-gpl --e
> nable-libfaac --enable-libx264 --enable-pthreads --disable-stripping
> --enable-li                                                      bass
> --extra-cflags=-I/usr/local/include --disable-debug
>   libavutil      52. 22.101 / 52. 22.101
>   libavcodec     55.  2.100 / 55.  2.100
>   libavformat    55.  0.100 / 55.  0.100
>   libavdevice    55.  0.100 / 55.  0.100
>   libavfilter     3. 48.105 /  3. 48.105
>   libswscale      2.  2.100 /  2.  2.100
>   libswresample   0. 17.102 /  0. 17.102
>   libpostproc    52.  2.100 / 52.  2.100
> '''[video4linux2,v4l2 @ 0x99704a0] ioctl(VIDIOC_G_PARM): Inappropriate
> ioctl for de                                                      vice
> /dev/video0: Inappropriate ioctl for device'''

New description:

 I have Easycap DC60 card(a video capture card). it runs on kernel 3.2 with
 stk1160 driver. I download ffmpeg source code on 3013/03/29 and compile
 it.
 when I run a commandline:
 {{{
 [root at localhost ~]# ffmpeg -f video4linux2 -pix_fmt yuv420p -i /dev/video0
 -vco                                                      dec mpeg4 -b:v
 1200k -y test.avi
 ffmpeg version N-51426-gdd17843 Copyright (c) 2000-2013 the FFmpeg
 developers
   built on Mar 29 2013 00:22:28 with gcc 4.4.7 (GCC) 20120313 (Red Hat
 4.4.7-3)
   configuration: --enable-version3 --enable-libopencore-amrnb --enable-
 libopenco                                                      re-amrwb
 --enable-avfilter --enable-nonfree --enable-libmp3lame --enable-gpl --e
 nable-libfaac --enable-libx264 --enable-pthreads --disable-stripping
 --enable-li                                                      bass
 --extra-cflags=-I/usr/local/include --disable-debug
   libavutil      52. 22.101 / 52. 22.101
   libavcodec     55.  2.100 / 55.  2.100
   libavformat    55.  0.100 / 55.  0.100
   libavdevice    55.  0.100 / 55.  0.100
   libavfilter     3. 48.105 /  3. 48.105
   libswscale      2.  2.100 /  2.  2.100
   libswresample   0. 17.102 /  0. 17.102
   libpostproc    52.  2.100 / 52.  2.100
 '''[video4linux2,v4l2 @ 0x99704a0] ioctl(VIDIOC_G_PARM): Inappropriate
 ioctl for de                                                      vice
 /dev/video0: Inappropriate ioctl for device'''
 }}}

--

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2410#comment:2>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list