GithubHelp home page GithubHelp logo

soundchaser128 / clip-mash Goto Github PK

View Code? Open in Web Editor NEW
46.0 2.0 8.0 8.14 MB

Generates compilation videos semi-automatically

License: GNU General Public License v3.0

Rust 56.20% HTML 0.09% JavaScript 0.28% CSS 0.01% TypeScript 42.26% Shell 0.04% Dockerfile 0.17% Just 0.14% Python 0.80%
ffmpeg rust stashapp typescript video nsfw

clip-mash's People

Contributors

dependabot[bot] avatar jelloleaf avatar soundchaser128 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

Watchers

 avatar  avatar

clip-mash's Issues

Refactor local video list page to be more of a library

Idea: Don't make the user enter a folder name before being able to see videos, show all videos that exist in the database (mark files that no longer exist at the original location) and add a button to let users add new folders to the library.

App locks when it can't talk to github

Hello

My network has a proxy, and no direct internet access to port 80.

In this case clip-mash dies/locks after just looking for updates

ERROR clip_mash::server::error: request failed: Report(
   0: error sending request for url (https://api.github.com/repos/soundchaser128/clip-mash/releases/latest): error trying to connect: tcp connect error: An attempt was made to access a socket in a way forbidden by its access permissions. (os error 10013)
   1: error trying to connect: tcp connect error: An attempt was made to access a socket in a way forbidden by its access permissions. (os error 10013)
   2: tcp connect error: An attempt was made to access a socket in a way forbidden by its access permissions. (os error 10013)
   3: An attempt was made to access a socket in a way forbidden by its access permissions. (os error 10013)

Location:
   src\service\new_version_checker.rs:39

Manage projects in the SQLite database

  • Allow setting a project name before selecting the video source
  • Allow resuming existing projects (give a prompt on startup of the UI)
  • Store JSON blob for each project in the database

Open questions:

  • Version management

cropping error for 854x480 video's

I'm running the latest version in docker, some videos (eg one with: 854x480 resolution) gives me an error when the clips encode.
Running the docker with RUST_LOG=debug, this is the ffmpeg command causing the error.

ffmpeg -hide_banner -loglevel warning -ss 7.509 -i "input.mp4" -t 1.877333641052246 -c:v libx264 -preset medium -crf 24 -filter_complex "split [original][copy];[copy] scale=ih16/9:-1, crop=h=iw9/16, gblur=sigma=120, eq=brightness=-0.125[blurred];[blurred][original] overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2, fps=30, scale=1280:720" -acodec aac -ar 48000 output.mp4

which gives error:
[Parsed_crop_2 @ 000001c442d2d700] Invalid too big or non positive size for width '852' or height '480'
[Parsed_crop_2 @ 000001c442d2d700] Failed to configure input pad on Parsed_crop_2

I commented here:
515cfd3#r137951506
with a possible fix, not sure if it works in all situations. It may have some unwanted side-effects when te target video is 'portrait mode' aspect ratio.

Unify Stash and local files UI-wise

Make the video library show all scenes with markers in Stash in addition to the local videos. Move the Stash configuration dialog to the video library as well.

Toggle for AND vs OR logic

Currently, if I create a Tag compilation with two Tags selected, all Markers with either Tag are chosen.

I would like to have a toggle which would allow me to select only Markers with both Tags, instead of markers with either tag.

ClipMash Status Code 422

I'm attempting to use Clip-mash.exe (V0.20.1) on Win 11 for the first time.

What I've done:

  1. added videos to my library
  2. chose a handful of these videos
  3. added markers to the chosen videos
  4. Uploaded an mp3 music clip
  5. Set the video options to their defaults

When I try the next step (preview clips, I think), I am returned with a Status Code 422 error.

I'm at a loss here, what am I doing incorrectly?

Thank you!

Allow using local video files from a folder to create compilations

  • Would have to let the user specify markers in the app
  • Would allow to operate entirely without Stash

Should also come up with a different name for the app if this is implemented, since it would no longer rely on Stash

Additional thoughts:

  • Either let the user "upload" videos (not sure how much sense that makes, since everything is on the local drive anyways, but it's probably better from a UX standpoint) or just instruct the user to put them into a specific folder (easier implementation). Could also look into local filesystem access like FapInstructor does it.
  • For each video, let the user specify markers, i.e. start- and end-points with a specific action. Ideally re-use the existing marker data structure.
  • Should markers be persisted somewhere? (if yes, probably in a sqlite database)
  • UI-wise, would have to build a page before the current mode selection to let the user choose between accessing videos from Stash or from the local drive.

New name idea: clip-mash

Thumbnail missing in options

Hi,
Thank you for sharing the great tool, it gets me nice compilations with ease. but i encountered a problem with dispaying thumbnails in 'select marker/scene' pages.
image
stash-compilation-maker doesn't give any error messages and I'm wondering how to solve this issue. I appreciate your help.

Add a separate page to select videos used in compilation

The current video library might be a little overloaded with functionality, it might make things easier to have one page to manage videos (add, remove, add markers) and another one to just pick the videos to include in the compilation

Allow setting a ratio of how much of each marker type to use

Currently, the marker names are meaningless. Users should be able to see the list of marker names they specified (show distinct titles from the selected markers) and optionally be able to set how much of each type of marker to include (not sure how to do this yet)

Upgrade to Axum v0.7

Probably makes sense to wait for further dependencies that have transitive dependencies to hyper 0.14 to go to 1.0

  • reqwest
  • sentry
  • youtube_dl

Reduce friction to selecting markers from entire stash library

I recently upgraded from clipmash 0.16 -> 0.17. It seems harder now to create a compilation of all Markers with a specific tag from my Stash in 0.17.

For instance, if I want to create a compilation of all markers from stash with the "Riding" tag is there a way to do that without needing to add every stash video to my clipmash library

Acceptance Criteria

  • Allow users to select all markers with A specific tag from entire stash library
  • Allow users to select all markers with ALL selected tags from entire stash library
    • eg) "Riding" AND "Red head"

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.