id summary reporter owner description type status priority milestone component version severity resolution keywords cc mlocked 9699 Mythtranscode exits out after sending 1st frame Geoffrey Hausheer beirdo "I have a very old recording (circa 2004, .nuv format recorded with PVR250 I think). It plays fine in myth, but when I tried to transcode it, mythtranscode exited after sending the 1st frame. I debugged it to this: The second time through MythPlayer::TranscodeGetNextFrame {{{ lastDecodedFrameNumber = videoOutput->GetLastDecodedFrame()->frameNumber; }}} returns -1 since lastDecodedFrameNumber is uint64_t, it becomes a very large number. Later we do this: {{{ if (totalFrames && lastDecodedFrameNumber >= totalFrames) return false; }}} which fires because lastDecodedFrameNumber is > totalFrames. When I changed lastDecodedFrameNumber to a signed int64_t and changed the above check to {{{ if (totalFrames && lastDecodedFrameNumber >= (int64_t)totalFrames) }}} Transcoding worked fine. The proper solution may be for GetLastDecodedFrame() to not return a frame number of -1, but I don't know enough about the video buffers to go any further. I can provide the original nuv if needed, but it is about 1GB. I can try trimming it down to see if I can reproduce with only a portion of the file as well." Bug Report - General closed minor 0.25 MythTV - Mythtranscode 0.24-fixes medium fixed 0