My favorites | Sign in
Project Home Issues Source
New issue   Search
  Advanced search   Search tips   Subscriptions
Issue 252: Can't transcode wmv3 video
2 people starred this issue and may be notified of changes. Back to list
Status:  Fixed
Closed:  Jan 2011

Sign in to add a comment
Reported by, Oct 21, 2010
What steps will reproduce the problem?
Run xuggle example 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.

5.9 MB   Download
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.
1.2 KB   View   Download
Jan 29, 2011
Project Member #2
Fixed in r1063
Status: Fixed
Sign in to add a comment

Powered by Google Project Hosting