kenmasters1976
25th February 2010, 04:47
I'm trying to author a simple DVD using the CLI with FFmpeg and dvdauthor. First, I convert the source video to DVD format using the -target ntsc-dvd preset in FFmpeg, then I use spumux to mux some text SRT subtitles with the video and then I use dvdauthor to get the finished, ready to burn DVD folders.
Now, what I'm trying to do -if possible- is to use pipes to, say, redirect the output from FFmpeg directly into spumux. Is it possible?. I tried but couldn't get it to work. More important, do I actually get some benefit (in terms of speed, CPU/HDD load, etc.) by using pipes?.
Thanks.
[EDIT:] I'm using Windows XP.
[EDIT 2:] Never mind. It was actually rather simple. This command works to get the output from FFmpeg into spumux (I've omitted some options in FFmpeg for simplicity):
ffmpeg.exe -i source.avi -target ntsc-dvd - | spumux.exe subtitles.xml > target.vob
Now I just have to figure one more pipe to get the result of this one directly into dvdauthor and everything will be ready to go.
[EDIT 3:] It seems that getting the output from FFmpeg into spumux was the easy part. I don't know how to pipe the resulting .vob file into dvdauthor. Is it possible?. Another alternative would be to have dvdauthor use the same .vob file for the output instead of generating -and fixing- a copy in the target directory.
I'd appreciate any help.
Now, what I'm trying to do -if possible- is to use pipes to, say, redirect the output from FFmpeg directly into spumux. Is it possible?. I tried but couldn't get it to work. More important, do I actually get some benefit (in terms of speed, CPU/HDD load, etc.) by using pipes?.
Thanks.
[EDIT:] I'm using Windows XP.
[EDIT 2:] Never mind. It was actually rather simple. This command works to get the output from FFmpeg into spumux (I've omitted some options in FFmpeg for simplicity):
ffmpeg.exe -i source.avi -target ntsc-dvd - | spumux.exe subtitles.xml > target.vob
Now I just have to figure one more pipe to get the result of this one directly into dvdauthor and everything will be ready to go.
[EDIT 3:] It seems that getting the output from FFmpeg into spumux was the easy part. I don't know how to pipe the resulting .vob file into dvdauthor. Is it possible?. Another alternative would be to have dvdauthor use the same .vob file for the output instead of generating -and fixing- a copy in the target directory.
I'd appreciate any help.