VLCKit issueshttps://code.videolan.org/videolan/VLCKit/-/issues2019-11-25T15:30:13Zhttps://code.videolan.org/videolan/VLCKit/-/issues/306[tvOS] 4k HDR content not rendered for HDR2019-11-25T15:30:13ZStefan[tvOS] 4k HDR content not rendered for HDRHi,
a user of my App reported, that playback of a 4k HDR stream (encapsulated into MPEG-TS) from a DVB-S2x receiver is not rendered in HDR on his Apple TV 4k device.
I will upload the dump of this stream via VideoLan Uploader and share ...Hi,
a user of my App reported, that playback of a 4k HDR stream (encapsulated into MPEG-TS) from a DVB-S2x receiver is not rendered in HDR on his Apple TV 4k device.
I will upload the dump of this stream via VideoLan Uploader and share the file name here.https://code.videolan.org/videolan/VLCKit/-/issues/67how to get frame for texture with VLC2019-11-13T01:31:31Zxxnaxxhow to get frame for texture with VLCHello, i have library for playing 360 degree video, using standard AVPlayer and AVPlayerItemVideoOutput, and have code like this:
> * - (`CVPixelBufferRef`)getCurrentFramePicture
> * {
> *    CMTime currentTime = [self.vid...Hello, i have library for playing 360 degree video, using standard AVPlayer and AVPlayerItemVideoOutput, and have code like this:
> * - (`CVPixelBufferRef`)getCurrentFramePicture
> * {
> * CMTime currentTime = [self.videoOutput itemTimeForHostTime:CACurrentMediaTime()];
> * [self.delegate progressTimeChanged:currentTime];
> * if (![self.videoOutput hasNewPixelBufferForItemTime:currentTime]) {
> * return 0;``
> * }
> * `CVPixelBufferRef` buffer = [self.videoOutput copyPixelBufferForItemTime:currentTime itemTimeForDisplay:NULL];
> *
> * return buffer;
> * }
`I want to try this library, but can't see way to get frame for my texture. Is any? Thank you.`https://code.videolan.org/videolan/VLCKit/-/issues/308iOS - MobileVLCKit - CocoPoads - Wrong VLCMediaPlayerState Issue2019-10-29T07:41:29ZPushparaj JayaseelaniOS - MobileVLCKit - CocoPoads - Wrong VLCMediaPlayerState IssueMy MobileVLDKit CocoaPods version is 3.1.5
Let's say I'm playing a video with a URL. Ideally, the expected state is
Buffering->Playing. But in some cases, the SDK calls this properly and in some cases, it only notifies buffering and di...My MobileVLDKit CocoaPods version is 3.1.5
Let's say I'm playing a video with a URL. Ideally, the expected state is
Buffering->Playing. But in some cases, the SDK calls this properly and in some cases, it only notifies buffering and directly starts playing the video without notifying the Playing state.
I do read someone's answer that as of now there is no event something like BufferingEnd. In this case, technically what's the exact / recommended way to get the VLCMediaPlayerState.
In case if there is no way, Is there any way to take the downloading bitrate of the video by the SDK so that I can assume the video is playing.
Pls kindly respond on this as It took my hell of a time. Thanks in advance!https://code.videolan.org/videolan/VLCKit/-/issues/152Issues when switching iOS/tvOS output to Airplay target2019-10-28T09:55:29ZFred ClausenIssues when switching iOS/tvOS output to Airplay targetWhen I switch iOS or tvOS output to an Airplay device (outside of VLC, for the whole device) them VLC audio mostly choppy, sometimes becomes stable, but generally just cuts in and out. My symptoms seem to be the same as [reported in this...When I switch iOS or tvOS output to an Airplay device (outside of VLC, for the whole device) them VLC audio mostly choppy, sometimes becomes stable, but generally just cuts in and out. My symptoms seem to be the same as [reported in this thread](https://forum.videolan.org/viewtopic.php?f=36&t=142769&p=469084#p469084). I can't pin a precise date at which things stopped working but prior to January 2018 it used to work.
I've tested this with the VLC app version 3.0.2. In my case the stream is from a DVB-T source (MPEG-TS) using MP2 as audio either from a network URL or using the "TVH Client" app which uses VLCKit 3.0.1 stable.3.3.7https://code.videolan.org/videolan/VLCKit/-/issues/212Audio playback fails when AirPlay output is enabled on start2019-10-28T09:54:18ZFelix Paul Kühnefkuehne@videolan.orgAudio playback fails when AirPlay output is enabled on start1) Select an AirPlay 1 device on your iOS unit for global audio output
2) Start an audio only media such as [1]
3) All you hear is silence.
[1] http://www.radiofeeds.co.uk/bbcradio1.pls
Log: https://pastebin.com/Bfv7hArU
Playback via ...1) Select an AirPlay 1 device on your iOS unit for global audio output
2) Start an audio only media such as [1]
3) All you hear is silence.
[1] http://www.radiofeeds.co.uk/bbcradio1.pls
Log: https://pastebin.com/Bfv7hArU
Playback via AirPlay succeeds when enabling it after playback started.Thomas GuillemThomas Guillemhttps://code.videolan.org/videolan/VLCKit/-/issues/296Carplay2019-10-28T09:50:35ZCarolaCarplaysomeone wants carplay supportsomeone wants carplay supportFuturehttps://code.videolan.org/videolan/VLCKit/-/issues/252libvlc aborts with libvlc_event_detach2019-10-28T09:49:42ZFelix Paul Kühnefkuehne@videolan.orglibvlc aborts with libvlc_event_detachThere is an abort() in libvlc_event_detach which is called in case a libvlc instance is cleared while not all listeners unsubscribed. This might be correct (hello assert() ?) in debug builds because it shows a potential memory leak, howe...There is an abort() in libvlc_event_detach which is called in case a libvlc instance is cleared while not all listeners unsubscribed. This might be correct (hello assert() ?) in debug builds because it shows a potential memory leak, however this should never happen in production builds. The libvlc client app continues to run just fine with the abort removed and there is not even undefined behavior. The abort() should be removed, at least in production builds.
See https://rink.hockeyapp.net/manage/apps/194470/app_versions/122/crash_reasons/263165306
[0028-Remove-abort-in-non-debug-code.patch](/uploads/2500a1f845279732b6d6c56c8bf3733a/0028-Remove-abort-in-non-debug-code.patch)3.3.7Thomas GuillemThomas Guillemhttps://code.videolan.org/videolan/VLCKit/-/issues/309iOS, use MobileVLCKit 3.1.5 with GVRKit crashed at runtime2019-10-25T06:35:43ZApesTalkiOS, use MobileVLCKit 3.1.5 with GVRKit crashed at runtimeWhen i use MobileVLCKit 3.1.5 with GVRKit, app crashed at runtime. Please update protobuf version.
Log info:
[libprotobuf FATAL google/protobuf/stubs/common.cc:67] This program requires version 3.5.0 of the Protocol Buffer runtime librar...When i use MobileVLCKit 3.1.5 with GVRKit, app crashed at runtime. Please update protobuf version.
Log info:
[libprotobuf FATAL google/protobuf/stubs/common.cc:67] This program requires version 3.5.0 of the Protocol Buffer runtime library, but the installed version is 3.1.0. Please update your library. If you compiled the program yourself, make sure that your headers are from the same version of Protocol Buffers as your link-time library. (Version verification failed in "blaze-out/ios_x86_64-opt/genfiles/vr/courtside/proto/projection_proto.pb.cc".)https://code.videolan.org/videolan/VLCKit/-/issues/301Video can't play on FTP service which is not open on port 212019-09-18T11:25:16ZStermopVideo can't play on FTP service which is not open on port 21My FTP server (UTF-8 encoded) is opened with QuickFTP on macOS 10.14, audio and video can't be played when the FTP server port is not set to 21. Is there a solution for this problem?
Thank you.My FTP server (UTF-8 encoded) is opened with QuickFTP on macOS 10.14, audio and video can't be played when the FTP server port is not set to 21. Is there a solution for this problem?
Thank you.https://code.videolan.org/videolan/VLCKit/-/issues/297iOS ANR when press Next on a HEVC HDR10 4k video2019-09-16T18:20:58ZAlexandre PerraudiOS ANR when press Next on a HEVC HDR10 4k videoThe video is *FPS_UHD_HDR10_23.976.mp4*
And the mediainfo give :
```
General
Complete name : FPS_UHD_HDR10_23.976.mp4
Format : MPEG-4
Commercial name ...The video is *FPS_UHD_HDR10_23.976.mp4*
And the mediainfo give :
```
General
Complete name : FPS_UHD_HDR10_23.976.mp4
Format : MPEG-4
Commercial name : HDR10
Format profile : Base Media
Codec ID : isom (isom/iso2/mp41)
File size : 18.6 MiB
Duration : 6 min 45 s
Overall bit rate : 385 kb/s
Writing application : Lavf57.66.102
Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Commercial name : HDR10
Format profile : Main 10@L5.1@Main
Codec ID : hev1
Codec ID/Info : High Efficiency Video Coding
Duration : 6 min 45 s
Bit rate : 383 kb/s
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0 (Type 2)
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.002
Stream size : 18.5 MiB (99%)
Writing library : x265 2.3+9-820f4327ddac:[Windows][GCC 5.3.1][64 bit] 10bit
Encoding settings : cpuid=1173503 / frame-threads=2 / numa-pools=4 / wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=2 / input-csp=1 / input-res=3840x2160 / interlace=0 / total-frames=0 / level-idc=51 / high-tier=1 / uhd-bd=0 / ref=5 / no-allow-non-conformance / repeat-headers / annexb / no-aud / no-hrd / info / hash=0 / no-temporal-layers / open-gop / min-keyint=2 / keyint=24 / bframes=8 / b-adapt=2 / b-pyramid / bframe-bias=0 / rc-lookahead=25 / lookahead-slices=4 / scenecut=40 / no-intra-refresh / ctu=64 / min-cu-size=8 / rect / no-amp / max-tu-size=32 / tu-inter-depth=1 / tu-intra-depth=1 / limit-tu=0 / rdoq-level=2 / dynamic-rd=0.00 / signhide / no-tskip / nr-intra=0 / nr-inter=0 / no-constrained-intra / strong-intra-smoothing / max-merge=3 / limit-refs=0 / limit-modes / me=3 / subme=3 / merange=57 / temporal-mvp / weightp / no-weightb / no-analyze-src-pics / deblock=0:0 / sao / no-sao-non-deblock / rd=4 / no-early-skip / rskip / no-fast-intra / no-tskip-fast / no-cu-lossless / no-b-intra / rdpenalty=0 / psy-rd=2.00 / psy-rdoq=1.00 / no-rd-refine / analysis-mode=0 / no-lossless / cbqpoffs=0 / crqpoffs=0 / rc=cbr / bitrate=40000 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=0 / vbv-maxrate=40000 / vbv-bufsize=40000 / vbv-init=0.9 / ipratio=1.40 / pbratio=1.00 / aq-mode=1 / aq-strength=1.00 / cutree / zone-count=0 / no-strict-cbr / qg-size=32 / no-rc-grain / qpmax=69 / qpmin=0 / sar=1 / overscan=0 / videoformat=5 / range=0 / colorprim=9 / transfer=16 / colormatrix=9 / chromaloc=1 / chromaloc-top=2 / chromaloc-bottom=2 / display-window=0 / master-display=G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,5) / max-cll=1000,400 / min-luma=0 / max-luma=1023 / log2-max-poc-lsb=8 / vui-timing-info / vui-hrd-info / slices=1 / opt-qp-pps / opt-ref-list-length-pps / no-multi-pass-opt-rps / scenecut-bias=0.05 / no-opt-cu-delta-qp / no-aq-motion / hdr / no-hdr-opt
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
Mastering display color primaries : Display P3
Mastering display luminance : min: 0.0005 cd/m2, max: 1000 cd/m2
Maximum Content Light Level : 1000 cd/m2
Maximum Frame-Average Light Level : 400 cd/m2
Codec configuration box : hvcC
```3.3.5Thomas GuillemThomas Guillemhttps://code.videolan.org/videolan/VLCKit/-/issues/226update CircleCI to 2.02019-09-03T08:41:09ZCarolaupdate CircleCI to 2.0Circle CI for VLCKit doesn't currently build because they dropped support for 1.0Circle CI for VLCKit doesn't currently build because they dropped support for 1.03.3.1https://code.videolan.org/videolan/VLCKit/-/issues/192Carthage support2019-09-03T08:41:09ZCarolaCarthage supportJust like CocoaPods, Carthage is another way to integrate third party frameworks and we should look into providing support for CarthageJust like CocoaPods, Carthage is another way to integrate third party frameworks and we should look into providing support for Carthage3.3.1https://code.videolan.org/videolan/VLCKit/-/issues/188tvOS: audio delay while playback when using HomePod2019-09-03T08:41:09ZStefantvOS: audio delay while playback when using HomePodReported from one user of my App: he is using HomePod from his AppleTV for Audio Playback via AirPlay 2. When he is watching a Live-TV stream from my App, audio is redirected to the HomePad but the audio has a delay of "several seconds"....Reported from one user of my App: he is using HomePod from his AppleTV for Audio Playback via AirPlay 2. When he is watching a Live-TV stream from my App, audio is redirected to the HomePad but the audio has a delay of "several seconds". He has not seen this issue when playing video from other Apps like iTunes, TV etc. Seems to be dedicated to Apps using TVVLCKit.3.3.1https://code.videolan.org/videolan/VLCKit/-/issues/178./compileAndBuildVLCKit.sh -stb fails2019-09-03T08:41:08ZCarola./compileAndBuildVLCKit.sh -stb failsfails with : -e [info] building universal static libs for OS style AppleTV
./compileAndBuildVLCKit.sh: line 84: pushd: contrib/AppleTV-aarch64-apple-darwin14-aarch64/lib: No such file or directoryfails with : -e [info] building universal static libs for OS style AppleTV
./compileAndBuildVLCKit.sh: line 84: pushd: contrib/AppleTV-aarch64-apple-darwin14-aarch64/lib: No such file or directory3.3.1https://code.videolan.org/videolan/VLCKit/-/issues/139[VLCMedia mediaWithURL:] with chinese text in url not work2019-09-03T08:41:08Zzhuqling[VLCMedia mediaWithURL:] with chinese text in url not workHere is my code:
```
NSString *str = @"http://www.x.com/中文.mp3";
NSString *playUrlStr = [str stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet URLFragmentAllowedCharacterSet]]; // must encode when chinese text, solve NSU...Here is my code:
```
NSString *str = @"http://www.x.com/中文.mp3";
NSString *playUrlStr = [str stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet URLFragmentAllowedCharacterSet]]; // must encode when chinese text, solve NSURL return nil
NSURL *url = [NSURL URLWithString:playUrlStr];
VLCMedia *media = [VLCMedia mediaWithURL:url];
```
This always double encode url, becase in `initInternalMediaDescriptor` method,
`[urlString stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]` is used.
I try `[VLCMedia mediaWithPath:playUrlStr]`, but it is only support smb/sftp.
Thank you for fix this bug.3.3.1https://code.videolan.org/videolan/VLCKit/-/issues/45Double percent-encoding required for paths2019-09-03T08:41:08ZViktoriiaDouble percent-encoding required for pathsHello!
I use libTVVLCKit.a (the commit hash is 62dfbc38) in my tvOS app to play movies from SMB.
I have the issue with playback of files that have whitespace or Cyrillic characters in their paths.
To play such files I have to perc...Hello!
I use libTVVLCKit.a (the commit hash is 62dfbc38) in my tvOS app to play movies from SMB.
I have the issue with playback of files that have whitespace or Cyrillic characters in their paths.
To play such files I have to percent-encode their path strings twice.
Suppose l want to play the movie at the path
*smb://<i></i>192.168.0.3/Video/Test video.mp4*
I have to do the following steps
````NSString *path = @"smb://192.168.0.3/Video/Test video.mp4";
path = [path stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]; //smb://192.168.0.3/Video/Test%20video.mp4
path = [path stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]; //smb://192.168.0.3/Video/Test%2520video.mp4
NSURL *mediaURL = [NSURL URLWithString:path];
VLCMedia *media = [VLCMedia mediaWithURL:mediaURL];````
Otherwise, I can’t play it.
In the previous version of libTVVLCKit.a that I used (the commit hash was 94c2b3ce) the second call of the method stringByAddingPercentEscapesUsingEncoding: was not required.
Is this a bug or am I doing something wrong?
Please help me. Thanks in advance. 3.3.1https://code.videolan.org/videolan/VLCKit/-/issues/31Cocoa application crashes at random with EXC_BAD_ACCESS KERN_INVALID_ADDRESS2019-09-03T08:41:08ZБато БудаевCocoa application crashes at random with EXC_BAD_ACCESS KERN_INVALID_ADDRESSMy app crashes randomly when set media to player
[log.rtf](/uploads/1e3a7e747f6036c73298bafcb955c155/log.rtf)My app crashes randomly when set media to player
[log.rtf](/uploads/1e3a7e747f6036c73298bafcb955c155/log.rtf)3.3.1https://code.videolan.org/videolan/VLCKit/-/issues/250Chromecast stop playing in background2019-09-03T08:30:58ZAlain LChromecast stop playing in backgroundMirroring to chromecast quit when the app is in background after few seconds of playing live video if the iPhone is locked.Mirroring to chromecast quit when the app is in background after few seconds of playing live video if the iPhone is locked.https://code.videolan.org/videolan/VLCKit/-/issues/259How to set Referer and Host to URL2019-09-03T08:29:28ZdeankaiHow to set Referer and Host to URLI am using MobileVLCKit to play streaming videos.
Is it possible to set Referer and Host to URL that wants to play?
I tried to add options when init VLCMediaPlayer or add it before play,
however none of any workes.
`
let opt = ["-...I am using MobileVLCKit to play streaming videos.
Is it possible to set Referer and Host to URL that wants to play?
I tried to add options when init VLCMediaPlayer or add it before play,
however none of any workes.
`
let opt = ["--http-referrer=http://"]
vlcMediaPlayer = VLCMediaPlayer(options: opt)
//OR
vlcMediaPlayer.media.addOptions(["http-referrer":"\(referer)"])
`
Any suggestion would be helpful.https://code.videolan.org/videolan/VLCKit/-/issues/263MobileVlcKit can not use hardware decoder when playing rtp stream by opening ...2019-09-03T08:27:14ZZheng TongMobileVlcKit can not use hardware decoder when playing rtp stream by opening a local sdp file.Can not use hardware decoder when playing rtp stream by opening a local sdp file.
My sdp file content is here.
```bash
m=video 9554 RTP/AVP 96
a=rtpmap:96 H264/90000
a=framerate:12
c=IN IP4 127.0.0.1
m=audio 9556 RTP/AVP 8
a=rtpmap:8 pc...Can not use hardware decoder when playing rtp stream by opening a local sdp file.
My sdp file content is here.
```bash
m=video 9554 RTP/AVP 96
a=rtpmap:96 H264/90000
a=framerate:12
c=IN IP4 127.0.0.1
m=audio 9556 RTP/AVP 8
a=rtpmap:8 pcma/8000/1
a=ptime:100
a=framerate:10
c=IN IP4 127.0.0.1
```