Advertisement
Guest User

Untitled

a guest
Dec 15th, 2012
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.83 KB | None | 0 0
  1. ffmpeg -vc 1 -f v4l2 -i /dev/video0 -aspect 4:3 -f alsa -i default -ac 2 -t 02:45:00 -c:v libx264 -crf 15 -preset medium -tune film -c:a flac -s 720x480 -vf yadif=0,crop=iw:ih-20:0:10,scale=720:480 -f matroska output.mkv
  2.  
  3. # CAPTURE OUTPUT #
  4. ffmpeg version git-2012-12-15-2d74dea Copyright (c) 2000-2012 the FFmpeg developers
  5. built on Dec 15 2012 17:37:47 with gcc 4.7.2 (GCC)
  6. configuration: --prefix=/usr --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-x11grab
  7. libavutil 52. 12.100 / 52. 12.100
  8. libavcodec 54. 80.100 / 54. 80.100
  9. libavformat 54. 49.102 / 54. 49.102
  10. libavdevice 54. 3.102 / 54. 3.102
  11. libavfilter 3. 27.102 / 3. 27.102
  12. libswscale 2. 1.103 / 2. 1.103
  13. libswresample 0. 17.102 / 0. 17.102
  14. libpostproc 52. 2.100 / 52. 2.100
  15. This option is deprecated, use -channel.
  16. [video4linux2,v4l2 @ 0x182b3c0] Estimating duration from bitrate, this may be inaccurate
  17. Input #0, video4linux2,v4l2, from '/dev/video0':
  18. Duration: N/A, start: 1355612347.425436, bitrate: 165722 kb/s
  19. Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 720x480, 165722 kb/s, 29.97 tbr, 1000k tbn, 29.97 tbc
  20. [alsa @ 0x182c1e0] Estimating duration from bitrate, this may be inaccurate
  21. Guessed Channel Layout for Input Stream #1.0 : stereo
  22. Input #1, alsa, from 'default':
  23. Duration: N/A, start: 1355612347.447513, bitrate: 1536 kb/s
  24. Stream #1:0: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
  25. File '/mnt/hd/home-videos/captured/test.mkv' already exists. Overwrite ? [y/N] y
  26. using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
  27. [libx264 @ 0x187a200] profile High 4:2:2, level 3.0, 4:2:2 8-bit
  28. [libx264 @ 0x187a200] 264 - core 129 r2230 1cffe9f - H.264/MPEG-4 AVC codec - Copyleft 2003-2012 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:-1:-1 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.15 mixed_ref=1 me_range=16 chroma_me=1 trelli
  29. s=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-3 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
  30. keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=15.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
  31. Output #0, matroska, to '/mnt/hd/home-videos/captured/test.mkv':
  32. Metadata:
  33. encoder : Lavf54.49.102
  34. Stream #0:0: Video: h264, yuv422p, 720x480, q=-1--1, 1k tbn, 29.97 tbc
  35. Stream #0:1: Audio: flac, 48000 Hz, stereo, s16, 128 kb/s
  36. Stream mapping:
  37. Stream #0:0 -> #0:0 (rawvideo -> libx264)
  38. Stream #1:0 -> #0:1 (pcm_s16le -> flac)
  39. Press [q] to stop, [?] for help
  40. frame= 1984 fps= 30 q=32766.0 Lsize= 56201kB time=00:01:06.93 bitrate=6878.5kbits/s
  41. video:51941kB audio:4240kB subtitle:0 global headers:0kB muxing overhead 0.035286%
  42. [libx264 @ 0x187a200] frame I:9 Avg QP:10.98 size: 69308
  43. [libx264 @ 0x187a200] frame P:957 Avg QP:14.90 size: 36969
  44. [libx264 @ 0x187a200] frame B:1018 Avg QP:14.18 size: 16880
  45. [libx264 @ 0x187a200] consecutive B-frames: 13.7% 53.7% 0.2% 32.5%
  46. [libx264 @ 0x187a200] mb I I16..4: 33.5% 37.8% 28.7%
  47. [libx264 @ 0x187a200] mb P I16..4: 1.0% 12.4% 4.3% P16..4: 22.1% 26.8% 14.9% 0.0% 0.0% skip:18.5%
  48. [libx264 @ 0x187a200] mb B I16..4: 0.0% 2.7% 0.7% B16..8: 17.0% 10.0% 3.9% direct:18.0% skip:47.6% L0:28.6% L1:18.0% BI:53.4%
  49. [libx264 @ 0x187a200] 8x8 transform intra:70.4% inter:49.2%
  50. [libx264 @ 0x187a200] coded y,uvDC,uvAC intra: 92.1% 95.7% 86.8% inter: 52.7% 58.4% 21.7%
  51. [libx264 @ 0x187a200] i16 v,h,dc,p: 89% 6% 3% 2%
  52. [libx264 @ 0x187a200] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 20% 9% 23% 6% 10% 9% 7% 8% 8%
  53. [libx264 @ 0x187a200] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 11% 11% 8% 13% 11% 11% 9% 9%
  54. [libx264 @ 0x187a200] i8c dc,h,v,p: 53% 12% 23% 12%
  55. [libx264 @ 0x187a200] Weighted P-Frames: Y:4.7% UV:2.1%
  56. [libx264 @ 0x187a200] ref P L0: 39.3% 12.0% 30.3% 18.0% 0.3%
  57. [libx264 @ 0x187a200] ref B L0: 73.1% 26.9%
  58. [libx264 @ 0x187a200] kb/s:6350.66
  59.  
  60.  
  61. # CONVERT TO MPG OUTPUT #
  62. ****** Converting clip-test-001.mkv ******
  63. ffmpeg version git-2012-12-15-2d74dea Copyright (c) 2000-2012 the FFmpeg developers
  64. built on Dec 15 2012 17:37:47 with gcc 4.7.2 (GCC)
  65. configuration: --prefix=/usr --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-x11grab
  66. libavutil 52. 12.100 / 52. 12.100
  67. libavcodec 54. 80.100 / 54. 80.100
  68. libavformat 54. 49.102 / 54. 49.102
  69. libavdevice 54. 3.102 / 54. 3.102
  70. libavfilter 3. 27.102 / 3. 27.102
  71. libswscale 2. 1.103 / 2. 1.103
  72. libswresample 0. 17.102 / 0. 17.102
  73. libpostproc 52. 2.100 / 52. 2.100
  74. Input #0, matroska,webm, from 'clip-test-001.mkv':
  75. Metadata:
  76. ENCODER : Lavf54.49.102
  77. Duration: 00:00:12.19, start: 0.000000, bitrate: 10508 kb/s
  78. Stream #0:0: Video: h264 (High 4:2:2), yuv422p, 720x480, SAR 1:1 DAR 3:2, 29.97 fps, 29.97 tbr, 1k tbn, 59.94 tbc (default)
  79. Stream #0:1: Audio: flac, 48000 Hz, stereo, s16 (default)
  80. File 'clip-test-001.mpg' already exists. Overwrite ? [y/N] y
  81. Output #0, dvd, to 'clip-test-001.mpg':
  82. Metadata:
  83. encoder : Lavf54.49.102
  84. Stream #0:0: Video: mpeg2video, yuv420p, 720x480 [SAR 8:9 DAR 4:3], q=2-31, 6000 kb/s, 90k tbn, 29.97 tbc (default)
  85. Stream #0:1: Audio: ac3, 48000 Hz, stereo, fltp, 448 kb/s (default)
  86. Stream mapping:
  87. Stream #0:0 -> #0:0 (h264 -> mpeg2video)
  88. Stream #0:1 -> #0:1 (flac -> ac3)
  89. Press [q] to stop, [?] for help
  90. frame= 365 fps=248 q=2.0 Lsize= 9518kB time=00:00:12.14 bitrate=6419.8kbits/s dup=35 drop=0
  91. video:8680kB audio:656kB subtitle:0 global headers:0kB muxing overhead 1.946191%
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement