EDL-based seek in MKV broken - works fine with same in MPEG
#1
Hi there,

I use tvheadend 2.12 to record mkv files from DVB-t. The files play fine, but i'm trying to get comskip (under wine) to work properly, as noone like watching adverts.

The process (as far as i can tell) is to
1) use ffmpeg to convert mkv to mpeg
2) use comkip (under wine) to generate the EDL file

This all works swimmingly.

The problem is when i playback the MKV file (with associated EDL in the folder), the seeking as defined in the EDL does not work. The start of the commercial is determined properly, as I can see the OSD come up saying its going to skip. But the skip fails, and it basically keeps showing without skipping.

If I play the ffmpeg generated MPEG file (again with the EDL file in the folder), the skipping works flawlessly.

What is wrong with skipping on tvheadend generated MKV files in XBMC?

From xbmc.log when playing MKV
Quote:14:18:00 T:140157461489408 M:1365270528 DEBUG: CheckAutoSceneSkip - Clock in commercial break [00:03:38.880 - 00:07:19.400]: 00:03:38.902. Automatically skipping to end of commercial break (only done once per break)
14:18:00 T:140157461489408 M:1365270528 DEBUG: demuxer seek to: 439401
14:18:00 T:140157461489408 M:1365270528 DEBUG: SeekTime - seek ended up on time 438840
14:18:00 T:140157461489408 M:1365270528 DEBUG: demuxer seek to: 439401, success
14:18:00 T:140157461489408 M:1365270528 DEBUG: CheckPlayerInit - dropping packet type:2 dts:438840000.000000 to get to start point at 439401000.000000
14:18:00 T:140157417674496 M:1365270528 DEBUG: DllPostProc: Using libpostproc system library
14:18:00 T:140157854013600 M:1365270528 DEBUG: ------ Window Init (DialogSeekBar.xml) ------
14:18:00 T:140157417674496 M:1365270528 DEBUG: DllPostProc: Using libpostproc system library
14:18:02 T:140157854013600 M:1365278720 DEBUG: Previous line repeats 64 times.
14:18:02 T:140157854013600 M:1365278720 DEBUG: ------ Window Deinit (DialogSeekBar.xml) ------
14:18:02 T:140157417674496 M:1365278720 DEBUG: DllPostProc: Using libpostproc system library
14:18:07 T:140156795352832 M:1365389312 DEBUG: Previous line repeats 118 times.
14:18:07 T:140156795352832 M:1365389312 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
14:18:07 T:140157417674496 M:1365389312 DEBUG: DllPostProc: Using libpostproc system library
14:18:08 T:140157417674496 M:1365504000 DEBUG: Previous line repeats 13 times.
14:18:08 T:140157417674496 M:1365504000 WARNING: CDVDMessageQueue(video)::Get - asked for new data packet, with nothing available
14:18:08 T:140157461489408 M:1365504000 DEBUG: CheckPlayerInit - dropping packet type:2 dts:438760000.000000 to get to start point at 439401000.000000
14:18:08 T:140157461489408 M:1365504000 DEBUG: CDVDPlayer::SetCaching - caching state 2
14:18:08 T:140157461489408 M:1365504000 DEBUG: CheckPlayerInit - dropping packet type:1 dts:438238000.000000 to get to start point at 439401000.000000
14:18:08 T:140157461489408 M:1365504000 DEBUG: CDVDPlayer::SetCaching - caching state 3
14:18:08 T:140157461489408 M:1365504000 DEBUG: CheckPlayerInit - dropping packet type:1 dts:438262000.000000 to get to start point at 439401000.000000
14:18:08 T:140157461489408 M:1365504000 DEBUG: CheckPlayerInit - dropping packet type:1 dts:438286000.000000 to get to start point at 439401000.000000
14:18:08 T:140157461489408 M:1365504000 DEBUG: CheckPlayerInit - dropping packet type:1 dts:438310000.000000 to get to start point at 439401000.000000
14:18:08 T:140157461489408 M:1365504000 DEBUG: CheckPlayerInit - dropping packet type:1 dts:438334000.000000 to get to start point at 439401000.000000

From xbmc.log when playing MPEG
Quote:14:18:27 T:140157461489408 M:1362702336 DEBUG: CheckAutoSceneSkip - Clock in commercial break [00:03:38.880 - 00:07:19.400]: 00:03:38.880. Automatically skipping to end of commercial break (only done once per break)
14:18:27 T:140157461489408 M:1362702336 DEBUG: demuxer seek to: 439401
14:18:27 T:140157461489408 M:1362702336 DEBUG: SeekTime - seek ended up on time 439370
14:18:27 T:140157461489408 M:1362702336 DEBUG: demuxer seek to: 439401, success
14:18:27 T:140157461489408 M:1362702336 DEBUG: CheckPlayerInit - dropping packet type:1 dts:438984000.000000 to get to start point at 439401000.000000
14:18:27 T:140157636372224 M:1362702336 DEBUG: DllPostProc: Using libpostproc system library
14:18:28 T:140157854013600 M:1361412096 DEBUG: Previous line repeats 18 times.
14:18:28 T:140157854013600 M:1361412096 DEBUG: SDLKeyboard: scancode: 113, sym: 276, unicode: 0, modifier: 0
14:18:28 T:140157854013600 M:1361412096 DEBUG: OnKey: 61477 pressed, action is StepBack
14:18:28 T:140157461489408 M:1361412096 DEBUG: CDVDPlayer::SetCaching - caching state 2
14:18:28 T:140157461489408 M:1361412096 DEBUG: demuxer seek to: 183542
14:18:28 T:140157461489408 M:1361412096 DEBUG: SeekTime - seek ended up on time 183530
14:18:28 T:140157461489408 M:1361412096 DEBUG: demuxer seek to: 183542, success
14:18:28 T:140157854013600 M:1361412096 DEBUG: CAnnouncementManager - Announcement: PlaybackSeek from xbmc
14:18:28 T:140157636372224 M:1361412096 DEBUG: CDVDPlayerVideo - CDVDMsg::GENERAL_SYNCHRONIZE
14:18:28 T:140157443970816 M:1361412096 DEBUG: CDVDPlayerAudio - CDVDMsg::GENERAL_SYNCHRONIZE
14:18:28 T:140157443970816 M:1361412096 DEBUG: CDVDPlayerAudio - CDVDMsg::GENERAL_RESYNC(183024000.000000, 0)
14:18:28 T:140157461489408 M:1361412096 WARNING: CDVDPlayer::CheckContinuity - wrapback of stream:2, prev:183650000.000000, curr:183570000.000000, diff:-80000.000000
14:18:28 T:140157461489408 M:1361412096 DEBUG: CDVDPlayer::HandleMessages - player started 1
14:18:28 T:140157636372224 M:1361412096 DEBUG: CDVDPlayerVideo - CDVDMsg::GENERAL_RESYNC(183530000.000000, 1)
14:18:28 T:140157636372224 M:1361412096 INFO: CDVDPlayerVideo - Stillframe left, switching to normal playback

Any thoughts?

Cheers,

Nathan
Reply


Messages In This Thread
EDL-based seek in MKV broken - works fine with same in MPEG - by nmcaullay - 2011-02-03, 16:46
[No subject] - by opdenkamp - 2011-02-04, 12:58
[No subject] - by vajonam - 2011-03-18, 03:59
[No subject] - by theophile - 2011-03-18, 15:46
[No subject] - by nmcaullay - 2011-03-21, 15:42
[No subject] - by nmcaullay - 2011-03-22, 17:37
Logout Mark Read Team Forum Stats Members Help
EDL-based seek in MKV broken - works fine with same in MPEG0