[FFmpeg-user] (Still) Get a tearing noise by using filter asyncts

Frank Häfemeier ffmpeg at frank.haefemeier.eu
Mon Jan 14 21:38:03 CET 2013


Am Sonntag, den 13.01.2013, 22:21 +0100 schrieb Frank Häfemeier:
> Am Sonntag, den 13.01.2013, 20:59 +0000 schrieb Carl Eugen Hoyos:
> > Frank Häfemeier <ffmpeg <at> frank.haefemeier.eu> writes:
> > 
> > > I update to the GIT version N-48785-g2ea3f37
> > 
> > Please test current git head, changes that may 
> > affect your test-case have been made since yesterday.
> 
> Wow, a real agile project. My version is only 15h old...
> Yes, I will test it and will keep you informed.
I test it with latest GIT version (N-48882-g922332e) and still get the
same result. Please find attached a sample TS file and two converted
files with and without the noise at beginning.

ffmpeg -benchmark -y -i noise-test-sample.ts  -map 0:0  -preset slow
-tune psnr -crf 18   -map 0:1 -filter:a:0
volume=2.037,asyncts=first_pts=0 -ac:1 2 -b:a:0 256000
noise-test-asyncts.mp4
ffmpeg version N-48882-g922332e Copyright (c) 2000-2013 the FFmpeg
developers
  built on Jan 14 2013 21:19:20 with gcc 4.7.2 (GCC) 20120921 (Red Hat
4.7.2-2)
  configuration: --prefix=/home/frank/software/test --enable-libdc1394
--enable-libfreetype --enable-libgsm --enable-libmp3lame
--enable-libopenjpeg --enable-librtmp --enable-libschroedinger
--enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx
--enable-libx264 --enable-libxvid --enable-avresample --enable-openssl
--enable-gnutls --enable-libfaac --enable-libpulse --enable-x11grab
--enable-avfilter --enable-libass --enable-libmodplug --enable-postproc
--enable-pthreads --enable-gpl --enable-nonfree --enable-shared
--extra-cflags=-I/home/frank/software/test/include
--extra-ldflags=-L/home/frank/software/test/lib
  libavutil      52. 14.100 / 52. 14.100
  libavcodec     54. 89.100 / 54. 89.100
  libavformat    54. 59.107 / 54. 59.107
  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
[h264 @ 0x19b1ec0] mmco: unref short failure
    Last message repeated 2 times
Input #0, mpegts, from 'noise-test-sample.ts':
  Duration: 00:00:02.30, start: 1.400000, bitrate: 6238 kb/s
  Program 1 
    Metadata:
      service_name    : Service01
      service_provider: FFmpeg
    Stream #0:0[0x100]: Video: h264 (Main) ([27][0][0][0] / 0x001B),
yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 100 tbc
    Stream #0:1[0x101](deu): Audio: ac3 ([129][0][0][0] / 0x0081), 48000
Hz, stereo, fltp, 256 kb/s
[libx264 @ 0x19dfd40] using SAR=1/1
[libx264 @ 0x19dfd40] using cpu capabilities: MMX2 SSE2Fast SSSE3
FastShuffle SSE4.2 AVX
[libx264 @ 0x19dfd40] profile High, level 3.2
[libx264 @ 0x19dfd40] 264 - core 129 r2245 bc13772 - H.264/MPEG-4 AVC
codec - Copyleft 2003-2013 - http://www.videolan.org/x264.html -
options: cabac=1 ref=5 deblock=1:0:0 analyse=0x3:0x113 me=umh subme=8
psy=0 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0
deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=18
lookahead_threads=3 sliced_threads=0 nr=0 decimate=1 interlaced=0
bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=2
b_bias=0 direct=3 weightb=1 open_gop=0 weightp=2 keyint=250
keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=50 rc=crf
mbtree=1 crf=18.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40
aq=1:0.00
Output #0, mp4, to 'noise-test-asyncts.mp4':
  Metadata:
    encoder         : Lavf54.59.107
    Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 1280x720
[SAR 1:1 DAR 16:9], q=-1--1, 12800 tbn, 50 tbc
    Stream #0:1(deu): Audio: aac ([64][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
[h264 @ 0x3c26b60] mmco: unref short failure
    Last message repeated 1 times
[h264 @ 0x3e94e20] mmco: unref short failure
frame=  116 fps= 29 q=-1.0 Lsize=     833kB time=00:00:02.28
bitrate=2992.7kbits/s dup=30 drop=0    
video:789kB audio:40kB subtitle:0 global headers:0kB muxing overhead
0.472015%
[libx264 @ 0x19dfd40] frame I:1     Avg QP:18.55  size: 13408
[libx264 @ 0x19dfd40] frame P:30    Avg QP:20.89  size: 23743
[libx264 @ 0x19dfd40] frame B:85    Avg QP:25.40  size:   959
[libx264 @ 0x19dfd40] consecutive B-frames:  0.9%  1.7%  7.8% 89.7%
[libx264 @ 0x19dfd40] mb I  I16..4: 94.1%  3.2%  2.7%
[libx264 @ 0x19dfd40] mb P  I16..4: 10.5%  4.4%  1.0%  P16..4: 27.7%
14.2%  7.6%  0.0%  0.0%    skip:34.6%
[libx264 @ 0x19dfd40] mb B  I16..4:  0.3%  0.0%  0.0%  B16..8: 10.9%
0.9%  0.1%  direct: 0.9%  skip:86.9%  L0:48.8% L1:26.6% BI:24.6%
[libx264 @ 0x19dfd40] 8x8 transform intra:23.1% inter:54.9%
[libx264 @ 0x19dfd40] direct mvs  spatial:88.2% temporal:11.8%
[libx264 @ 0x19dfd40] coded y,uvDC,uvAC intra: 22.2% 41.1% 6.1% inter:
10.2% 12.6% 2.9%
[libx264 @ 0x19dfd40] i16 v,h,dc,p: 21% 34% 14% 31%
[libx264 @ 0x19dfd40] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu:  3% 25% 66%  1%  1%
0%  2%  1%  2%
[libx264 @ 0x19dfd40] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu:  7% 47% 19%  2%  3%
2%  8%  2% 11%
[libx264 @ 0x19dfd40] i8c dc,h,v,p: 36% 48%  9%  7%
[libx264 @ 0x19dfd40] Weighted P-Frames: Y:66.7% UV:66.7%
[libx264 @ 0x19dfd40] ref P L0: 71.5% 19.8%  7.5%  0.8%  0.4%  0.0%
[libx264 @ 0x19dfd40] ref B L0: 97.3%  2.5%  0.1%  0.0%
[libx264 @ 0x19dfd40] ref B L1: 99.2%  0.8%
[libx264 @ 0x19dfd40] kb/s:2783.44
bench: utime=20.954s maxrss=496908kB

Bye
	Frank
-------------- next part --------------
A non-text attachment was scrubbed...
Name: noise-test.mp4
Type: video/mp4
Size: 845762 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20130114/6a658cd9/attachment.mp4>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: noise-test-asyncts.mp4
Type: video/mp4
Size: 852920 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20130114/6a658cd9/attachment-0001.mp4>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: noise-test-sample.ts
Type: video/mp2t
Size: 1793520 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20130114/6a658cd9/attachment.bin>


More information about the ffmpeg-user mailing list