Git Product home page Git Product logo

gbvideoplayer2's People

Contributors

issotm avatar liji32 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

gbvideoplayer2's Issues

issue i cant seem to fix

make SOURCE=vid.mp4
Compiling player...
rgbasm -o output/video.gbc.o video.asm
rgblink -o output/video.gbc -m output/video.map -n output/video.sym output/video.gbc.o
Compiling encoder...
cc -g -Ofast -std=c11 -Werror -Wall -o output/encoder encoder.c
Resizing video...
ffmpeg -loglevel warning -stats -hide_banner -i vid.mp4 -c:v rawvideo -vf scale=-2:144 output/vid/video.mp4.tmp.mp4
[mp4 @ 0x13a705360] Could not find tag for codec rawvideo in stream #0, codec not currently supported in container
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
Error initializing output stream 0:0 --
[aac @ 0x13a707490] 2 frames left in the queue on closing
make: *** [output/vid/video.mp4] Error 1

Lack of instructions when trying to install

Sorry about sounding like a Karen, but I have no clue what the heck I do to compile this. I downloaded the source, and all of the recommended programs, loaded encoder.c into visual studio code, and then typed the command, and got an error.

mono sound

Could you add ability to use mono sound instead of stereo?
Mono sound instead of stereo would half the audio size,
to further lower it, 2bit sound would also be nice... (since 2bit is still listenable)

rgbds-0.4.2-win64 - compile error

I get several errors with rgbds-0.4.2 (or specific rgbasm) such as

ERROR: video.asm(117):
    syntax error
error: Assembly aborted (1 errors)!

or

ERROR: video.asm(446):
    syntax error
error: Assembly aborted (1 errors)!

These lines seem to be related to calculation including defined constant symbols, ie.

117: jp $ff00 + compression_jr
...
446: ld hl, $ff00 + current_line

Seems rgbds-0.4.2 doesn't like calculation with symbols.

Compiler error with gcc

Hi. Thanks for this amazing software!

When I try to compile it with gcc (8.3.0), I get the following error:

encoder.c: In function ‘main’:                                                                           
encoder.c:454:9: error: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Werror=unused-result]
         fread(rgb, sizeof(rgb), 1, in);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors                                                                

As the warning says, the return value of fread is being ignored, and turns into an error because of the -Werror flag.

A simple fix is of course to remove that flag. I tried to add a simple return check for it in encoder.c, but for some reason that check always fails at the first frame. Apparently the code works without it though, so I'm hesitant to change anything there.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.