Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ffmpeg -y -v debug -debug_ts -f v4l2 -input_format mjpeg -s uhd2160 -i /dev/video0 -f pulse -channels 1 -i default video.mp4
- ffmpeg version 3.4-1~16.04.york0 Copyright (c) 2000-2017 the FFmpeg developers
- built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.5) 20160609
- configuration: --prefix=/usr --extra-version='1~16.04.york0' --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
- libavutil 55. 78.100 / 55. 78.100
- libavcodec 57.107.100 / 57.107.100
- libavformat 57. 83.100 / 57. 83.100
- libavdevice 57. 10.100 / 57. 10.100
- libavfilter 6.107.100 / 6.107.100
- libavresample 3. 7. 0 / 3. 7. 0
- libswscale 4. 8.100 / 4. 8.100
- libswresample 2. 9.100 / 2. 9.100
- libpostproc 54. 7.100 / 54. 7.100
- Splitting the commandline.
- Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
- Reading option '-v' ... matched as option 'v' (set logging level) with argument 'debug'.
- Reading option '-debug_ts' ... matched as option 'debug_ts' (print timestamp debugging info) with argument '1'.
- Reading option '-f' ... matched as option 'f' (force format) with argument 'v4l2'.
- Reading option '-input_format' ... matched as AVOption 'input_format' with argument 'mjpeg'.
- Reading option '-s' ... matched as option 's' (set frame size (WxH or abbreviation)) with argument 'uhd2160'.
- Reading option '-i' ... matched as input url with argument '/dev/video0'.
- Reading option '-f' ... matched as option 'f' (force format) with argument 'pulse'.
- Reading option '-channels' ... matched as AVOption 'channels' with argument '1'.
- Reading option '-i' ... matched as input url with argument 'default'.
- Reading option 'video.mp4' ... matched as output url.
- Finished splitting the commandline.
- Parsing a group of options: global .
- Applying option y (overwrite output files) with argument 1.
- Applying option v (set logging level) with argument debug.
- Applying option debug_ts (print timestamp debugging info) with argument 1.
- Successfully parsed a group of options.
- Parsing a group of options: input url /dev/video0.
- Applying option f (force format) with argument v4l2.
- Applying option s (set frame size (WxH or abbreviation)) with argument uhd2160.
- Successfully parsed a group of options.
- Opening an input file: /dev/video0.
- [video4linux2,v4l2 @ 0x55f4cf6ce640] fd:4 capabilities:84200001
- [video4linux2,v4l2 @ 0x55f4cf6ce640] Current input_channel: 0, input_name: Camera 1, input_std: 0
- [mjpeg @ 0x55f4cf6cf9c0] marker=d8 avail_size_in_buf=633220
- [mjpeg @ 0x55f4cf6cf9c0] marker parser used 0 bytes (0 bits)
- [mjpeg @ 0x55f4cf6cf9c0] marker=e1 avail_size_in_buf=633218
- [mjpeg @ 0x55f4cf6cf9c0] marker parser used 1130 bytes (9040 bits)
- [mjpeg @ 0x55f4cf6cf9c0] marker=db avail_size_in_buf=632085
- [mjpeg @ 0x55f4cf6cf9c0] index=0
- [mjpeg @ 0x55f4cf6cf9c0] qscale[0]: 2
- [mjpeg @ 0x55f4cf6cf9c0] index=1
- [mjpeg @ 0x55f4cf6cf9c0] qscale[1]: 5
- [mjpeg @ 0x55f4cf6cf9c0] marker parser used 132 bytes (1056 bits)
- [mjpeg @ 0x55f4cf6cf9c0] marker=c4 avail_size_in_buf=631951
- [mjpeg @ 0x55f4cf6cf9c0] marker parser used 0 bytes (0 bits)
- [mjpeg @ 0x55f4cf6cf9c0] marker=c0 avail_size_in_buf=631531
- [mjpeg @ 0x55f4cf6cf9c0] Changing bps from 0 to 8
- [mjpeg @ 0x55f4cf6cf9c0] sof0: picture: 3840x2160
- [mjpeg @ 0x55f4cf6cf9c0] component 0 2:1 id: 0 quant:0
- [mjpeg @ 0x55f4cf6cf9c0] component 1 1:1 id: 1 quant:1
- [mjpeg @ 0x55f4cf6cf9c0] component 2 1:1 id: 2 quant:1
- [mjpeg @ 0x55f4cf6cf9c0] pix fmt id 21111100
- [mjpeg @ 0x55f4cf6cf9c0] marker parser used 17 bytes (136 bits)
- [mjpeg @ 0x55f4cf6cf9c0] escaping removed 946 bytes
- [mjpeg @ 0x55f4cf6cf9c0] marker=da avail_size_in_buf=631512
- [mjpeg @ 0x55f4cf6cf9c0] marker parser used 630566 bytes (5044528 bits)
- [mjpeg @ 0x55f4cf6cf9c0] marker=d9 avail_size_in_buf=0
- [mjpeg @ 0x55f4cf6cf9c0] decode frame unused 0 bytes
- [video4linux2,v4l2 @ 0x55f4cf6ce640] All info found
- Input #0, video4linux2,v4l2, from '/dev/video0':
- Duration: N/A, start: 12440.349235, bitrate: N/A
- Stream #0:0, 1, 1/1000000: Video: mjpeg, 1 reference frame, yuvj422p(pc, bt470bg/unknown/unknown, center), 3840x2160, 0/1, 30 fps, 30 tbr, 1000k tbn, 1000k tbc
- Successfully opened the file.
- Parsing a group of options: input url default.
- Applying option f (force format) with argument pulse.
- Successfully parsed a group of options.
- Opening an input file: default.
- [pulse @ 0x55f4cf6d1bc0] All info found
- Guessed Channel Layout for Input Stream #1.0 : mono
- Input #1, pulse, from 'default':
- Duration: N/A, start: 1512326663.915265, bitrate: 768 kb/s
- Stream #1:0, 1, 1/1000000: Audio: pcm_s16le, 48000 Hz, mono, s16, 768 kb/s
- Successfully opened the file.
- Parsing a group of options: output url video.mp4.
- Successfully parsed a group of options.
- Opening an output file: video.mp4.
- [file @ 0x55f4cf6e5f20] Setting default whitelist 'file,crypto'
- Successfully opened the file.
- Stream mapping:
- Stream #0:0 -> #0:0 (mjpeg (native) -> h264 (libx264))
- Stream #1:0 -> #0:1 (pcm_s16le (native) -> aac (native))
- Press [q] to stop, [?] for help
- cur_dts is invalid (this is harmless if it occurs once at the start per stream)
- demuxer -> ist_index:0 type:video next_dts:NOPTS next_dts_time:NOPTS next_pts:NOPTS next_pts_time:NOPTS pkt_pts:12440349235 pkt_pts_time:12440.3 pkt_dts:12440349235 pkt_dts_time:12440.3 off:-12440349235 off_time:-12440.3
- demuxer+ffmpeg -> ist_index:0 type:video pkt_pts:0 pkt_pts_time:0 pkt_dts:0 pkt_dts_time:0 off:-12440349235 off_time:-12440.3
- [mjpeg @ 0x55f4cf6d0d80] marker=d8 avail_size_in_buf=633220
- [mjpeg @ 0x55f4cf6d0d80] marker parser used 0 bytes (0 bits)
- [mjpeg @ 0x55f4cf6d0d80] marker=e1 avail_size_in_buf=633218
- [mjpeg @ 0x55f4cf6d0d80] marker parser used 1130 bytes (9040 bits)
- [mjpeg @ 0x55f4cf6d0d80] marker=db avail_size_in_buf=632085
- [mjpeg @ 0x55f4cf6d0d80] index=0
- [mjpeg @ 0x55f4cf6d0d80] qscale[0]: 2
- [mjpeg @ 0x55f4cf6d0d80] index=1
- [mjpeg @ 0x55f4cf6d0d80] qscale[1]: 5
- [mjpeg @ 0x55f4cf6d0d80] marker parser used 132 bytes (1056 bits)
- [mjpeg @ 0x55f4cf6d0d80] marker=c4 avail_size_in_buf=631951
- [mjpeg @ 0x55f4cf6d0d80] class=0 index=0 nb_codes=12
- [mjpeg @ 0x55f4cf6d0d80] class=1 index=0 nb_codes=251
- [mjpeg @ 0x55f4cf6d0d80] class=0 index=1 nb_codes=12
- [mjpeg @ 0x55f4cf6d0d80] class=1 index=1 nb_codes=251
- [mjpeg @ 0x55f4cf6d0d80] marker parser used 418 bytes (3344 bits)
- [mjpeg @ 0x55f4cf6d0d80] marker=c0 avail_size_in_buf=631531
- [mjpeg @ 0x55f4cf6d0d80] sof0: picture: 3840x2160
- [mjpeg @ 0x55f4cf6d0d80] component 0 2:1 id: 0 quant:0
- [mjpeg @ 0x55f4cf6d0d80] component 1 1:1 id: 1 quant:1
- [mjpeg @ 0x55f4cf6d0d80] component 2 1:1 id: 2 quant:1
- [mjpeg @ 0x55f4cf6d0d80] pix fmt id 21111100
- [mjpeg @ 0x55f4cf6d0d80] marker parser used 17 bytes (136 bits)
- [mjpeg @ 0x55f4cf6d0d80] escaping removed 946 bytes
- [mjpeg @ 0x55f4cf6d0d80] marker=da avail_size_in_buf=631512
- [mjpeg @ 0x55f4cf6d0d80] component: 0
- [mjpeg @ 0x55f4cf6d0d80] component: 1
- [mjpeg @ 0x55f4cf6d0d80] component: 2
- [mjpeg @ 0x55f4cf6d0d80] marker parser used 630565 bytes (5044516 bits)
- [mjpeg @ 0x55f4cf6d0d80] marker=d9 avail_size_in_buf=0
- [mjpeg @ 0x55f4cf6d0d80] decode frame unused 0 bytes
- decoder -> ist_index:0 type:video frame_pts:0 frame_pts_time:0 best_effort_ts:0 best_effort_ts_time:0 keyframe:1 frame_type:1 time_base:1/1000000
- detected 8 logical cores
- [graph 0 input from stream 0:0 @ 0x55f4cf861c80] Setting 'video_size' to value '3840x2160'
- [graph 0 input from stream 0:0 @ 0x55f4cf861c80] Setting 'pix_fmt' to value '13'
- [graph 0 input from stream 0:0 @ 0x55f4cf861c80] Setting 'time_base' to value '1/1000000'
- [graph 0 input from stream 0:0 @ 0x55f4cf861c80] Setting 'pixel_aspect' to value '0/1'
- [graph 0 input from stream 0:0 @ 0x55f4cf861c80] Setting 'sws_param' to value 'flags=2'
- [graph 0 input from stream 0:0 @ 0x55f4cf861c80] Setting 'frame_rate' to value '30/1'
- [graph 0 input from stream 0:0 @ 0x55f4cf861c80] w:3840 h:2160 pixfmt:yuvj422p tb:1/1000000 fr:30/1 sar:0/1 sws_param:flags=2
- [format @ 0x55f4cf862400] compat: called with args=[yuv420p|yuvj420p|yuv422p|yuvj422p|yuv444p|yuvj444p|nv12|nv16|nv21]
- [format @ 0x55f4cf862400] Setting 'pix_fmts' to value 'yuv420p|yuvj420p|yuv422p|yuvj422p|yuv444p|yuvj444p|nv12|nv16|nv21'
- [AVFilterGraph @ 0x55f4cf7b8f20] query_formats: 4 queried, 3 merged, 0 already done, 0 delayed
- [libx264 @ 0x55f4cf6e41e0] using mv_range_thread = 88
- [libx264 @ 0x55f4cf6e41e0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
- [libx264 @ 0x55f4cf6e41e0] profile High 4:2:2, level 5.1, 4:2:2 8-bit
- [libx264 @ 0x55f4cf6e41e0] 264 - core 148 r2795 aaa9aa8 - H.264/MPEG-4 AVC codec - Copyleft 2003-2017 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
- filter -> pts:0 pts_time:0 exact:-0.000008 time_base:1/30
- Clipping frame in rate conversion by 0.000008
- encoder <- type:video frame_pts:0 frame_pts_time:0 time_base:1/30
- cur_dts is invalid (this is harmless if it occurs once at the start per stream)
- Last message repeated 1 times
- demuxer -> ist_index:1 type:audio next_dts:NOPTS next_dts_time:NOPTS next_pts:NOPTS next_pts_time:NOPTS pkt_pts:1512326663915265 pkt_pts_time:1.51233e+09 pkt_dts:1512326663915265 pkt_dts_time:1.51233e+09 off:-1512326663915265 off_time:-1.51233e+09
- demuxer+ffmpeg -> ist_index:1 type:audio pkt_pts:0 pkt_pts_time:0 pkt_dts:0 pkt_dts_time:0 off:-1512326663915265 off_time:-1.51233e+09
- [graph_1_in_1_0 @ 0x55f4cfec1d80] Setting 'time_base' to value '1/48000'
- [graph_1_in_1_0 @ 0x55f4cfec1d80] Setting 'sample_rate' to value '48000'
- [graph_1_in_1_0 @ 0x55f4cfec1d80] Setting 'sample_fmt' to value 's16'
- [graph_1_in_1_0 @ 0x55f4cfec1d80] Setting 'channel_layout' to value '0x4'
- [graph_1_in_1_0 @ 0x55f4cfec1d80] tb:1/48000 samplefmt:s16 samplerate:48000 chlayout:0x4
- [format_out_0_1 @ 0x55f4cfec2960] Setting 'sample_fmts' to value 'fltp'
- [format_out_0_1 @ 0x55f4cfec2960] Setting 'sample_rates' to value '96000|88200|64000|48000|44100|32000|24000|22050|16000|12000|11025|8000|7350'
- [format_out_0_1 @ 0x55f4cfec2960] auto-inserting filter 'auto_resampler_0' between the filter 'Parsed_anull_0' and the filter 'format_out_0_1'
- [AVFilterGraph @ 0x55f4cf7b8500] query_formats: 4 queried, 6 merged, 3 already done, 0 delayed
- [auto_resampler_0 @ 0x55f4cfec4480] [SWR @ 0x55f4cfec48a0] Using s16p internally between filters
- [auto_resampler_0 @ 0x55f4cfec4480] ch:1 chl:mono fmt:s16 r:48000Hz -> ch:1 chl:mono fmt:fltp r:48000Hz
- Output #0, mp4, to 'video.mp4':
- Metadata:
- encoder : Lavf57.83.100
- Stream #0:0, 0, 1/15360: Video: h264 (libx264), 1 reference frame (avc1 / 0x31637661), yuvj422p(pc, progressive, center), 3840x2160, 0/1, q=-1--1, 30 fps, 15360 tbn, 30 tbc
- Metadata:
- encoder : Lavc57.107.100 libx264
- Side data:
- cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
- Stream #0:1, 0, 1/48000: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, mono, fltp, delay 1024, 69 kb/s
- Metadata:
- encoder : Lavc57.107.100 aac
- encoder <- type:audio frame_pts:0 frame_pts_time:0 time_base:1/48000
- encoder <- type:audio frame_pts:1024 frame_pts_time:0.0213333 time_base:1/48000
- encoder -> type:audio pkt_pts:-1024 pkt_pts_time:-0.0213333 pkt_dts:-1024 pkt_dts_time:-0.0213333
- muxer <- type:audio pkt_pts:-1024 pkt_pts_time:-0.0213333 pkt_dts:-1024 pkt_dts_time:-0.0213333 size:266
- encoder <- type:audio frame_pts:2048 frame_pts_time:0.0426667 time_base:1/48000
- encoder -> type:audio pkt_pts:0 pkt_pts_time:0 pkt_dts:0 pkt_dts_time:0
- muxer <- type:audio pkt_pts:0 pkt_pts_time:0 pkt_dts:0 pkt_dts_time:0 size:231
- encoder <- type:audio frame_pts:3072 frame_pts_time:0.064 time_base:1/48000
- encoder -> type:audio pkt_pts:1024 pkt_pts_time:0.0213333 pkt_dts:1024 pkt_dts_time:0.0213333
- muxer <- type:audio pkt_pts:1024 pkt_pts_time:0.0213333 pkt_dts:1024 pkt_dts_time:0.0213333 size:140
- encoder <- type:audio frame_pts:4096 frame_pts_time:0.0853333 time_base:1/48000
- encoder -> type:audio pkt_pts:2048 pkt_pts_time:0.0426667 pkt_dts:2048 pkt_dts_time:0.0426667
- muxer <- type:audio pkt_pts:2048 pkt_pts_time:0.0426667 pkt_dts:2048 pkt_dts_time:0.0426667 size:171
- encoder <- type:audio frame_pts:5120 frame_pts_time:0.106667 time_base:1/48000
- encoder -> type:audio pkt_pts:3072 pkt_pts_time:0.064 pkt_dts:3072 pkt_dts_time:0.064
- muxer <- type:audio pkt_pts:3072 pkt_pts_time:0.064 pkt_dts:3072 pkt_dts_time:0.064 size:168
- encoder <- type:audio frame_pts:6144 frame_pts_time:0.128 time_base:1/48000
- encoder -> type:audio pkt_pts:4096 pkt_pts_time:0.0853333 pkt_dts:4096 pkt_dts_time:0.0853333
- muxer <- type:audio pkt_pts:4096 pkt_pts_time:0.0853333 pkt_dts:4096 pkt_dts_time:0.0853333 size:175
- encoder <- type:audio frame_pts:7168 frame_pts_time:0.149333 time_base:1/48000
- encoder -> type:audio pkt_pts:5120 pkt_pts_time:0.106667 pkt_dts:5120 pkt_dts_time:0.106667
- muxer <- type:audio pkt_pts:5120 pkt_pts_time:0.106667 pkt_dts:5120 pkt_dts_time:0.106667 size:183
- encoder <- type:audio frame_pts:8192 frame_pts_time:0.170667 time_base:1/48000
- encoder -> type:audio pkt_pts:6144 pkt_pts_time:0.128 pkt_dts:6144 pkt_dts_time:0.128
- muxer <- type:audio pkt_pts:6144 pkt_pts_time:0.128 pkt_dts:6144 pkt_dts_time:0.128 size:174
- encoder <- type:audio frame_pts:9216 frame_pts_time:0.192 time_base:1/48000
- encoder -> type:audio pkt_pts:7168 pkt_pts_time:0.149333 pkt_dts:7168 pkt_dts_time:0.149333
- muxer <- type:audio pkt_pts:7168 pkt_pts_time:0.149333 pkt_dts:7168 pkt_dts_time:0.149333 size:181
- encoder <- type:audio frame_pts:10240 frame_pts_time:0.213333 time_base:1/48000
- encoder -> type:audio pkt_pts:8192 pkt_pts_time:0.170667 pkt_dts:8192 pkt_dts_time:0.170667
- muxer <- type:audio pkt_pts:8192 pkt_pts_time:0.170667 pkt_dts:8192 pkt_dts_time:0.170667 size:192
- encoder <- type:audio frame_pts:11264 frame_pts_time:0.234667 time_base:1/48000
- encoder -> type:audio pkt_pts:9216 pkt_pts_time:0.192 pkt_dts:9216 pkt_dts_time:0.192
- muxer <- type:audio pkt_pts:9216 pkt_pts_time:0.192 pkt_dts:9216 pkt_dts_time:0.192 size:176
- encoder <- type:audio frame_pts:12288 frame_pts_time:0.256 time_base:1/48000
- encoder -> type:audio pkt_pts:10240 pkt_pts_time:0.213333 pkt_dts:10240 pkt_dts_time:0.213333
- muxer <- type:audio pkt_pts:10240 pkt_pts_time:0.213333 pkt_dts:10240 pkt_dts_time:0.213333 size:187
- encoder <- type:audio frame_pts:13312 frame_pts_time:0.277333 time_base:1/48000
- encoder -> type:audio pkt_pts:11264 pkt_pts_time:0.234667 pkt_dts:11264 pkt_dts_time:0.234667
- muxer <- type:audio pkt_pts:11264 pkt_pts_time:0.234667 pkt_dts:11264 pkt_dts_time:0.234667 size:190
- encoder <- type:audio frame_pts:14336 frame_pts_time:0.298667 time_base:1/48000
- encoder -> type:audio pkt_pts:12288 pkt_pts_time:0.256 pkt_dts:12288 pkt_dts_time:0.256
- muxer <- type:audio pkt_pts:12288 pkt_pts_time:0.256 pkt_dts:12288 pkt_dts_time:0.256 size:181
- cur_dts is invalid (this is harmless if it occurs once at the start per stream)
- Last message repeated 88 times
- cur_dts is invalid (this is harmless if it occurs once at the start per stream)s speed=0.545x
- Last message repeated 99 times
- cur_dts is invalid (this is harmless if it occurs once at the start per stream)s speed=0.274x
- Last message repeated 99 times
- cur_dts is invalid (this is harmless if it occurs once at the start per stream)s speed=0.183x
- Last message repeated 99 times
- cur_dts is invalid (this is harmless if it occurs once at the start per stream)s speed=0.137x
- Last message repeated 99 times
- cur_dts is invalid (this is harmless if it occurs once at the start per stream)s speed=0.11x
- Last message repeated 99 times
- cur_dts is invalid (this is harmless if it occurs once at the start per stream)s speed=0.0914x
- Last message repeated 99 times
- cur_dts is invalid (this is harmless if it occurs once at the start per stream)s speed=0.0784x
- ^C Last message repeated 46 times
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement