[FFmpeg-user] Is this a bug? (1)
Francois Visagie
francois.visagie at gmail.com
Sun May 26 10:49:40 CEST 2013
Hi All,
When specifying a container DAR for MKV, it does not take effect when muxing
copied streams, only when the video is also being re-encoded. Is this a bug?
C:\Users\fvisagie\Videos\Home Videos\Testing\MKV>ffmpeg -i DV.avi -codec:v
copy -codec:a copy -vf setdar=dar=4/3 darmuxed.mkv
ffmpeg version N-53380-g0fb7fef Copyright (c) 2000-2013 the FFmpeg
developers
built on May 23 2013 14:19:35 with gcc 4.7.3 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
--enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libcaca
--enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmodplug
--enable-libmp3lame --ena
ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
--enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr
--enable-libsp
eex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc
--enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264
--enable-libxavs --
enable-libxvid --enable-zlib
libavutil 52. 33.100 / 52. 33.100
libavcodec 55. 11.100 / 55. 11.100
libavformat 55. 7.100 / 55. 7.100
libavdevice 55. 1.101 / 55. 1.101
libavfilter 3. 69.101 / 3. 69.101
libswscale 2. 3.100 / 2. 3.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 3.100 / 52. 3.100
[avi @ 0243b200] non-interleaved AVI
Guessed Channel Layout for Input Stream #0.1 : stereo
Input #0, avi, from 'DV.avi':
Duration: 00:00:02.00, start: 0.000000, bitrate: 49663 kb/s
Stream #0:0: Video: lagarith (LAGS / 0x5347414C), yuv420p, 720x576, 25
tbr, 25 tbn, 25 tbc
Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, stereo,
s16, 1536 kb/s
Output #0, matroska, to 'darmuxed.mkv':
Metadata:
encoder : Lavf55.7.100
Stream #0:0: Video: lagarith (LAGS / 0x5347414C), yuv420p, 720x576,
q=2-31, 1k tbn, 25 tbc
Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, stereo,
1536 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame= 50 fps=0.0 q=-1.0 Lsize= 12116kB time=00:00:02.00
bitrate=49627.4kbits/s
video:11738kB audio:375kB subtitle:0 global headers:0kB muxing overhead
0.026750%
C:\Users\fvisagie\Videos\Home Videos\Testing\MKV>ffmpeg -i DV.avi -codec:a
copy -vf setdar=dar=4/3 darencoded.mkv
ffmpeg version N-53380-g0fb7fef Copyright (c) 2000-2013 the FFmpeg
developers
built on May 23 2013 14:19:35 with gcc 4.7.3 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
--enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libcaca
--enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmodplug
--enable-libmp3lame --ena
ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
--enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr
--enable-libsp
eex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc
--enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264
--enable-libxavs --
enable-libxvid --enable-zlib
libavutil 52. 33.100 / 52. 33.100
libavcodec 55. 11.100 / 55. 11.100
libavformat 55. 7.100 / 55. 7.100
libavdevice 55. 1.101 / 55. 1.101
libavfilter 3. 69.101 / 3. 69.101
libswscale 2. 3.100 / 2. 3.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 3.100 / 52. 3.100
[avi @ 023b79e0] non-interleaved AVI
Guessed Channel Layout for Input Stream #0.1 : stereo
Input #0, avi, from 'DV.avi':
Duration: 00:00:02.00, start: 0.000000, bitrate: 49663 kb/s
Stream #0:0: Video: lagarith (LAGS / 0x5347414C), yuv420p, 720x576, 25
tbr, 25 tbn, 25 tbc
Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, stereo,
s16, 1536 kb/s
[libx264 @ 03e0a660] using SAR=16/15
[libx264 @ 03e0a660] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 03e0a660] profile High, level 3.0
[libx264 @ 03e0a660] 264 - core 133 r2334 a3ac64b - H.264/MPEG-4 AVC codec -
Copyleft 2003-2013 - http://www.videolan.org/x264.html - options: cabac=1
ref=3 deb
lock=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 chro
ma_qp_offset=-2 threads=6 lookahead_threads=1 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=23.0
qcomp=0.60 qpmin=
0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, matroska, to 'darencoded.mkv':
Metadata:
encoder : Lavf55.7.100
Stream #0:0: Video: h264 (libx264) (H264 / 0x34363248), yuv420p, 720x576
[SAR 16:15 DAR 4:3], q=-1--1, 1k tbn, 25 tbc
Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, stereo,
1536 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (lagarith -> libx264)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame= 50 fps= 37 q=-1.0 Lsize= 669kB time=00:00:02.00
bitrate=2739.4kbits/s
video:292kB audio:375kB subtitle:0 global headers:0kB muxing overhead
0.246353%
[libx264 @ 03e0a660] frame I:1 Avg QP:24.92 size: 27683
[libx264 @ 03e0a660] frame P:23 Avg QP:25.26 size: 9327
[libx264 @ 03e0a660] frame B:26 Avg QP:28.09 size: 2163
[libx264 @ 03e0a660] consecutive B-frames: 2.0% 80.0% 18.0% 0.0%
[libx264 @ 03e0a660] mb I I16..4: 20.1% 71.2% 8.6%
[libx264 @ 03e0a660] mb P I16..4: 0.3% 0.7% 0.0% P16..4: 47.1% 14.2%
11.2% 0.0% 0.0% skip:26.4%
[libx264 @ 03e0a660] mb B I16..4: 0.0% 0.0% 0.0% B16..8: 47.4% 3.6%
0.8% direct: 1.1% skip:47.1% L0:44.9% L1:48.9% BI: 6.2%
[libx264 @ 03e0a660] 8x8 transform intra:70.2% inter:74.0%
[libx264 @ 03e0a660] coded y,uvDC,uvAC intra: 68.5% 77.8% 19.5% inter: 15.3%
26.1% 0.3%
[libx264 @ 03e0a660] i16 v,h,dc,p: 9% 37% 7% 47%
[libx264 @ 03e0a660] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 9% 34% 22% 4% 5% 4%
7% 4% 12%
[libx264 @ 03e0a660] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 38% 12% 5% 4% 4%
8% 3% 11%
[libx264 @ 03e0a660] i8c dc,h,v,p: 40% 36% 18% 6%
[libx264 @ 03e0a660] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 03e0a660] ref P L0: 52.8% 14.4% 22.2% 10.6%
[libx264 @ 03e0a660] ref B L0: 64.4% 34.4% 1.2%
[libx264 @ 03e0a660] ref B L1: 96.7% 3.3%
[libx264 @ 03e0a660] kb/s:1193.74
Thanks,
Francois
Francois Visagie
T: +27 (83) 326-4358
F: +27 (86) 511-3490
E: francois.visagie at gmail.com
More information about the ffmpeg-user
mailing list