| 1 | ➜ ffmpeg git:(master) ✗ ./ffmpeg -v 9 -loglevel 99 -vcodec h264 -f v4l2 -i /dev/video0 -vcodec copy -y out.mkv
|
|---|
| 2 | ffmpeg version N-54891-g419a3d8 Copyright (c) 2000-2013 the FFmpeg developers
|
|---|
| 3 | built on Jul 22 2013 16:49:19 with gcc 4.7 (Ubuntu/Linaro 4.7.2-2ubuntu1)
|
|---|
| 4 | configuration: --enable-indev=alsa
|
|---|
| 5 | libavutil 52. 40.100 / 52. 40.100
|
|---|
| 6 | libavcodec 55. 18.102 / 55. 18.102
|
|---|
| 7 | libavformat 55. 12.102 / 55. 12.102
|
|---|
| 8 | libavdevice 55. 3.100 / 55. 3.100
|
|---|
| 9 | libavfilter 3. 81.102 / 3. 81.102
|
|---|
| 10 | libswscale 2. 4.100 / 2. 4.100
|
|---|
| 11 | libswresample 0. 17.103 / 0. 17.103
|
|---|
| 12 | Splitting the commandline.
|
|---|
| 13 | Reading option '-v' ... matched as option 'v' (set logging level) with argument '9'.
|
|---|
| 14 | Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument '99'.
|
|---|
| 15 | Reading option '-vcodec' ... matched as option 'vcodec' (force video codec ('copy' to copy stream)) with argument 'h264'.
|
|---|
| 16 | Reading option '-f' ... matched as option 'f' (force format) with argument 'v4l2'.
|
|---|
| 17 | Reading option '-i' ... matched as input file with argument '/dev/video0'.
|
|---|
| 18 | Reading option '-vcodec' ... matched as option 'vcodec' (force video codec ('copy' to copy stream)) with argument 'copy'.
|
|---|
| 19 | Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
|
|---|
| 20 | Reading option 'out.mkv' ... matched as output file.
|
|---|
| 21 | Finished splitting the commandline.
|
|---|
| 22 | Parsing a group of options: global .
|
|---|
| 23 | Applying option v (set logging level) with argument 9.
|
|---|
| 24 | Applying option y (overwrite output files) with argument 1.
|
|---|
| 25 | Successfully parsed a group of options.
|
|---|
| 26 | Parsing a group of options: input file /dev/video0.
|
|---|
| 27 | Applying option vcodec (force video codec ('copy' to copy stream)) with argument h264.
|
|---|
| 28 | Applying option f (force format) with argument v4l2.
|
|---|
| 29 | Successfully parsed a group of options.
|
|---|
| 30 | Opening an input file: /dev/video0.
|
|---|
| 31 | [video4linux2,v4l2 @ 0x28a69c0] fd:3 capabilities:4000001
|
|---|
| 32 | [video4linux2,v4l2 @ 0x28a69c0] Current input_channel: 0, input_name: Camera 1
|
|---|
| 33 | [video4linux2,v4l2 @ 0x28a69c0] Querying the device for the current frame size
|
|---|
| 34 | [video4linux2,v4l2 @ 0x28a69c0] Setting frame size to 1920x1080
|
|---|
| 35 | [video4linux2,v4l2 @ 0x28a69c0] All info found
|
|---|
| 36 | Input #0, video4linux2,v4l2, from '/dev/video0':
|
|---|
| 37 | Duration: N/A, start: 676559.814868, bitrate: N/A
|
|---|
| 38 | 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
|
|---|
| 39 | Successfully opened the file.
|
|---|
| 40 | Parsing a group of options: output file out.mkv.
|
|---|
| 41 | Applying option vcodec (force video codec ('copy' to copy stream)) with argument copy.
|
|---|
| 42 | Successfully parsed a group of options.
|
|---|
| 43 | Opening an output file: out.mkv.
|
|---|
| 44 | Successfully opened the file.
|
|---|
| 45 | Output #0, matroska, to 'out.mkv':
|
|---|
| 46 | Metadata:
|
|---|
| 47 | encoder : Lavf55.12.102
|
|---|
| 48 | 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
|
|---|
| 49 | Stream mapping:
|
|---|
| 50 | Stream #0:0 -> #0:0 (copy)
|
|---|
| 51 | Press [q] to stop, [?] for help
|
|---|
| 52 | Last message repeated 9 times 1kB time=00:00:00.00 bitrate=N/A
|
|---|
| 53 | [matroska @ 0x2979760] end duration = 0
|
|---|
| 54 | frame= 0 fps=0.0 q=-1.0 Lsize= 1kB time=00:00:00.00 bitrate=N/A
|
|---|
| 55 | video:0kB audio:0kB subtitle:0 global headers:0kB muxing overhead inf%
|
|---|
| 56 | Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)
|
|---|
| 57 | 0 frames successfully decoded, 0 decoding errors
|
|---|
| 58 | [AVIOContext @ 0x297a140] Statistics: 14 seeks, 11 writeouts
|
|---|