Kodi Community Forum

Full Version: Kodi framerate problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
In Kodi when I play many streams they report as 25fps but they report proberly in XBMC
11:46:55 T:1380   DEBUG: CDVDDemuxFFmpeg::Open - probing detected format [mpegts]
11:46:55 T:1380   DEBUG: CDVDDemuxFFmpeg::Open - avformat_find_stream_info starting
11:46:55 T:1380   DEBUG: ffmpeg[564]: [mpegts] PES packet size mismatch
11:46:55 T:1380   DEBUG: ffmpeg[564]: [mpegts] max_analyze_duration 500000 reached at 512000 microseconds
11:46:55 T:1380   DEBUG: ffmpeg[564]: [mpegts] Could not find codec parameters for stream 0 (Video: h264 ([27][0][0][0] / 0x001B)): unspecified size
11:46:55 T:1380   DEBUG: ffmpeg[564]: [mpegts] Consider increasing the value for the 'analyzeduration' and 'probesize' options
11:46:55 T:1380   DEBUG: CDVDDemuxFFmpeg::Open - av_find_stream_info finished
11:46:55 T:1380    INFO: ffmpeg[564]: Input #0, mpegts, from 'http://ip:8866/live?channel=961':
11:46:55 T:1380    INFO: ffmpeg[564]:   Duration: N/A, start: 28138.434678, bitrate: 384 kb/s
11:46:55 T:1380    INFO: ffmpeg[564]:   Program 1
11:46:55 T:1380    INFO: ffmpeg[564]:     Stream #0:0[0x31]: Video: h264 ([27][0][0][0] / 0x001B), 90k tbr, 90k tbn, 180k tbc
11:46:55 T:1380    INFO: ffmpeg[564]:     Stream #0:1[0x34](eng): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 384 kb/s
11:46:55 T:1380  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
11:46:55 T:1380   DEBUG: FactoryCodec - Video: ff-h264 - Opened
11:46:55 T:1380   ERROR: CDVDPlayerVideo::OpenStream - Invalid framerate 90000, using forced 25fps and just trust timestamps

Same stream in Gotham 13.2

11:48:35 T:5256  NOTICE: Creating Demuxer
11:48:35 T:5732  NOTICE: Thread FileCache start, auto delete: false
11:48:35 T:5256   DEBUG: CDVDDemuxFFmpeg::Open - probing detected format [mpegts]
11:48:35 T:5256   DEBUG: CDVDDemuxFFmpeg::Open - avformat_find_stream_info starting
11:48:35 T:5256   DEBUG: ffmpeg[1488]: [mpegts] PES packet size mismatch
11:48:35 T:5256   DEBUG: ffmpeg[1488]: [h264] Increasing reorder buffer to 1
11:48:35 T:5256   DEBUG: ffmpeg[1488]: [mpegts] Estimating duration from bitrate, this may be inaccurate
11:48:35 T:5256   DEBUG: CDVDDemuxFFmpeg::Open - av_find_stream_info finished
11:48:35 T:5256    INFO: ffmpeg[1488]: Input #0, mpegts, from 'http://ip:8866/live?channel=961':
11:48:35 T:5256    INFO: ffmpeg[1488]:   Duration: N/A, start: 28238.113900, bitrate: 384 kb/s
11:48:35 T:5256    INFO: ffmpeg[1488]:   Program 1
11:48:35 T:5256    INFO: ffmpeg[1488]:     Stream #0:0[0x31]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1280x540 [SAR 3:4 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
11:48:35 T:5256    INFO: ffmpeg[1488]:     Stream #0:1[0x34](eng): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 384 kb/s

If this is not a Kodi problem, my main question is based on the logs how do I follow this recommendation nothing jumps out at me in advancedsettings.xml

11:46:55 T:1380 DEBUG: ffmpeg[564]: [mpegts] Consider increasing the value for the 'analyzeduration' and 'probesize' options

log snippets are useless to us and use pastebin.com