Command Line: ffmpeg -c:v mpsocvcuh264 -i \ -f mp4 -b:v 8M -c:v mpsocvcuh264 -y /tmp/xilxcode. The output is writen into /tmp/xilxcode.mp4. I'm trying to run this on a Intel NUC ( this one) on an Ubuntu 16.04. This example takes an H.264 clip and reencodes it to H.264 with a new bitrate of 8Mbps. I'm trying to use VAAPI, but no matter which command from ffmpeg I'm trying to use (descirbed here), it's not working. However I thought that GPU Encoding might help here, but I don't get this working. The frames are like 5 seconds behind and then have lots of bugs in them so it takes at least 10 or 15 seconds to see the hole frame (the video is a "live stream" from a canvas). 'udp://239.255.123.46:1234' // output destinationĪnd in generally it is working, but with really miserable quality and latency. '-f', 'mpegts', // output container format '-pix_fmt', 'rgba', // input pixel format Those are my settings: var ffmpegArgs = [ What I do is, I pipe raw data direclty into ffmpeg to output them to a udp stream. I'm currently trying to use FFMPEG with Hardware/GPU Encoding with the H264 Codec.
0 Comments
Leave a Reply. |