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

[Feature] Audio file support #11

Closed
StashAppDev opened this issue Feb 11, 2019 · 8 comments
Closed

[Feature] Audio file support #11

StashAppDev opened this issue Feb 11, 2019 · 8 comments
Labels
feature Pull requests that add a new feature

Comments

@StashAppDev
Copy link
Member

stashapp/StashServer#42

@StashAppDev StashAppDev changed the title [Feature] Audio file support Audio file support Mar 24, 2019
@StashAppDev StashAppDev added the feature Pull requests that add a new feature label Mar 24, 2019
@iamjen023
Copy link

iamjen023 commented Oct 25, 2019

ffmpeg can convert a mp3 to mp4
with this
ffmpeg -i input -filter_complex "[0:a]showwaves=s=128x96:mode=cline,format=yuv420p[v]" -map "[v]" -map 0:a -c:v libx264 -c:a copy output

in Interface Configuration
you can add a line for mp3 to mp4
where you can edit the conversion as ffmpeg has many visualizer

how i see this working is
in task - Generated Content - Generate
this would look for any mp3 ogg wav etc if found then it will render the
mp4 with visualizer
then delete the mp3 ogg wav etc (user can turn this off)

long term i like to see this with ui options with pic of how the visualizer will look and leave the command line config for advance users

i also like to see this in a new tab "Audio"

@iamjen023
Copy link

i also like a way of uploading a image for a cover. a nice long term support feature would be able to generate a cover from title
maybe have a template where you could upload a background image for it and pick a font
for when there no covers

@Leopere
Copy link
Collaborator

Leopere commented Oct 27, 2019

Are we thinking like ASMR or audiobook content thats contextually relevant?

@iamjen023
Copy link

not sure what asmr is but i was wanting it for adult audio books and stories i converted for text (text to speech)

plus reddit has adult audio selection

@Leopere Leopere changed the title Audio file support [Feature] Audio file support Feb 13, 2020
@seducingbits
Copy link

would also be great for hypno femdom stuff.

@iamjen023
Copy link

iamjen023 commented Jul 2, 2020

i have started you use this to convert mp3 into mp4 videos just make sure to change the path in the batch file
windows only sorry for linux mac user

all in one download
(file too big for github so i use a other service)
https://gofile.io/d/LWu4Hm

batch file only
(this can fit in github)
you must put windows build of ffmpeg in same folder with batch file

mp3tomp4-batch-only.zip

@WithoutPants
Copy link
Collaborator

Evaluating as candidate for bounty.

I'm thinking a new top-level object audio with a field list similar to video/images:

title
url
checksum
path
date
details
rating
organized
studio
tags
performers
o_counter
file {
 size
 duration
 bitrate
}

The library configuration would need to be adjusted to allow inclusion/exclusion of audio files. The current tick box way of doing things will likely be insufficient, so we'll need another approach.

We'll need audioExtensions and excludedAudioPatterns configuration fields.

I think we'll need to overhaul the top navbar before we commence on this since another top-level navitem will make it too crowded.

I'd estimate around 20 hours for this.

@WithoutPants
Copy link
Collaborator

Closing in favour of #1258

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Pull requests that add a new feature
Projects
None yet
Development

No branches or pull requests

5 participants