-
-
Save anonymous/5e651e9f9075bbc6c4e57a63446b0adb to your computer and use it in GitHub Desktop.
-
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@Shoofly alarm]# ffmpeg -f v4l2 -input_format mjpeg -video_size 1920x1080 -i /dev/video0 -c:v h264_omx -pix_fmt yuv420p out.mp4 | |
ffmpeg version git-2017-10-23-acf7063 Copyright (c) 2000-2017 the FFmpeg developers | |
built with gcc 7.2.0 (GCC) | |
configuration: --enable-gpl --enable-nonfree --enable-mmal --enable-omx --enable-omx-rpi | |
libavutil 56. 0.100 / 56. 0.100 | |
libavcodec 58. 0.100 / 58. 0.100 | |
libavformat 58. 0.100 / 58. 0.100 | |
libavdevice 58. 0.100 / 58. 0.100 | |
libavfilter 7. 0.100 / 7. 0.100 | |
libswscale 5. 0.100 / 5. 0.100 | |
libswresample 3. 0.100 / 3. 0.100 | |
libpostproc 55. 0.100 / 55. 0.100 | |
Input #0, video4linux2,v4l2, from '/dev/video0': | |
Duration: N/A, start: 305.628944, bitrate: N/A | |
Stream #0:0: Video: mjpeg, yuvj422p(pc, bt470bg/unknown/unknown), 1920x1080, 30 fps, 30 tbr, 1000k tbn, 1000k tbc | |
Stream mapping: | |
Stream #0:0 -> #0:0 (mjpeg (native) -> h264 (h264_omx)) | |
Press [q] to stop, [?] for help | |
[swscaler @ 0x2a3a230] deprecated pixel format used, make sure you did set range correctly | |
[h264_omx @ 0x2a08230] Using OMX.broadcom.video_encode | |
Output #0, mp4, to 'out.mp4': | |
Metadata: | |
encoder : Lavf58.0.100 | |
Stream #0:0: Video: h264 (h264_omx) (avc1 / 0x31637661), yuv420p, 1920x1080, q=2-31, 200 kb/s, 30 fps, 15360 tbn, 30 tbc | |
Metadata: | |
encoder : Lavc58.0.100 h264_omx | |
frame= 22 fps=2.8 q=-0.0 Lsize= 41kB time=00:00:00.70 bitrate= 481.6kbits/s dup=2 drop=0 speed=0.0906x | |
video:40kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 2.182083% | |
[root@Shoofly alarm]# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment