Re: [FFmpeg-user] Live stream to periscope or youtube doesn't seems to work

2017-12-10 Thread Guilherme Santos
Hi, output to file works fine.. my display server is Xvfb. I end up with this, but still all black: ~/ffmpeg-git-20171206-64bit-static$ ./ffmpeg -f x11grab -video_size 1024x768 -i :1 -c:v libx264 -preset medium -framerate 30 -g 60 -b:v 1600k -maxrate 1600k -bufsize 800k -vf "scale=960:540,form

Re: [FFmpeg-user] Live stream to periscope or youtube doesn't seems to work

2017-12-10 Thread Carl Eugen Hoyos
2017-12-11 1:58 GMT+01:00 Guilherme Santos : > Stream #0:0: Video: rawvideo (RGB[16] / 0x10424752), rgb565le, > 1024x768, 29.97 fps, 29.97 tbr, 1000k tbn, 1000k tbc The pix_fmt rgb565le works fine here with -f x11grab and current FFmpeg. Carl Eugen ___

Re: [FFmpeg-user] Live stream to periscope or youtube doesn't seems to work

2017-12-10 Thread Carl Eugen Hoyos
2017-12-11 1:58 GMT+01:00 Guilherme Santos : > [x11grab @ 0xc3e16a0] 16 bits per pixel screen is not implemented. Update > your FFmpeg version to the newest one from Git. If the problem still > occurs, it means that your file has a feature which has not been > implemented. Please test with "-draw

Re: [FFmpeg-user] Live stream to periscope or youtube doesn't seems to work

2017-12-10 Thread Lou Logan
On Sun, Dec 10, 2017, at 03:58 PM, Guilherme Santos wrote: > > ~/ffmpeg-git-20171206-32bit-static$ ./ffmpeg -f x11grab -video_size > 1024x768 -i :1 -c:v libx264 -preset medium -crf 28 -pix_fmt yuv420p -r > 30 > -g 60 -b:v 2M -maxrate 2M -bufsize 1M -f flv rtmp:// > or.pscp.tv:80/x/avadqqzw8nyv

Re: [FFmpeg-user] Live stream to periscope or youtube doesn't seems to work

2017-12-10 Thread Guilherme Santos
Hey Lou, wow thanks! amazing info.. I'm playing around but not succeed yet, it connects but screen goes black. Periscope's info: Video codec AVC Video bitrate 6.949 kbps Video framerate 5.0332192470304005 fps Video keyframe interval in seconds 12 Max keyframe interval: 3.0 s. Vid

Re: [FFmpeg-user] Live stream to periscope or youtube doesn't seems to work

2017-12-10 Thread Lou Logan
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 -pre

[FFmpeg-user] Live stream to periscope or youtube doesn't seems to work

2017-12-10 Thread Guilherme Santos
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