stashapp / stash

An organizer for your porn, written in Go. Documentation: https://docs.stashapp.cc
https://stashapp.cc/
GNU Affero General Public License v3.0
8.98k stars 785 forks source link

[Feature] Create virtual files for compilations #2511

Open ghost opened 2 years ago

ghost commented 2 years ago

If you have a scene that is a compilation and you have the source of the clips in the compilation it would be nice to substitute the compilation for a virtual file that had the links, time and duration to mark the start and end of the clip in each of the source scenes. That way instead of storing the compilation you would only have to store those links, times and durations. I don't know if this is possible so I can't give any more insight into how to accomplish it.

ghost commented 1 year ago

Another possibility of virtual files would be to make random compilations, given a few tags it could use clips from different scenes that use those tags. For this, markers would need to have a beginning and an end, to be able to use them as clips.

xx790 commented 1 year ago

This! I need this.

Use cases:

I don't mind whether this will be an extension to markers as long as it won't put unexpected constraints.

ghost commented 1 year ago

Also I think there should be a new markers_tags table in the database instead of a single primary_tag_id column in the scenes_markers table. To be able to select markers based on multiple tags.

mf35 commented 1 year ago

There will be so much potential with the markers if you give them an end timestamp.

In VLC player there is a way to create generated compilations based on random samples of a video playlist. With the addon "Samples playlist generator"

Problems are :

Anyway, if we can have this "marker video clips" feature in Stash, we could create playlist with them and then create powerful compilations with ease.

laurus-lx commented 7 months ago

I think this relates to a proposal for stash db schema revision that would support "File Ranges" with start/end times 198667.

File Ranges are sub-sections/clips, and scenes can be composed of many such file-ranges.