ffmpeg-based preset/plug-ins -- Possible?
-
- Bright Spark User
- Posts: 313
- Joined: Thu Aug 01, 2019 8:58 pm
ffmpeg-based preset/plug-ins -- Possible?
Indirectly related topic: viewtopic.php?f=10&t=40069
How hard would it be to put ffmpeg-based plug-ins into presets?
How it would work:
Suppose I have a video processor, written as an ffpeg command, that outputs to a temp file.
HandBrake would 'run' the preset, extracting the audio, subs, and chaps in the usual ways, but would process the video by 1st: running the ffpeg command, then 2nd, merging the temp's video packets into the HandBrake output. HandBrake would then delete the temp.
The above strategy could also be used to process audio tracks, and/or subtitle tracks from within presets.
Could this be implemented? I suppose I don't need to 'talk' further regarding how useful and powerful this would be.
Regards,
Mark Filipak.
How hard would it be to put ffmpeg-based plug-ins into presets?
How it would work:
Suppose I have a video processor, written as an ffpeg command, that outputs to a temp file.
HandBrake would 'run' the preset, extracting the audio, subs, and chaps in the usual ways, but would process the video by 1st: running the ffpeg command, then 2nd, merging the temp's video packets into the HandBrake output. HandBrake would then delete the temp.
The above strategy could also be used to process audio tracks, and/or subtitle tracks from within presets.
Could this be implemented? I suppose I don't need to 'talk' further regarding how useful and powerful this would be.
Regards,
Mark Filipak.
Re: ffmpeg-based preset/plug-ins -- Possible?
Impossible if you're using handbrake. Handbrake is not a GUI front-end for ffmpeg.
-
- Bright Spark User
- Posts: 313
- Joined: Thu Aug 01, 2019 8:58 pm
Re: ffmpeg-based preset/plug-ins -- Possible?
HB wouldn't do anything with ffmpeg. It would simply submit a fixed command to the OS shell, then wait for a fixed file to be created, then spin on that file until it closes, then open the file and merge it with the rest of the streams. What could be simpler? The command could be anything, not just ffmpeg.
-
- Veteran User
- Posts: 4840
- Joined: Wed May 04, 2011 11:06 pm
Re: ffmpeg-based preset/plug-ins -- Possible?
Again HB is not a muxer, it cannot take a bunch of streams and mux them together. It never has and judging what the devs say it never will.
-
- Bright Spark User
- Posts: 313
- Joined: Thu Aug 01, 2019 8:58 pm
Re: ffmpeg-based preset/plug-ins -- Possible?
All that's needed is to take streams from 2 files instead of from 1 file.rollin_eng wrote: ↑Mon May 04, 2020 4:00 pm Again HB is not a muxer, it cannot take a bunch of streams and mux them together. It never has and judging what the devs say it never will.
-
- Veteran User
- Posts: 4840
- Joined: Wed May 04, 2011 11:06 pm
Re: ffmpeg-based preset/plug-ins -- Possible?
Source code is available, pay someone to do it.
-
- Bright Spark User
- Posts: 313
- Joined: Thu Aug 01, 2019 8:58 pm
Re: ffmpeg-based preset/plug-ins -- Possible?
This ping-pong game is making me dizzy.
-
- Veteran User
- Posts: 4840
- Joined: Wed May 04, 2011 11:06 pm
Re: ffmpeg-based preset/plug-ins -- Possible?
So I guess you are out of luck.
Re: ffmpeg-based preset/plug-ins -- Possible?
Anything's possible.
If one of the devs doesn't reply here, you might try suggesting the feature on github.
https://github.com/HandBrake/HandBrake/issues
If one of the devs doesn't reply here, you might try suggesting the feature on github.
https://github.com/HandBrake/HandBrake/issues
- JohnAStebbins
- HandBrake Team
- Posts: 5713
- Joined: Sat Feb 09, 2008 7:21 pm
Re: ffmpeg-based preset/plug-ins -- Possible?
HANDBRAKE IS NOT A VIDEO REMUXER