|Issue 252:||Can't transcode wmv3 video|
|2 people starred this issue and may be notified of changes.||Back to list|
What steps will reproduce the problem? 1. Run xuggle example TranscodeAudioAndVideo.java with the file sent in attachment What is the expected output? What do you see instead? The expected output is a flv file, but instead the following exception is raised: (java.lang.IllegalArgumentException: could not find input codec id). The FFMPeg that comes with the Xuggle version I'm using, transcode the file without problems. I've tried the example with different wmv3 video, always getting the same exception What operating system and JVM version are you using. Windows 7, JDK 1.6 32 bit, Xuggle 3.4 Forrest. Attach relevant log/output files.
Jan 24, 2011
I believe this is caused by a bug in the IContainerFormat.establishOutputCodecId method. The method calls ICodec.findEncodingCodec(inputCodecId) and I think it should call ICodec.findDecodingCodec(inputCodecId). My guess is that this is only an issue for codecs that ffmpeg can decode but not encode. I created a patch and attached below. The patch is tested against a similar situation as defined above, but not exact, and passed.
Jan 29, 2011
Fixed in r1063
|► Sign in to add a comment|