Fast Forward and seek forward by time problem
#1
hi all,

I have noticed I cannot seek by typing a time and > button in large files. It happens to be 1 and 2 hour high def shows recorded with windows media canter from OTA TV. Sitcoms seem to work OK.

I first had this trouble on my Fusion E-350 machine running openelec so I switched to my newly loaded XBMCBuntu build on a really old P4 machine. Since the behavior is the same on both systems I gather it could be a somewhat general problem.

What kind of things can I do to isolate the reason for this? is it a known problem that large files do not work well or properly?

I first tried to ff 2X, then 4X, then 8X but that is just super slow. When I found that you can type a time to seek to I thought I was home free. When I type a time and press the right arrow button the screen just freezes.

thanks in advance for any advice!

Mark
Reply
#2
hardware:

GIGABYTE GA-E350N-USB3 AMD E-350 APU (1.6GHz, Dual-Core) AMD Hudson-M1 FCH Mini ITX Motherboard/CPU Combo

OCZ Vertex Series OCZSSD2-1VTX30GXXX 2.5" 30GB SATA II MLC Internal Solid State Drive (SSD)

Kingston 4GB 240-Pin DDR3 SDRAM DDR3 1066 (PC3 8500) Desktop Memory Model KVR1066D3N7/4G

The motherboard can accept up to 8GB of RAM and I have 4GB now. **Would more RAM change this issue?**

I did an experiment to copy the file to the local SSD instead of from the other computer over ethernet. This improved the behavior. I could forward 10minutes by seek but not 20min. so I tried 10, then 10, then 5. I was trying to get to 25min into the 1 hour recording. This failed so I tried 20, then 20 and let it play. Then it stopped playing after a little bit and went back to the file menu. so really the issue still persists.

The issue seems related to filesize since my shorter recordings seem to work just fine. I also have not had issues in DVDs but since they have chapters I haven't had to large seek commands.
Reply
#3
Just did a fresh install of XBMCBUNTU onto the Fusion AMD E-350 Hardware and still seek does not work in my recorded TV files.

Anyone out there watching 1hour+ long recorded TV shows and having this feature work?

I cannot reliably fast forward long distances or seek by time. The system will drop out of the video and go back to the file menu.
Reply
#4
Any issue with full-length movies? If not it sounds like an issue with WMC captures.
System: XBMC HTPC with HDMI WASAPI & AudioEngine - Denon  AVR-3808CI  - Denon DVD-5900 Universal Player  - Denon DCM-27 CD-Changer
- Sony BDP-S580 Blu-Ray  - X-Box 360  - Android tablet wireless remote - 7.1 Streem/Axiom/Velodyne Surround System
If I have been able to help feel free to add to my reputation +/- below - thanks!
Reply
#5
My movies are all .ISO DVDs and since they have chapters I have never needed to FF through them.

I was using the WinTV software that came with the Hauppauge tuner previously but switched to use WMC after a show I recorded would not fast forward properly. So while it is not an exhaustive test the general issue started only when I started watching the new season of Dancing with the Stars via record, then watch later.


I have been able to seek forward by 10 minutes but it takes quite some time to do it. I leave the room and come back. I just tried doing 20 minute forward seek and after 9 minutes the screen was still frozen and the next time I checked on it the file viewer was showing so it dropped out of play mode but xbmc didn't crash per se.


oh, I just remembered I recorded 12.1GB of the grammys with WinTV last month so I'll set up a test with that file and report back.
Reply
#6
I tried an older, ~11GB file recorded with WinTV v7, it was the Academy awards, not Grammys as I said above but that hardly matters.

flawless! seek!. now I can see for sure that I did not need to add memory. The seek happens just within a second or two.

So the issue seems to have come into my files in the last month and it happens regardless of WinTV or MCE. Very strange as my computer and recording hardware have not seen any changes I am aware of.

I looked at some of the details of the bad and good files and they seem like the same thing, Ac3 audio 48khz 385 kb/s

mpeg2video, 420p 30fps and both around 16Mb/s data. Both are large files, more than 8GB and both were recorded with WinTV v7 which is the software that came with my tuner.

sorry I am completely new at this particular thing so my terminology is probably not quite perfect.

Anyway it does appear the problem is unique to me or could there be a problem in the over the air broadcast data stream? I guess I can record some different TV stations and check the difference.
Reply
#7
It was pointing to the file format for sure. One (tedious) option is to re-encode one of the files, still to mpeg, and see if a different program's output works. If so, it's very definitely the format. FYI 385kb/s is not a very standard AC3 data rate - usually 448kb/s or 640kb/s.
System: XBMC HTPC with HDMI WASAPI & AudioEngine - Denon  AVR-3808CI  - Denon DVD-5900 Universal Player  - Denon DCM-27 CD-Changer
- Sony BDP-S580 Blu-Ray  - X-Box 360  - Android tablet wireless remote - 7.1 Streem/Axiom/Velodyne Surround System
If I have been able to help feel free to add to my reputation +/- below - thanks!
Reply
#8
(2012-03-30, 22:11)DDDamian Wrote: It was pointing to the file format for sure. One (tedious) option is to re-encode one of the files, still to mpeg, and see if a different program's output works. If so, it's very definitely the format. FYI 385kb/s is not a very standard AC3 data rate - usually 448kb/s or 640kb/s.

doh! I made a typo. Actually the AC3 data rate was 384 not 385. This was the data rate on a file that worked (recorded more than a month ago) and file that didn't work.

I did try re-encoding but handbrake crashed during this. I am going to pursue that angle though. I will record different networks and high-def and non high-def and will also try to re-encode some different files.

If I cannot figure something out I will remove and re-install the WinTV software. I can also try getting files from a different person who has MCE and a TV tuner.

Judging from what I found/ or didn't find with Google the problem is isolated to my files and that is why the problem existed on various builds of XBMC.

Thanks so much, DDDamian for your help!
Reply
#9
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...

Reply

Logout Mark Read Team Forum Stats Members Help
Fast Forward and seek forward by time problem0