如何使用ffmpeg sws_scale或其他有效的方法将YUV420SP转换为YUV420P?
解决方案有大量的不同的YUV格式可用,作为起点,请参阅 www.fourcc/yuv.php
您需要更具体的问题,因为半平面和平面并没有真正说明数据的格式。 >
但作为一般建议,只是原始数据连续放置。您所需要做的就是从插播视频中读取正确的数据量,并使用您最喜爱的语言将其写入流媒体。
How do I to convert YUV420SP to YUV420P using ffmpeg sws_scale or another efficient method?
解决方案There are an enormous amount of different YUV-formats available, as a starting point see www.fourcc/yuv.php
You need to be more specific in you question since "Semi Planar" and "Planar" doesn't really tell how the data is formatted.
But as a general advice, it's just raw-data placed contiguously. All you need to do is to read the correct amount of data from the in-stream and write it to the out-stream using your favorite language.
更多推荐
将YUV420SP转换为YUV420P
发布评论