BufferedImages をエンコードしてビデオ ファイルを作成します。mp3 ファイルからこのビデオにオーディオを追加するにはどうすればよいですか?
IMediaWriter movie = ToolFactory.makeWriter("somefile.mp4");
movie.addVideoStream(0, 0, ICodec.ID.CODEC_ID_H264, 720, 540);
movie.encodeVideo(0,img, time, TimeUnit.MILLISECONDS);
movie.close();
クラスを連結しようとすると、次のエラーが発生します。
45694 [Thread-2] WARN com.xuggle.xuggler - Got error: picture is not of the same PixelType as this Coder expected (../../../../../../../csrc/com/xuggle/xuggler/StreamCoder.cpp:1430)