Advertisement
Guest User

Untitled

a guest
Jan 25th, 2017
286
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.30 KB | None | 0 0
  1. pi@raspberrypi:~ $ ffmpeg -f v4l2 -s 720x480 -i /dev/video0 -vf yadif -c:v libx264 -preset ultrafast test_ffmpeg.flv -y
  2. ffmpeg version git-2017-01-25-95bde49 Copyright (c) 2000-2017 the FFmpeg developers
  3. built with gcc 4.9.2 (Raspbian 4.9.2-10)
  4. configuration: --arch=armel --target-os=linux --enable-gpl --enable-libx264 --enable-nonfree
  5. libavutil 55. 45.100 / 55. 45.100
  6. libavcodec 57. 75.100 / 57. 75.100
  7. libavformat 57. 65.100 / 57. 65.100
  8. libavdevice 57. 2.100 / 57. 2.100
  9. libavfilter 6. 70.100 / 6. 70.100
  10. libswscale 4. 3.101 / 4. 3.101
  11. libswresample 2. 4.100 / 2. 4.100
  12. libpostproc 54. 2.100 / 54. 2.100
  13. Input #0, video4linux2,v4l2, from '/dev/video0':
  14. Duration: N/A, start: 8164.788262, bitrate: 165722 kb/s
  15. Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 720x480, 165722 kb/s, 29.97 fps, 29.97 tbr, 1000k tbn, 1000k tbc
  16. No pixel format specified, yuv422p for H.264 encoding chosen.
  17. Use -pix_fmt yuv420p for compatibility with outdated media players.
  18. [libx264 @ 0x33f34a0] using cpu capabilities: ARMv6 NEON
  19. [libx264 @ 0x33f34a0] profile High 4:2:2, level 3.0, 4:2:2 8-bit
  20. [libx264 @ 0x33f34a0] 264 - core 148 - H.264/MPEG-4 AVC codec - Copyleft 2003-2017 - 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=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=0
  21. Output #0, flv, to 'test_ffmpeg.flv':
  22. Metadata:
  23. encoder : Lavf57.65.100
  24. Stream #0:0: Video: h264 (libx264) ([7][0][0][0] / 0x0007), yuv422p, 720x480, q=-1--1, 29.97 fps, 1k tbn, 29.97 tbc
  25. Metadata:
  26. encoder : Lavc57.75.100 libx264
  27. Side data:
  28. cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
  29. Stream mapping:
  30. Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
  31. Press [q] to stop, [?] for help
  32. [video4linux2,v4l2 @ 0x33f0270] Dequeued v4l2 buffer contains corrupted data (691200 bytes).
  33. Last message repeated 3 times
  34. [video4linux2,v4l2 @ 0x33f0270] Dequeued v4l2 buffer contains corrupted data (691200 bytes).x
  35. Last message repeated 5 times
  36. [video4linux2,v4l2 @ 0x33f0270] Dequeued v4l2 buffer contains corrupted data (691200 bytes).3x
  37. Last message repeated 5 times
  38. [video4linux2,v4l2 @ 0x33f0270] Dequeued v4l2 buffer contains corrupted data (691200 bytes).8x
  39. Last message repeated 5 times
  40. [video4linux2,v4l2 @ 0x33f0270] Dequeued v4l2 buffer contains corrupted data (691200 bytes).6x
  41. Last message repeated 6 times
  42. [video4linux2,v4l2 @ 0x33f0270] Dequeued v4l2 buffer contains corrupted data (691200 bytes).x
  43. Last message repeated 6 times
  44. [video4linux2,v4l2 @ 0x33f0270] Dequeued v4l2 buffer contains corrupted data (691200 bytes).4x
  45. Last message repeated 5 times
  46. [video4linux2,v4l2 @ 0x33f0270] Dequeued v4l2 buffer contains corrupted data (691200 bytes).2x
  47. Last message repeated 5 times
  48. [video4linux2,v4l2 @ 0x33f0270] Dequeued v4l2 buffer contains corrupted data (691200 bytes).2x
  49. Last message repeated 5 times
  50. [video4linux2,v4l2 @ 0x33f0270] Dequeued v4l2 buffer contains corrupted data (691200 bytes).4x
  51. Last message repeated 5 times
  52. [video4linux2,v4l2 @ 0x33f0270] Dequeued v4l2 buffer contains corrupted data (691200 bytes).5x
  53. Last message repeated 5 times
  54. [video4linux2,v4l2 @ 0x33f0270] Dequeued v4l2 buffer contains corrupted data (691200 bytes).1x
  55. Last message repeated 5 times
  56. [video4linux2,v4l2 @ 0x33f0270] Dequeued v4l2 buffer contains corrupted data (691200 bytes).9x
  57. Last message repeated 5 times
  58. [video4linux2,v4l2 @ 0x33f0270] Dequeued v4l2 buffer contains corrupted data (691200 bytes).8x
  59. Last message repeated 5 times
  60. [video4linux2,v4l2 @ 0x33f0270] Dequeued v4l2 buffer contains corrupted data (691200 bytes).7x
  61. Last message repeated 6 times
  62. [video4linux2,v4l2 @ 0x33f0270] Dequeued v4l2 buffer contains corrupted data (691200 bytes).1x
  63. Last message repeated 6 times
  64. [video4linux2,v4l2 @ 0x33f0270] Dequeued v4l2 buffer contains corrupted data (691200 bytes).2x
  65. Last message repeated 6 times
  66. [video4linux2,v4l2 @ 0x33f0270] Dequeued v4l2 buffer contains corrupted data (691200 bytes).5x
  67. Last message repeated 4 times
  68. [video4linux2,v4l2 @ 0x33f0270] Dequeued v4l2 buffer contains corrupted data (691200 bytes).5x
  69. Last message repeated 5 times
  70. [video4linux2,v4l2 @ 0x33f0270] Dequeued v4l2 buffer contains corrupted data (691200 bytes).4x
  71. Last message repeated 5 times
  72. [video4linux2,v4l2 @ 0x33f0270] Dequeued v4l2 buffer contains corrupted data (691200 bytes).2x
  73. Last message repeated 4 times
  74. [video4linux2,v4l2 @ 0x33f0270] Dequeued v4l2 buffer contains corrupted data (691200 bytes).2x
  75. Last message repeated 6 times
  76. [video4linux2,v4l2 @ 0x33f0270] Dequeued v4l2 buffer contains corrupted data (691200 bytes).8x
  77. Last message repeated 2 times
  78. frame= 207 fps= 18 q=-1.0 Lsize= 5508kB time=00:00:11.41 bitrate=3953.9kbits/s speed=0.994x
  79. video:5504kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.078586%
  80. [libx264 @ 0x33f34a0] frame I:1 Avg QP:20.00 size: 92913
  81. [libx264 @ 0x33f34a0] frame P:206 Avg QP:26.17 size: 26905
  82. [libx264 @ 0x33f34a0] mb I I16..4: 100.0% 0.0% 0.0%
  83. [libx264 @ 0x33f34a0] mb P I16..4: 15.5% 0.0% 0.0% P16..4: 62.9% 0.0% 0.0% 0.0% 0.0% skip:21.6%
  84. [libx264 @ 0x33f34a0] coded y,uvDC,uvAC intra: 70.4% 87.3% 64.6% inter: 45.0% 55.2% 24.6%
  85. [libx264 @ 0x33f34a0] i16 v,h,dc,p: 24% 50% 13% 12%
  86. [libx264 @ 0x33f34a0] i8c dc,h,v,p: 23% 44% 19% 14%
  87. [libx264 @ 0x33f34a0] kb/s:3927.67
  88. Exiting normally, received signal 2.
  89. pi@raspberrypi:~ $
  90. pi@raspberrypi:~ $
  91. pi@raspberrypi:~ $
  92. pi@raspberrypi:~ $
  93. pi@raspberrypi:~ $
  94. pi@raspberrypi:~ $ avconv -f video4linux2 -s 720x480 -i /dev/video0 -vf yadif -c:v libx264 -preset ultrafast /home/pi/test_avconv.flv -y
  95. avconv version 11.8-6:11.8-1~deb8u1+rpi1, Copyright (c) 2000-2016 the Libav developers
  96. built on Oct 8 2016 02:37:00 with gcc 4.9.2 (Raspbian 4.9.2-10)
  97. [video4linux2 @ 0xc511e0] Estimating duration from bitrate, this may be inaccurate
  98. Input #0, video4linux2, from '/dev/video0':
  99. Duration: N/A, start: 8189.213402, bitrate: 165722 kb/s
  100. Stream #0.0: Video: rawvideo, yuyv422, 720x480, 165722 kb/s, 29.97 fps, 1000k tbn
  101. [libx264 @ 0xc532a0] MB rate (2700000000) > level limit (2073600)
  102. [libx264 @ 0xc532a0] using cpu capabilities: ARMv6 NEON
  103. [libx264 @ 0xc532a0] profile Constrained Baseline, level 5.2
  104. [libx264 @ 0xc532a0] 264 - core 142 r2431 a5831aa - 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=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=0
  105. Output #0, flv, to '/home/pi/test_avconv.flv':
  106. Metadata:
  107. encoder : Lavf56.1.0
  108. Stream #0.0: Video: libx264, yuv420p, 720x480, q=-1--1, 1k tbn, 2000k tbc
  109. Metadata:
  110. encoder : Lavc56.1.0 libx264
  111. Stream mapping:
  112. Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
  113. Press ctrl-c to stop encoding
  114. ^Cframe= 392 fps= 30 q=-1.0 Lsize= 8985kB time=13.05 bitrate=5642.1kbits/s
  115. video:8977kB audio:0kB other streams:0kB global headers:0kB muxing overhead: 0.088189%
  116. [libx264 @ 0xc532a0] frame I:2 Avg QP:22.50 size: 70836
  117. [libx264 @ 0xc532a0] frame P:390 Avg QP:27.75 size: 23207
  118. [libx264 @ 0xc532a0] mb I I16..4: 100.0% 0.0% 0.0%
  119. [libx264 @ 0xc532a0] mb P I16..4: 12.1% 0.0% 0.0% P16..4: 63.5% 0.0% 0.0% 0.0% 0.0% skip:24.3%
  120. [libx264 @ 0xc532a0] coded y,uvDC,uvAC intra: 77.8% 82.1% 65.1% inter: 44.4% 51.0% 26.8%
  121. [libx264 @ 0xc532a0] i16 v,h,dc,p: 18% 59% 14% 9%
  122. [libx264 @ 0xc532a0] i8c dc,h,v,p: 18% 56% 14% 11%
  123. [libx264 @ 0xc532a0] kb/s:5622.59
  124. Received signal 2: terminating.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement