[FFmpeg-trac] #4030(avdevice:open): V4L2 recording results in invalid data & buffer still owned errors

FFmpeg trac at avcodec.org
Tue Oct 21 21:36:49 CEST 2014


#4030: V4L2 recording results in invalid data & buffer still owned errors
------------------------------------+------------------------------------
             Reporter:  thender     |                    Owner:  holden
                 Type:  defect      |                   Status:  open
             Priority:  normal      |                Component:  avdevice
              Version:  git-master  |               Resolution:
             Keywords:  v4l2        |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  1           |
------------------------------------+------------------------------------

Comment (by thender):

 To explain a little more precisely:

 Originally, the first recording worked, but the second one would not. The
 error one would receive on the second record was this.

 ''[video4linux2,v4l2 @ 0x1584f80] The v4l2 frame is 0 bytes, but 4147200
 bytes are expected
 Input #0, video4linux2,v4l2, from '/dev/video1':
 ''

 Issues of this nature also had a tendency to happen in the middle of a
 recording.

 Now, the 2nd recording does start recording, but you get stuck with one
 frame, that is the last frame from the prior recording. So you get a video
 file of one frame, no movement with what is going on, and that video frame
 in the 2nd recording that makes up the entirety of the recording is the
 last frame from the first recording.

 Here is the command line with debug.

 ffmpeg -f v4l2 -framerate 30 -s 1920x1080 -i /dev/video2 -c:v libx264
 -preset ultrafast -crf 10 microcorder.mkv -loglevel debug
 ffmpeg version N-67063-g282c935 Copyright (c) 2000-2014 the FFmpeg
 developers
   built on Oct 21 2014 12:12:55 with gcc 4.8.3 (Gentoo 4.8.3 p1.1,
 pie-0.5.9)
   configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64
 --mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc
 --cxx=x86_64-pc-linux-gnu-g++ --ar=x86_64-pc-linux-gnu-ar
 --optflags='-march=native -O2 -pipe' --extra-cflags='-march=native -O2
 -pipe' --extra-cxxflags='-march=native -O2 -pipe' --enable-gpl --enable-
 postproc --enable-avfilter --enable-avresample --enable-version3 --enable-
 nonfree --enable-bzlib --enable-hardcoded-tables --enable-iconv --enable-
 network --enable-ffplay --enable-vaapi --enable-zlib --enable-libvo-aacenc
 --enable-libmp3lame --enable-libfaac --enable-libtheora --enable-
 libwavpack --enable-libwebp --enable-libx264 --enable-libxvid --enable-
 opengl --enable-libv4l2 --enable-libpulse --enable-x11grab --enable-
 libfreetype --enable-pthreads --enable-libvorbis --cpu=host
   libavutil      54. 10.100 / 54. 10.100
   libavcodec     56.  8.102 / 56.  8.102
   libavformat    56.  9.101 / 56.  9.101
   libavdevice    56.  1.100 / 56.  1.100
   libavfilter     5.  2.100 /  5.  2.100
   libavresample   2.  1.  0 /  2.  1.  0
   libswscale      3.  1.101 /  3.  1.101
   libswresample   1.  1.100 /  1.  1.100
   libpostproc    53.  3.100 / 53.  3.100
 Splitting the commandline.
 Reading option '-f' ... matched as option 'f' (force format) with argument
 'v4l2'.
 Reading option '-framerate' ... matched as AVOption 'framerate' with
 argument '30'.
 Reading option '-s' ... matched as option 's' (set frame size (WxH or
 abbreviation)) with argument '1920x1080'.
 Reading option '-i' ... matched as input file with argument '/dev/video2'.
 Reading option '-c:v' ... matched as option 'c' (codec name) with argument
 'libx264'.
 Reading option '-preset' ... matched as AVOption 'preset' with argument
 'ultrafast'.
 Reading option '-crf' ... matched as AVOption 'crf' with argument '10'.
 Reading option 'microcorder.mkv' ... matched as output file.
 Reading option '-loglevel' ... matched as option 'loglevel' (set logging
 level) with argument 'debug'.
 Finished splitting the commandline.
 Parsing a group of options: global .
 Applying option loglevel (set logging level) with argument debug.
 Successfully parsed a group of options.
 Parsing a group of options: input file /dev/video2.
 Applying option f (force format) with argument v4l2.
 Applying option s (set frame size (WxH or abbreviation)) with argument
 1920x1080.
 Successfully parsed a group of options.
 Opening an input file: /dev/video2.
 [video4linux2,v4l2 @ 0x17b4f80] fd:3 capabilities:84000001
 [video4linux2,v4l2 @ 0x17b4f80] Current input_channel: 0, input_name:
 Camera 1, input_std: 0
 [video4linux2,v4l2 @ 0x17b4f80] Setting time per frame to 1/30
 [video4linux2,v4l2 @ 0x17b4f80] The V4L2 driver changed the pixel format
 from 0x32315559 to 0x56595559
 [video4linux2,v4l2 @ 0x17b4f80] Trying to set codec:rawvideo
 pix_fmt:yuv420p
 [video4linux2,v4l2 @ 0x17b4f80] The V4L2 driver changed the pixel format
 from 0x32315559 to 0x56595559
 [video4linux2,v4l2 @ 0x17b4f80] Trying to set codec:rawvideo
 pix_fmt:yuv420p
 [video4linux2,v4l2 @ 0x17b4f80] The V4L2 driver changed the pixel format
 from 0x32315659 to 0x56595559
 [video4linux2,v4l2 @ 0x17b4f80] Trying to set codec:rawvideo
 pix_fmt:yuv422p
 [video4linux2,v4l2 @ 0x17b4f80] The V4L2 driver changed the pixel format
 from 0x50323234 to 0x56595559
 [video4linux2,v4l2 @ 0x17b4f80] Trying to set codec:rawvideo
 pix_fmt:yuyv422
 [video4linux2,v4l2 @ 0x17b4f80] Dequeued v4l2 buffer contains corrupted
 data (0 bytes).
 [video4linux2,v4l2 @ 0x17b4f80] All info found
 Input #0, video4linux2,v4l2, from '/dev/video2':
   Duration: N/A, start: 0.000000, bitrate: 995328 kb/s
     Stream #0:0, 1, 1/1000000: Video: rawvideo (YUY2 / 0x32595559),
 yuyv422, 1920x1080, 1/1000000, 995328 kb/s, 30 fps, 30 tbr, 1000k tbn,
 1000k tbc
 Successfully opened the file.
 Parsing a group of options: output file microcorder.mkv.
 Applying option c:v (codec name) with argument libx264.
 Successfully parsed a group of options.
 Opening an output file: microcorder.mkv.
 Successfully opened the file.
 detected 4 logical cores
 [graph 0 input from stream 0:0 @ 0x17b4e80] Setting 'video_size' to value
 '1920x1080'
 [graph 0 input from stream 0:0 @ 0x17b4e80] Setting 'pix_fmt' to value '1'
 [graph 0 input from stream 0:0 @ 0x17b4e80] Setting 'time_base' to value
 '1/1000000'
 [graph 0 input from stream 0:0 @ 0x17b4e80] Setting 'pixel_aspect' to
 value '0/1'
 [graph 0 input from stream 0:0 @ 0x17b4e80] Setting 'sws_param' to value
 'flags=2'
 [graph 0 input from stream 0:0 @ 0x17b4e80] Setting 'frame_rate' to value
 '30/1'
 [graph 0 input from stream 0:0 @ 0x17b4e80] w:1920 h:1080 pixfmt:yuyv422
 tb:1/1000000 fr:30/1 sar:0/1 sws_param:flags=2
 [format @ 0x17abf60] compat: called with
 args=[yuv420p|yuvj420p|yuv422p|yuvj422p|yuv444p|yuvj444p|nv12|nv16]
 [format @ 0x17abf60] Setting 'pix_fmts' to value
 'yuv420p|yuvj420p|yuv422p|yuvj422p|yuv444p|yuvj444p|nv12|nv16'
 [auto-inserted scaler 0 @ 0x17b84c0] Setting 'flags' to value '0x4'
 [auto-inserted scaler 0 @ 0x17b84c0] w:iw h:ih flags:'0x4' interl:0
 [format @ 0x17abf60] auto-inserting filter 'auto-inserted scaler 0'
 between the filter 'Parsed_null_0' and the filter 'format'
 [AVFilterGraph @ 0x17abec0] query_formats: 4 queried, 2 merged, 1 already
 done, 0 delayed
 [auto-inserted scaler 0 @ 0x17b84c0] picking yuv422p out of 7 ref:yuyv422
 alpha:0
 [auto-inserted scaler 0 @ 0x17b84c0] w:1920 h:1080 fmt:yuyv422 sar:0/1 ->
 w:1920 h:1080 fmt:yuv422p sar:0/1 flags:0x4
 No pixel format specified, yuv422p for H.264 encoding chosen.
 Use -pix_fmt yuv420p for compatibility with outdated media players.
 [libx264 @ 0x17b7980] using mv_range_thread = 88
 [libx264 @ 0x17b7980] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
 AVX AVX2 FMA3 LZCNT BMI2
 [libx264 @ 0x17b7980] profile High 4:2:2, level 4.0, 4:2:2 8-bit
 [libx264 @ 0x17b7980] 264 - core 142 - H.264/MPEG-4 AVC codec - Copyleft
 2003-2014 - http://www.videolan.org/x264.html - options: cabac=0 ref=1
 deblock=0:0:0 analyse=0:0 me=dia subme=0 psy=1 psy_rd=1.00:0.00
 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0
 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=6
 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0
 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=250
 keyint_min=25 scenecut=0 intra_refresh=0 rc=crf mbtree=0 crf=10.0
 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=0
 Output #0, matroska, to 'microcorder.mkv':
   Metadata:
     encoder         : Lavf56.9.101
     Stream #0:0, 0, 1/1000: Video: h264 (libx264) (H264 / 0x34363248),
 yuv422p, 1920x1080, 1/30, q=-1--1, 30 fps, 1k tbn, 30 tbc
     Metadata:
       encoder         : Lavc56.8.102 libx264
 Stream mapping:
   Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
 Press [q] to stop, [?] for help
 [video4linux2,v4l2 @ 0x17b4f80] Dequeued v4l2 buffer contains corrupted
 data (0 bytes).
     Last message repeated 30 times
 *** dropping frame 3 from stream 0 at ts 212910
 *** dropping frame 4 from stream 0 at ts 212911
 *** dropping frame 5 from stream 0 at ts 212912
 *** dropping frame 6 from stream 0 at ts 212913
 *** dropping frame 7 from stream 0 at ts 212914
 [libx264 @ 0x17b7980] frame=   0 QP=7.00 NAL=3 Slice:I Poc:0   I:8160 P:0
 SKIP:0    size=876606 bytes
 [matroska @ 0x17b6980] Writing block at offset 639, size 877191, pts
 7096967, dts 7096967, duration 33, flags 128
 *** dropping frame 8 from stream 0 at ts 212915
 [libx264 @ 0x17b7980] frame=   1 QP=9.00 NAL=2 Slice:P Poc:2   I:105
 P:8055 SKIP:0    size=528337 bytes
 [matroska @ 0x17b6980] Writing block at offset 877839, size 528337, pts
 7097000, dts 7097000, duration 33, flags 0
 *** dropping frame 9 from stream 0 at ts 212916
 [libx264 @ 0x17b7980] frame=   2 QP=9.00 NAL=2 Slice:P Poc:4   I:435
 P:7725 SKIP:0    size=569116 bytes
 [matroska @ 0x17b6980] Writing block at offset 1406184, size 569116, pts
 7097033, dts 7097033, duration 33, flags 0
 *** dropping frame 10 from stream 0 at ts 212917
 [libx264 @ 0x17b7980] frame=   3 QP=9.00 NAL=2 Slice:P Poc:6   I:2346
 P:5814 SKIP:0    size=650612 bytes
 [matroska @ 0x17b6980] Writing block at offset 1975308, size 650612, pts
 7097067, dts 7097067, duration 33, flags 0
 *** dropping frame 11 from stream 0 at ts 212918
 [libx264 @ 0x17b7980] frame=   4 QP=9.00 NAL=2 Slice:P Poc:8   I:1929
 P:6231 SKIP:0    size=646936 bytes
 [matroska @ 0x17b6980] Writing block at offset 2625928, size 646936, pts
 7097100, dts 7097100, duration 33, flags 0
 *** dropping frame 12 from stream 0 at ts 212919
 [libx264 @ 0x17b7980] frame=   5 QP=9.00 NAL=2 Slice:P Poc:10  I:1904
 P:6256 SKIP:0    size=646795 bytes
 [matroska @ 0x17b6980] Writing block at offset 3272872, size 646795, pts
 7097133, dts 7097133, duration 33, flags 0
 *** dropping frame 13 from stream 0 at ts 212920
 [libx264 @ 0x17b7980] frame=   6 QP=9.00 NAL=2 Slice:P Poc:12  I:1835
 P:6325 SKIP:0    size=649169 bytes
 [matroska @ 0x17b6980] Writing block at offset 3919675, size 649169, pts
 7097167, dts 7097167, duration 33, flags 0
 *** dropping frame 14 from stream 0 at ts 212921
 [libx264 @ 0x17b7980] frame=   7 QP=9.00 NAL=2 Slice:P Poc:14  I:1940
 P:6220 SKIP:0    size=652170 bytes
 [matroska @ 0x17b6980] Writing block at offset 4568852, size 652170, pts
 7097200, dts 7097200, duration 33, flags 0
 *** dropping frame 15 from stream 0 at ts 212922
 [libx264 @ 0x17b7980] frame=   8 QP=9.00 NAL=2 Slice:P Poc:16  I:1878
 P:6282 SKIP:0    size=649026 bytes
 [matroska @ 0x17b6980] Writing block at offset 5221030, size 649026, pts
 7097233, dts 7097233, duration 33, flags 0
 frame=   16 fps=0.0 q=9.0 size=    5732kB time=01:58:17.26 bitrate=
 6.6kbits/s*** dropping frame 16 from stream 0 at ts 212923
 [libx264 @ 0x17b7980] frame=   9 QP=9.00 NAL=2 Slice:P Poc:18  I:1955
 P:6205 SKIP:0    size=653694 bytes
 [matroska @ 0x17b6980] Starting new cluster at offset 5870064 bytes, pts
 7097267dts 7097267
 [matroska @ 0x17b6980] Writing block at offset 5870081, size 653694, pts
 7097267, dts 7097267, duration 33, flags 0
 *** dropping frame 17 from stream 0 at ts 212924
 [libx264 @ 0x17b7980] frame=  10 QP=9.00 NAL=2 Slice:P Poc:20  I:1971
 P:6189 SKIP:0    size=652942 bytes
 [matroska @ 0x17b6980] Writing block at offset 6523783, size 652942, pts
 7097300, dts 7097300, duration 33, flags 0
 *** dropping frame 18 from stream 0 at ts 212925
 [libx264 @ 0x17b7980] frame=  11 QP=9.00 NAL=2 Slice:P Poc:22  I:1829
 P:6331 SKIP:0    size=652226 bytes
 [matroska @ 0x17b6980] Writing block at offset 7176733, size 652226, pts
 7097333, dts 7097333, duration 33, flags 0
 *** dropping frame 19 from stream 0 at ts 212926
 [libx264 @ 0x17b7980] frame=  12 QP=9.00 NAL=2 Slice:P Poc:24  I:1969
 P:6191 SKIP:0    size=654018 bytes
 [matroska @ 0x17b6980] Writing block at offset 7828967, size 654018, pts
 7097367, dts 7097367, duration 33, flags 0
 *** dropping frame 20 from stream 0 at ts 212927
 [libx264 @ 0x17b7980] frame=  13 QP=9.00 NAL=2 Slice:P Poc:26  I:1922
 P:6238 SKIP:0    size=653584 bytes
 [matroska @ 0x17b6980] Writing block at offset 8482993, size 653584, pts
 7097400, dts 7097400, duration 33, flags 0
 *** dropping frame 21 from stream 0 at ts 212928
 [libx264 @ 0x17b7980] frame=  14 QP=9.00 NAL=2 Slice:P Poc:28  I:1869
 P:6291 SKIP:0    size=652748 bytes
 [matroska @ 0x17b6980] Writing block at offset 9136585, size 652748, pts
 7097433, dts 7097433, duration 33, flags 0
 *** dropping frame 22 from stream 0 at ts 212929
 [libx264 @ 0x17b7980] frame=  15 QP=9.00 NAL=2 Slice:P Poc:30  I:1915
 P:6245 SKIP:0    size=652861 bytes
 [matroska @ 0x17b6980] Writing block at offset 9789341, size 652861, pts
 7097467, dts 7097467, duration 33, flags 0
 *** dropping frame 23 from stream 0 at ts 212930
 [libx264 @ 0x17b7980] frame=  16 QP=9.00 NAL=2 Slice:P Poc:32  I:1941
 P:6219 SKIP:0    size=655914 bytes
 [matroska @ 0x17b6980] Writing block at offset 10442210, size 655914, pts
 7097500, dts 7097500, duration 33, flags 0
 *** dropping frame 24 from stream 0 at ts 212931
 [libx264 @ 0x17b7980] frame=  17 QP=9.00 NAL=2 Slice:P Poc:34  I:1897
 P:6263 SKIP:0    size=655666 bytes
 [matroska @ 0x17b6980] Writing block at offset 11098132, size 655666, pts
 7097533, dts 7097533, duration 33, flags 0
 *** dropping frame 25 from stream 0 at ts 212932
 [libx264 @ 0x17b7980] frame=  18 QP=9.00 NAL=2 Slice:P Poc:36  I:1886
 P:6274 SKIP:0    size=653662 bytes
 [matroska @ 0x17b6980] Starting new cluster at offset 11753806 bytes, pts
 7097567dts 7097567
 [matroska @ 0x17b6980] Writing block at offset 11753823, size 653662, pts
 7097567, dts 7097567, duration 33, flags 0
 *** dropping frame 26 from stream 0 at ts 212933
 [libx264 @ 0x17b7980] frame=  19 QP=9.00 NAL=2 Slice:P Poc:38  I:1918
 P:6242 SKIP:0    size=654459 bytes
 [matroska @ 0x17b6980] Writing block at offset 12407493, size 654459, pts
 7097600, dts 7097600, duration 33, flags 0
 *** dropping frame 27 from stream 0 at ts 212934
 [libx264 @ 0x17b7980] frame=  20 QP=9.00 NAL=2 Slice:P Poc:40  I:1933
 P:6227 SKIP:0    size=655209 bytes
 [matroska @ 0x17b6980] Writing block at offset 13061960, size 655209, pts
 7097633, dts 7097633, duration 33, flags 0
 *** dropping frame 28 from stream 0 at ts 212935
 [libx264 @ 0x17b7980] frame=  21 QP=9.00 NAL=2 Slice:P Poc:42  I:1855
 P:6305 SKIP:0    size=654998 bytes
 [matroska @ 0x17b6980] Writing block at offset 13717177, size 654998, pts
 7097667, dts 7097667, duration 33, flags 0
 *** dropping frame 29 from stream 0 at ts 212936
 [libx264 @ 0x17b7980] frame=  22 QP=9.00 NAL=2 Slice:P Poc:44  I:1921
 P:6239 SKIP:0    size=652845 bytes
 [matroska @ 0x17b6980] Writing block at offset 14372183, size 652845, pts
 7097700, dts 7097700, duration 33, flags 0
 *** dropping frame 30 from stream 0 at ts 212937
 frame=   30 fps= 29 q=9.0 size=   14673kB time=01:58:17.73 bitrate=
 16.9kbits/s[libx264 @ 0x17b7980] frame=  23 QP=9.00 NAL=2 Slice:P Poc:46
 I:1857 P:6303 SKIP:0    size=657522 bytes
 [matroska @ 0x17b6980] Writing block at offset 15025036, size 657522, pts
 7097733, dts 7097733, duration 33, flags 0
 *** dropping frame 31 from stream 0 at ts 212938
 [libx264 @ 0x17b7980] frame=  24 QP=9.00 NAL=2 Slice:P Poc:48  I:1857
 P:6303 SKIP:0    size=653710 bytes
 [matroska @ 0x17b6980] Writing block at offset 15682566, size 653710, pts
 7097767, dts 7097767, duration 33, flags 0
 *** dropping frame 32 from stream 0 at ts 212939
 [libx264 @ 0x17b7980] frame=  25 QP=9.00 NAL=2 Slice:P Poc:50  I:1897
 P:6263 SKIP:0    size=655173 bytes
 [matroska @ 0x17b6980] Writing block at offset 16336284, size 655173, pts
 7097800, dts 7097800, duration 33, flags 0
 *** dropping frame 33 from stream 0 at ts 212940
 [libx264 @ 0x17b7980] frame=  26 QP=9.00 NAL=2 Slice:P Poc:52  I:1887
 P:6273 SKIP:0    size=654544 bytes
 [matroska @ 0x17b6980] Writing block at offset 16991465, size 654544, pts
 7097833, dts 7097833, duration 33, flags 0
 *** dropping frame 34 from stream 0 at ts 212941
 [libx264 @ 0x17b7980] frame=  27 QP=9.00 NAL=2 Slice:P Poc:54  I:1914
 P:6246 SKIP:0    size=652925 bytes
 [matroska @ 0x17b6980] Starting new cluster at offset 17646017 bytes, pts
 7097867dts 7097867
 [matroska @ 0x17b6980] Writing block at offset 17646034, size 652925, pts
 7097867, dts 7097867, duration 33, flags 0
 *** dropping frame 35 from stream 0 at ts 212942
 [libx264 @ 0x17b7980] frame=  28 QP=9.00 NAL=2 Slice:P Poc:56  I:1892
 P:6268 SKIP:0    size=655587 bytes
 [matroska @ 0x17b6980] Writing block at offset 18298967, size 655587, pts
 7097900, dts 7097900, duration 33, flags 0
 *** dropping frame 36 from stream 0 at ts 212943
 [libx264 @ 0x17b7980] frame=  29 QP=9.00 NAL=2 Slice:P Poc:58  I:1859
 P:6301 SKIP:0    size=654975 bytes
 [matroska @ 0x17b6980] Writing block at offset 18954562, size 654975, pts
 7097933, dts 7097933, duration 33, flags 0
 *** dropping frame 37 from stream 0 at ts 212944
 [libx264 @ 0x17b7980] frame=  30 QP=9.00 NAL=2 Slice:P Poc:60  I:1985
 P:6175 SKIP:0    size=654340 bytes
 [matroska @ 0x17b6980] Writing block at offset 19609545, size 654340, pts
 7097967, dts 7097967, duration 33, flags 0
 *** dropping frame 38 from stream 0 at ts 212945
 [libx264 @ 0x17b7980] frame=  31 QP=9.00 NAL=2 Slice:P Poc:62  I:1935
 P:6225 SKIP:0    size=656391 bytes
 [matroska @ 0x17b6980] Writing block at offset 20263893, size 656391, pts
 7098000, dts 7098000, duration 33, flags 0
 *** dropping frame 39 from stream 0 at ts 212946
 [libx264 @ 0x17b7980] frame=  32 QP=9.00 NAL=2 Slice:P Poc:64  I:1866
 P:6294 SKIP:0    size=653822 bytes
 [matroska @ 0x17b6980] Writing block at offset 20920292, size 653822, pts
 7098033, dts 7098033, duration 33, flags 0
 *** dropping frame 40 from stream 0 at ts 212947
 [libx264 @ 0x17b7980] frame=  33 QP=9.00 NAL=2 Slice:P Poc:66  I:1941
 P:6219 SKIP:0    size=656975 bytes
 [matroska @ 0x17b6980] Writing block at offset 21574122, size 656975, pts
 7098067, dts 7098067, duration 33, flags 0
 *** dropping frame 41 from stream 0 at ts 212948
 [libx264 @ 0x17b7980] frame=  34 QP=9.00 NAL=2 Slice:P Poc:68  I:1928
 P:6232 SKIP:0    size=656025 bytes
 [matroska @ 0x17b6980] Writing block at offset 22231105, size 656025, pts
 7098100, dts 7098100, duration 33, flags 0
 *** dropping frame 42 from stream 0 at ts 212949
 frame=   42 fps= 27 q=9.0 size=   22351kB time=01:58:18.13 bitrate=
 25.8kbits/s[libx264 @ 0x17b7980] frame=  35 QP=9.00 NAL=2 Slice:P Poc:70
 I:1906 P:6254 SKIP:0    size=654506 bytes
 [matroska @ 0x17b6980] Writing block at offset 22887138, size 654506, pts
 7098133, dts 7098133, duration 33, flags 0
 *** dropping frame 43 from stream 0 at ts 212950
 [libx264 @ 0x17b7980] frame=  36 QP=9.00 NAL=2 Slice:P Poc:72  I:1867
 P:6293 SKIP:0    size=653731 bytes
 [matroska @ 0x17b6980] Starting new cluster at offset 23541652 bytes, pts
 7098167dts 7098167
 [matroska @ 0x17b6980] Writing block at offset 23541669, size 653731, pts
 7098167, dts 7098167, duration 33, flags 0
 *** dropping frame 44 from stream 0 at ts 212951
 [libx264 @ 0x17b7980] frame=  37 QP=9.00 NAL=2 Slice:P Poc:74  I:1889
 P:6271 SKIP:0    size=656269 bytes
 [matroska @ 0x17b6980] Writing block at offset 24195408, size 656269, pts
 7098200, dts 7098200, duration 33, flags 0
 *** dropping frame 45 from stream 0 at ts 212952
 [libx264 @ 0x17b7980] frame=  38 QP=9.00 NAL=2 Slice:P Poc:76  I:1854
 P:6306 SKIP:0    size=654673 bytes
 [matroska @ 0x17b6980] Writing block at offset 24851685, size 654673, pts
 7098233, dts 7098233, duration 33, flags 0
 *** dropping frame 46 from stream 0 at ts 212953
 [libx264 @ 0x17b7980] frame=  39 QP=9.00 NAL=2 Slice:P Poc:78  I:1917
 P:6243 SKIP:0    size=655443 bytes
 [matroska @ 0x17b6980] Writing block at offset 25506366, size 655443, pts
 7098267, dts 7098267, duration 33, flags 0
 [libx264 @ 0x17b7980] frame=  40 QP=9.00 NAL=2 Slice:P Poc:80  I:1999
 P:6161 SKIP:0    size=655840 bytes
 [matroska @ 0x17b6980] Writing block at offset 26161817, size 655840, pts
 7098300, dts 7098300, duration 33, flags 0
 [libx264 @ 0x17b7980] frame=  41 QP=9.00 NAL=2 Slice:P Poc:82  I:1872
 P:6288 SKIP:0    size=656266 bytes
 [matroska @ 0x17b6980] Writing block at offset 26817665, size 656266, pts
 7098333, dts 7098333, duration 33, flags 0
 [libx264 @ 0x17b7980] frame=  42 QP=9.00 NAL=2 Slice:P Poc:84  I:1874
 P:6286 SKIP:0    size=654788 bytes
 [matroska @ 0x17b6980] Writing block at offset 27473939, size 654788, pts
 7098367, dts 7098367, duration 33, flags 0
 [libx264 @ 0x17b7980] frame=  43 QP=9.00 NAL=2 Slice:P Poc:86  I:1893
 P:6267 SKIP:0    size=655624 bytes
 [matroska @ 0x17b6980] Writing block at offset 28128735, size 655624, pts
 7098400, dts 7098400, duration 33, flags 0
 [libx264 @ 0x17b7980] frame=  44 QP=9.00 NAL=2 Slice:P Poc:88  I:1948
 P:6212 SKIP:0    size=652990 bytes
 [matroska @ 0x17b6980] Writing block at offset 28784367, size 652990, pts
 7098433, dts 7098433, duration 33, flags 0
 [libx264 @ 0x17b7980] frame=  45 QP=9.00 NAL=2 Slice:P Poc:90  I:1863
 P:6297 SKIP:0    size=654899 bytes
 [matroska @ 0x17b6980] Starting new cluster at offset 29437365 bytes, pts
 7098467dts 7098467
 [matroska @ 0x17b6980] Writing block at offset 29437382, size 654899, pts
 7098467, dts 7098467, duration 33, flags 0
 [libx264 @ 0x17b7980] frame=  46 QP=9.00 NAL=2 Slice:P Poc:92  I:1910
 P:6250 SKIP:0    size=655587 bytes
 [matroska @ 0x17b6980] Writing block at offset 30092289, size 655587, pts
 7098500, dts 7098500, duration 33, flags 0
 [matroska @ 0x17b6980] end duration = 7098533
 frame=   47 fps= 26 q=-1.0 Lsize=   30027kB time=01:58:18.53 bitrate=
 34.7kbits/s dup=0 drop=44
 video:30026kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: 0.003682%
 Input file #0 (/dev/video2):
   Input stream #0:0 (video): 123 packets read (377395200 bytes); 91 frames
 decoded;
   Total: 123 packets (377395200 bytes) demuxed
 Output file #0 (microcorder.mkv):
   Output stream #0:0 (video): 47 frames encoded; 47 packets muxed
 (30746783 bytes);
   Total: 47 packets (30746783 bytes) muxed
 91 frames successfully decoded, 0 decoding errors
 [AVIOContext @ 0x17ba8e0] Statistics: 34 seeks, 978 writeouts
 [libx264 @ 0x17b7980] frame I:1     Avg QP: 7.00  size:876606
 [libx264 @ 0x17b7980] frame P:46    Avg QP: 9.00  size:649339
 [libx264 @ 0x17b7980] mb I  I16..4: 100.0%  0.0%  0.0%
 [libx264 @ 0x17b7980] mb P  I16..4: 22.6%  0.0%  0.0%  P16..4: 77.4%  0.0%
 0.0%  0.0%  0.0%    skip: 0.0%
 [libx264 @ 0x17b7980] coded y,uvDC,uvAC intra: 100.0% 100.0% 100.0% inter:
 99.0% 100.0% 100.0%
 [libx264 @ 0x17b7980] i16 v,h,dc,p:  1%  4% 85% 10%
 [libx264 @ 0x17b7980] i8c dc,h,v,p: 63% 14% 10% 13%
 [libx264 @ 0x17b7980] kb/s:157001.86
 Received signal 2: terminating.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/4030#comment:18>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list