-
Notifications
You must be signed in to change notification settings - Fork 15
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
Use y4m as the container format for raw video #4
base: master
Are you sure you want to change the base?
Conversation
It's a tech demo and not an actively maintained project. The codebase, in fact, did work out of the box when it was released, but was broken by an update to ffmpeg. Testing this fix and making sure it doesn't actually break users of older versions of ffmpeg was not prioritized over my other projects. |
Hi @frestr, a bit of a long shot here, but I've incorporated your code which works well but when I get the gbc file it seems to be all entirely corrupted video (though I do hear the audio). The video just seems to be super unwatchable, almost like tv static. I've only tested this on the SameBoy gameboy emulator If you have any tips, that would be great, if not, no worries! Thanks again for the fix. |
Seems like ffmpeg version 5.0 changed some things that caused it to break. As a workaround for now you can try downgrading to 4.4. |
How did you install v0.3.7 on Mac? It seems brew doesn't find it, so I guess you had to install via source. but on source, it complains:
|
add |
Hey All, Just a headsup, I believe if you specify the version on brew it should be able to find the proper version of the dependencies you need. I did not use homebrew to install rgbds v0.3.7, its been a while but pretty confident I installed it manually! |
Soo... I'm using rgbds 0.3.7, ffmpeg 4.4. I've edited Makefile for changes in a commit and yet it still throws me ROM with video, like TV static.
I'm kinda lost and dumno how to fix it. |
This is fix is specific to ffmpeg 5.0 and onward, you do not need to add this option for ffmpeg 4.4. |
On Linux (Ubuntu 18.04) with ffmpeg 4.1.3 I get the following error when compiling a video:
Apparently rawvideo is not supported for mp4. This PR uses y4m as a container format intead, which seems to work fine.
Note that I have not tested it on other platforms.
(Edit: This is in addition to #3)