First of all I love your work with MobileVLCKit! It's simply the best choice for everything about video compatibility on all platforms! Good job guys!
These days I'm experiencing with a strange situation, I've compiled without problems the Framework for iOS and the Library version is the 3.0.0 but unfortunately I'm facing with an issue on TS stream.
I attach my debug logging :
Code: Select all
2016-05-11 00:20:49.264 IPTv[1232:892197] using access module "access"
2016-05-11 00:20:49.265 IPTv[1232:892197] looking for stream_filter module matching "cache_block": 12 candidates
2016-05-11 00:20:49.265 IPTv[1232:892197] Using block method for AStream*
2016-05-11 00:20:49.266 IPTv[1232:892197] starting pre-buffering
2016-05-11 00:20:49.266 IPTv[1232:892197] received first data after 0 ms
2016-05-11 00:20:49.267 IPTv[1232:892197] prebuffering done 2048 bytes in 0s - 1876 KiB/s
2016-05-11 00:20:49.267 IPTv[1232:892197] using stream_filter module "cache_block"
2016-05-11 00:20:49.267 IPTv[1232:892197] looking for stream_filter module matching "any": 12 candidates
2016-05-11 00:20:49.267 IPTv[1232:892197] no stream_filter modules matched
2016-05-11 00:20:49.268 IPTv[1232:892197] looking for stream_filter module matching "record": 12 candidates
2016-05-11 00:20:49.271 IPTv[1232:892197] using stream_filter module "record"
2016-05-11 00:20:49.271 IPTv[1232:892197] creating demux: access='http' demux='ts' location='www.mysite.com' file='(null)'
2016-05-11 00:20:49.272 IPTv[1232:892197] looking for demux module matching "ts": 60 candidates
2016-05-11 00:20:49.272 IPTv[1232:892197] Standard set to Auto
2016-05-11 00:20:49.273 IPTv[1232:892197] using demux module "ts"
2016-05-11 00:20:49.273 IPTv[1232:892197] DEMUX_SET_GROUP 0 0x0
2016-05-11 00:20:49.273 IPTv[1232:892197] looking for meta reader module matching "any": 1 candidates
2016-05-11 00:20:49.273 IPTv[1232:892197] no meta reader modules matched
2016-05-11 00:20:49.274 IPTv[1232:892197] `http://www.mysite.com/643.ts' successfully opened
2016-05-11 00:20:49.274 IPTv[1232:892197] pid[17] unknown
2016-05-11 00:20:49.274 IPTv[1232:892197] PATCallBack called
2016-05-11 00:20:49.274 IPTv[1232:892197] new PAT ts_id=1 version=0 current_next=1
2016-05-11 00:20:49.275 IPTv[1232:892197] * number=1 pid=4096
2016-05-11 00:20:49.275 IPTv[1232:892197] temporary receiving program 1
2016-05-11 00:20:49.275 IPTv[1232:892197] PMTCallBack called for program 1
2016-05-11 00:20:49.275 IPTv[1232:892197] new PMT program number=1 version=0 pid_pcr=256
2016-05-11 00:20:49.276 IPTv[1232:892197] * pid=256 type=0x1b AVC video stream as defined in ITU-T Rec. H.264
2016-05-11 00:20:49.276 IPTv[1232:892197] => pid 256 has now es fcc=h264
2016-05-11 00:20:49.278 IPTv[1232:892197] selecting program id=1
2016-05-11 00:20:49.278 IPTv[1232:892197] looking for packetizer module matching "any": 24 candidates
2016-05-11 00:20:49.279 IPTv[1232:892197] using packetizer module "h264"
2016-05-11 00:20:49.279 IPTv[1232:892197] looking for decoder module matching "any": 34 candidates
2016-05-11 00:20:49.279 IPTv[1232:892197] H264 profile and level parsing failed because it didn't arrive yet
2016-05-11 00:20:49.280 IPTv[1232:892197] waiting for H264 SPS/PPS, will start late
2016-05-11 00:20:49.280 IPTv[1232:892197] zero-copy rendering pipeline enabled
2016-05-11 00:20:49.283 IPTv[1232:892197] Using Video Toolbox to decode 'h264'
2016-05-11 00:20:49.284 IPTv[1232:892197] using decoder module "videotoolbox"
2016-05-11 00:20:49.284 IPTv[1232:892197] Default program is 1
2016-05-11 00:20:49.284 IPTv[1232:892197] enabling pid 256 from program 1
2016-05-11 00:20:49.284 IPTv[1232:892197] enabling pcr pid 256 from program 1
2016-05-11 00:20:49.284 IPTv[1232:892197] * pid=257 type=0xf ISO/IEC 13818-7 Audio with ADTS transport
2016-05-11 00:20:49.285 IPTv[1232:892197] - SL/FMC descriptor not found/matched
2016-05-11 00:20:49.286 IPTv[1232:892197] => pid 257 has now es fcc=mp4a
2016-05-11 00:20:49.287 IPTv[1232:892197] looking for packetizer module matching "any": 24 candidates
2016-05-11 00:20:49.287 IPTv[1232:892197] running MPEG4 audio packetizer
2016-05-11 00:20:49.287 IPTv[1232:892197] no decoder specific info, must be an ADTS or LOAS stream
2016-05-11 00:20:49.287 IPTv[1232:892197] using packetizer module "mpeg4audio"
2016-05-11 00:20:49.287 IPTv[1232:892197] looking for decoder module matching "any": 34 candidates
2016-05-11 00:20:49.288 IPTv[1232:892197] option quiet does not exist
2016-05-11 00:20:49.288 IPTv[1232:892197] CPU flags: 0x00000068
2016-05-11 00:20:49.292 IPTv[1232:892197] codec (aac) started
2016-05-11 00:20:49.294 IPTv[1232:892197] using decoder module "avcodec"
2016-05-11 00:20:49.295 IPTv[1232:892197] enabling pid 256 from program 1
2016-05-11 00:20:49.296 IPTv[1232:892197] enabling pid 2State: VLCMediaPlayerStatePlaying
57 from program 1
2016-05-11 00:20:49.299 IPTv[1232:892197] enabling pcr pid 256 from program 1
2016-05-11 00:20:49.299 IPTv[1232:892197] * pid=17 listening for SDT
2016-05-11 00:20:49.302 IPTv[1232:892197] enabling pid 256 from program 1
2016-05-11 00:20:49.302 IPTv[1232:892197] enabling pid 257 from program 1
2016-05-11 00:20:49.302 IPTv[1232:892197] enabling pcr pid 256 from program 1
2016-05-11 00:20:49.302 IPTv[1232:892197] Buffering 0%
2016-05-11 00:20:49.302 IPTv[1232:892197] first packet for pid=256 cc=0xa
State: VLCMediaPlayerStateBuffering
Buffering
Buffering
2016-05-11 00:20:49.504 IPTv[1232:892204] found NAL_SPS (sps_id=0)
2016-05-11 00:20:49.504 IPTv[1232:892204] found NAL_PPS (pps_id=0 sps_id=0)
2016-05-11 00:20:49.548 IPTv[1232:892204] restarting module due to input format change
2016-05-11 00:20:49.548 IPTv[1232:892204] removing module "videotoolbox"
2016-05-11 00:20:49.549 IPTv[1232:892204] looking for decoder module matching "any": 34 candidates
2016-05-11 00:20:49.549 IPTv[1232:892204] H264 profile and level parsing failed because it didn't arrive yet
2016-05-11 00:20:49.550 IPTv[1232:892204] waiting for H264 SPS/PPS, will start late
2016-05-11 00:20:49.550 IPTv[1232:892204] zero-copy rendering pipeline enabled
2016-05-11 00:20:49.550 IPTv[1232:892204] Using Video Toolbox to decode 'h264'
2016-05-11 00:20:49.550 IPTv[1232:892204] using decoder module "videotoolbox"
2016-05-11 00:20:49.569 IPTv[1232:892204] looking for text renderer module matching "freetype": 1 candidates
2016-05-11 00:20:49.866 IPTv[1232:892197] first packet for pid=257 cc=0x5
2016-05-11 00:20:49.906 IPTv[1232:892205] detected ADTS format
2016-05-11 00:20:49.906 IPTv[1232:892205] AAC channels: 2 samplerate: 48000
2016-05-11 00:20:49.906 IPTv[1232:892205] restarting module due to input format change
2016-05-11 00:20:49.906 IPTv[1232:892205] removing module "avcodec"
2016-05-11 00:20:49.906 IPTv[1232:892205] ffmpeg codec (aac) stopped
2016-05-11 00:20:49.907 IPTv[1232:892205] looking for decoder module matching "any": 34 candidates
2016-05-11 00:20:49.907 IPTv[1232:892205] option quiet does not exist
2016-05-11 00:20:49.907 IPTv[1232:892205] CPU flags: 0x00000068
2016-05-11 00:20:49.909 IPTv[1232:892205] codec (aac) started
2016-05-11 00:20:49.909 IPTv[1232:892205] using decoder module "avcodec"
2016-05-11 00:20:49.909 IPTv[1232:892205] creating audio output
2016-05-11 00:20:49.909 IPTv[1232:892205] looking for audio output module matching "any": 3 candidates
2016-05-11 00:20:49.909 IPTv[1232:892205] using audio output module "audiounit_ios"
2016-05-11 00:20:49.910 IPTv[1232:892205] VLC is looking for: 'f32l' 48000 Hz Stereo frame=1 samples/8 bytes
2016-05-11 00:20:49.923 IPTv[1232:892205] we set the AU format: [48000.000000][mcpl][9][8][1][8][2][32]
2016-05-11 00:20:49.924 IPTv[1232:892205] the actual set AU format is [48000.000000][mcpl][9][8][1][8][2][32]
2016-05-11 00:20:50.094 IPTv[1232:892205] audio output unit started: 0
2016-05-11 00:20:50.095 IPTv[1232:892205] analog AudioUnit output successfully opened
2016-05-11 00:20:50.095 IPTv[1232:892205] output 'f32l' 48000 Hz Stereo frame=1 samples/8 bytes
2016-05-11 00:20:50.098 IPTv[1232:892205] looking for audio volume module matching "any": 2 candidates
2016-05-11 00:20:50.099 IPTv[1232:892205] using audio volume module "float_mixer"
2016-05-11 00:20:50.099 IPTv[1232:892205] input 'f32l' 48000 Hz Stereo frame=1 samples/8 bytes
2016-05-11 00:20:50.099 IPTv[1232:892205] looking for audio filter module matching "scaletempo": 11 candidates
2016-05-11 00:20:50.099 IPTv[1232:892205] format: 48000 rate, 2 nch, 4 bps, fl32
2016-05-11 00:20:50.104 IPTv[1232:892205] params: 30 stride, 0.200 overlap, 14 search
2016-05-11 00:20:50.104 IPTv[1232:892205] 1.000 scale, 1440.000 stride_in, 1440 stride_out, 1152 standing, 288 overlap, 672 search, 2400 queue, fl32 mode
2016-05-11 00:20:50.104 IPTv[1232:892205] using audio filter module "scaletempo"
2016-05-11 00:20:50.104 IPTv[1232:892205] conversion: 'f32l'->'f32l' 48000 Hz->48000 Hz Stereo->Stereo
2016-05-11 00:20:50.104 IPTv[1232:892205] conversion pipeline complete
2016-05-11 00:20:50.105 IPTv[1232:892205] conversion: 'f32l'->'f32l' 48000 Hz->48000 Hz Stereo->Stereo
2016-05-11 00:20:50.105 IPTv[1232:892205] conversion pipeline complete
2016-05-11 00:20:50.106 IPTv[1232:892205] looking for audio resampler module matching "any": 1 candidates
2016-05-11 00:20:50.106 IPTv[1232:892205] using audio resampler module "ugly"
2016-05-11 00:20:50.449 IPTv[1232:892197] Stream buffering done (1199 ms in 1146 ms)
State: VLCMediaPlayerStateBuffering
Buffering
Buffering
2016-05-11 00:20:50.577 IPTv[1232:892204] using text renderer module "freetype"
2016-05-11 00:20:50.578 IPTv[1232:892204] looking for video filter2 module matching "any": 23 candidates
2016-05-11 00:20:50.579 IPTv[1232:892204] 32x32 (32x32) chroma: YUVA -> 16x16 (16x16) chroma: RGBA with scaling using Bicubic (good quality)
2016-05-11 00:20:50.579 IPTv[1232:892204] using video filter2 module "swscale"
2016-05-11 00:20:50.580 IPTv[1232:892204] looking for video filter2 module matching "any": 23 candidates
2016-05-11 00:20:50.581 IPTv[1232:892204] YUVP to YUVA converter
2016-05-11 00:20:50.582 IPTv[1232:892204] using video filter2 module "yuvp"
2016-05-11 00:20:50.582 IPTv[1232:892204] Deinterlacing available
2016-05-11 00:20:50.583 IPTv[1232:892204] deinterlace -1, mode blend, is_needed 0
2016-05-11 00:20:50.584 IPTv[1232:892204] looking for vout window module matching "any": 0 candidates
2016-05-11 00:20:50.585 IPTv[1232:892204] no vout window modules
2016-05-11 00:20:50.585 IPTv[1232:892271] Opening vout display wrapper
2016-05-11 00:20:50.585 IPTv[1232:892271] looking for vout display module matching "any": 3 candidates
2016-05-11 00:20:50.586 IPTv[1232:892271] will use zero-copy rendering
2016-05-11 00:20:50.597 IPTv[1232:892271] VoutDisplayEvent 'resize' 360x588
2016-05-11 00:20:50.598 IPTv[1232:891088] VoutDisplayEvent 'resize' 720x1176
2016-05-11 00:20:50.598 IPTv[1232:891088] VoutDisplayEvent 'resize' 720x1176
2016-05-11 00:20:50.599 IPTv[1232:892271] VoutDisplayEvent 'fullscreen' 0
2016-05-11 00:20:50.600 IPTv[1232:892271] VoutDisplayEvent 'resize' 360x588
2016-05-11 00:20:50.600 IPTv[1232:892271] VoutDisplayEvent 'resize' 720x1176
2016-05-11 00:20:50.600 IPTv[1232:892271] using vout display module "ios2"
2016-05-11 00:20:50.600 IPTv[1232:892271] original format sz 1280x720, of (0,0), vsz 1280x720, 4cc CVPX, sar 1:1, msk r0x0 g0x0 b0x0
2016-05-11 00:20:50.600 IPTv[1232:892271] VoutDisplayEvent 'resize' 1280x720
2016-05-11 00:20:50.600 IPTv[1232:892204] removing module "freetype"
2016-05-11 00:20:50.600 IPTv[1232:892204] looking for text renderer module matching "freetype": 1 candidates
2016-05-11 00:20:51.290 IPTv[1232:892204] using text renderer module "freetype"
2016-05-11 00:20:51.291 IPTv[1232:892204] mid stream SAR DEN change found, restarting decoder
2016-05-11 00:20:51.297 IPTv[1232:892204] sps pps detection failed
2016-05-11 00:20:51.298 IPTv[1232:892204] sps pps detection failed
2016-05-11 00:20:51.299 IPTv[1232:892204] sps pps detection failed
2016-05-11 00:20:51.301 IPTv[1232:892204] sps pps detection failed
2016-05-11 00:20:51.302 IPTv[1232:892204] sps pps detection failed
2016-05-11 00:20:51.302 IPTv[1232:892204] sps pps detection failed
2016-05-11 00:20:51.303 IPTv[1232:892204] sps pps detection failed
2016-05-11 00:20:51.304 IPTv[1232:892204] sps pps detection failed
2016-05-11 00:20:51.304 IPTv[1232:892204] sps pps detection failed
2016-05-11 00:20:51.305 IPTv[1232:892204] sps pps detection failed
2016-05-11 00:20:51.306 IPTv[1232:892204] sps pps detection failed
2016-05-11 00:20:51.306 IPTv[1232:892204] sps pps detection failed
2016-05-11 00:20:51.307 IPTv[1232:892204] sps pps detection failed
2016-05-11 00:20:51.308 IPTv[1232:892204] sps pps detection failed
2016-05-11 00:20:51.308 IPTv[1232:892204] sps pps detection failed
2016-05-11 00:20:51.309 IPTv[1232:892204] sps pps detection failed
2016-05-11 00:20:51.309 IPTv[1232:892204] sps pps detection failed
2016-05-11 00:20:51.310 IPTv[1232:892204] sps pps detection failed
2016-05-11 00:20:51.310 IPTv[1232:892204] sps pps detection failed
2016-05-11 00:20:51.311 IPTv[1232:892204] sps pps detection failed
2016-05-11 00:20:51.312 IPTv[1232:892204] sps pps detection failed
2016-05-11 00:20:51.312 IPTv[1232:892204] sps pps detection failed
2016-05-11 00:20:51.313 IPTv[1232:892204] sps pps detection failed
2016-05-11 00:20:51.314 IPTv[1232:892204] sps pps detection failed
2016-05-11 00:20:51.314 IPTv[1232:892204] sps pps detection failed
2016-05-11 00:20:51.315 IPTv[1232:892204] sps pps detection failed
2016-05-11 00:20:51.315 IPTv[1232:892204] sps pps detection failed
2016-05-11 00:20:51.316 IPTv[1232:892197] buffer deadlock prevented
2016-05-11 00:20:51.316 IPTv[1232:892197] Decoder wait done in 864 ms
2016-05-11 00:20:51.317 IPTv[1232:892205] playback way too early (-728808): playing silence
2016-05-11 00:20:51.317 IPTv[1232:892205] inserting 34982 zeroes
2016-05-11 00:20:51.318 IPTv[1232:892204] sps pps detection failed
2016-05-11 00:20:51.432 IPTv[1232:892204] sps pps detection failed
2016-05-11 00:20:51.447 IPTv[1232:892204] mid stream SAR DEN change found, restarting decoder
2016-05-11 00:20:51.453 IPTv[1232:892204] sps pps detection failed
2016-05-11 00:20:51.453 IPTv[1232:892204] sps pps detection failed
2016-05-11 00:20:51.454 IPTv[1232:892204] sps pps detection failed
2016-05-11 00:20:51.455 IPTv[1232:892204] sps pps detection failed
2016-05-11 00:20:51.482 IPTv[1232:892204] sps pps detection failed
2016-05-11 00:20:51.484 IPTv[1232:892204] sps pps detection failed
2016-05-11 00:20:51.485 IPTv[1232:892204] sps pps detection failed
2016-05-11 00:20:51.485 IPTv[1232:892204] sps pps detection failed
2016-05-11 00:20:51.574 IPTv[1232:892204] sps pps detection failed
2016-05-11 00:20:51.581 IPTv[1232:892204] sps pps detection failed
2016-05-11 00:20:51.583 IPTv[1232:892204] sps pps detection failed
2016-05-11 00:20:51.585 IPTv[1232:892204] sps pps detection failed
2016-05-11 00:20:51.588 IPTv[1232:892204] sps pps detection failed
2016-05-11 00:20:51.623 IPTv[1232:892204] sps pps detection failed
2016-05-11 00:20:51.627 IPTv[1232:892204] sps pps detection failed
2016-05-11 00:20:51.639 IPTv[1232:892204] sps pps detection failed
2016-05-11 00:20:51.643 IPTv[1232:892271] auto hiding mouse cursor
2016-05-11 00:20:51.659 IPTv[1232:892204] sps pps detection failed
2016-05-11 00:20:51.679 IPTv[1232:892204] sps pps detection failed
2016-05-11 00:20:51.700 IPTv[1232:892204] sps pps detection failed
2016-05-11 00:20:51.708 IPTv[1232:892204] sps pps detection failed
2016-05-11 00:20:51.724 IPTv[1232:892204] sps pps detection failed
2016-05-11 00:20:51.741 IPTv[1232:892204] sps pps detection failed
2016-05-11 00:20:51.791 IPTv[1232:892204] sps pps detection failed
2016-05-11 00:20:51.793 IPTv[1232:892204] sps pps detection failed
2016-05-11 00:20:51.868 IPTv[1232:892204] sps pps detection failed
2016-05-11 00:20:51.874 IPTv[1232:892204] sps pps detection failed
2016-05-11 00:20:51.876 IPTv[1232:892204] sps pps detection failed
2016-05-11 00:20:51.917 IPTv[1232:892204] sps pps detection failed
2016-05-11 00:20:52.659 IPTv[1232:892204] sps pps detection failed
2016-05-11 00:20:52.684 IPTv[1232:892204] mid stream SAR DEN change found, restarting decoder
Can anyone help me to understand the mistake? Libvlc bug with ts stream or a setting to pass when allocating the player or something else?