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

FFmpeg trac at avcodec.org
Fri Feb 1 19:11:43 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:  0
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by llarevo):

 ffplay -loglevel debug -f video4linux2 -probesize 32 /dev/video0 works
 very good. Its playing the channel previously tuned on the device with a
 perfec image.
 {{{
 ffplay -loglevel debug -f video4linux2 -probesize 32 /dev/video0
 ffplay version N-49520-gb868275 Copyright (c) 2003-2013 the FFmpeg
 developers
   built on Feb  1 2013 18:50:36 with gcc 4.7.2 (GCC) 20120921 (Red Hat
 4.7.2-2)
   configuration: --prefix=/usr/local/
   libavutil      52. 17.100 / 52. 17.100
   libavcodec     54. 91.100 / 54. 91.100
   libavformat    54. 61.104 / 54. 61.104
   libavdevice    54.  3.103 / 54.  3.103
   libavfilter     3. 35.100 /  3. 35.100
   libswscale      2.  2.100 /  2.  2.100
   libswresample   0. 17.102 /  0. 17.102
 [video4linux2,v4l2 @ 0x7fcce00008c0] fd:5 capabilities:5010015
 [video4linux2,v4l2 @ 0x7fcce00008c0] Selecting input_channel: 0
 [video4linux2,v4l2 @ 0x7fcce00008c0] input_channel: 0, input_name:
 Television
 [video4linux2,v4l2 @ 0x7fcce00008c0] Querying the device for the current
 frame size
 [video4linux2,v4l2 @ 0x7fcce00008c0] Setting frame size to 720x576
 [video4linux2,v4l2 @ 0x7fcce00008c0] The V4L2 driver is using the
 interlaced mode
 [video4linux2,v4l2 @ 0x7fcce00008c0] Current standard: PAL-BG, id: 7,
 frameperiod: 1/25
 [video4linux2,v4l2 @ 0x7fcce00008c0] Probe buffer size limit of 32 bytes
 reached
 [video4linux2,v4l2 @ 0x7fcce00008c0] Stream #0: not enough frames to
 estimate rate; consider increasing probesize
 [video4linux2,v4l2 @ 0x7fcce00008c0] Estimating duration from bitrate,
 this may be inaccurate
 Input #0, video4linux2,v4l2, from '/dev/video0':
   Duration: N/A, start: 1359741406.842020, 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
 Frame changed from size:0x0 to size:720x576
 [buffer @ 0x7fccd8000e40] Setting entry with key 'video_size' to value
 '720x576'
 [buffer @ 0x7fccd8000e40] Setting entry with key 'pix_fmt' to value '0'
 [buffer @ 0x7fccd8000e40] Setting entry with key 'time_base' to value
 '1/1000000'
 [buffer @ 0x7fccd8000e40] Setting entry with key 'pixel_aspect' to value
 '0/1'
 [ffplay_buffer @ 0x7fccd8000d20] w:720 h:576 pixfmt:yuv420p tb:1/1000000
 fr:0/1 sar:0/1 sws_param:
 [crop @ 0x7fccd8002000] Setting 'w' to value 'floor(in_w/2)*2'
 [crop @ 0x7fccd8002000] Setting 'h' to value 'floor(in_h/2)*2'
 [ffplay_crop @ 0x7fccd8001ee0] w:720 h:576 sar:0/1 -> w:720 h:576 sar:0/1
 1359741423.22 A-V:  0.000 fd=   0 aq=    0KB vq= 2430KB sq=    0B f=0/0
 B f=0/0
 }}}
 ffmpeg -loglevel debug -t 300 -f v4l2 -s vga -r 25 -i /dev/video0 out-vga-
 2M-5min.mpg gives now different errors than reported previously:
 {{{
 ffmpeg -loglevel debug -t 300 -f v4l2 -s vga -r 25 -i /dev/video0 out-vga-
 2M-5min.mpg
 ffmpeg version N-49520-gb868275 Copyright (c) 2000-2013 the FFmpeg
 developers
   built on Feb  1 2013 18:50:36 with gcc 4.7.2 (GCC) 20120921 (Red Hat
 4.7.2-2)
   configuration: --prefix=/usr/local/
   libavutil      52. 17.100 / 52. 17.100
   libavcodec     54. 91.100 / 54. 91.100
   libavformat    54. 61.104 / 54. 61.104
   libavdevice    54.  3.103 / 54.  3.103
   libavfilter     3. 35.100 /  3. 35.100
   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 '-t' ... matched as option 't' (record or transcode
 "duration" seconds of audio/video) with argument '300'.
 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 t (record or transcode "duration" seconds of audio/video)
 with argument 300.
 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 @ 0x29031e0] fd:3 capabilities:5010015
 [video4linux2,v4l2 @ 0x29031e0] Selecting input_channel: 0
 [video4linux2,v4l2 @ 0x29031e0] input_channel: 0, input_name: Television
 [video4linux2,v4l2 @ 0x29031e0] The V4L2 driver is using the interlaced
 mode
 [video4linux2,v4l2 @ 0x29031e0] Current standard: PAL-BG, id: 7,
 frameperiod: 1/25
 [video4linux2,v4l2 @ 0x29031e0] The driver does not allow to change time
 per frame
 }}}
 here nothing more happens. On Strg+C (twice) ffmpeg reports
 {{{
 ^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
 rfps: 1.333333 0.011378
 rfps: 1.416667 0.012844
     Last message repeated 1 times
 rfps: 1.500000 0.014400
 rfps: 1.583333 0.016044
 rfps: 1.666667 0.017778
 rfps: 1.750000 0.019600
     Last message repeated 1 times
 rfps: 23.250000 0.019602
     Last message repeated 1 times
 rfps: 23.333333 0.017780
 rfps: 23.416667 0.016046
 rfps: 23.500000 0.014402
 rfps: 23.583333 0.012846
     Last message repeated 1 times
 rfps: 23.666667 0.011379
 rfps: 23.750000 0.010001
 rfps: 23.833333 0.008712
     Last message repeated 1 times
 rfps: 23.916667 0.007512
     Last message repeated 1 times
 rfps: 24.000000 0.006401
 rfps: 24.083333 0.005379
 rfps: 24.166667 0.004445
     Last message repeated 1 times
 rfps: 24.250000 0.003601
     Last message repeated 1 times
 rfps: 24.333333 0.002845
 rfps: 24.416667 0.002178
     Last message repeated 1 times
 rfps: 24.500000 0.001601
     Last message repeated 1 times
 rfps: 24.583333 0.001112
     Last message repeated 1 times
 rfps: 24.666667 0.000712
 rfps: 24.750000 0.000400
     Last message repeated 1 times
 rfps: 24.833333 0.000178
     Last message repeated 1 times
 rfps: 24.916667 0.000045
     Last message repeated 1 times
 rfps: 25.000000 0.000000
     Last message repeated 1 times
 rfps: 25.083333 0.000044
     Last message repeated 1 times
 rfps: 25.166667 0.000178
     Last message repeated 1 times
 rfps: 25.250000 0.000400
     Last message repeated 1 times
 rfps: 25.333333 0.000711
 rfps: 25.416667 0.001111
     Last message repeated 1 times
 rfps: 25.500000 0.001599
     Last message repeated 1 times
 rfps: 25.583333 0.002177
     Last message repeated 1 times
 rfps: 25.666667 0.002844
 rfps: 25.750000 0.003599
     Last message repeated 1 times
 rfps: 25.833333 0.004443
     Last message repeated 1 times
 rfps: 25.916667 0.005376
 rfps: 26.000000 0.006399
 rfps: 26.083333 0.007510
     Last message repeated 1 times
 rfps: 26.166667 0.008710
     Last message repeated 1 times
 rfps: 26.250000 0.009998
 rfps: 26.333333 0.011376
 rfps: 26.416667 0.012843
     Last message repeated 1 times
 rfps: 26.500000 0.014398
 rfps: 26.583333 0.016042
 rfps: 26.666667 0.017776
 rfps: 26.750000 0.019598
     Last message repeated 1 times
 rfps: 48.250000 0.019604
     Last message repeated 1 times
 rfps: 48.333333 0.017782
 rfps: 48.416667 0.016048
 rfps: 48.500000 0.014404
 rfps: 48.583333 0.012848
     Last message repeated 1 times
 rfps: 48.666667 0.011381
 rfps: 48.750000 0.010003
 rfps: 48.833333 0.008714
     Last message repeated 1 times
 rfps: 48.916667 0.007514
     Last message repeated 1 times
 rfps: 49.000000 0.006403
 rfps: 49.083333 0.005380
 rfps: 49.166667 0.004446
     Last message repeated 1 times
 rfps: 49.250000 0.003602
     Last message repeated 1 times
 rfps: 49.333333 0.002846
 rfps: 49.416667 0.002179
 rfps: 49.500000 0.001601
     Last message repeated 1 times
 rfps: 49.583333 0.001112
     Last message repeated 1 times
 rfps: 49.666667 0.000712
     Last message repeated 1 times
 rfps: 49.750000 0.000401
     Last message repeated 1 times
 rfps: 49.833333 0.000178
     Last message repeated 1 times
 rfps: 49.916667 0.000045
     Last message repeated 1 times
 rfps: 50.000000 0.000000
     Last message repeated 1 times
 rfps: 50.083333 0.000044
     Last message repeated 1 times
 rfps: 50.166667 0.000177
     Last message repeated 1 times
 rfps: 50.250000 0.000400
     Last message repeated 1 times
 rfps: 50.333333 0.000710
 rfps: 50.416667 0.001110
     Last message repeated 1 times
 rfps: 50.500000 0.001599
     Last message repeated 1 times
 rfps: 50.583333 0.002176
     Last message repeated 1 times
 rfps: 50.666667 0.002843
 rfps: 50.750000 0.003598
     Last message repeated 1 times
 rfps: 50.833333 0.004442
     Last message repeated 1 times
 rfps: 50.916667 0.005376
 rfps: 51.000000 0.006397
 rfps: 51.083333 0.007508
     Last message repeated 1 times
 rfps: 51.166667 0.008708
     Last message repeated 1 times
 rfps: 51.250000 0.009997
 rfps: 51.333333 0.011374
 rfps: 51.416667 0.012840
     Last message repeated 1 times
 rfps: 51.500000 0.014396
     Last message repeated 1 times
 rfps: 51.583333 0.016041
 rfps: 51.666667 0.017773
 rfps: 51.750000 0.019596
 rfps: 23.976024 0.006712
     Last message repeated 1 times
 [video4linux2,v4l2 @ 0x29031e0] Estimating duration from bitrate, this may
 be inaccurate
 Input #0, video4linux2,v4l2, from '/dev/video0':
   Duration: N/A, start: 1359741727.399337, 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.
 -t is not an input option, keeping it for the next output; consider fixing
 your command line.
 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]
 }}}
 after choosing "y" ffmpeg reports the following
 {{{
 Successfully opened the file.
 [buffer @ 0x2908f60] Setting entry with key 'video_size' to value
 '640x480'
 [buffer @ 0x2908f60] Setting entry with key 'pix_fmt' to value '0'
 [buffer @ 0x2908f60] Setting entry with key 'time_base' to value '1/25'
 [buffer @ 0x2908f60] Setting entry with key 'pixel_aspect' to value '0/1'
 [buffer @ 0x2908f60] Setting entry with key 'sws_param' to value 'flags=2'
 [buffer @ 0x2908f60] Setting entry with key 'frame_rate' to value '25/1'
 [graph 0 input from stream 0:0 @ 0x29085c0] 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 @ 0x29085c0] TB:0.040000
 FRAME_RATE:25.000000 SAMPLE_RATE:nan
 [mpeg1video @ 0x2904ac0] detected 8 logical cores
 [mpeg1video @ 0x2904ac0] intra_quant_bias = 96 inter_quant_bias = 0
 [mpeg @ 0x2904340] VBV buffer size not set, muxing may fail
 Output #0, mpeg, to 'out-vga-2M-5min.mpg':
   Metadata:
     encoder         : Lavf54.61.104
     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.
 }}}

 The TV Card is tuned to a strong signal.

 Version 1.1.1 shows a slightly different behaviour:
 {{{
 ffmpeg -loglevel debug -t 300 -f v4l2 -s vga -r 25 -i /dev/video0 out-vga-
 2M-5min.mpg
 ffmpeg version 1.1.1 Copyright (c) 2000-2013 the FFmpeg developers
   built on Feb  1 2013 18:35:12 with gcc 4.7.2 (GCC) 20120921 (Red Hat
 4.7.2-2)
   configuration: --prefix=/usr/local
   libavutil      52. 13.100 / 52. 13.100
   libavcodec     54. 86.100 / 54. 86.100
   libavformat    54. 59.106 / 54. 59.106
   libavdevice    54.  3.102 / 54.  3.102
   libavfilter     3. 32.100 /  3. 32.100
   libswscale      2.  1.103 /  2.  1.103
   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 '-t' ... matched as option 't' (record or transcode
 "duration" seconds of audio/video) with argument '300'.
 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 t (record or transcode "duration" seconds of audio/video)
 with argument 300.
 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 @ 0x1cf4960] [3]Capabilities: 5010015
 [video4linux2,v4l2 @ 0x1cf4960] The V4L2 driver using the interlaced
 modeThe V4L2 driver set input_id: 0, input: Television
 [video4linux2,v4l2 @ 0x1cf4960] Setting time per frame to 1/25
 [video4linux2,v4l2 @ 0x1cf4960] ioctl set time per frame(1/25) failed
 /dev/video0: Input/output error
 }}}

 Without the switch -r the behavior of 1.1.1 is similar to the latest GIT-
 Version:
 {{{
 Splitting the commandline.
 Reading option '-loglevel' ... matched as option 'loglevel' (set libav*
 logging level) with argument 'debug'.
 Reading option '-t' ... matched as option 't' (record or transcode
 "duration" seconds of audio/video) with argument '300'.
 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 t (record or transcode "duration" seconds of audio/video)
 with argument 300.
 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 @ 0x159e860] [3]Capabilities: 5010015
 [video4linux2,v4l2 @ 0x159e860] The V4L2 driver using the interlaced
 modeThe V4L2 driver set input_id: 0, input: Television
 ^Cinterrupted
 rfps: 1.000000 0.006400
 rfps: 1.083333 0.007511
 rfps: 1.166667 0.008711
     Last message repeated 1 times
 rfps: 1.250000 0.010000
 rfps: 1.333333 0.011378
 rfps: 1.416667 0.012844
     Last message repeated 1 times
 rfps: 1.500000 0.014400
 rfps: 1.583333 0.016044
 rfps: 1.666667 0.017778
     Last message repeated 1 times
 rfps: 1.750000 0.019600
 rfps: 23.250000 0.019601
     Last message repeated 1 times
 rfps: 23.333333 0.017779
 rfps: 23.416667 0.016045
 rfps: 23.500000 0.014401
     Last message repeated 1 times
 rfps: 23.583333 0.012845
 rfps: 23.666667 0.011379
 rfps: 23.750000 0.010001
     Last message repeated 1 times
 rfps: 23.833333 0.008712
     Last message repeated 1 times
 rfps: 23.916667 0.007512
 rfps: 24.000000 0.006401
     Last message repeated 1 times
 rfps: 24.083333 0.005378
     Last message repeated 1 times
 rfps: 24.166667 0.004445
 rfps: 24.250000 0.003600
     Last message repeated 1 times
 rfps: 24.333333 0.002845
     Last message repeated 1 times
 rfps: 24.416667 0.002178
 rfps: 24.500000 0.001600
     Last message repeated 1 times
 rfps: 24.583333 0.001111
     Last message repeated 1 times
 rfps: 24.666667 0.000711
     Last message repeated 1 times
 rfps: 24.750000 0.000400
     Last message repeated 1 times
 rfps: 24.833333 0.000178
     Last message repeated 1 times
 rfps: 24.916667 0.000044
     Last message repeated 1 times
 rfps: 25.000000 0.000000
     Last message repeated 1 times
 rfps: 25.083333 0.000044
     Last message repeated 1 times
 rfps: 25.166667 0.000178
     Last message repeated 1 times
 rfps: 25.250000 0.000400
     Last message repeated 1 times
 rfps: 25.333333 0.000711
     Last message repeated 1 times
 rfps: 25.416667 0.001111
     Last message repeated 1 times
 rfps: 25.500000 0.001600
 rfps: 25.583333 0.002177
     Last message repeated 1 times
 rfps: 25.666667 0.002844
     Last message repeated 1 times
 rfps: 25.750000 0.003599
 rfps: 25.833333 0.004444
     Last message repeated 1 times
 rfps: 25.916667 0.005378
     Last message repeated 1 times
 rfps: 26.000000 0.006399
 rfps: 26.083333 0.007510
     Last message repeated 1 times
 rfps: 26.166667 0.008710
     Last message repeated 1 times
 rfps: 26.250000 0.009999
 rfps: 26.333333 0.011376
 rfps: 26.416667 0.012844
     Last message repeated 1 times
 rfps: 26.500000 0.014399
 rfps: 26.583333 0.016044
 rfps: 26.666667 0.017776
     Last message repeated 1 times
 rfps: 26.750000 0.019599
 rfps: 48.250000 0.019602
 rfps: 48.333333 0.017780
 rfps: 48.416667 0.016047
 rfps: 48.500000 0.014402
     Last message repeated 1 times
 rfps: 48.583333 0.012846
 rfps: 48.666667 0.011380
 rfps: 48.750000 0.010002
     Last message repeated 1 times
 rfps: 48.833333 0.008713
 rfps: 48.916667 0.007513
 rfps: 49.000000 0.006402
     Last message repeated 1 times
 rfps: 49.083333 0.005379
 rfps: 49.166667 0.004446
 rfps: 49.250000 0.003601
     Last message repeated 1 times
 rfps: 49.333333 0.002845
     Last message repeated 1 times
 rfps: 49.416667 0.002179
 rfps: 49.500000 0.001601
     Last message repeated 1 times
 rfps: 49.583333 0.001112
     Last message repeated 1 times
 rfps: 49.666667 0.000712
 rfps: 49.750000 0.000400
     Last message repeated 1 times
 rfps: 49.833333 0.000178
     Last message repeated 1 times
 rfps: 49.916667 0.000045
     Last message repeated 1 times
 rfps: 50.000000 0.000000
     Last message repeated 1 times
 rfps: 50.083333 0.000044
     Last message repeated 1 times
 rfps: 50.166667 0.000178
 rfps: 50.250000 0.000400
     Last message repeated 1 times
 rfps: 50.333333 0.000711
     Last message repeated 1 times
 rfps: 50.416667 0.001111
 rfps: 50.500000 0.001599
     Last message repeated 1 times
 rfps: 50.583333 0.002177
     Last message repeated 1 times
 rfps: 50.666667 0.002843
 rfps: 50.750000 0.003599
     Last message repeated 1 times
 rfps: 50.833333 0.004443
     Last message repeated 1 times
 rfps: 50.916667 0.005376
 rfps: 51.000000 0.006398
 rfps: 51.083333 0.007510
     Last message repeated 1 times
 rfps: 51.166667 0.008710
 rfps: 51.250000 0.009999
 rfps: 51.333333 0.011376
     Last message repeated 1 times
 rfps: 51.416667 0.012843
 rfps: 51.500000 0.014398
 rfps: 51.583333 0.016043
     Last message repeated 1 times
 rfps: 51.666667 0.017776
 rfps: 51.750000 0.019598
 rfps: 23.976024 0.006711
     Last message repeated 1 times
 [video4linux2,v4l2 @ 0x159e860] Estimating duration from bitrate, this may
 be inaccurate
 Input #0, video4linux2,v4l2, from '/dev/video0':
   Duration: N/A, start: 1359742077.916414, bitrate: N/A
     Stream #0:0, 8, 1/1000000: Video: rawvideo (I420 / 0x30323449),
 yuv420p, 640x480, 1/1000000, -2147483 kb/s, 25 tbr, 1000k tbn, 1000k tbc
 Successfully openened the file.
 -t is not an input option, keeping it for the next output; consider fixing
 your command line.
 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 openened the file.
 [buffer @ 0x15a4c80] Setting entry with key 'video_size' to value
 '640x480'
 [buffer @ 0x15a4c80] Setting entry with key 'pix_fmt' to value '0'
 [buffer @ 0x15a4c80] Setting entry with key 'time_base' to value
 '1/1000000'
 [buffer @ 0x15a4c80] Setting entry with key 'pixel_aspect' to value '0/1'
 [buffer @ 0x15a4c80] Setting entry with key 'sws_param' to value 'flags=2'
 [buffer @ 0x15a4c80] Setting entry with key 'frame_rate' to value '25/1'
 [graph 0 input from stream 0:0 @ 0x15a4b80] w:640 h:480 pixfmt:yuv420p
 tb:1/1000000 fr:25/1 sar:0/1 sws_param:flags=2
 [mpeg1video @ 0x159ff20] detected 8 logical cores
 [mpeg1video @ 0x159ff20] intra_quant_bias = 96 inter_quant_bias = 0
 [mpeg @ 0x159f7a0] VBV buffer size not set, muxing may fail
 Output #0, mpeg, to 'out-vga-2M-5min.mpg':
   Metadata:
     encoder         : Lavf54.59.106
     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.
 }}}

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


More information about the FFmpeg-trac mailing list