Getting green screen in ffplay: Streaming desktop (DirectX surface) as H264 video over RTP stream using Live555

It’s harder than it seems. If you want to use the encoder as you’re doing, by calling IMFTransform interface directly, you have to convert RGB frames to NV12. If you want good performance, you should do it on GPU. Possible to do with pixel shaders, render 2 frames, full size one into DXGI_FORMAT_R8_UNORM render target … Read more

FFmpeg: How to convert vertical video with black sides, to video 16:9, with blurred background sides

I solved! ffmpeg -i input.mp4 -lavfi ‘[0:v]scale=ih*16/9:-1,boxblur=luma_radius=min(h\,w)/20:luma_power=1:chroma_radius=min(cw\,ch)/20:chroma_power=1[bg];[bg][0:v]overlay=(W-w)/2:(H-h)/2,crop=h=iw*9/16’ -vb 800K output.webm Input: https://www.youtube.com/watch?v=17uHCHfgs60 Output: http://www.youtube.com/watch?v=CgZsDLfzrTs

How to add album art with ffmpeg?

With Recent version, ffmpeg -i in.mp3 -i test.png -map 0:0 -map 1:0 -c copy -id3v2_version 3 -metadata:s:v title=”Album cover” -metadata:s:v comment=”Cover (front)” out.mp3 Use -map to associate input stream to the output Use -c copy to directly demux/remux The -id3v2_version 3 is what is missing in your command line. Note that that wil write an … Read more

Unknown encoder ‘libfaac’

FFmpeg removed libfaac support in 2016 because the other AAC encoders are better. Use a different encoder. Native FFmpeg AAC Encoder (-c:a aac) Use the native, built-in FFmpeg AAC encoder: ffmpeg -i input.wav -c:a aac output.m4a Included by default in all ffmpeg versions. Has many features, fairly good quality, supports the most channel layouts and … Read more