林,但我的程序不出來的,而循環請人幫助我 這是我的代碼xuggler convertingh MP4使用xuggler轉換MP4文件到AVI文件。該轉換進展順利爲avi
IMediaReader mediaReader = ToolFactory.makeReader(inputFilename);
IMediaWriter mediaWriter = ToolFactory.makeWriter(outputFilename, mediaReader);
mediaReader.addListener(mediaWriter);
IMediaViewer mediaViewer = ToolFactory.makeViewer(true);
mediaReader.addListener(mediaViewer);
while (mediaReader.readPacket() == null);
感謝在advace
@ thomas不,我沒有做到這一點....現在嘗試它感謝您的幫助 – 2011-03-04 12:06:46