removido
(usa Nenhuma)
Enviado em 13/05/2017 - 20:21h
ffmpeg \
-f pulse \
-i alsa_output.pci-0000_00_1b.0.analog-stereo.monitor \
-f x11grab -s $(xdpyinfo | grep 'dimensions:'|awk '{print $2}') \
-r 30 \
-i :0.0 \
-acodec libmp3lame \
-ar 44100 \
-ab 64k \
-ac 2 \
-t 50 \
-y teste.mp4
Gerou o video apos remove a opção -vcodec libx264:
mediainfo teste.mp4
General
Complete name : teste.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom
File size : 4.89 MiB
Duration : 50s 0ms
Overall bit rate : 821 Kbps
Writing application : Lavf56.25.101
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High 4:4:4 Predictive@L4.0
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 50s 0ms
Bit rate : 791 Kbps
Width : 1 440 pixels
Height : 900 pixels
Display aspect ratio : 16:10
Frame rate mode : Constant
Frame rate : 30.000 fps
Color space : YUV
Chroma subsampling : 4:4:4
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.020
Stream size : 4.72 MiB (96%)
Writing library : x264 core 146
Encoding settings : 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=4 / threads=3 / 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
Audio
ID : 2
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 3
Mode : Joint stereo
Mode extension : MS Stereo
Codec ID : 6B
Duration : 48s 47ms
Bit rate mode : Constant
Bit rate : 64.0 Kbps
Nominal bit rate : 25.4 Kbps
Channel(s) : 2 channels
Sampling rate : 44.1 KHz
Compression mode : Lossy
Stream size : 149 KiB (3%)
Writing library : LAMEUUULAME3.99.5
Falta testa a opção PULSE_LATENCY_MSEC=10
O video esta muito rápido a musica pula podemos notar quando uma pagina web fica carregando por exemplo
http://www.shoutcast.com/.