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

Incompatibility issues with saved videos #9

Open
yvasquezmonoku opened this issue Jul 30, 2018 · 2 comments
Open

Incompatibility issues with saved videos #9

yvasquezmonoku opened this issue Jul 30, 2018 · 2 comments

Comments

@yvasquezmonoku
Copy link

Hello again Thanks ash3D for this amazing plugin.
I have a small problem. And is that the generated videos, I can only open them with VLC and other PCs that do not have vlc do not work, out of this, when trying to import them to a video editor (after effect) come out green or generates a compatibility error. Looking at avcodec.h I see that I have several codecs to implement try to implement AV_CODEC_ID_MPEG4, with which I get what I want, the video opens in all the machines and video editors, but the quality of the video is pessimistic (all very pixelated) I try to leave the crf in 0 to not have lost and I select the option of veryslow but the quality is bad.
there is a codec that is generic that has good quality. I saw that the h264 should work, but in my case it does not open the videos on all the machines and in any video editor. Maybe it's a bad configuration of mine. Thanks again for the help.

@ash3D
Copy link
Owner

ash3D commented Aug 3, 2018

Hello @yvasquezmonoku.
Preset/crf settings are specific for x264 library which is used internally in FFmpeg for h264 format. It is passed as additional parameters and ignored if other encoder used. Thus for MPEG4 you should use other means to adjust performance/quality/compression ratio. For instance you may try to directly specify bitrate, look FFmpeg doc/samples for more info.

@yvasquezmonoku
Copy link
Author

Thank you very much for the information.
Looking at the videorecorder.cpp I see the function where the h264 is generated depending on the configuration given in unreal with the StartRecord function. Then a configuration was made increasing the bitRate so that the mpg4 had better quality. But for some reason this configuration is simply omitted.
I'm still investigating how to make a video that is compatible with the player by default windows and after effects. Again, thank you very much for the help.

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

No branches or pull requests

2 participants