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

Videos become green or warps the colours with full hardware acceleration #2093

Open
4 tasks done
ehjr5u opened this issue Aug 2, 2024 · 3 comments
Open
4 tasks done

Comments

@ehjr5u
Copy link

ehjr5u commented Aug 2, 2024

The fewer issues I have to read, the more new features I will have time to implement, so I ask that you please try these things first

Steps to reproduce

By using the merging feature and merging two videos with keep all tracks, preserve all original and mp4/mov metadata, and allow this dialog to appear when dropping multiple files then exporting as mp4

Expected behavior

The videos should be able to work fine with and without full hardware acceleration without distorting colours
Screenshot_20240801_201533_Video Player

Actual behavior

The entire video just turns green or warps all the colours for multiple frames but it stops if you jump ahead more into the video. But some videos from the same company that are merged can play just fine with full acceleration. The only way to prevent the issue is to convert into mov and then back to mp4
Screenshot_20240801_201332_VLC

Provide an error report

No error occurred.

{
"err": false,
"state": {
"ffmpegExperimental": false,
"preserveMovData": true,
"movFastStart": true,
"preserveMetadataOnMerge": true,
"externalFilesMeta": {},
"mainStreams": [],
"copyStreamIdsByFile": {},
"cutSegments": [
{}
],
"rotation": 360,
"shortestFlag": false,
"effectiveExportMode": "separate",
"outSegTemplate": "${FILENAME}-${CUT_FROM}-${CUT_TO}${SEG_SUFFIX}${EXT}"
},
"platform": "win32",
"version": "3.61.1"
}

Share the file

Can't share due to copyright issues

Share log from developer tools

No response

@mifi
Copy link
Owner

mifi commented Aug 4, 2024

what do you mean by "The only way to prevent the issue is to convert into mov and then back to mp4"? do you mean convert the format back and forth by using losslesscut?

@ehjr5u
Copy link
Author

ehjr5u commented Aug 5, 2024

what do you mean by "The only way to prevent the issue is to convert into mov and then back to mp4"? do you mean convert the format back and forth by using losslesscut?

I did not convert the format with lossless-cut but instead, used a third party file converter to convert it into a MOV, then take the MOV file that I just converted back to MP4. Do you understand me?

@mifi
Copy link
Owner

mifi commented Aug 6, 2024

ah, ok. then the third party converter probably re-encoded the file, which is probably why it solved the problem. what about if you disable full hardware acceleration, does it work then (or why else did you mention that)?

unfortunately I don't know how to fix this. it's probably a limitation in ffmpeg. I can only recommend trying different parameters as described in the Troubleshooting guide

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