Project Malmo is a platform for Artificial Intelligence experimentation and research built on top of Minecraft. We aim to inspire a new generation of research into challenging new problems presented by this unique environment. --- For installation instructions, scroll down to *Getting Started* below, or visit the project page for more information:
I was trying to record the MP4 video of the viewpoint of the agent as visual perception, using the following code:
my_mission_record = MalmoPython.MissionRecordSpec('./record/data.tgz') my_mission_record.recordMP4(2, 1000000) ... agent_host.startMission(my_mission, pool, my_mission_record, 0, experiment_id)
After running a mission, I do obtain a frame_info.txt file with recordings in the form of
width=1600 height=900 20201219T235503.604921 frame_000001 xyzyp: 0.5 4 1.5 -90 0 20201219T235504.115000 frame_000002 xyzyp: 0.5 4 1.5 -90 0 20201219T235504.627629 frame_000003 xyzyp: 0.5 4 1.5 -90 0
and a shell to convert the mp4 video to png images:
mkdir video_frames ffmpeg -i "video.mp4" video_frames/frame_%06d.png
Obviously, "video.mp4" should be the video recorded by malmo, yet it never shows in this directory.
frame_info.txt video_ffmpeg.out missionInit.xml video_to_pngs.sh
I wonder that where the output video has been saved.
Thanks for your attention.
I was trying to record the MP4 video of the viewpoint of the agent as visual perception, using the following code:
my_mission_record = MalmoPython.MissionRecordSpec('./record/data.tgz') my_mission_record.recordMP4(2, 1000000) ... agent_host.startMission(my_mission, pool, my_mission_record, 0, experiment_id)
After running a mission, I do obtain a frame_info.txt file with recordings in the form ofwidth=1600 height=900 20201219T235503.604921 frame_000001 xyzyp: 0.5 4 1.5 -90 0 20201219T235504.115000 frame_000002 xyzyp: 0.5 4 1.5 -90 0 20201219T235504.627629 frame_000003 xyzyp: 0.5 4 1.5 -90 0
and a shell to convert the mp4 video to png images:mkdir video_frames ffmpeg -i "video.mp4" video_frames/frame_%06d.png
Obviously, "video.mp4" should be the video recorded by malmo, yet it never shows in this directory.frame_info.txt video_ffmpeg.out missionInit.xml video_to_pngs.sh
I wonder that where the output video has been saved. Thanks for your attention.