[FFmpeg-trac] #993(undetermined:new): ffmpeg / ffplay fails to correctly decode interlaced h264 (MTS container) when using default number of threads
FFmpeg
trac at avcodec.org
Sat Feb 11 02:27:54 CET 2012
#993: ffmpeg / ffplay fails to correctly decode interlaced h264 (MTS container)
when using default number of threads
-------------------------------------+-------------------------------------
Reporter: ls | Owner:
Type: defect | Status: new
Priority: normal | Component:
Version: git-master | undetermined
Keywords: | Resolution:
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
Comment (by ls):
The full ffmpeg output is below. I will provide a sample within the next
days. My current sample cannot be uploaded due to privacy (participants of
an experiment).
{{{
~/ffmpeg-trunk/bin/ffmpeg -i '00001.MTS' -async 1 -codec:v libx264
-preset ultrafast -crf 20 -codec:a libfaac -ab 256k '00001.mp4'
ffmpeg version git-2012-02-10-394d41e Copyright (c) 2000-2012 the FFmpeg
developers
built on Feb 11 2012 00:00:48 with gcc 4.6.1
configuration: --prefix=/home/ls/ffmpeg-trunk --enable-shared --disable-
static --enable-gpl --enable-nonfree --enable-libmp3lame --enable-libx264
--enable-libxvid --enable-sram --cpu=core2 --enable-hwaccel=h264_vaapi
--enable-hwaccel=mpeg2_vaapi --enable-hwaccel=mpeg4_vaapi --enable-libfaac
--enable-x11grab --disable-ffserver --enable-libass --enable-libfreetype
libavutil 51. 39.100 / 51. 39.100
libavcodec 54. 1.100 / 54. 1.100
libavformat 54. 0.100 / 54. 0.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 62.100 / 2. 62.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 6.100 / 0. 6.100
libpostproc 52. 0.100 / 52. 0.100
Input #0, mpegts, from '00001.MTS':
Duration: 00:03:01.51, start: 1.000033, bitrate: 17122 kb/s
Program 1
Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p,
1920x1080 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 50 tbc
Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo,
s16, 256 kb/s
Stream #0:2[0x1200]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] /
0x0090)
File '00001.mp4' already exists. Overwrite ? [y/N] y
w:1920 h:1080 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param:
[libx264 @ 0x146eb20] using SAR=1/1
[libx264 @ 0x146eb20] using cpu capabilities: MMX2 SSE2Fast SSSE3
FastShuffle SSE4.2
[libx264 @ 0x146eb20] profile Constrained Baseline, level 4.2
[libx264 @ 0x146eb20] 264 - core 120 r0+2 a3f4407 - H.264/MPEG-4 AVC codec
- Copyleft 2003-2011 - http://www.videolan.org/x264.html - options:
cabac=0 ref=1 deblock=0:0:0 analyse=0:0 me=dia subme=0 psy=1
psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0
cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=6
sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0
constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=25
scenecut=0 intra_refresh=0 rc=crf mbtree=0 crf=20.0 qcomp=0.60 qpmin=0
qpmax=69 qpstep=4 ip_ratio=1.40 aq=0
Output #0, mp4, to '00001.mp4':
Metadata:
encoder : Lavf54.0.100
Stream #0:0: Video: h264 (![0][0][0] / 0x0021), yuv420p, 1920x1080
[SAR 1:1 DAR 16:9], q=-1--1, 50 tbn, 50 tbc
Stream #0:1: Audio: aac (@[0][0][0] / 0x0040), 48000 Hz, stereo, s16,
256 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (h264 -> libx264)
Stream #0:1 -> #0:1 (ac3 -> libfaac)
Press [q] to stop, [?] for help
frame= 1579 fps= 62 q=-1.0 Lsize= 59700kB time=00:00:31.08
bitrate=15734.1kbits/s dup=790 drop=0
video:59046kB audio:627kB global headers:0kB muxing overhead 0.044877%
[libx264 @ 0x146eb20] frame I:7 Avg QP:17.43 size:254007
[libx264 @ 0x146eb20] frame P:1572 Avg QP:20.39 size: 37331
[libx264 @ 0x146eb20] mb I I16..4: 100.0% 0.0% 0.0%
[libx264 @ 0x146eb20] mb P I16..4: 8.1% 0.0% 0.0% P16..4: 26.0% 0.0%
0.0% 0.0% 0.0% skip:65.9%
[libx264 @ 0x146eb20] coded y,uvDC,uvAC intra: 43.3% 45.6% 12.0% inter:
14.9% 12.1% 0.4%
[libx264 @ 0x146eb20] i16 v,h,dc,p: 36% 24% 26% 14%
[libx264 @ 0x146eb20] i8c dc,h,v,p: 49% 20% 26% 5%
[libx264 @ 0x146eb20] kb/s:15316.61
}}}
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/993#comment:2>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list