Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gz-sim: Video Recorder #1312

Closed
azeey-test opened this issue Aug 29, 2024 · 6 comments · Fixed by gazebosim/gz-sim#2634
Closed

gz-sim: Video Recorder #1312

azeey-test opened this issue Aug 29, 2024 · 6 comments · Fixed by gazebosim/gz-sim#2634

Comments

@azeey-test
Copy link
Collaborator

Configuration

  • os: Windows

Links

Process

Step 1 - Instructions work

Step 2 - Images (if there are any) match the result

@peci1
Copy link

peci1 commented Sep 11, 2024

I'll test this over the weekend on a real Win 10 laptop.

@peci1
Copy link

peci1 commented Sep 16, 2024

Everything works as it should (except OGV recording - ffmpeg says it doesn't have vp8 encoder).

@azeey
Copy link
Contributor

azeey commented Sep 16, 2024

It seems like the conda version of ffmpeg doesn't enable vp8. It explicitly does --enable-libvpx for MacOS and Linux (see https://github.com/conda-forge/ffmpeg-feedstock/blob/main/recipe/build.sh). I think a note in the tutorial would be sufficient.

@peci1
Copy link

peci1 commented Sep 19, 2024

I've added the note here: gazebosim/gz-sim#2634 .

@peci1
Copy link

peci1 commented Sep 19, 2024

The behavior when OGV is selected on Windows is suboptimal, though. In the best case, the format should be greyed out or not offered at all.

Currently, I can select the format, and then the GUI console gets spammed:

(2024-09-20 01:36:14.413) [error] [VideoEncoder.cc:416] [GUI] Codec for[vp8] not found. Video encoding is not started.
(2024-09-20 01:36:14.429) [info] [VideoRecorder.cc:224] [GUI] Recording video using bitrate: 2070000
(2024-09-20 01:36:14.430) [error] [VideoEncoder.cc:416] [GUI] Codec for[vp8] not found. Video encoding is not started.
(2024-09-20 01:36:14.445) [info] [VideoRecorder.cc:224] [GUI] Recording video using bitrate: 2070000
(2024-09-20 01:36:14.446) [error] [VideoEncoder.cc:416] [GUI] Codec for[vp8] not found. Video encoding is not started.
(2024-09-20 01:36:14.461) [info] [VideoRecorder.cc:224] [GUI] Recording video using bitrate: 2070000
(2024-09-20 01:36:14.462) [error] [VideoEncoder.cc:416] [GUI] Codec for[vp8] not found. Video encoding is not started.
(2024-09-20 01:36:14.478) [info] [VideoRecorder.cc:224] [GUI] Recording video using bitrate: 2070000
(2024-09-20 01:36:14.479) [error] [VideoEncoder.cc:416] [GUI] Codec for[vp8] not found. Video encoding is not started.
(2024-09-20 01:36:14.494) [info] [VideoRecorder.cc:224] [GUI] Recording video using bitrate: 2070000
(2024-09-20 01:36:14.495) [error] [VideoEncoder.cc:416] [GUI] Codec for[vp8] not found. Video encoding is not started.
(2024-09-20 01:36:14.511) [info] [VideoRecorder.cc:224] [GUI] Recording video using bitrate: 2070000
(2024-09-20 01:36:14.512) [error] [VideoEncoder.cc:416] [GUI] Codec for[vp8] not found. Video encoding is not started.
(2024-09-20 01:36:14.528) [info] [VideoRecorder.cc:224] [GUI] Recording video using bitrate: 2070000
(2024-09-20 01:36:14.529) [error] [VideoEncoder.cc:416] [GUI] Codec for[vp8] not found. Video encoding is not started.
(2024-09-20 01:36:14.546) [info] [VideoRecorder.cc:224] [GUI] Recording video using bitrate: 2070000
(2024-09-20 01:36:14.547) [error] [VideoEncoder.cc:416] [GUI] Codec for[vp8] not found. Video encoding is not started.

@traversaro
Copy link

It seems like the conda version of ffmpeg doesn't enable vp8. It explicitly does --enable-libvpx for MacOS and Linux (see https://github.com/conda-forge/ffmpeg-feedstock/blob/main/recipe/build.sh). I think a note in the tutorial would be sufficient.

Just a cross-link to the issue(s) tracking libvpx (and hence vp8) support for Windows:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants