[libav-bugs] [Bug 723] Unsynchronised x11grab and sound

bugzilla at libav.org bugzilla at libav.org
Mon Aug 4 10:34:34 CEST 2014


http://bugzilla.libav.org/show_bug.cgi?id=723

--- Comment #2 from crec <crecc23 at interia.pl> 2014-08-04 10:34:34 CEST ---
Created attachment 496
  --> http://bugzilla.libav.org/attachment.cgi?id=496
Test result after change:
https://github.com/lu-zero/libav/commit/569324eb4c3e9f920b0dc945dad383928e3418ed

Output of avconv command for this file
--------------------------------------
./avconv -f pulse -i alsa_output.pci-0000_00_1b.0.analog-stereo.monitor -f
x11grab -s 1366x744 -r 10 -i :0+0,0 -vcodec libx264 -preset ultrafast
~/"Videos/ScreencastNew from `date +%F\ %T`.mp4"
avconv version 11_alpha1, Copyright (c) 2000-2014 the Libav developers
  built on Aug  4 2014 10:18:36 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
[pulse @ 0x1e1d260] Estimating duration from bitrate, this may be inaccurate
Guessed Channel Layout for  Input Stream #0.0 : stereo
Input #0, pulse, from 'alsa_output.pci-0000_00_1b.0.analog-stereo.monitor':
  Duration: N/A, start: 1407140732.849294, bitrate: N/A
    Stream #0.0: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
[x11grab @ 0x1e3c3e0] device: :0+0,0 -> display: :0 x: 0 y: 0 width: 1366
height: 744
[x11grab @ 0x1e3c3e0] shared memory extension  found
[x11grab @ 0x1e3c3e0] Estimating duration from bitrate, this may be inaccurate
Input #1, x11grab, from ':0+0,0':
  Duration: N/A, start: 1407140732.952721, bitrate: 325217 kb/s
    Stream #1.0: Video: rawvideo, bgra, 1366x744, 325217 kb/s, 1000k tbn, 10
tbc
[libx264 @ 0x1e4da60] using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
[libx264 @ 0x1e4da60] profile Constrained Baseline, level 3.2
[libx264 @ 0x1e4da60] 264 - core 142 r2389 956c8d8 - H.264/MPEG-4 AVC codec -
Copyleft 2003-2014 - 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=3 lookahead_threads=1 sliced_threads=0 nr=0
decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0
keyint=250 keyint_min=10 scenecut=0 intra_refresh=0 rc=crf mbtree=0 crf=23.0
qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=0
Output #0, mp4, to '/home/darek/Videos/ScreencastNew from 2014-08-04
10:25:32.mp4':
  Metadata:
    encoder         : Lavf55.20.0
    Stream #0.0: Video: libx264, yuv420p, 1366x744, q=-1--1, 10 fps, 10 tbn, 10
tbc
    Metadata:
      encoder         : Lavc55.57.0 libx264
    Stream #0.1: Audio: libvo_aacenc, 48000 Hz, stereo, s16, 200 kb/s
    Metadata:
      encoder         : Lavc55.57.0 libvo_aacenc
Stream mapping:
  Stream #1:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
  Stream #0:0 -> #0:1 (pcm_s16le (native) -> aac (libvo_aacenc))
Press ctrl-c to stop encoding
frame=  161 fps= 10 q=-1.0 Lsize=     679kB time=16.00 bitrate= 347.6kbits/s    
video:264kB audio:401kB other streams:0kB global headers:0kB muxing overhead:
2.172360%
[libx264 @ 0x1e4da60] frame I:1     Avg QP:20.00  size: 63837
[libx264 @ 0x1e4da60] frame P:160   Avg QP: 9.87  size:  1286
[libx264 @ 0x1e4da60] mb I  I16..4: 100.0%  0.0%  0.0%
[libx264 @ 0x1e4da60] mb P  I16..4:  1.6%  0.0%  0.0%  P16..4:  2.2%  0.0% 
0.0%  0.0%  0.0%    skip:96.2%
[libx264 @ 0x1e4da60] coded y,uvDC,uvAC intra: 10.9% 11.9% 11.0% inter: 0.4%
1.8% 0.4%
[libx264 @ 0x1e4da60] i16 v,h,dc,p: 81% 18%  0%  0%
[libx264 @ 0x1e4da60] i8c dc,h,v,p: 53% 41%  5%  0%
[libx264 @ 0x1e4da60] kb/s:133.98
Received signal 15: terminating.

-- 
Configure bugmail: http://bugzilla.libav.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the libav-bugs mailing list