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

Motion JPG avi contains no video #359

Closed
ETLegacyTeam opened this issue Mar 5, 2020 · 3 comments
Closed

Motion JPG avi contains no video #359

ETLegacyTeam opened this issue Mar 5, 2020 · 3 comments
Labels
🐞 Bug Something isn't working cat: client Category engine (client, renderer, sdl) P3: Normal Priority 3
Milestone

Comments

@ETLegacyTeam
Copy link
Member

ETLegacyTeam commented Mar 5, 2020

Author: Maverick (Maverick)
Date: 2013-10-03
Redmine Issue: 359, https://dev.etlegacy.com/issues/359


When creating motion jpg avi the output has no video and will crash Windows explorer.

Using this command:
cl_forceavidemo 1 ; cl_avimotionjpeg 1 ; cl_avidemo 30 ; demo demoname ; video output_filename 30

The output_filename.avi file is very small (about 4MB; I expect around 100MB) and when played with VLC will only play audio.

If motion jpg is turned off the output does have audio and video, although the filesize is nearly 1GB, using this command:
cl_forceavidemo 1 ; cl_avimotionjpeg 0 ; cl_avidemo 30 ; demo demoname ; video output_filename 30

The demo I'm using can be downloaded here:
http://www.enemy-territory.net/demos/Over_Fueldump_Wall1_Rastafari.dm_84

For reference, in ioQ3 I use this command:
cl_aviFrameRate 30 ; cl_aviMotionJpeg 1 ; cl_aviMotionJpegQuality 100 ; demo demoname ; video output_filename


Related commit(s):
87d399e - fixed motion jpeg output, fixes 359

@ETLegacyTeam ETLegacyTeam added 🐞 Bug Something isn't working cat: client Category engine (client, renderer, sdl) Fixed P3: Normal Priority 3 labels Mar 5, 2020
@ETLegacyTeam ETLegacyTeam added this to the 2.71rc3 milestone Mar 5, 2020
@ETLegacyTeam
Copy link
Member Author

From: @jackeri (Jacker)
Date: 2013-10-03T15:54:14Z


cl_avimotionjpeg is broken atm. Actually i had totally forgotten about it. I will fix this when I can.

I will probably do somewhat of an cleanup on the avi code as well as it is a mess.

@ETLegacyTeam
Copy link
Member Author

From: @jackeri (Jacker)
Date: 2013-10-14T16:09:33Z


This now works. You can set the quality of the jpeg output with r_screenshotJpegQuality (90 is the default).

@ETLegacyTeam
Copy link
Member Author

From: @jackeri (Jacker)
Date: 2013-10-14T16:11:45Z


Applied in changeset commit:87d399e8ecc872523c68be09a3740c06c95578c3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 Bug Something isn't working cat: client Category engine (client, renderer, sdl) P3: Normal Priority 3
Projects
None yet
Development

No branches or pull requests

1 participant