Open lefu999 opened 5 years ago
具体复现步骤为: 将frameworks/av/cmds/screenrecord/screenrecord.cpp中的: static const char kMimeTypeAvc = "video/avc"; 改为 static const char kMimeTypeAvc = "video/x-vnd.on2.vp8"; muxer = new MediaMuxer(fd, MediaMuxer::OUTPUT_FORMAT_MPEG_4); 改为 muxer = new MediaMuxer(fd, MediaMuxer::OUTPUT_FORMAT_WEBM); 然后screenrecord /sdcard/test.webm
rk3399_7.1_video.tar.gz
具体复现步骤为: 将frameworks/av/cmds/screenrecord/screenrecord.cpp中的: static const char kMimeTypeAvc = "video/avc"; 改为 static const char kMimeTypeAvc = "video/x-vnd.on2.vp8"; muxer = new MediaMuxer(fd, MediaMuxer::OUTPUT_FORMAT_MPEG_4); 改为 muxer = new MediaMuxer(fd, MediaMuxer::OUTPUT_FORMAT_WEBM); 然后screenrecord /sdcard/test.webm