[FFmpeg-user] join image and mp3 with -vf
milad arabi
milad.arabi at gmail.com
Wed Feb 12 13:33:11 CET 2014
ffmpeg -i /srv/www/htdocs/site/test/concat/base.mp4 -q:v 0 -c:v libx264 -g
150 -movflags +faststart -vf
drawtext="'fontfile=/srv/www/htdocs/site/fonts/tahoma.ttf\:style=bold:text=
site.ir/channel/dog_cat': x=5: y=5: fontsize=15: fontcolor=0xffee00: box=0:
boxcolor=red at 1" -y /srv/www/htdocs/site/test/concat/22084.mp4
WARNING: no socket to connect to
ffmpeg version 1.1.2 Copyright (c) 2000-2013 the FFmpeg developers
built on Feb 6 2013 20:58:10 with gcc 4.6 (SUSE Linux)
configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls
--enable-libass --enable-libcaca --enable-libfreetype --enable-libgsm
--enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libopenjpeg --enable-libopus --enable-libschroedinger
--enable-libspeex --enable-libtheora --enable-libtwolame
--enable-libvo-aacenc --enable-libfdk-aac --enable-libvo-amrwbenc
--enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid
--enable-zlib --enable-filter=frei0r --enable-nonfree
libavutil 52. 13.100 / 52. 13.100
libavcodec 54. 86.100 / 54. 86.100
libavformat 54. 59.106 / 54. 59.106
libavdevice 54. 3.102 / 54. 3.102
libavfilter 3. 32.100 / 3. 32.100
libswscale 2. 1.103 / 2. 1.103
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
'/srv/www/htdocs/site/test/concat/base.mp4':
Metadata:
major_brand : FACE
minor_version : 1337
compatible_brands: isomavc1FACE
creation_time : 2013-12-28 21:39:56
Duration: 00:00:25.10, start: 0.000000, bitrate: 361 kb/s
Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 /
0x31637661), yuv420p, 400x300, 314 kb/s, 30 fps, 30 tbr, 30k tbn, 60 tbc
Metadata:
creation_time : 2013-12-28 21:39:56
handler_name : /tmp/fCL72F_video.264 - Imported with GPAC
0.4.6-DEV-rev3544
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono, fltp,
45 kb/s
Metadata:
creation_time : 2013-12-28 21:39:56
handler_name : /tmp/fCL72F_audio.aac - Imported with GPAC
0.4.6-DEV-rev3544
[Parsed_drawtext_0 @ 0x912ddc0] Using
"/usr/share/fonts/truetype/DejaVuSans-Bold.ttf"
[libx264 @ 0x91133a0] using cpu capabilities: MMX2 SSE2Fast SSSE3
FastShuffle SSE4.2
[libx264 @ 0x91133a0] profile High, level 2.1
[libx264 @ 0x91133a0] 264 - core 129 - H.264/MPEG-4 AVC codec - Copyleft
2003-2013 - 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=150 keyint_min=15 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
Output #0, mp4, to '/srv/www/htdocs/site/test/concat/22084.mp4':
Metadata:
major_brand : FACE
minor_version : 1337
compatible_brands: isomavc1FACE
encoder : Lavf54.59.106
Stream #0:0(und): Video: h264 ([33][0][0][0] / 0x0021), yuv420p,
400x300, q=-1--1, 15360 tbn, 30 tbc
Metadata:
creation_time : 2013-12-28 21:39:56
handler_name : /tmp/fCL72F_video.264 - Imported with GPAC
0.4.6-DEV-rev3544
Stream #0:1(und): Audio: aac ([64][0][0][0] / 0x0040), 44100 Hz, mono,
s16, 96 kb/s
Metadata:
creation_time : 2013-12-28 21:39:56
handler_name : /tmp/fCL72F_audio.aac - Imported with GPAC
0.4.6-DEV-rev3544
Stream mapping:
Stream #0:0 -> #0:0 (h264 -> libx264)
Stream #0:1 -> #0:1 (aac -> libfdk_aac)
Press [q] to stop, [?] for help
Starting second pass: moving header on top of the file4:-32:-22.-77
bitrate=N/A
frame= 750 fps=175 q=29.0 Lsize= 1402kB time=00:00:25.10 bitrate=
457.6kbits/s
video:1080kB audio:295kB subtitle:0 global headers:0kB muxing overhead
1.966383%
[libx264 @ 0x91133a0] frame I:8 Avg QP:21.02 size: 9634
[libx264 @ 0x91133a0] frame P:330 Avg QP:24.02 size: 2482
[libx264 @ 0x91133a0] frame B:412 Avg QP:28.67 size: 508
[libx264 @ 0x91133a0] consecutive B-frames: 17.5% 18.4% 28.4% 35.7%
[libx264 @ 0x91133a0] mb I I16..4: 24.7% 35.6% 39.7%
[libx264 @ 0x91133a0] mb P I16..4: 5.5% 3.9% 2.0% P16..4: 47.8% 14.8%
6.7% 0.0% 0.0% skip:19.2%
[libx264 @ 0x91133a0] mb B I16..4: 0.3% 0.2% 0.1% B16..8: 43.5% 4.0%
0.7% direct: 0.9% skip:50.2% L0:52.2% L1:43.6% BI: 4.2%
[libx264 @ 0x91133a0] 8x8 transform intra:34.2% inter:56.6%
[libx264 @ 0x91133a0] coded y,uvDC,uvAC intra: 37.3% 57.3% 10.2% inter:
11.1% 16.0% 0.4%
[libx264 @ 0x91133a0] i16 v,h,dc,p: 21% 36% 15% 28%
[libx264 @ 0x91133a0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 18% 23% 31% 5% 3%
4% 3% 6% 6%
[libx264 @ 0x91133a0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 22% 19% 15% 7% 8%
8% 7% 8% 6%
[libx264 @ 0x91133a0] i8c dc,h,v,p: 60% 20% 17% 4%
[libx264 @ 0x91133a0] Weighted P-Frames: Y:5.5% UV:1.2%
[libx264 @ 0x91133a0] ref P L0: 71.5% 10.5% 14.0% 3.8% 0.2%
[libx264 @ 0x91133a0] ref B L0: 92.2% 7.2% 0.6%
[libx264 @ 0x91133a0] ref B L1: 95.8% 4.2%
[libx264 @ 0x91133a0] kb/s:353.64
Could you also provide the command line and console output
> for 1.1.2?
>
More information about the ffmpeg-user
mailing list