Kodi Community Forum

Full Version: IPTV stream ffmpeg error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello everybody!

I'm really a beginner with Kodi and so I have one question about an issue I have with it...
The stream doesn't work correctly with Kodi, but with another player on my PC - VLC Player for example - I have no problems with this stream.

So what can I do?

I think, it's an issue with ffmpeg... here is a kodi.log:
http://pastebin.com/pJCpTJPH

the important part of that log is maybe this:
Code:
16:09:18 923096 T:1960820736    INFO: easy_aquire - Created session to http://185.180.14.5
16:09:18 991943 T:1801450400   DEBUG: PushCecKeypress - received key  b duration 125 (rep:0 size:0)
16:09:18 991943 T:1801450400   DEBUG: PushCecKeypress - ignored key  b
16:09:18 097656 T:1960820736   DEBUG: CCurlFile::GetMimeType - http://185.180.14.5:88/live/v2/play.php?id=82135&t=1599549 -> video/x-flv
16:09:18 136230 T:1960820736   DEBUG: Loading settings for http://185.180.14.5:88/live/v2/play.php?id=82135&t=1599549
16:09:18 168457 T:1960820736   DEBUG: CPlayerCoreFactory::GetPlayers(http://185.180.14.5:88/live/v2/play.php?id=82135&t=1599549)
16:09:18 168701 T:1960820736   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: system rules
16:09:18 168945 T:1960820736   DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: system rules
16:09:18 168945 T:1960820736   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: mms/udp
16:09:18 169434 T:1960820736   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: lastfm/shout
16:09:18 169678 T:1960820736   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtmp
16:09:18 169922 T:1960820736   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtsp
16:09:18 170410 T:1960820736   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: streams
16:09:18 170898 T:1960820736   DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: streams
16:09:18 171387 T:1960820736   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: aacp/sdp
16:09:18 171875 T:1960820736   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: mp2
16:09:18 172119 T:1960820736   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvd
16:09:18 172119 T:1960820736   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdimage
16:09:18 172607 T:1960820736   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: sdp/asf
16:09:18 172852 T:1960820736   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: nsv
16:09:18 173096 T:1960820736   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: radio
16:09:18 173340 T:1960820736   DEBUG: CPlayerCoreFactory::GetPlayers: matched 0 rules with players
16:09:18 173584 T:1960820736   DEBUG: CPlayerCoreFactory::GetPlayers: adding videodefaultplayer (VideoPlayer)
16:09:18 173584 T:1960820736   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=0
16:09:18 173828 T:1960820736   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=1
16:09:18 174072 T:1960820736   DEBUG: CPlayerCoreFactory::GetPlayers: added 1 players
16:09:18 182373 T:1960820736   DEBUG: Radio UECP (RDS) Processor - new CDVDRadioRDSData
16:09:18 182617 T:1960820736  NOTICE: VideoPlayer: Opening: http://185.180.14.5:88/live/v2/play.php?id=82135&t=1599549
16:09:18 182861 T:1960820736 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
16:09:19 349121 T:1960820736   DEBUG: CCurlFile::GetMimeType - http://185.180.14.5:88/live/v2/play.php?id=82135&t=1599549 -> video/x-flv
16:09:19 349365 T:1960820736   DEBUG: CMMALRenderer::CMMALRenderer
16:09:19 349609 T:1960820736   DEBUG: CMMALRenderer::UnInitMMAL
16:09:19 349854 T:1960820736   DEBUG: CMMALRenderer::PreInit
16:09:19 349854 T:1194320800   DEBUG: Thread MMALProcess start, auto delete: false
16:09:19 349854 T:1194320800   DEBUG: CMMALRenderer::Run - starting
16:09:19 350098 T:1738294176   DEBUG: Thread VideoPlayer start, auto delete: false
16:09:19 350586 T:1738294176  NOTICE: Creating InputStream
16:09:19 351807 T:1738294176   DEBUG: CurlFile::Open(0x679c3840) http://185.180.14.5:88/live/v2/play.php?id=82135&t=1599549
16:09:19 521484 T:1738294176   DEBUG: CFileCache::Open - opening <live/v2/play.php> using cache
16:09:19 522217 T:1738294176   DEBUG: CurlFile::Open(0x67b48568) http://185.180.14.5:88/live/v2/play.php?id=82135&t=1599549
16:09:19 687256 T:1699361696   DEBUG: Thread FileCache start, auto delete: false
16:09:19 687744 T:1738294176  NOTICE: Creating Demuxer
16:09:19 689697 T:1738294176   DEBUG: Open - probing detected format [flv]
16:09:19 695801 T:1738294176   DEBUG: Open - avformat_find_stream_info starting
16:09:19 696045 T:1738294176   ERROR: ffmpeg[679C43A0]: [flv] Missing AMF_END_OF_OBJECT in AMF_DATA_TYPE_OBJECT
16:09:19 696289 T:1738294176   DEBUG: ffmpeg[679C43A0]: [flv] video stream discovered after head already parsed
16:09:19 696777 T:1738294176   DEBUG: ffmpeg[679C43A0]: [flv] audio stream discovered after head already parsed
16:09:19 869385 T:1738294176   ERROR: ffmpeg[679C43A0]: [flv] Packet mismatch 191 386 61233
16:09:19 871826 T:1738294176   ERROR: ffmpeg[679C43A0]: [flv] Packet mismatch 191 395 74412
16:09:19 873779 T:1738294176   ERROR: ffmpeg[679C43A0]: [flv] Packet mismatch 191 370 82110
16:09:19 876709 T:1738294176   ERROR: ffmpeg[679C43A0]: [flv] Packet mismatch 191 354 106970
16:09:19 877441 T:1738294176   ERROR: ffmpeg[679C43A0]: [flv] Packet mismatch 191 346 110526
16:09:19 880859 T:1738294176   ERROR: ffmpeg[679C43A0]: [flv] Packet mismatch 191 388 116741
16:09:19 884521 T:1738294176   ERROR: ffmpeg[679C43A0]: [flv] Packet mismatch 191 372 142016
16:09:19 888672 T:1738294176   ERROR: ffmpeg[679C43A0]: [flv] Packet mismatch 191 375 159161
16:09:19 892822 T:1738294176   ERROR: ffmpeg[679C43A0]: [flv] Packet mismatch 191 358 184741
16:09:19 896973 T:1738294176   ERROR: ffmpeg[679C43A0]: [flv] Packet mismatch 191 363 203186
16:09:19 903320 T:1738294176   ERROR: ffmpeg[679C43A0]: [flv] Packet mismatch 191 369 227684
16:09:19 906250 T:1738294176   ERROR: ffmpeg[679C43A0]: [flv] Packet mismatch 191 379 245122
16:09:19 912354 T:1738294176   ERROR: ffmpeg[679C43A0]: [flv] Packet mismatch 191 374 271181
16:09:19 915283 T:1738294176   ERROR: ffmpeg[679C43A0]: [flv] Packet mismatch 191 385 288082
16:09:19 918213 T:1738294176   ERROR: ffmpeg[679C43A0]: [flv] Packet mismatch 191 375 306987
16:09:19 924805 T:1738294176   ERROR: ffmpeg[679C43A0]: [flv] Packet mismatch 191 369 322176
16:09:19 927490 T:1738294176   ERROR: ffmpeg[679C43A0]: [flv] Packet mismatch 191 397 339766
16:09:19 931396 T:1738294176   ERROR: ffmpeg[679C43A0]: [flv] Packet mismatch 191 368 367212
16:09:19 936279 T:1738294176   ERROR: ffmpeg[679C43A0]: [flv] Packet mismatch 191 385 385185
16:09:19 940430 T:1738294176   ERROR: ffmpeg[679C43A0]: [flv] Packet mismatch 191 382 410893
16:09:19 946289 T:1738294176   ERROR: ffmpeg[679C43A0]: [flv] Packet mismatch 191 376 429942
16:09:19 950684 T:1738294176   ERROR: ffmpeg[679C43A0]: [flv] Packet mismatch 191 400 458264
16:09:19 953369 T:1738294176   ERROR: ffmpeg[679C43A0]: [flv] Packet mismatch 191 354 474410
16:09:19 960205 T:1738294176   ERROR: ffmpeg[679C43A0]: [flv] Packet mismatch 191 382 500055
16:09:19 963135 T:1738294176   ERROR: ffmpeg[679C43A0]: [flv] Packet mismatch 191 366 515856
16:09:19 967041 T:1738294176   ERROR: ffmpeg[679C43A0]: [flv] Packet mismatch 191 396 540672
16:09:19 972900 T:1738294176   ERROR: ffmpeg[679C43A0]: [flv] Packet mismatch 191 375 568510
16:09:19 974854 T:1738294176   ERROR: ffmpeg[679C43A0]: [flv] Packet mismatch 191 388 575514
16:09:19 980713 T:1738294176   ERROR: ffmpeg[679C43A0]: [flv] Packet mismatch 191 400 599993
16:09:19 983887 T:1738294176   ERROR: ffmpeg[679C43A0]: [flv] Packet mismatch 191 377 617304
16:09:19 986816 T:1738294176   ERROR: ffmpeg[679C43A0]: [flv] Packet mismatch 191 359 642955
16:09:19 990234 T:1738294176   ERROR: ffmpeg[679C43A0]: [flv] Packet mismatch 191 436 668288
16:09:19 991455 T:1738294176   ERROR: ffmpeg[679C43A0]: [flv] Packet mismatch 191 399 674680
16:09:19 995117 T:1738294176   ERROR: ffmpeg[679C43A0]: [flv] Packet mismatch 191 408 682416
16:09:19 998291 T:1738294176   ERROR: ffmpeg[679C43A0]: [flv] Packet mismatch 191 384 707695
16:09:19 000244 T:1738294176   ERROR: ffmpeg[679C43A0]: [flv] Packet mismatch 191 377 725060
16:09:19 011475 T:1738294176   ERROR: ffmpeg[679C43A0]: [flv] Packet mismatch 191 374 795206
16:09:19 013184 T:1738294176   ERROR: ffmpeg[679C43A0]: [flv] Packet mismatch 191 367 806136
16:09:19 013672 T:1738294176   ERROR: ffmpeg[679C43A0]: [flv] Packet mismatch 191 372 809828
16:09:19 016846 T:1738294176   ERROR: ffmpeg[679C43A0]: [flv] Packet mismatch 191 379 813651
16:09:19 021484 T:1738294176   DEBUG: Open - av_find_stream_info finished
16:09:19 021973 T:1738294176    INFO: ffmpeg[679C43A0]: Input #0, flv, http://185.180.14.5:88/live/v2/play.php?id=82135&t=159954':
16:09:19 022217 T:1738294176    INFO: ffmpeg[679C43A0]:   Duration: 24:00:00.00, start: 7706.169000, bitrate: N/A
16:09:19 022705 T:1738294176    INFO: ffmpeg[679C43A0]:     Stream #0:0: Video: h264 (Main), yuv420p, 1280x720, 25 fps, 25 tbr, 1k tbn, 50 tbc
16:09:19 022949 T:1738294176    INFO: ffmpeg[679C43A0]:     Stream #0:1: Audio: aac (LC), 44100 Hz, stereo, fltp

I'm using Kodi 17 (Krypton) with "Libreelec" on Raspberry Pi 2
I'm very happy to get your help! Thank you.
Actually, that looks like a streaming issue and problem with the feed, and ffmpeg is reporting the problem.
Hi rpcameron,
thanks for your hint.

I proved the stream in VLC player and the interesting point is, that in VLC the stream counts down from 24:00:00 (24 hours) to zero. Absolutely without problems. With KODI the stream works only a second and doesn't count down, the end of length is still 24:00:00.

Tried to watch with Dreambox (linux box), there is no problem with the stream?!

Maybe that helps. I'm completely confused.