| 1 | ➜ ffmpeg git:(master) ✗ ./ffmpeg -report -v 9 -loglevel 99 -vcodec h264 -f v4l2 -i /dev/video0 -vcodec copy -y -t 10 out.mkv
|
|---|
| 2 | ffmpeg started on 2013-08-18 at 11:11:31
|
|---|
| 3 | Report written to "ffmpeg-20130818-111131.log"
|
|---|
| 4 | ffmpeg version N-55607-g2c1a215 Copyright (c) 2000-2013 the FFmpeg developers
|
|---|
| 5 | built on Aug 18 2013 10:35:18 with gcc 4.7 (Ubuntu/Linaro 4.7.2-2ubuntu1)
|
|---|
| 6 | configuration: --enable-indev=alsa
|
|---|
| 7 | libavutil 52. 42.100 / 52. 42.100
|
|---|
| 8 | libavcodec 55. 28.100 / 55. 28.100
|
|---|
| 9 | libavformat 55. 13.103 / 55. 13.103
|
|---|
| 10 | libavdevice 55. 3.100 / 55. 3.100
|
|---|
| 11 | libavfilter 3. 82.100 / 3. 82.100
|
|---|
| 12 | libswscale 2. 5.100 / 2. 5.100
|
|---|
| 13 | libswresample 0. 17.103 / 0. 17.103
|
|---|
| 14 | Splitting the commandline.
|
|---|
| 15 | Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'.
|
|---|
| 16 | Reading option '-v' ... matched as option 'v' (set logging level) with argument '9'.
|
|---|
| 17 | Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument '99'.
|
|---|
| 18 | Reading option '-vcodec' ... matched as option 'vcodec' (force video codec ('copy' to copy stream)) with argument 'h264'.
|
|---|
| 19 | Reading option '-f' ... matched as option 'f' (force format) with argument 'v4l2'.
|
|---|
| 20 | Reading option '-i' ... matched as input file with argument '/dev/video0'.
|
|---|
| 21 | Reading option '-vcodec' ... matched as option 'vcodec' (force video codec ('copy' to copy stream)) with argument 'copy'.
|
|---|
| 22 | Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
|
|---|
| 23 | Reading option '-t' ... matched as option 't' (record or transcode "duration" seconds of audio/video) with argument '10'.
|
|---|
| 24 | Reading option 'out.mkv' ... matched as output file.
|
|---|
| 25 | Finished splitting the commandline.
|
|---|
| 26 | Parsing a group of options: global .
|
|---|
| 27 | Applying option report (generate a report) with argument 1.
|
|---|
| 28 | Applying option v (set logging level) with argument 9.
|
|---|
| 29 | Applying option y (overwrite output files) with argument 1.
|
|---|
| 30 | Successfully parsed a group of options.
|
|---|
| 31 | Parsing a group of options: input file /dev/video0.
|
|---|
| 32 | Applying option vcodec (force video codec ('copy' to copy stream)) with argument h264.
|
|---|
| 33 | Applying option f (force format) with argument v4l2.
|
|---|
| 34 | Successfully parsed a group of options.
|
|---|
| 35 | Opening an input file: /dev/video0.
|
|---|
| 36 | [video4linux2,v4l2 @ 0x289f560] fd:4 capabilities:4000001
|
|---|
| 37 | [video4linux2,v4l2 @ 0x289f560] Current input_channel: 0, input_name: Camera 1
|
|---|
| 38 | [video4linux2,v4l2 @ 0x289f560] Querying the device for the current frame size
|
|---|
| 39 | [video4linux2,v4l2 @ 0x289f560] Setting frame size to 1920x1080
|
|---|
| 40 | [video4linux2,v4l2 @ 0x289f560] All info found
|
|---|
| 41 | Input #0, video4linux2,v4l2, from '/dev/video0':
|
|---|
| 42 | Duration: N/A, start: 713728.380526, bitrate: N/A
|
|---|
| 43 | Stream #0:0, 8, 1/1000000: Video: h264 (Constrained Baseline), yuvj420p, 1920x1080 [SAR 1:1 DAR 16:9], 1/60, -5 kb/s, 30 fps, 30 tbr, 1000k tbn, 60 tbc
|
|---|
| 44 | Successfully opened the file.
|
|---|
| 45 | Parsing a group of options: output file out.mkv.
|
|---|
| 46 | Applying option vcodec (force video codec ('copy' to copy stream)) with argument copy.
|
|---|
| 47 | Applying option t (record or transcode "duration" seconds of audio/video) with argument 10.
|
|---|
| 48 | Successfully parsed a group of options.
|
|---|
| 49 | Opening an output file: out.mkv.
|
|---|
| 50 | Successfully opened the file.
|
|---|
| 51 | Output #0, matroska, to 'out.mkv':
|
|---|
| 52 | Metadata:
|
|---|
| 53 | encoder : Lavf55.13.103
|
|---|
| 54 | Stream #0:0, 0, 1/1000: Video: h264 (H264 / 0x34363248), yuvj420p, 1920x1080 [SAR 1:1 DAR 16:9], 1/1000000, q=2-31, -5 kb/s, 30 fps, 1k tbn, 1000k tbc
|
|---|
| 55 | Stream mapping:
|
|---|
| 56 | Stream #0:0 -> #0:0 (copy)
|
|---|
| 57 | Press [q] to stop, [?] for help
|
|---|
| 58 | [matroska @ 0x28a07a0] end duration = 01kB time=00:00:00.00 bitrate=N/A
|
|---|
| 59 | frame= 0 fps=0.0 q=-1.0 Lsize= 1kB time=00:00:00.00 bitrate=N/A
|
|---|
| 60 | video:0kB audio:0kB subtitle:0 global headers:0kB muxing overhead inf%
|
|---|
| 61 | Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)
|
|---|
| 62 | 0 frames successfully decoded, 0 decoding errors
|
|---|
| 63 | [AVIOContext @ 0x28a0d20] Statistics: 14 seeks, 11 writeouts
|
|---|
| 64 |
|
|---|