NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Kodi / XBMC X-NEWA v
« Previous 1 … 5 6 7 8 9 … 13 Next »
Problem with Kodi determining recording length

 
  • 0 Vote(s) - 0 Average
Problem with Kodi determining recording length
BrettB
Offline

Posting Freak

Saint Paul, MN, USA
Posts: 2,666
Threads: 170
Joined: Jun 2007
#1
2016-07-14, 04:38 PM
Greetings, Martin!

Did you find a resolution to this question: http://forum.kodi.tv/showthread.php?tid=209543?

Recently, I’ve started having problems with X-NEWA/Kodi playing some of my recordings. (Via SMB shares from path substitution—recorded with HDHR Prime) When it starts playing these recordings, the display will show “Working” for a bit, then it will start to play, automatically pause the playback, and the display shows “Buffering… 48%, 00:01 – 00:02”. (The percentage and times will vary somewhat from recording to recording.) If I then press “Play”, it will begin playing, but the file duration just shows the length played (and increases second by second as the playing continues).

In the attached log file, I'm seeing:
Code:
11:26:57  90.298790 T:1474483104   DEBUG: Open - avformat_find_stream_info starting
11:26:57  90.320480 T:1474483104   ERROR: ffmpeg[57E2D3A0]: [mpeg2video] Invalid frame dimensions 0x0.
11:26:57  90.453621 T:1474483104   ERROR: Previous line repeats 19 times.
11:26:57  90.453712 T:1474483104   DEBUG: ffmpeg[57E2D3A0]: [mpegts] max_analyze_duration 500000 reached at 512000 microseconds st:1
11:26:57  90.453781 T:1474483104    INFO: ffmpeg[57E2D3A0]: [mpegts] decoding for stream 0 failed
11:26:57  90.486488 T:1664086944    INFO: CFileCache::Process - Hit eof.
11:26:58  91.015045 T:1962557440    INFO: Previous line repeats 3 times.
11:26:58  91.015137 T:1962557440   DEBUG: ------ Window Init (DialogBusy.xml) ------
11:26:58  91.475891 T:1664086944    INFO: CFileCache::Process - Hit eof.
11:27:01  94.137192 T:1474483104    INFO: Previous line repeats 2 times.
11:27:01  94.137276 T:1474483104   DEBUG: ffmpeg[57E2D3A0]: [mpegts] Could not find codec parameters for stream 0 (Video: mpeg2video ([2][0][0][0] / 0x0002), none(tv)): unspecified size
11:27:01  94.137329 T:1474483104   DEBUG: ffmpeg[57E2D3A0]: [mpegts] Consider increasing the value for the 'analyzeduration' and 'probesize' options
11:27:01  94.137375 T:1474483104   DEBUG: Open - av_find_stream_info finished

This "Consider increasing the value for the 'analyzeduration' and 'probesize' options" message is the same that you were asking about in the reference post. So I'm wondering if you found a way to increase this value?


Interesting side-effect: I use .edl files genereated by comskip. When the playback gets to the beginning of a skip point, it appears to hang. At first, I would press the stop button and give up trying to play that file via Kodi. Then one time, I was busy doing something else, and didn't hit the stop button quickly. And after an amount of time (approximately?) equal to the length of the skip point, it would begin playing again. So it is sort of "muting" the commercial, although the video display remains the last frame from before the commercial and there is no visual indication that it is still doing something. Very strange! But, now I know how to work-around the problem and play the entire file via Kodi.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,891
Threads: 954
Joined: May 2006
#2
2016-07-14, 05:15 PM
BrettB Wrote:Greetings, Martin!

Did you find a resolution to this question: http://forum.kodi.tv/showthread.php?tid=209543?

This "Consider increasing the value for the 'analyzeduration' and 'probesize' options" message is the same that you were asking about in the reference post. So I'm wondering if you found a way to increase this value?

No that is a compliled ffmpeg value and I rarely bother with the Kodi forums.

Quote:Interesting side-effect: I use .edl files genereated by comskip. When the playback gets to the beginning of a skip point, it appears to hang. At first, I would press the stop button and give up trying to play that file via Kodi. Then one time, I was busy doing something else, and didn't hit the stop button quickly. And after an amount of time (approximately?) equal to the length of the skip point, it would begin playing again. So it is sort of "muting" the commercial, although the video display remains the last frame from before the commercial and there is no visual indication that it is still doing something. Very strange! But, now I know how to work-around the problem and play the entire file via Kodi.

Based on this if I had to guess something about how commercials are inserted in the steam is causing a problem. Does a simple remux fix this?

Martin
BrettB
Offline

Posting Freak

Saint Paul, MN, USA
Posts: 2,666
Threads: 170
Joined: Jun 2007
#3
2016-07-15, 02:26 AM
mvallevand Wrote:Based on this if I had to guess something about how commercials are inserted in the steam is causing a problem. Does a simple remux fix this?

I haven't tried remuxing any of the problem .ts files. I did zip and upload the Zoo folder which contains the .ts file. You can access it here: https://bowmantech-my.sharepoint.com/per...2e7534f991

I did notice that frequently when it happens, it's the first show in prime-time. So it might have something to do with the broadcast transition from local programming to the network programming.

I'd be interested in knowing if you get the same behavior playing the .ts file in Kodi and/or if you see something "strange" with the .ts file format.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,891
Threads: 954
Joined: May 2006
#4
2016-07-15, 04:38 AM
BrettB Wrote:I haven't tried remuxing any of the problem .ts files. I did zip and upload the Zoo folder which contains the .ts file. You can access it here: https://bowmantech-my.sharepoint.com/per...2e7534f991

I did notice that frequently when it happens, it's the first show in prime-time. So it might have something to do with the broadcast transition from local programming to the network programming.

I'd be interested in knowing if you get the same behavior playing the .ts file in Kodi and/or if you see something "strange" with the .ts file format.

I can't really watch that because I haven't started season 2 yet, but the transport scrambling control flag is set to 2 (encrypted) for several hundred packets at the beginning of your file. After removing them Kodi displays the correct duration. I wonder if sub should filter those out.

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Client Install Problem jcjefferies 5 1,177 2023-09-07, 02:43 AM
Last Post: sub
  Unclear how to install knewc and use it in Kodi smbunn 2 1,356 2023-05-02, 01:12 PM
Last Post: mvallevand
  X-NEWA client problem jcjefferies 2 1,032 2023-04-11, 05:01 PM
Last Post: jcjefferies
  knewc Timeout Starting Recording Playback BrettB 1 1,622 2021-10-21, 03:02 PM
Last Post: mvallevand
  Kodi 19 Matrix - knewc is Uninstalled after Modification meccano 2 2,709 2021-04-12, 03:08 PM
Last Post: meccano
  Kodi 19 Beta jcjefferies 6 2,467 2021-03-29, 06:40 PM
Last Post: mvallevand
  kodi/knewc crashing baj1 12 4,326 2021-01-23, 07:05 PM
Last Post: baj1
  XNewa on Kodi 18.8 on Android TV Jumps out Playing Show Currently Recording jksmurf 28 10,657 2020-09-13, 06:09 AM
Last Post: jksmurf
  Watching Show in knewc 2.7.4 that is recording always jumps out jksmurf 30 10,622 2019-10-21, 03:18 AM
Last Post: jksmurf
  Problem Solved? jcjefferies 1 1,251 2019-10-15, 06:11 PM
Last Post: mvallevand

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode