,p: 95% 3% 2% 0%
[libx264 @ 0xc3e9a80] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0xc3e9a80] ref P L0: 92.5% 2.0% 4.1% 1.4%
[libx264 @ 0xc3e9a80] ref B L0: 33.3% 64.7% 2.0%
[libx264 @ 0xc3e9a80] ref B L1: 93.8% 6.2%
[libx264 @ 0xc3e9a80] kb/s:6.10
Thanks again and in advance!
Kind regards, Guilherme
On Sun, Dec 10, 2017 at 8:27 PM, Lou Logan <l...@lrcd.com> wrote:
> On Sun, Dec 10, 2017, at 10:22 AM, Guilherme Santos wrote:
> > Hello, I was wondering why this command couldn't work... I'm trying to
> > live
> > stream from my aws ubuntu to periscope. check this out:
> >
> > $ ffmpeg -threads 0 -y -v verbose -re -f x11grab -video_size 1024x768 -i
> > :1
> > -c:v libx264 -preset ultrafast -crf 3 -c:a aac -b:a 64k -pix_fmt yuv420p
> > -r
> > 15 -g 30 -b:v 2500k -bufsize 512k -f flv
> > rtmp://or.pscp.tv:80/x/bb1hmhk85d71
>
> Remove "-threads 0" input option.
>
> Remove "-re" input option. It should not be used with x11grab. From the
> documentation: "Should not be used with actual grab devices or live
> input streams (where it can cause packet loss)."
>
> Replace "-r 15" output option with "-framerate 15" input option. Verify
> that the video service accepts 15 fps (I'm not sure if it will or not).
> If not, use a more standard rate, such as 25, and adjust "-g" to be
> approximately double your frame rate.
>
> Remove "-crf 3". That's overkill for streaming and is mutually exclusive
> with "-b:v".
>
> Add "-maxrate" option.
>
> Change "-bufsize" to be 1-2x "-maxrate".
>
> Experiment with -b:v, -bufsize, -maxrate to see what works best for you.
>
> > ffmpeg version 2.4.3-1ubuntu1~trusty6 Copyright (c) 2000-2014 the FFmpeg
> > developers
>
> Ancient and unsupported. Please update. An easy solution is to use a
> static build from:
> http://johnvansickle.com/ffmpeg/
>
> (I can't recall if x11grab is supported by these builds, but I'll assume
> it is.)
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
--
Abraço,
Guilherme Santos
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".