When I bring up the details of a video from a Canon TX1 with the properties listed at the end of this post, the duration is listed as 30ms even though the PlayTime in the Video and Audio sections are correct. Since the duration states 30ms, I can not transcode the video because it thinks it is only 30ms long. Is this a bug in MediaCoder or in the MJPEG video created by the Canon TX1, other Canon camera videos work properly.
General #0
Complete name : C:\Zips\home\tx1\MVI_0001.AVI
Format : AVI
Format/Info : Audio Video Interleave
Format/Family : RIFF
File size : 167 MiB
PlayTime : 38s 467ms
Bit rate : 36 Mbps
Mastered date : SAT APR 07 21:31:41 2007
Writing application : CanonMVI06
Video #0
Codec : M-JPEG
Codec/Info : M-JPEG including Huffman Tables
PlayTime : 38s 466ms
Bit rate : 35 Mbps
Width : 1280 pixels
Height : 720 pixels
Aspect ratio : 16/9
Frame rate : 30.000 fps
Resolution : 24 bits
Bits/(Pixel*Frame) : 1.262
Audio #0
Codec : PCM
Codec/Family : PCM
Codec/Info : Microsoft PCM
PlayTime : 38s 467ms
Bit rate : 37 Kbps
Channel(s) : 2 channels
Sampling rate : 44 KHz
Resolution : 16 bits
StreamSize : 172 KiB
Video duration error for Canon TX1
I forgot to mention that this was for build 3840. After further testing, I found that it does transcode the file, but the percent complete does not work, it jumps to 100% (since it thinks it is only 30ms instead of 38sec). The time remaining also does not work for the same reason. Based on the console output, it looks like MEncoder.exe is reporting the duration of 30ms which is not correct.