Closed
Description
FFmpegBuilder fFmpegBuilder = new FFmpegBuilder()
.setInput(filePath)
.overrideOutputFiles(true)
.addOutput(filePathWithoutExtension.concat("_144_video_output.webm"))
.setAudioCodec("libvorbis")
.setVideoCodec("libvpx-vp9")
.setVideoResolution(256, 144)
.done();
fFmpegExecutor.createJob(fFmpegBuilder).run();
I am creating .webm file of different resolution
Now i want to create webm dash manifest xml file. Like this:
ffmpeg \
-f webm_dash_manifest -i video_160x90_250k.webm \
-f webm_dash_manifest -i video_320x180_500k.webm \
-f webm_dash_manifest -i video_640x360_750k.webm \
-f webm_dash_manifest -i video_640x360_1000k.webm \
-f webm_dash_manifest -i video_1280x720_500k.webm \
-f webm_dash_manifest -i audio_128k.webm \
-c copy -map 0 -map 1 -map 2 -map 3 -map 4 -map 5 \
-f webm_dash_manifest \
-adaptation_sets "id=0,streams=0,1,2,3,4 id=1,streams=5" \
manifest.mpd
This command is from ffmpeg documentation. This above command creates a .mpd file .
can i do the same with this ffmpeg-cli-wrapper