video - FFMPEG Hardware Encoding H264 -


i'm trying use ffmpeg hardware/gpu encoding h264 codec.

what is, pipe raw data direclty ffmpeg output them udp stream. settings:

var ffmpegargs = [     '-c:v', 'rawvideo',// input container     '-f', 'rawvideo',     '-pix_fmt', 'rgba', // input pixel format     '-s', '600x600', //input size     '-video_size', '600x600',     '-i', 'pipe:0', // input source     '-f', 'mpegts', // output container format     '-s', '600x600',     '-video_size', '600x600',     '-c:v', 'libx264', // output video codec     '-b:v', '1m', // output bitrate     'udp://239.255.123.46:1234' // output destination ]; 

and in working, miserable quality , latency. frames 5 seconds behind , have lots of bugs in them takes @ least 10 or 15 seconds see hole frame (the video "live stream" canvas).

however thought gpu encoding might here, don't working. i'm trying use vaapi, no matter command ffmpeg i'm trying use (descirbed here), it's not working....

i'm trying run on intel nuc (this one) on ubuntu 16.04.

are there tips on how can running?


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -