[FFmpeg-user] maping, using two inputs

Boštjan Strojan bostjan.strojan at gmail.com
Mon Jan 30 21:22:16 CET 2012


> If you need help, please post all necessary information here on the mailing
> list, so other people with similar problems can see it in the future when the
> external resource is possibly lost.
>
> Please do not top-post here, it is considered rude, Carl Eugen
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user

how about this? Thanks.
b.

ffmpeg -i /Volumes/raid0/tv-m_novaPodobaInformativneOddaje/finals/tvm-spica-20s-reshoot_v2b_.m4a
-i /Volumes/raid0/tv-m_novaPodobaInformativneOddaje/finals/tvm-spica-20s-reshoot_v2b.mp4
-pix_fmt yuv420p -acodec copy -vcodec libx264 -preset medium -tune
film -crf 21 -threads 0
/Volumes/raid0/tv-m_novaPodobaInformativneOddaje/finals/tvm-spica-20s-reshoot_v2b_.mp4
ffmpeg version N-36981-g9e53f62 Copyright (c) 2000-2012 the FFmpeg developers
  built on Jan 22 2012 00:26:17 with clang 3.0 (tags/Apple/clang-211.12)
  configuration: --prefix=/Volumes/tempdisk/sw --enable-gpl
--enable-version3 --enable-libx264 --enable-libvo-aacenc --cc=clang
--enable-runtime-cpudetect
  libavutil      51. 34.101 / 51. 34.101
  libavcodec     53. 57.105 / 53. 57.105
  libavformat    53. 30.100 / 53. 30.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 59.101 /  2. 59.101
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  6.100 /  0.  6.100
  libpostproc    52.  0.100 / 52.  0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
'/Volumes/raid0/tv-m_novaPodobaInformativneOddaje/finals/tvm-spica-20s-reshoot_v2b_.m4a':
  Metadata:
    major_brand     : M4A
    minor_version   : 0
    compatible_brands: M4A mp42isom
    creation_time   : 1905-10-10 18:11:23
  Duration: 00:00:41.85, start: 0.000000, bitrate: 60 kb/s
    Stream #0:0(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz,
stereo, s16, 57 kb/s
    Metadata:
      creation_time   : 1905-10-10 18:11:23
      handler_name    :
Input #1, mov,mp4,m4a,3gp,3g2,mj2, from
'/Volumes/raid0/tv-m_novaPodobaInformativneOddaje/finals/tvm-spica-20s-reshoot_v2b.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    creation_time   : 1979-01-30 16:14:03
    encoder         : Lavf53.30.100
  Duration: 00:00:41.85, start: 0.000000, bitrate: 1771 kb/s
    Stream #1:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p,
1280x720 [SAR 1:1 DAR 16:9], 1709 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc
    Metadata:
      creation_time   : 1979-01-30 16:14:03
      handler_name    : VideoHandler
    Stream #1:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz,
stereo, s16, 57 kb/s
    Metadata:
      creation_time   : 1979-01-30 16:14:03
      handler_name    :
[buffer @ 0x10d816c80] w:1280 h:720 pixfmt:yuv420p tb:1/1000000
sar:1/1 sws_param:
[libx264 @ 0x7fb962059e00] using SAR=1/1
[libx264 @ 0x7fb962059e00] using cpu capabilities: MMX2 SSE2Fast SSSE3
FastShuffle SSE4.2
[libx264 @ 0x7fb962059e00] profile High, level 3.1
[libx264 @ 0x7fb962059e00] 264 - core 120 r2146 bcd41db - H.264/MPEG-4
AVC codec - Copyleft 2003-2011 - 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
trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1
chroma_qp_offset=-3 threads=12 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=21.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40
aq=1:1.00
Output #0, mp4, to
'/Volumes/raid0/tv-m_novaPodobaInformativneOddaje/finals/tvm-spica-20s-reshoot_v2b_.mp4':
  Metadata:
    major_brand     : M4A
    minor_version   : 0
    compatible_brands: M4A mp42isom
    creation_time   : 1905-10-10 18:11:23
    encoder         : Lavf53.30.100
    Stream #0:0(eng): Video: h264 (![0][0][0] / 0x0021), yuv420p,
1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 25 tbn, 25 tbc
    Metadata:
      creation_time   : 1979-01-30 16:14:03
      handler_name    : VideoHandler
    Stream #0:1(eng): Audio: aac (@[0][0][0] / 0x0040), 48000 Hz,
stereo, 57 kb/s
    Metadata:
      creation_time   : 1905-10-10 18:11:23
      handler_name    :
Stream mapping:
  Stream #1:0 -> #0:0 (h264 -> libx264)
  Stream #0:0 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame=   47 fps=  0 q=0.0 size=       0kB time=00:00:00.00 bitrate=
0.0kbits/s
frame=   67 fps= 65 q=26.0 size=     179kB time=00:00:00.34
bitrate=4292.9kbits/s
frame=   82 fps= 53 q=26.0 size=     373kB time=00:00:00.96
bitrate=3183.5kbits/s
frame=  101 fps= 49 q=26.0 size=     622kB time=00:00:01.70
bitrate=2987.6kbits/s
frame=  113 fps= 44 q=26.0 size=     772kB time=00:00:02.19
bitrate=2879.5kbits/s
frame=  131 fps= 42 q=26.0 size=    1028kB time=00:00:02.90
bitrate=2902.3kbits/s
frame=  146 fps= 41 q=26.0 size=    1257kB time=00:00:03.52
bitrate=2925.8kbits/s
frame=  166 fps= 40 q=26.0 size=    1455kB time=00:00:04.30
bitrate=2765.4kbits/s
frame=  182 fps= 39 q=23.0 size=    1715kB time=00:00:04.94
bitrate=2838.0kbits/s
frame=  211 fps= 41 q=26.0 size=    1977kB time=00:00:06.10
bitrate=2654.2kbits/s
frame=  230 fps= 41 q=26.0 size=    2123kB time=00:00:06.86
bitrate=2531.4kbits/s
frame=  249 fps= 40 q=26.0 size=    2376kB time=00:00:07.63
bitrate=2548.4kbits/s
frame=  274 fps= 41 q=26.0 size=    2621kB time=00:00:08.64
bitrate=2485.1kbits/s
frame=  305 fps= 42 q=26.0 size=    2926kB time=00:00:09.87
bitrate=2426.8kbits/s
frame=  333 fps= 42 q=26.0 size=    3203kB time=00:00:10.98
bitrate=2388.0kbits/s
frame=  360 fps= 43 q=26.0 size=    3434kB time=00:00:12.07
bitrate=2329.9kbits/s
frame=  385 fps= 43 q=26.0 size=    3619kB time=00:00:13.07
bitrate=2266.9kbits/s
frame=  409 fps= 43 q=26.0 size=    3872kB time=00:00:14.03
bitrate=2259.8kbits/s
frame=  434 fps= 43 q=26.0 size=    4137kB time=00:00:15.04
bitrate=2253.1kbits/s
frame=  452 fps= 43 q=26.0 size=    4376kB time=00:00:15.74
bitrate=2276.8kbits/s
frame=  474 fps= 43 q=26.0 size=    4665kB time=00:00:16.64
bitrate=2296.8kbits/s
frame=  496 fps= 43 q=26.0 size=    4866kB time=00:00:17.51
bitrate=2276.1kbits/s
frame=  518 fps= 43 q=26.0 size=    5098kB time=00:00:18.38
bitrate=2270.8kbits/s
frame=  537 fps= 42 q=26.0 size=    5272kB time=00:00:19.15
bitrate=2254.4kbits/s
frame=  557 fps= 42 q=26.0 size=    5521kB time=00:00:19.94
bitrate=2267.6kbits/s
frame=  575 fps= 42 q=26.0 size=    5790kB time=00:00:20.67
bitrate=2294.5kbits/s
frame=  593 fps= 42 q=26.0 size=    5954kB time=00:00:21.39
bitrate=2279.5kbits/s
frame=  612 fps= 42 q=26.0 size=    6195kB time=00:00:22.14
bitrate=2291.7kbits/s
frame=  635 fps= 42 q=26.0 size=    6439kB time=00:00:23.06
bitrate=2287.4kbits/s
frame=  654 fps= 41 q=26.0 size=    6631kB time=00:00:23.82
bitrate=2279.7kbits/s
frame=  681 fps= 42 q=26.0 size=    6797kB time=00:00:24.91
bitrate=2234.7kbits/s
frame=  704 fps= 42 q=26.0 size=    6963kB time=00:00:25.83
bitrate=2208.1kbits/s
frame=  753 fps= 43 q=26.0 size=    7194kB time=00:00:27.79
bitrate=2120.2kbits/s
frame=  849 fps= 48 q=26.0 size=    7212kB time=00:00:31.63
bitrate=1867.4kbits/s
frame=  899 fps= 49 q=26.0 size=    7232kB time=00:00:33.62
bitrate=1762.1kbits/s
frame=  916 fps= 49 q=26.0 size=    7397kB time=00:00:34.30
bitrate=1766.5kbits/s
frame=  934 fps= 48 q=26.0 size=    7622kB time=00:00:35.02
bitrate=1782.4kbits/s
frame=  953 fps= 48 q=26.0 size=    7897kB time=00:00:35.79
bitrate=1807.2kbits/s
frame=  977 fps= 48 q=26.0 size=    8098kB time=00:00:36.75
bitrate=1804.7kbits/s
frame=  999 fps= 48 q=26.0 size=    8392kB time=00:00:37.63
bitrate=1826.7kbits/s
frame= 1018 fps= 47 q=26.0 size=    8544kB time=00:00:38.40
bitrate=1822.7kbits/s
frame= 1045 fps= 45 q=-1.0 Lsize=    9208kB time=00:00:41.72
bitrate=1808.1kbits/s
video:8883kB audio:295kB global headers:0kB muxing overhead 0.327983%
[libx264 @ 0x7fb962059e00] frame I:28    Avg QP:15.17  size: 27879
[libx264 @ 0x7fb962059e00] frame P:553   Avg QP:19.34  size: 12318
[libx264 @ 0x7fb962059e00] frame B:464   Avg QP:23.22  size:  3238
[libx264 @ 0x7fb962059e00] consecutive B-frames: 32.6% 22.4%  6.3% 38.7%
[libx264 @ 0x7fb962059e00] mb I  I16..4: 44.2% 49.3%  6.5%
[libx264 @ 0x7fb962059e00] mb P  I16..4: 12.3% 17.4%  0.6%  P16..4:
33.3%  7.3%  2.7%  0.0%  0.0%    skip:26.4%
[libx264 @ 0x7fb962059e00] mb B  I16..4:  0.8%  1.3%  0.1%  B16..8:
22.3%  2.1%  0.3%  direct: 2.7%  skip:70.5%  L0:45.9% L1:49.8% BI:
4.3%
[libx264 @ 0x7fb962059e00] 8x8 transform intra:56.6% inter:88.6%
[libx264 @ 0x7fb962059e00] coded y,uvDC,uvAC intra: 32.2% 57.3% 18.3%
inter: 11.3% 22.2% 0.9%
[libx264 @ 0x7fb962059e00] i16 v,h,dc,p: 37% 26%  6% 31%
[libx264 @ 0x7fb962059e00] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 26% 22%
4%  5%  5%  5%  4%  5%
[libx264 @ 0x7fb962059e00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 27% 27% 14%
4%  7%  6%  7%  4%  3%
[libx264 @ 0x7fb962059e00] i8c dc,h,v,p: 54% 23% 15%  7%
[libx264 @ 0x7fb962059e00] Weighted P-Frames: Y:14.8% UV:10.5%
[libx264 @ 0x7fb962059e00] ref P L0: 58.8% 11.2% 18.9% 10.3%  0.8%
[libx264 @ 0x7fb962059e00] ref B L0: 78.0% 19.3%  2.8%
[libx264 @ 0x7fb962059e00] ref B L1: 95.8%  4.2%
[libx264 @ 0x7fb962059e00] kb/s:1740.70
+ set +x
+ /Users/b/Desktop/ffdrop_dev/dev/8c/xCRF21.app/../ffmpeg/qt-faststart
/Volumes/raid0/tv-m_novaPodobaInformativneOddaje/finals/tvm-spica-20s-reshoot_v2b_.mp4
/Volumes/raid0/tv-m_novaPodobaInformativneOddaje/finals/tvm-spica-20s-reshoot_v2b_.atom.mp4
ftyp          0 32
free         32 8
mdat         40 9398315
moov    9398355 30816
 patching stco atom...
 patching stco atom...
 writing ftyp atom...
 writing moov atom...
 copying rest of file...
+ set +x

Sun Jan 29 21:05:47 CET 2012

done in 0:00:25


More information about the ffmpeg-user mailing list