Still having trouble with seek by time and fast forward. Specifically dancing with the stars recorded off air. I installed XBMC on my Win7 for comparison; the result is exactly the same. I did have success with one show only to have it fail on the next. The one that worked is only 1 hour long and the one that fails is 2 hours long but I do not know if that is the root cause.
I enabled logging and tried to find the specific failure point.
Here is a FAIL. When I execute the seek with the right arrow, the video stops and takes me back to the file menu
Code:
06:53:54 T:5536 DEBUG: CApplication::OnKey: right (f083) pressed, action is StepForward
06:53:54 T:5800 DEBUG: CDVDPlayer::SetCaching - caching state 2
06:53:54 T:5800 DEBUG: demuxer seek to: 1804145
06:53:54 T:5800 DEBUG: CDVDDemuxFFmpeg::SeekTime - seek ended up on time 12298
06:53:54 T:5800 DEBUG: demuxer seek to: 1804145, success
06:53:54 T:5536 DEBUG: CAnnouncementManager - Announcement: OnSeek from xbmc
06:53:54 T:5536 DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnSeek
06:53:54 T:5536 DEBUG: ------ Window Init (DialogSeekBar.xml) ------
06:53:54 T:3464 DEBUG: CDVDPlayerVideo - CDVDMsg::GENERAL_SYNCHRONIZE
06:53:54 T:6748 DEBUG: CDVDPlayerAudio - CDVDMsg::GENERAL_SYNCHRONIZE
06:53:54 T:5800 DEBUG: CDVDPlayer::SetCaching - caching state 0
06:53:54 T:5800 NOTICE: CDVDPlayer::OnExit()
06:53:54 T:5800 NOTICE: DVDPlayer: eof, waiting for queues to empty
06:53:54 T:5800 NOTICE: DVDPlayer: closing audio stream
06:53:54 T:5800 NOTICE: Closing audio stream
06:53:54 T:5800 NOTICE: CDVDMessageQueue(audio)::WaitUntilEmpty
06:53:54 T:6748 DEBUG: CDVDPlayerAudio - CDVDMsg::GENERAL_SYNCHRONIZE
06:53:54 T:5800 NOTICE: Waiting for audio thread to exit
06:53:54 T:6748 DEBUG: CDVDPlayerAudio::Process - Abort received, exiting thread
06:53:54 T:6748 NOTICE: thread end: CDVDPlayerAudio::OnExit()
06:53:54 T:6748 DEBUG: Thread CDVDPlayerAudio 6748 terminating
06:53:54 T:5800 NOTICE: Closing audio device
06:53:54 T:5800 DEBUG: CWin32DirectSound::Deinitialize: Cleaning up
Here is one that succeeds, I did a couple seeks as started by "right" keyboard press
Code:
06:56:16 T:5944 INFO: Loading skin file: VideoOSD.xml
06:56:16 T:6904 DEBUG: CDVDPlayerAudio:: Discontinuity - was:1060275.956860, should be:920126.104506, error:-140149.852354
06:56:17 T:6904 DEBUG: CDVDPlayerAudio:: Discontinuity - was:1950219.035312, should be:1933678.637523, error:-16540.397789
06:56:19 T:6844 DEBUG: CPullupCorrection: detected pattern of length 1: 33366.67, frameduration: 33366.666667
06:56:19 T:5944 DEBUG: SDLKeyboard: scancode: 50, sym: 0102, unicode: 0032, modifier: 0
06:56:19 T:5944 DEBUG: CApplication::OnKey: numpadtwo (f072) pressed, action is Number2
06:56:19 T:5944 DEBUG: ------ Window Deinit (Pointer.xml) ------
06:56:20 T:5944 DEBUG: ------ Window Deinit (VideoOSD.xml) ------
06:56:20 T:5944 DEBUG: SDLKeyboard: scancode: 52, sym: 0100, unicode: 0030, modifier: 0
..more keypresses snipped out..
06:56:24 T:5944 DEBUG: CApplication::OnKey: right (f083) pressed, action is StepForward
06:56:24 T:2828 DEBUG: CDVDPlayer::SetCaching - caching state 2
06:56:24 T:2828 DEBUG: demuxer seek to: 1208833
06:56:24 T:2828 DEBUG: CDVDDemuxFFmpeg::SeekTime - seek ended up on time 1208815
06:56:24 T:2828 DEBUG: demuxer seek to: 1208833, success
06:56:24 T:5944 DEBUG: CAnnouncementManager - Announcement: OnSeek from xbmc
06:56:24 T:5944 DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnSeek
06:56:24 T:5944 DEBUG: ------ Window Init (DialogSeekBar.xml) ------
06:56:24 T:6844 DEBUG: CDVDPlayerVideo - CDVDMsg::GENERAL_SYNCHRONIZE
06:56:24 T:6904 DEBUG: CDVDPlayerAudio - CDVDMsg::GENERAL_SYNCHRONIZE
06:56:24 T:6844 DEBUG: CDVDPlayerVideo - CDVDMsg::GENERAL_RESYNC(1209234344.222219, 1)
06:56:24 T:6844 INFO: CDVDPlayerVideo - Stillframe left, switching to normal playback
06:56:24 T:6904 DEBUG: CDVDPlayerAudio - CDVDMsg::GENERAL_RESYNC(1208959999.777777, 0)
06:56:24 T:2828 DEBUG: CDVDPlayer::HandleMessages - player started 1
06:56:24 T:6844 INFO: ffmpeg[1ABC]: [buffer] w:1920 h:1080 pixfmt:yuv420p
06:56:24 T:6844 INFO: ffmpeg[1ABC]: [yadif] mode:0 parity:-1 auto_enable:1
06:56:24 T:2828 DEBUG: CDVDPlayer::HandleMessages - player started 2
06:56:24 T:2828 DEBUG: CDVDPlayer::SetCaching - caching state 0
06:56:24 T:6904 DEBUG: CDVDPlayerAudio:: Discontinuity - was:1209207401.556368, should be:1208959999.777777, error:-247401.778591
06:56:24 T:6904 DEBUG: CWin32DirectSound::CheckPlayStatus: Resuming Playback
06:56:26 T:6904 DEBUG: CDVDPlayerAudio:: Discontinuity - was:1211058081.866422, should be:1211021972.351284, error:-36109.515138
06:56:27 T:5944 DEBUG: ------ Window Deinit (DialogSeekBar.xml) ------
06:56:28 T:5944 DEBUG: SDLKeyboard: scancode: 51, sym: 0103, unicode: 0033, modifier: 0
Here are some details about the video stream that FAILED
Code:
06:53:49 T:5800 INFO: ffmpeg[16A8]: Input #0, mpegts, from 'R:\Videos\Dancing_with_the_Stars_20120409_1900.ts':
06:53:49 T:5800 INFO: ffmpeg[16A8]: Duration: 02:00:48.59, start: 89219.785333, bitrate: 17941 kb/s
06:53:49 T:5800 INFO: ffmpeg[16A8]: Program 3
06:53:49 T:5800 INFO: ffmpeg[16A8]: Stream #0.0[0x31]: Video: mpeg2video, yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 17104 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
06:53:49 T:5800 INFO: ffmpeg[16A8]: Stream #0.1[0x34]: Audio: ac3, 48000 Hz, 5.1, s16, 384 kb/s
06:53:49 T:5800 NOTICE: Opening video stream: 0 source: 256
06:53:49 T:5800 NOTICE: Creating video codec with codec id: 2
06:53:49 T:5800 DEBUG: CDVDFactoryCodec: compiled in hardware support: CrystalHD:yes DXVA:yes
06:53:49 T:5800 DEBUG: FactoryCodec - Video: - Opening
06:53:49 T:5800 DEBUG: SECTION:LoadDLL(special://xbmcbin/system/players/dvdplayer/swscale-0.dll)
06:53:49 T:5800 DEBUG: SECTION:LoadDLL(special://xbmcbin/system/players/dvdplayer/avfilter-1.dll)
06:53:49 T:5800 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: MPEG-2 video
06:53:49 T:5800 DEBUG: FactoryCodec - Video: ff-mpeg2video - Opened
06:53:49 T:5800 NOTICE: Creating video thread
06:53:49 T:5800 NOTICE: Opening audio stream: 1 source: 256
06:53:49 T:5800 NOTICE: Finding audio codec for: 86019
06:53:49 T:5800 DEBUG: FactoryCodec - Audio: FFmpeg - Opening
06:53:49 T:3464 DEBUG: Thread CDVDPlayerVideo start, auto delete: 0
06:53:49 T:3464 NOTICE: running thread: video_thread
06:53:49 T:5800 DEBUG: FactoryCodec - Audio: FFmpeg - Opened
06:53:49 T:5800 NOTICE: Creating audio thread
06:53:49 T:5800 DEBUG: CEdl::ReadEditDecisionLists - Checking for edit decision lists (EDL) on local drive or remote share for: R:\Videos\Dancing_with_the_Stars_20120409_1900.ts
06:53:49 T:6748 DEBUG: Thread CDVDPlayerAudio start, auto delete: 0
06:53:49 T:6748 NOTICE: running thread: CDVDPlayerAudio::Process()
06:53:49 T:5800 DEBUG: CDVDPlayer::SetCaching - caching state 2
06:53:49 T:3464 DEBUG: CDVDPlayerVideo - CDVDMsg::GENERAL_SYNCHRONIZE
06:53:49 T:3464 DEBUG: CDVDPlayerVideo - CDVDMsg::GENERAL_RESYNC(20044.777775, 1)
06:53:49 T:3464 INFO: CDVDPlayerVideo - Stillframe left, switching to normal playback
06:53:49 T:6748 DEBUG: CDVDPlayerAudio - CDVDMsg::GENERAL_RESYNC(0.333326, 0)
06:53:49 T:6748 NOTICE: Creating audio device with codec id: 86019, channels: 6, sample rate: 48000, no pass-through
06:53:49 T:6748 INFO: AudioRendererFactory: not a explicit device, trying to autodetect.
06:53:49 T:6748 INFO: CPCMRemap: Configured speaker layout: 2.0
06:53:49 T:6748 INFO: CPCMRemap: I channel map: FL,FR,CE,LFE,SL,SR
06:53:49 T:6748 DEBUG: CPCMRemap: Forcing side channel map to back channels
06:53:49 T:6748 INFO: CPCMRemap: O channel map: FL,FR
06:53:49 T:6748 DEBUG: CPCMRemap: Downmix normalization is disabled
06:53:49 T:6748 DEBUG: CPCMRemap: FL = FL(1.000000) CE(0.707107) LFE(0.707107) BL(1.000000)
06:53:49 T:6748 DEBUG: CPCMRemap: FR = FR(1.000000) CE(0.707107) LFE(0.707107) BR(1.000000)
06:53:49 T:6748 DEBUG: CWin32DirectSound::Initialize: Packet Size = 12384. Avg Bytes Per Second = 192000.
06:53:49 T:5536 DEBUG: CGUIAudioManager::DeInitialize
06:53:49 T:6748 DEBUG: CWin32DirectSound::Initialize: secondary buffer created
06:53:49 T:6748 DEBUG: CWin32DirectSound::Initialize - Channels: 6 - SampleRate: 48000 - SampleBit: 16 - Resample false - IsMusic false - IsPassthrough 0 - audioDevice: Default
I did try re-encoding the video with Handbrake using the 'High Profile' preset but the resulting file will not play on either of my XBMCBUNTU systems. It goes sort of stop-motion herky jerky...