[FFmpeg-trac] #1570(avdevice:open): libv4l2: error dequeuing buf: Resource temporarily unavailable

FFmpeg trac at avcodec.org
Sun Feb 10 19:52:31 CET 2013


#1570: libv4l2: error dequeuing buf: Resource temporarily unavailable
-------------------------------------+-------------------------------------
             Reporter:  llarevo      |                    Owner:
                 Type:  defect       |                   Status:  open
             Priority:  important    |                Component:  avdevice
              Version:  git-master   |               Resolution:
             Keywords:  v4l2         |               Blocked By:
  regression                         |  Reproduced by developer:  1
             Blocking:               |
Analyzed by developer:  1            |
-------------------------------------+-------------------------------------

Comment (by llarevo):

 All requested testcases were broken with the current git, except the
 ffplay commands without -r 25. In other words: ffmpeg doesn't work neither
 with or without -r 25, while ffplay does work only without -r 25.

 In Detail:

 == 1. compiled without --enable-libv4l2 ==
 '''1.1 ffmpeg -loglevel debug -f v4l2 -s vga -r 25 -i /dev/video0 out-vga-
 2M-5min.mpg: BROKEN'''
 {{{
 ffmpeg version N-49795-g478fc7f Copyright (c) 2000-2013 the FFmpeg
 developers
   built on Feb 10 2013 19:25:16 with gcc 4.7.2 (GCC) 20121109 (Red Hat
 4.7.2-8)
   configuration: --prefix=/usr/local
   libavutil      52. 17.101 / 52. 17.101
   libavcodec     54. 91.102 / 54. 91.102
   libavformat    54. 62.100 / 54. 62.100
   libavdevice    54.  3.103 / 54.  3.103
   libavfilter     3. 37.101 /  3. 37.101
   libswscale      2.  2.100 /  2.  2.100
   libswresample   0. 17.102 /  0. 17.102
 Splitting the commandline.
 Reading option '-loglevel' ... matched as option 'loglevel' (set libav*
 logging level) with argument 'debug'.
 Reading option '-f' ... matched as option 'f' (force format) with argument
 'v4l2'.
 Reading option '-s' ... matched as option 's' (set frame size (WxH or
 abbreviation)) with argument 'vga'.
 Reading option '-r' ... matched as option 'r' (set frame rate (Hz value,
 fraction or abbreviation)) with argument '25'.
 Reading option '-i' ... matched as input file with argument '/dev/video0'.
 Reading option 'out-vga-2M-5min.mpg' ... matched as output file.
 Finished splitting the commandline.
 Parsing a group of options: global .
 Applying option loglevel (set libav* logging level) with argument debug.
 Successfully parsed a group of options.
 Parsing a group of options: input file /dev/video0.
 Applying option f (force format) with argument v4l2.
 Applying option s (set frame size (WxH or abbreviation)) with argument
 vga.
 Applying option r (set frame rate (Hz value, fraction or abbreviation))
 with argument 25.
 Successfully parsed a group of options.
 Opening an input file: /dev/video0.
 [video4linux2,v4l2 @ 0x2b101c0] fd:3 capabilities:5010015
 [video4linux2,v4l2 @ 0x2b101c0] Selecting input_channel: 0
 [video4linux2,v4l2 @ 0x2b101c0] input_channel: 0, input_name: Television
 [video4linux2,v4l2 @ 0x2b101c0] The V4L2 driver is using the interlaced
 mode
 [video4linux2,v4l2 @ 0x2b101c0] Current standard: PAL, id: 255,
 frameperiod: 1/25
 [video4linux2,v4l2 @ 0x2b101c0] The driver does not allow to change time
 per frame
 ^Cinterrupted
 rfps: 1.000000 0.006400
 rfps: 1.083333 0.007511
     Last message repeated 1 times
 rfps: 1.166667 0.008711
     Last message repeated 1 times
 rfps: 1.250000 0.010000
 =====>(several dozends of lines like this)<=====
 rfps: 51.583333 0.016063
 rfps: 51.666667 0.017798
 rfps: 51.750000 0.019619
 rfps: 23.976024 0.006705
     Last message repeated 1 times
 [video4linux2,v4l2 @ 0x2b101c0] Estimating duration from bitrate, this may
 be inaccurate
 Input #0, video4linux2,v4l2, from '/dev/video0':
   Duration: N/A, start: 1360520755.820252, bitrate: 92160 kb/s
     Stream #0:0, 8, 1/1000000: Video: rawvideo (I420 / 0x30323449),
 yuv420p, 640x480, 1/1000000, 92160 kb/s, 25 fps, 25 tbr, 1000k tbn, 1000k
 tbc
 Successfully opened the file.
 Parsing a group of options: output file out-vga-2M-5min.mpg.
 Successfully parsed a group of options.
 Opening an output file: out-vga-2M-5min.mpg.
 Successfully opened the file.
 [buffer @ 0x2b16040] Setting entry with key 'video_size' to value
 '640x480'
 [buffer @ 0x2b16040] Setting entry with key 'pix_fmt' to value '0'
 [buffer @ 0x2b16040] Setting entry with key 'time_base' to value '1/25'
 [buffer @ 0x2b16040] Setting entry with key 'pixel_aspect' to value '0/1'
 [buffer @ 0x2b16040] Setting entry with key 'sws_param' to value 'flags=2'
 [buffer @ 0x2b16040] Setting entry with key 'frame_rate' to value '25/1'
 [graph 0 input from stream 0:0 @ 0x2b10c80] w:640 h:480 pixfmt:yuv420p
 tb:1/25 fr:25/1 sar:0/1 sws_param:flags=2
 [graph 0 input from stream 0:0 @ 0x2b10c80] TB:0.040000
 FRAME_RATE:25.000000 SAMPLE_RATE:nan
 [mpeg1video @ 0x2b11b80] detected 4 logical cores
 [mpeg1video @ 0x2b11b80] intra_quant_bias = 96 inter_quant_bias = 0
 [mpeg @ 0x2b11400] VBV buffer size not set, muxing may fail
 Output #0, mpeg, to 'out-vga-2M-5min.mpg':
   Metadata:
     encoder         : Lavf54.62.100
     Stream #0:0, 0, 1/90000: Video: mpeg1video, yuv420p, 640x480, 1/25,
 q=2-31, 200 kb/s, 90k tbn, 25 tbc
 Stream mapping:
   Stream #0:0 -> #0:0 (rawvideo -> mpeg1video)
 Press [q] to stop, [?] for help
 frame=    0 fps=0.0 q=0.0 Lsize=       0kB time=00:00:00.00 bitrate=N/A
 video:0kB audio:0kB subtitle:0 global headers:0kB muxing overhead -nan%
 Output file is empty, nothing was encoded (check -ss / -t / -frames
 parameters if used)
 Received signal 2: terminating.
 }}}

 '''1.2 ffmpeg -loglevel debug -f v4l2 -s vga -i /dev/video0 out-vga-2M-
 5min.mpg: BROKEN'''
 {{{
 ffmpeg -loglevel debug -f v4l2 -s vga -i /dev/video0 out-vga-2M-5min.mpg
 ffmpeg version N-49795-g478fc7f Copyright (c) 2000-2013 the FFmpeg
 developers
   built on Feb 10 2013 19:25:16 with gcc 4.7.2 (GCC) 20121109 (Red Hat
 4.7.2-8)
   configuration: --prefix=/usr/local
   libavutil      52. 17.101 / 52. 17.101
   libavcodec     54. 91.102 / 54. 91.102
   libavformat    54. 62.100 / 54. 62.100
   libavdevice    54.  3.103 / 54.  3.103
   libavfilter     3. 37.101 /  3. 37.101
   libswscale      2.  2.100 /  2.  2.100
   libswresample   0. 17.102 /  0. 17.102
 Splitting the commandline.
 Reading option '-loglevel' ... matched as option 'loglevel' (set libav*
 logging level) with argument 'debug'.
 Reading option '-f' ... matched as option 'f' (force format) with argument
 'v4l2'.
 Reading option '-s' ... matched as option 's' (set frame size (WxH or
 abbreviation)) with argument 'vga'.
 Reading option '-i' ... matched as input file with argument '/dev/video0'.
 Reading option 'out-vga-2M-5min.mpg' ... matched as output file.
 Finished splitting the commandline.
 Parsing a group of options: global .
 Applying option loglevel (set libav* logging level) with argument debug.
 Successfully parsed a group of options.
 Parsing a group of options: input file /dev/video0.
 Applying option f (force format) with argument v4l2.
 Applying option s (set frame size (WxH or abbreviation)) with argument
 vga.
 Successfully parsed a group of options.
 Opening an input file: /dev/video0.
 [video4linux2,v4l2 @ 0x222d0e0] fd:3 capabilities:5010015
 [video4linux2,v4l2 @ 0x222d0e0] Selecting input_channel: 0
 [video4linux2,v4l2 @ 0x222d0e0] input_channel: 0, input_name: Television
 [video4linux2,v4l2 @ 0x222d0e0] The V4L2 driver is using the interlaced
 mode
 [video4linux2,v4l2 @ 0x222d0e0] Current standard: PAL, id: 255,
 frameperiod: 1/25
 ^Cinterrupted  <========================Strg+c here
 rfps: 1.000000 0.006400
     Last message repeated 1 times
 rfps: 1.083333 0.007511
     Last message repeated 1 times
 rfps: 1.166667 0.008711
 rfps: 1.250000 0.010000
 rfps: 1.333333 0.011378
 rfps: 1.416667 0.012845
     Last message repeated 1 times
 rfps: 1.500000 0.014400
 ====================lots more of this garbage===================
 rfps: 51.416667 0.012857
 rfps: 51.500000 0.014413
 rfps: 51.583333 0.016057
 rfps: 51.666667 0.017792
 rfps: 51.750000 0.019614
     Last message repeated 1 times
 rfps: 23.976024 0.006706
 [video4linux2,v4l2 @ 0x222d0e0] Estimating duration from bitrate, this may
 be inaccurate
 Input #0, video4linux2,v4l2, from '/dev/video0':
   Duration: N/A, start: 1360520929.062198, bitrate: 92160 kb/s
     Stream #0:0, 8, 1/1000000: Video: rawvideo (I420 / 0x30323449),
 yuv420p, 640x480, 1/1000000, 92160 kb/s, 25 fps, 25 tbr, 1000k tbn, 1000k
 tbc
 Successfully opened the file.
 Parsing a group of options: output file out-vga-2M-5min.mpg.
 Successfully parsed a group of options.
 Opening an output file: out-vga-2M-5min.mpg.
 File 'out-vga-2M-5min.mpg' already exists. Overwrite ? [y/N] y
 Successfully opened the file.
 [buffer @ 0x2232ec0] Setting entry with key 'video_size' to value
 '640x480'
 [buffer @ 0x2232ec0] Setting entry with key 'pix_fmt' to value '0'
 [buffer @ 0x2232ec0] Setting entry with key 'time_base' to value
 '1/1000000'
 [buffer @ 0x2232ec0] Setting entry with key 'pixel_aspect' to value '0/1'
 [buffer @ 0x2232ec0] Setting entry with key 'sws_param' to value 'flags=2'
 [buffer @ 0x2232ec0] Setting entry with key 'frame_rate' to value '25/1'
 [graph 0 input from stream 0:0 @ 0x2232500] w:640 h:480 pixfmt:yuv420p
 tb:1/1000000 fr:25/1 sar:0/1 sws_param:flags=2
 [mpeg1video @ 0x222e800] detected 4 logical cores
 [mpeg1video @ 0x222e800] intra_quant_bias = 96 inter_quant_bias = 0
 [mpeg @ 0x222e080] VBV buffer size not set, muxing may fail
 Output #0, mpeg, to 'out-vga-2M-5min.mpg':
   Metadata:
     encoder         : Lavf54.62.100
     Stream #0:0, 0, 1/90000: Video: mpeg1video, yuv420p, 640x480, 1/25,
 q=2-31, 200 kb/s, 90k tbn, 25 tbc
 Stream mapping:
   Stream #0:0 -> #0:0 (rawvideo -> mpeg1video)
 Press [q] to stop, [?] for help
 frame=    0 fps=0.0 q=0.0 Lsize=       0kB time=00:00:00.00 bitrate=N/A
 video:0kB audio:0kB subtitle:0 global headers:0kB muxing overhead -nan%
 Output file is empty, nothing was encoded (check -ss / -t / -frames
 parameters if used)
 Received signal 2: terminating.
 }}}


 '''1.3 ffplay -loglevel debug -f video4linux2 -r 25 -probesize 32
 /dev/video0: BROKEN'''
 {{{
 ffplay version N-49795-g478fc7f Copyright (c) 2003-2013 the FFmpeg
 developers
   built on Feb 10 2013 19:25:16 with gcc 4.7.2 (GCC) 20121109 (Red Hat
 4.7.2-8)
   configuration: --prefix=/usr/local
   libavutil      52. 17.101 / 52. 17.101
   libavcodec     54. 91.102 / 54. 91.102
   libavformat    54. 62.100 / 54. 62.100
   libavdevice    54.  3.103 / 54.  3.103
   libavfilter     3. 37.101 /  3. 37.101
   libswscale      2.  2.100 /  2.  2.100
   libswresample   0. 17.102 /  0. 17.102
 Failed to set value '25' for option 'r'
 }}}


 '''1.4 ffplay -loglevel debug -f video4linux2 -probesize 32 /dev/video0:
 GOOD'''
 {{{
 ffplay version N-49795-g478fc7f Copyright (c) 2003-2013 the FFmpeg
 developers
   built on Feb 10 2013 19:25:16 with gcc 4.7.2 (GCC) 20121109 (Red Hat
 4.7.2-8)
   configuration: --prefix=/usr/local
   libavutil      52. 17.101 / 52. 17.101
   libavcodec     54. 91.102 / 54. 91.102
   libavformat    54. 62.100 / 54. 62.100
   libavdevice    54.  3.103 / 54.  3.103
   libavfilter     3. 37.101 /  3. 37.101
   libswscale      2.  2.100 /  2.  2.100
   libswresample   0. 17.102 /  0. 17.102
 ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect:
 Connection refused

 [video4linux2,v4l2 @ 0x7f643c000940] fd:5 capabilities:5010015
 [video4linux2,v4l2 @ 0x7f643c000940] Selecting input_channel: 0
 [video4linux2,v4l2 @ 0x7f643c000940] input_channel: 0, input_name:
 Television
 [video4linux2,v4l2 @ 0x7f643c000940] Querying the device for the current
 frame size
 [video4linux2,v4l2 @ 0x7f643c000940] Setting frame size to 720x576
 [video4linux2,v4l2 @ 0x7f643c000940] The V4L2 driver is using the
 interlaced mode
 [video4linux2,v4l2 @ 0x7f643c000940] Current standard: PAL, id: 255,
 frameperiod: 1/25
 [video4linux2,v4l2 @ 0x7f643c000940] Probe buffer size limit of 32 bytes
 reached
 [video4linux2,v4l2 @ 0x7f643c000940] Stream #0: not enough frames to
 estimate rate; consider increasing probesize
 [video4linux2,v4l2 @ 0x7f643c000940] Estimating duration from bitrate,
 this may be inaccurate
 Input #0, video4linux2,v4l2, from '/dev/video0':
   Duration: N/A, start: 1360521113.544285, bitrate: 124416 kb/s
     Stream #0:0, 1, 1/1000000: Video: rawvideo (I420 / 0x30323449),
 yuv420p, 720x576, 1/1000000, 124416 kb/s, 25 fps, 1000k tbr, 1000k tbn,
 1000k tbc
 Video frame changed from size:0x0 format:none serial:-1 to size:720x576
 format:yuv420p serial:1
 [buffer @ 0x7f6434000e40] Setting entry with key 'video_size' to value
 '720x576'
 [buffer @ 0x7f6434000e40] Setting entry with key 'pix_fmt' to value '0'
 [buffer @ 0x7f6434000e40] Setting entry with key 'time_base' to value
 '1/1000000'
 [buffer @ 0x7f6434000e40] Setting entry with key 'pixel_aspect' to value
 '0/1'
 [ffplay_buffer @ 0x7f6434000d20] w:720 h:576 pixfmt:yuv420p tb:1/1000000
 fr:0/1 sar:0/1 sws_param:
 [crop @ 0x7f6434002000] Setting 'w' to value 'floor(in_w/2)*2'
 [crop @ 0x7f6434002000] Setting 'h' to value 'floor(in_h/2)*2'
 [ffplay_crop @ 0x7f6434001ee0] w:720 h:576 sar:0/1 -> w:720 h:576 sar:0/1
 -9223372036854775808.00 A-V:  0.000 fd=   0 aq=    0KB vq=    0KB sq=
 0B f=0/-9223372036854775808.00 A-V:  0.000 fd=   0 aq=    0KB vq= 3038KB
 sq=    0B f=0/1360521117.45 A-V:  0.000 fd=   0 aq=    0KB vq= 2430KB sq=
 0B f=0/0
 }}}



 == 2. compiled with --enable-libv4l2 ==
 '''2.1 ffmpeg -loglevel debug -f v4l2 -s vga -r 25 -i /dev/video0 out-vga-
 2M-5min.mpg: BROKEN'''
 {{{
 libv4l2: error dequeuing buf: Resource temporarily unavailable
 =================lots more of this garbage===================
 libv4l2: error dequeuing buf: Resource temporarily unavailable
 libv4l2: error dequeuing buf: Resource temporarily unavailable
 libv4l2: error dequeuing buf: Resource temporarily unavailable
 libv4l2: error dequeuing buf: Resource temporarily unavailable
 libv4l2: error dequeuing buf: Resource temporarily unavailable^C
 <=============strg+c
 interrupted
 rfps: 1.000000 0.006400
     Last message repeated 1 times
 rfps: 1.083333 0.007511
 =================lots more of this garbage===================
 rfps: 51.666667 0.017794
     Last message repeated 1 times
 rfps: 51.750000 0.019617
 rfps: 23.976024 0.006706
     Last message repeated 1 times
 [video4linux2,v4l2 @ 0x289c1c0] Estimating duration from bitrate, this may
 be inaccurate
 Input #0, video4linux2,v4l2, from '/dev/video0':
   Duration: N/A, start: 1360521529.548964, bitrate: 92160 kb/s
     Stream #0:0, 8, 1/1000000: Video: rawvideo (I420 / 0x30323449),
 yuv420p, 640x480, 1/1000000, 92160 kb/s, 25 fps, 25 tbr, 1000k tbn, 1000k
 tbc
 Successfully opened the file.
 Parsing a group of options: output file out-vga-2M-5min.mpg.
 Successfully parsed a group of options.
 Opening an output file: out-vga-2M-5min.mpg.
 File 'out-vga-2M-5min.mpg' already exists. Overwrite ? [y/N] y
 Successfully opened the file.
 [buffer @ 0x28a2040] Setting entry with key 'video_size' to value
 '640x480'
 [buffer @ 0x28a2040] Setting entry with key 'pix_fmt' to value '0'
 [buffer @ 0x28a2040] Setting entry with key 'time_base' to value '1/25'
 [buffer @ 0x28a2040] Setting entry with key 'pixel_aspect' to value '0/1'
 [buffer @ 0x28a2040] Setting entry with key 'sws_param' to value 'flags=2'
 [buffer @ 0x28a2040] Setting entry with key 'frame_rate' to value '25/1'
 [graph 0 input from stream 0:0 @ 0x289cc80] w:640 h:480 pixfmt:yuv420p
 tb:1/25 fr:25/1 sar:0/1 sws_param:flags=2
 [graph 0 input from stream 0:0 @ 0x289cc80] TB:0.040000
 FRAME_RATE:25.000000 SAMPLE_RATE:nan
 [mpeg1video @ 0x289db80] detected 4 logical cores
 [mpeg1video @ 0x289db80] intra_quant_bias = 96 inter_quant_bias = 0
 [mpeg @ 0x289d400] VBV buffer size not set, muxing may fail
 Output #0, mpeg, to 'out-vga-2M-5min.mpg':
   Metadata:
     encoder         : Lavf54.62.100
     Stream #0:0, 0, 1/90000: Video: mpeg1video, yuv420p, 640x480, 1/25,
 q=2-31, 200 kb/s, 90k tbn, 25 tbc
 Stream mapping:
   Stream #0:0 -> #0:0 (rawvideo -> mpeg1video)
 Press [q] to stop, [?] for help
 frame=    0 fps=0.0 q=0.0 Lsize=       0kB time=00:00:00.00 bitrate=N/A
 video:0kB audio:0kB subtitle:0 global headers:0kB muxing overhead -nan%
 Output file is empty, nothing was encoded (check -ss / -t / -frames
 parameters if used)
 Received signal 2: terminating.
 }}}





 '''2.2 ffmpeg -loglevel debug -f v4l2 -s vga -i /dev/video0 out-vga-2M-
 5min.mpg: BROKEN'''
 {{{
 libv4l2: error dequeuing buf: Resource temporarily unavailable
 ==============================much more of this garbage=================
 libv4l2: error dequeuing buf: Resource temporarily unavailable
 libv4l2: error dequeuing buf: Resource temporarily unavailable
 libv4l2: error dequeuing buf: Resource temporarily unavailable
 ^Clibv4l2: error dequeuing buf: Resource temporarily unavailable
 ^Cinterrupted <=============================strg+c
 rfps: 1.000000 0.006401
     Last message repeated 1 times
 rfps: 1.083333 0.007513
     Last message repeated 1 times
 ==============================much more of this garbage=================
 rfps: 23.976024 0.006680
     Last message repeated 1 times
 [video4linux2,v4l2 @ 0x327e0e0] Estimating duration from bitrate, this may
 be inaccurate
 Input #0, video4linux2,v4l2, from '/dev/video0':
   Duration: N/A, start: 1360521780.631799, bitrate: 92160 kb/s
     Stream #0:0, 8, 1/1000000: Video: rawvideo (I420 / 0x30323449),
 yuv420p, 640x480, 1/1000000, 92160 kb/s, 25 fps, 25 tbr, 1000k tbn, 1000k
 tbc
 Successfully opened the file.
 Parsing a group of options: output file out-vga-2M-5min.mpg.
 Successfully parsed a group of options.
 Opening an output file: out-vga-2M-5min.mpg.
 File 'out-vga-2M-5min.mpg' already exists. Overwrite ? [y/N] y
 Successfully opened the file.
 [buffer @ 0x32840a0] Setting entry with key 'video_size' to value
 '640x480'
 [buffer @ 0x32840a0] Setting entry with key 'pix_fmt' to value '0'
 [buffer @ 0x32840a0] Setting entry with key 'time_base' to value
 '1/1000000'
 [buffer @ 0x32840a0] Setting entry with key 'pixel_aspect' to value '0/1'
 [buffer @ 0x32840a0] Setting entry with key 'sws_param' to value 'flags=2'
 [buffer @ 0x32840a0] Setting entry with key 'frame_rate' to value '25/1'
 [graph 0 input from stream 0:0 @ 0x3283240] w:640 h:480 pixfmt:yuv420p
 tb:1/1000000 fr:25/1 sar:0/1 sws_param:flags=2
 [mpeg1video @ 0x327f8c0] detected 4 logical cores
 [mpeg1video @ 0x327f8c0] intra_quant_bias = 96 inter_quant_bias = 0
 [mpeg @ 0x327f060] VBV buffer size not set, muxing may fail
 Output #0, mpeg, to 'out-vga-2M-5min.mpg':
   Metadata:
     encoder         : Lavf54.62.100
     Stream #0:0, 0, 1/90000: Video: mpeg1video, yuv420p, 640x480, 1/25,
 q=2-31, 200 kb/s, 90k tbn, 25 tbc
 Stream mapping:
   Stream #0:0 -> #0:0 (rawvideo -> mpeg1video)
 Press [q] to stop, [?] for help
 frame=    0 fps=0.0 q=0.0 Lsize=       0kB time=00:00:00.00 bitrate=N/A
 video:0kB audio:0kB subtitle:0 global headers:0kB muxing overhead -nan%
 Output file is empty, nothing was encoded (check -ss / -t / -frames
 parameters if used)
 Received signal 2: terminating.
 }}}




 '''2.3 ffplay -loglevel debug -f v4l2 -r 25 -probesize 32 /dev/video0:
 BROKEN'''
 {{{
 ffplay version N-49795-g478fc7f Copyright (c) 2003-2013 the FFmpeg
 developers
   built on Feb 10 2013 19:36:45 with gcc 4.7.2 (GCC) 20121109 (Red Hat
 4.7.2-8)
   configuration: --prefix=/usr/local --enable-libv4l2
   libavutil      52. 17.101 / 52. 17.101
   libavcodec     54. 91.102 / 54. 91.102
   libavformat    54. 62.100 / 54. 62.100
   libavdevice    54.  3.103 / 54.  3.103
   libavfilter     3. 37.101 /  3. 37.101
   libswscale      2.  2.100 /  2.  2.100
   libswresample   0. 17.102 /  0. 17.102
 Failed to set value '25' for option 'r'
 }}}


 '''2.4 ffplay -loglevel debug -f v4l2 -probesize 32 /dev/video0: GOOD'''
 {{{
 ffplay version N-49795-g478fc7f Copyright (c) 2003-2013 the FFmpeg
 developers
   built on Feb 10 2013 19:36:45 with gcc 4.7.2 (GCC) 20121109 (Red Hat
 4.7.2-8)
   configuration: --prefix=/usr/local --enable-libv4l2
   libavutil      52. 17.101 / 52. 17.101
   libavcodec     54. 91.102 / 54. 91.102
   libavformat    54. 62.100 / 54. 62.100
   libavdevice    54.  3.103 / 54.  3.103
   libavfilter     3. 37.101 /  3. 37.101
   libswscale      2.  2.100 /  2.  2.100
   libswresample   0. 17.102 /  0. 17.102
 ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect:
 Connection refused

 [video4linux2,v4l2 @ 0x7f3dc8000940] fd:5 capabilities:5010015
 [video4linux2,v4l2 @ 0x7f3dc8000940] Selecting input_channel: 0
 [video4linux2,v4l2 @ 0x7f3dc8000940] input_channel: 0, input_name:
 Television
 [video4linux2,v4l2 @ 0x7f3dc8000940] Querying the device for the current
 frame size
 [video4linux2,v4l2 @ 0x7f3dc8000940] Setting frame size to 720x576
 [video4linux2,v4l2 @ 0x7f3dc8000940] The V4L2 driver is using the
 interlaced mode
 [video4linux2,v4l2 @ 0x7f3dc8000940] Current standard: PAL, id: 255,
 frameperiod: 1/25
 [video4linux2,v4l2 @ 0x7f3dc8000940] Probe buffer size limit of 32 bytes
 reached
 [video4linux2,v4l2 @ 0x7f3dc8000940] Stream #0: not enough frames to
 estimate rate; consider increasing probesize
 [video4linux2,v4l2 @ 0x7f3dc8000940] Estimating duration from bitrate,
 this may be inaccurate
 Input #0, video4linux2,v4l2, from '/dev/video0':
   Duration: N/A, start: 1360522048.474854, bitrate: 124416 kb/s
     Stream #0:0, 1, 1/1000000: Video: rawvideo (I420 / 0x30323449),
 yuv420p, 720x576, 1/1000000, 124416 kb/s, 25 fps, 1000k tbr, 1000k tbn,
 1000k tbc
 Video frame changed from size:0x0 format:none serial:-1 to size:720x576
 format:yuv420p serial:1
 [buffer @ 0x7f3dc0000e40] Setting entry with key 'video_size' to value
 '720x576'
 [buffer @ 0x7f3dc0000e40] Setting entry with key 'pix_fmt' to value '0'
 [buffer @ 0x7f3dc0000e40] Setting entry with key 'time_base' to value
 '1/1000000'
 [buffer @ 0x7f3dc0000e40] Setting entry with key 'pixel_aspect' to value
 '0/1'
 [ffplay_buffer @ 0x7f3dc0000d20] w:720 h:576 pixfmt:yuv420p tb:1/1000000
 fr:0/1 sar:0/1 sws_param:
 [crop @ 0x7f3dc0002000] Setting 'w' to value 'floor(in_w/2)*2'
 [crop @ 0x7f3dc0002000] Setting 'h' to value 'floor(in_h/2)*2'
 [ffplay_crop @ 0x7f3dc0001ee0] w:720 h:576 sar:0/1 -> w:720 h:576 sar:0/1
 ^C[tbastian at tbastian-server Downloads]$  0KB vq= 3038KB sq=    0B f=0/0
 B f=0/0
 }}}

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


More information about the FFmpeg-trac mailing list