I've been using the TVVLCKit, currently on nightlies TVVLCKit-3.0-pre-20171207-0753, and I have an issue with some streams. I got two separate streams for a particular TV channel, one for 1080p, one for 540p. Some channels have only 540p streams, and those don't work either.
The 1080p works great. The 540p gives me audio only. Both streams work great when opened in VLC 2.2.7 for Mac. The Mac version of VLC gives me this media info for each stream:
H264 MPEG-4 AVC (part 10) (h264)
1920x1090
1920x1080
25 fps
Planar 4:2:0 YUV
H264 - MPEG-4 AVC (part 10) (h264)
960x546
960x540
25 fps
Planar 4:2:0 YUV
When I open these streams in my tvOS app, and then print out the media info, the 1080p stream (that works great) shows this:
[{
bitrate = 0;
codec = 875967080;
"frame_rate_den" = 2;
"frame_rate_num" = 50;
height = 1080;
id = 0;
level = "-1";
orientation = 0;
profile = "-1";
projection = 0;
"sar_den" = 1;
"sar_num" = 1;
type = video;
width = 1920;
}, {
bitrate = 0;
channelsNumber = 2;
codec = 1630826605;
id = 1;
language = po;
level = "-1";
profile = "-1";
rate = 44100;
type = audio;
}]
Now, the 540p stream shows this:
[{
bitrate = 0;
codec = 875967080;
"frame_rate_den" = 0;
"frame_rate_num" = 0;
height = 0;
id = 0;
level = "-1";
orientation = 0;
profile = "-1";
projection = 0;
"sar_den" = 0;
"sar_num" = 0;
type = video;
width = 0;
}, {
bitrate = 0;
channelsNumber = 2;
codec = 1630826605;
id = 1;
language = pol;
level = "-1";
profile = "-1";
rate = 48000;
type = audio;
}]
frame_rate_den, frame_rate_num, and height all show up as 0.
I found a similar (I think) post on this forum from 2015, so I would think this would be fixed already: https://forum.videolan.org/viewtopic.php?t=129312
Does anyone have any ideas why this 540p stream shows no video?