My favorites | Sign in
Project Home Issues Source
New issue   Search
for
  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
Owner:  art.cla...@gmail.com
Closed:  Jan 2011


Sign in to add a comment
 
Reported by silv...@gmail.com, Oct 21, 2010
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.

test.wmv
5.9 MB   Download
Jan 24, 2011
#1 millermi...@gmail.com
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.
issue_252_patch.diff
1.2 KB   View   Download
Jan 29, 2011
Project Member #2 art.cla...@gmail.com
Fixed in r1063
Status: Fixed
Sign in to add a comment

Powered by Google Project Hosting