Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pi@raspberrypi:~ $ ffmpeg -f v4l2 -s 720x480 -i /dev/video0 -vf yadif -c:v libx264 -preset ultrafast test_ffmpeg.flv -y
- ffmpeg version git-2017-01-25-95bde49 Copyright (c) 2000-2017 the FFmpeg developers
- built with gcc 4.9.2 (Raspbian 4.9.2-10)
- configuration: --arch=armel --target-os=linux --enable-gpl --enable-libx264 --enable-nonfree
- libavutil 55. 45.100 / 55. 45.100
- libavcodec 57. 75.100 / 57. 75.100
- libavformat 57. 65.100 / 57. 65.100
- libavdevice 57. 2.100 / 57. 2.100
- libavfilter 6. 70.100 / 6. 70.100
- libswscale 4. 3.101 / 4. 3.101
- libswresample 2. 4.100 / 2. 4.100
- libpostproc 54. 2.100 / 54. 2.100
- Input #0, video4linux2,v4l2, from '/dev/video0':
- Duration: N/A, start: 8164.788262, bitrate: 165722 kb/s
- Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 720x480, 165722 kb/s, 29.97 fps, 29.97 tbr, 1000k tbn, 1000k tbc
- No pixel format specified, yuv422p for H.264 encoding chosen.
- Use -pix_fmt yuv420p for compatibility with outdated media players.
- [libx264 @ 0x33f34a0] using cpu capabilities: ARMv6 NEON
- [libx264 @ 0x33f34a0] profile High 4:2:2, level 3.0, 4:2:2 8-bit
- [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
- Output #0, flv, to 'test_ffmpeg.flv':
- Metadata:
- encoder : Lavf57.65.100
- Stream #0:0: Video: h264 (libx264) ([7][0][0][0] / 0x0007), yuv422p, 720x480, q=-1--1, 29.97 fps, 1k tbn, 29.97 tbc
- Metadata:
- encoder : Lavc57.75.100 libx264
- Side data:
- cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
- Stream mapping:
- Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
- Press [q] to stop, [?] for help
- [video4linux2,v4l2 @ 0x33f0270] Dequeued v4l2 buffer contains corrupted data (691200 bytes).
- Last message repeated 3 times
- [video4linux2,v4l2 @ 0x33f0270] Dequeued v4l2 buffer contains corrupted data (691200 bytes).x
- Last message repeated 5 times
- [video4linux2,v4l2 @ 0x33f0270] Dequeued v4l2 buffer contains corrupted data (691200 bytes).3x
- Last message repeated 5 times
- [video4linux2,v4l2 @ 0x33f0270] Dequeued v4l2 buffer contains corrupted data (691200 bytes).8x
- Last message repeated 5 times
- [video4linux2,v4l2 @ 0x33f0270] Dequeued v4l2 buffer contains corrupted data (691200 bytes).6x
- Last message repeated 6 times
- [video4linux2,v4l2 @ 0x33f0270] Dequeued v4l2 buffer contains corrupted data (691200 bytes).x
- Last message repeated 6 times
- [video4linux2,v4l2 @ 0x33f0270] Dequeued v4l2 buffer contains corrupted data (691200 bytes).4x
- Last message repeated 5 times
- [video4linux2,v4l2 @ 0x33f0270] Dequeued v4l2 buffer contains corrupted data (691200 bytes).2x
- Last message repeated 5 times
- [video4linux2,v4l2 @ 0x33f0270] Dequeued v4l2 buffer contains corrupted data (691200 bytes).2x
- Last message repeated 5 times
- [video4linux2,v4l2 @ 0x33f0270] Dequeued v4l2 buffer contains corrupted data (691200 bytes).4x
- Last message repeated 5 times
- [video4linux2,v4l2 @ 0x33f0270] Dequeued v4l2 buffer contains corrupted data (691200 bytes).5x
- Last message repeated 5 times
- [video4linux2,v4l2 @ 0x33f0270] Dequeued v4l2 buffer contains corrupted data (691200 bytes).1x
- Last message repeated 5 times
- [video4linux2,v4l2 @ 0x33f0270] Dequeued v4l2 buffer contains corrupted data (691200 bytes).9x
- Last message repeated 5 times
- [video4linux2,v4l2 @ 0x33f0270] Dequeued v4l2 buffer contains corrupted data (691200 bytes).8x
- Last message repeated 5 times
- [video4linux2,v4l2 @ 0x33f0270] Dequeued v4l2 buffer contains corrupted data (691200 bytes).7x
- Last message repeated 6 times
- [video4linux2,v4l2 @ 0x33f0270] Dequeued v4l2 buffer contains corrupted data (691200 bytes).1x
- Last message repeated 6 times
- [video4linux2,v4l2 @ 0x33f0270] Dequeued v4l2 buffer contains corrupted data (691200 bytes).2x
- Last message repeated 6 times
- [video4linux2,v4l2 @ 0x33f0270] Dequeued v4l2 buffer contains corrupted data (691200 bytes).5x
- Last message repeated 4 times
- [video4linux2,v4l2 @ 0x33f0270] Dequeued v4l2 buffer contains corrupted data (691200 bytes).5x
- Last message repeated 5 times
- [video4linux2,v4l2 @ 0x33f0270] Dequeued v4l2 buffer contains corrupted data (691200 bytes).4x
- Last message repeated 5 times
- [video4linux2,v4l2 @ 0x33f0270] Dequeued v4l2 buffer contains corrupted data (691200 bytes).2x
- Last message repeated 4 times
- [video4linux2,v4l2 @ 0x33f0270] Dequeued v4l2 buffer contains corrupted data (691200 bytes).2x
- Last message repeated 6 times
- [video4linux2,v4l2 @ 0x33f0270] Dequeued v4l2 buffer contains corrupted data (691200 bytes).8x
- Last message repeated 2 times
- frame= 207 fps= 18 q=-1.0 Lsize= 5508kB time=00:00:11.41 bitrate=3953.9kbits/s speed=0.994x
- video:5504kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.078586%
- [libx264 @ 0x33f34a0] frame I:1 Avg QP:20.00 size: 92913
- [libx264 @ 0x33f34a0] frame P:206 Avg QP:26.17 size: 26905
- [libx264 @ 0x33f34a0] mb I I16..4: 100.0% 0.0% 0.0%
- [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%
- [libx264 @ 0x33f34a0] coded y,uvDC,uvAC intra: 70.4% 87.3% 64.6% inter: 45.0% 55.2% 24.6%
- [libx264 @ 0x33f34a0] i16 v,h,dc,p: 24% 50% 13% 12%
- [libx264 @ 0x33f34a0] i8c dc,h,v,p: 23% 44% 19% 14%
- [libx264 @ 0x33f34a0] kb/s:3927.67
- Exiting normally, received signal 2.
- pi@raspberrypi:~ $
- pi@raspberrypi:~ $
- pi@raspberrypi:~ $
- pi@raspberrypi:~ $
- pi@raspberrypi:~ $
- pi@raspberrypi:~ $ avconv -f video4linux2 -s 720x480 -i /dev/video0 -vf yadif -c:v libx264 -preset ultrafast /home/pi/test_avconv.flv -y
- avconv version 11.8-6:11.8-1~deb8u1+rpi1, Copyright (c) 2000-2016 the Libav developers
- built on Oct 8 2016 02:37:00 with gcc 4.9.2 (Raspbian 4.9.2-10)
- [video4linux2 @ 0xc511e0] Estimating duration from bitrate, this may be inaccurate
- Input #0, video4linux2, from '/dev/video0':
- Duration: N/A, start: 8189.213402, bitrate: 165722 kb/s
- Stream #0.0: Video: rawvideo, yuyv422, 720x480, 165722 kb/s, 29.97 fps, 1000k tbn
- [libx264 @ 0xc532a0] MB rate (2700000000) > level limit (2073600)
- [libx264 @ 0xc532a0] using cpu capabilities: ARMv6 NEON
- [libx264 @ 0xc532a0] profile Constrained Baseline, level 5.2
- [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
- Output #0, flv, to '/home/pi/test_avconv.flv':
- Metadata:
- encoder : Lavf56.1.0
- Stream #0.0: Video: libx264, yuv420p, 720x480, q=-1--1, 1k tbn, 2000k tbc
- Metadata:
- encoder : Lavc56.1.0 libx264
- Stream mapping:
- Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
- Press ctrl-c to stop encoding
- ^Cframe= 392 fps= 30 q=-1.0 Lsize= 8985kB time=13.05 bitrate=5642.1kbits/s
- video:8977kB audio:0kB other streams:0kB global headers:0kB muxing overhead: 0.088189%
- [libx264 @ 0xc532a0] frame I:2 Avg QP:22.50 size: 70836
- [libx264 @ 0xc532a0] frame P:390 Avg QP:27.75 size: 23207
- [libx264 @ 0xc532a0] mb I I16..4: 100.0% 0.0% 0.0%
- [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%
- [libx264 @ 0xc532a0] coded y,uvDC,uvAC intra: 77.8% 82.1% 65.1% inter: 44.4% 51.0% 26.8%
- [libx264 @ 0xc532a0] i16 v,h,dc,p: 18% 59% 14% 9%
- [libx264 @ 0xc532a0] i8c dc,h,v,p: 18% 56% 14% 11%
- [libx264 @ 0xc532a0] kb/s:5622.59
- Received signal 2: terminating.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement