1
0
Fork
You've already forked video_export_processing
0

Audio-source #50

Open
opened 2018年03月12日 16:23:43 +01:00 by joknjokn · 1 comment
joknjokn commented 2018年03月12日 16:23:43 +01:00 (Migrated from github.com)
Copy link

Hi!

Great library. However, I would really like an option to play audio files "on the fly". That would make it possible to use the library as a live-streamer (by the broadcasting the .mp4 to YouTube or Facebook live).

I guess it would be a bit complex to implement the option to play audio files whenever one wants to and have it added to the output, but... maybe a smart solution would be the possibility to choose "system audio" as source? So that it just captures the audio of the entire computer and uses that for the mp4-audio. Then one could play audio-files whenever in processing and it will be added to the video. Maybe there's an easy way to implement this, if ffmpeg has this feature already?

Thanks for any help! :-)

  • Jonas
Hi! Great library. However, I would really like an option to play audio files "on the fly". That would make it possible to use the library as a live-streamer (by the broadcasting the .mp4 to YouTube or Facebook live). I guess it would be a bit complex to implement the option to play audio files whenever one wants to and have it added to the output, but... maybe a smart solution would be the possibility to choose "system audio" as source? So that it just captures the audio of the entire computer and uses that for the mp4-audio. Then one could play audio-files whenever in processing and it will be added to the video. Maybe there's an easy way to implement this, if ffmpeg has this feature already? Thanks for any help! :-) - Jonas
hamoid commented 2018年03月12日 17:28:37 +01:00 (Migrated from github.com)
Copy link

Hi hi,

What the library currently does to add sound is a two pass encoding. First it makes a video without sound, and then attaches an audio file to that video.

I don't currently have the time to work on this. But maybe it's already possible with the latest changes I made, because now you can tweak the command line options sent to ffmpeg, so maybe you could add some arguments to ffmpeg to grab the system audio in real time. I don't know if this would work.

Here are some examples: https://trac.ffmpeg.org/wiki/Capture/Desktop

I suggest you first make it work using ffmpeg, without Processing, by fiddling around with the ffmpeg arguments, and if you make that part work then you can probably make use of those arguments with this library.

Hi hi, What the library currently does to add sound is a two pass encoding. First it makes a video without sound, and then attaches an audio file to that video. I don't currently have the time to work on this. But maybe it's already possible with the latest changes I made, because now you can tweak the command line options sent to ffmpeg, so maybe you could add some arguments to ffmpeg to grab the system audio in real time. I don't know if this would work. Here are some examples: https://trac.ffmpeg.org/wiki/Capture/Desktop I suggest you first make it work using ffmpeg, without Processing, by fiddling around with the ffmpeg arguments, and if you make that part work then you can probably make use of those arguments with this library.
Sign in to join this conversation.
No Branch/Tag specified
master
kotlinGradle
v23
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
hamoid/video_export_processing#50
Reference in a new issue
hamoid/video_export_processing
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?