VLCKit issueshttps://code.videolan.org/videolan/VLCKit/-/issues2021-03-12T17:11:58Zhttps://code.videolan.org/videolan/VLCKit/-/issues/477How to handle when string URL being passed to VLCMedia doesn't work?2021-03-12T17:11:58ZAndres UrdanetaHow to handle when string URL being passed to VLCMedia doesn't work?I'm currently passing a stream url that doesn't work (or a random one). VLCKit would push the `view` and won't play anything (expected).
To handle that situation I'm implementing the following solution (which isn't beautiful but does th...I'm currently passing a stream url that doesn't work (or a random one). VLCKit would push the `view` and won't play anything (expected).
To handle that situation I'm implementing the following solution (which isn't beautiful but does the work for now)
```
mediaPlayer.media = VLCMedia(url: URL(string: mediaUrl)!)
mediaPlayer.play()
if (mediaPlayer.isPlaying == false) {
DispatchQueue.main.asyncAfter(deadline: .now() + 4.0) {
if (self.mediaPlayer.isPlaying == false) {
// do something
self.mediaPlayer.stop()
}
else {
print("placeholder")
}
}
}
```
The about snippet translates to: After calling the `.play()` function, to the `.isPlaying` method returns `false` after 10 seconds, then do something
However, I'm obviously not sure about this solution. Is there any way that I can get an "error" to play with if the connection with the url that is being passed doesn't work (either because the connection times out or the string url isn't valid)?https://code.videolan.org/videolan/VLCKit/-/issues/475libsystem_pthread.dylib`pthread_mutex_lock:2021-02-26T17:00:38Zvfanslibsystem_pthread.dylib`pthread_mutex_lock:
#0 0x00000001f300976c in pthread_mutex_lock ()
Thread 17: EXC_BAD_ACCESS (code=1, address=0x25868500000705)
Play some subtitle video files and there will be a crash
#0 0x00000001f300976c in pthread_mutex_lock ()
Thread 17: EXC_BAD_ACCESS (code=1, address=0x25868500000705)
Play some subtitle video files and there will be a crashhttps://code.videolan.org/videolan/VLCKit/-/issues/473Video filter 'magnify'2021-06-29T10:56:43ZCesare ForelliVideo filter 'magnify'Hi.
I was wondering if the Magnify video filter is available in VLCKit on macOS.
My option `"--video-filter=magnify"` is ignored, even when associated with `"--video-filter=transform"`.
I don't think the problem is how I'm passing the ...Hi.
I was wondering if the Magnify video filter is available in VLCKit on macOS.
My option `"--video-filter=magnify"` is ignored, even when associated with `"--video-filter=transform"`.
I don't think the problem is how I'm passing the options, as others such as vertical and horizontal flip work just fine.
Thanks in advance!3.3.17Felix Paul Kühnefkuehne@videolan.orgFelix Paul Kühnefkuehne@videolan.orghttps://code.videolan.org/videolan/VLCKit/-/issues/472One problem found when using mobilevlckit + mobileffmpeg in combination2021-02-14T11:26:53ZidompoloOne problem found when using mobilevlckit + mobileffmpeg in combinationYou cannot play videos with flv extension.
It also gets bounced off of memory errors.
There seems to be a conflict between the ffmpeg version used by mobilevlckit and the specific library version used by the mobile_ffmpeg version.
Gues...You cannot play videos with flv extension.
It also gets bounced off of memory errors.
There seems to be a conflict between the ffmpeg version used by mobilevlckit and the specific library version used by the mobile_ffmpeg version.
Guess -> avformat_OpenDemux in avformat.c file used by mobilevlckit seems to crash..
Is there a solution?
I will provide a sample below.
https://github.com/idompolo/vlc_ffmpeg_testhttps://code.videolan.org/videolan/VLCKit/-/issues/471complie in m12021-02-10T09:57:17Zvfanscomplie in m1checking build system type... Invalid configuration `arm64-apple-darwin20.3.0': machine `arm64-apple' not recognized
configure: error: /bin/sh build-aux/config.sub arm64-apple-darwin20.3.0 failed
make: *** [.libtasn1] Error 1checking build system type... Invalid configuration `arm64-apple-darwin20.3.0': machine `arm64-apple' not recognized
configure: error: /bin/sh build-aux/config.sub arm64-apple-darwin20.3.0 failed
make: *** [.libtasn1] Error 1https://code.videolan.org/videolan/VLCKit/-/issues/469Does MobileVlckit support encrypted HLS stream2022-03-13T16:42:58ZRoenDoes MobileVlckit support encrypted HLS stream While the HLS supports AES-128 encryption, Does the current version of MobileVlcKit support AES-128 encrypted stream, or will it be added in feature While the HLS supports AES-128 encryption, Does the current version of MobileVlcKit support AES-128 encrypted stream, or will it be added in featurehttps://code.videolan.org/videolan/VLCKit/-/issues/464M1 has sound and no image2021-08-21T15:49:55ZazureM1 has sound and no imageM1 has sound and no imageM1 has sound and no imagehttps://code.videolan.org/videolan/VLCKit/-/issues/462Carthage build of MobileVLCKit missing Info.plist2022-02-17T14:33:21ZChris HubbardCarthage build of MobileVLCKit missing Info.plistI am trying to integrate MobileVLCKit into my iOS app using Carthage. I am able to get it to build. However, when I try to install on the simulator, it gives this error:
> Please try again later.
> Failed to load Info.plist from bundle ...I am trying to integrate MobileVLCKit into my iOS app using Carthage. I am able to get it to build. However, when I try to install on the simulator, it gives this error:
> Please try again later.
> Failed to load Info.plist from bundle at path /Users/hubbard/Library/Developer/CoreSimulator/Devices/6B6200AD-40B4-41C4-811E-9A268A40466C/data/Library/Caches/com.apple.mobile.installd.staging/temp.2IqkWh/extracted/Payload/SimplePlayback.app/Frameworks/MobileVLCKit.framework; Extra info about Info.plist: Couldn't stat /Users/hubbard/Library/Developer/CoreSimulator/Devices/6B6200AD-40B4-41C4-811E-9A268A40466C/data/Library/Caches/com.apple.mobile.installd.staging/temp.2IqkWh/extracted/Payload/SimplePlayback.app/Frameworks/MobileVLCKit.framework/Info.plist: No such file or directory3.3.16Felix Paul Kühnefkuehne@videolan.orgFelix Paul Kühnefkuehne@videolan.orghttps://code.videolan.org/videolan/VLCKit/-/issues/460Question: point to unstable 4.0 version2022-03-13T16:44:38ZmiosgitQuestion: point to unstable 4.0 versionHello,
I use CocoaPods in my project and I would like to point to this version. I didn't find any specific tag or commit to point to, can you help?
Thank you.Hello,
I use CocoaPods in my project and I would like to point to this version. I didn't find any specific tag or commit to point to, can you help?
Thank you.https://code.videolan.org/videolan/VLCKit/-/issues/458iOS release Update Carthage Package Release to Latest 3.3.152020-12-20T17:45:22ZRichard LegaultiOS release Update Carthage Package Release to Latest 3.3.15Currently Carthage mobilevlckit package is at release 3.3.14; 15 has been out for 2 months now with no update to the Carthage package version.
Nice To Have.Currently Carthage mobilevlckit package is at release 3.3.14; 15 has been out for 2 months now with no update to the Carthage package version.
Nice To Have.3.3.16Felix Paul Kühnefkuehne@videolan.orgFelix Paul Kühnefkuehne@videolan.orghttps://code.videolan.org/videolan/VLCKit/-/issues/457MobileVLCKit pub hosting geo filtered?2021-02-02T18:49:26ZoberbeckMobileVLCKit pub hosting geo filtered?As part of https://github.com/solid-software/flutter_vlc_player/issues/143
we discovered some people are having trouble installing `MobileVLCKit` using cocoapods.
```bash
> Running pod install... ...As part of https://github.com/solid-software/flutter_vlc_player/issues/143
we discovered some people are having trouble installing `MobileVLCKit` using cocoapods.
```bash
> Running pod install...
> (This is taking an unexpectedly long time.) ⣯ ⣷
> [...]
> curl: (92) HTTP/2 stream 0 was not closed cleanly: INTERNAL_ERROR (err 2)
>
> Error running pod install
```
Downloading https://download.videolan.org/pub/cocoapods/prod/MobileVLCKit-3.3.15-8f0cf4ce-ce04499f.tar.xz manually is also really slow for some people.
For me using a German internet access the server shuts down after some time.<br>
I have a downstream of ↓ 58,6 Mbit/s<br>
I ran it like twice, it is always very slow and looks like it times out/the server cancels it.<br>
`9,9 MB of 299,7 MB -- The operation couldn't be complete...`<br>
`8,3 MB of 299,7 MB -- The operation couldn't be complete...`<br>
Then I switched to my mobile cellular and it is the same.
Using the Tor network with an IP from Texas (United States) it finishes within 10 minutes. Using another private proxy also works when using an IP from within the USA.
So it does not seem to be our networks, but rather the server/host?https://code.videolan.org/videolan/VLCKit/-/issues/455How to implement sleeptimer with MobileVLCKit for iOS ?2020-12-09T16:52:05Zfrank van vlietHow to implement sleeptimer with MobileVLCKit for iOS ?How can I implement a sleep timer when using MobileVLCKit for iOS with Swift ?
Thanks for any advice
FrankHow can I implement a sleep timer when using MobileVLCKit for iOS with Swift ?
Thanks for any advice
Frankhttps://code.videolan.org/videolan/VLCKit/-/issues/453QQ: when version 4.0?2022-03-13T16:44:38ZmiosgitQQ: when version 4.0?Hello,
when version 4.0 will be released? Last time I asked months ago you said by the end of the year, but we are just 1 month apart from the end of the year. Any plan?
Thank you.Hello,
when version 4.0 will be released? Last time I asked months ago you said by the end of the year, but we are just 1 month apart from the end of the year. Any plan?
Thank you.4.0https://code.videolan.org/videolan/VLCKit/-/issues/450crashing on swiftui ios thumbnailer2020-11-17T04:29:19ZAdam Mischkecrashing on swiftui ios thumbnailerHello, didn't seen an issue of this, I may just be using it wrong (I'm new to swift).
I'm trying to take a thumbnail as a UIImage out of a webm, but for some reason this code is segfaulting.
```
struct VLCThumbnailView: UIViewRepresen...Hello, didn't seen an issue of this, I may just be using it wrong (I'm new to swift).
I'm trying to take a thumbnail as a UIImage out of a webm, but for some reason this code is segfaulting.
```
struct VLCThumbnailView: UIViewRepresentable {
let thumbnailer: VLCMediaThumbnailer = VLCMediaThumbnailer()
let url: URL
let thumbnail: (UIImage) -> Void
func makeUIView(context: Context) -> UIView {
let uiView = UIView()
self.thumbnailer.delegate = context.coordinator
self.setThumbnail(cacheUrl: url)
return uiView
}
func updateUIView(_ uiView: UIView, context: UIViewRepresentableContext<VLCThumbnailView>) {
return
}
public static func dismantleUIView(_ uiView: UIView, coordinator: VLCThumbnailView.Coordinator) {
//coordinator.parent.playerList.mediaList = nil
}
// MARK: Private
private func setThumbnail(cacheUrl: URL) {
let media = VLCMedia(url: cacheUrl)
self.thumbnailer.media = media
self.thumbnailer.fetchThumbnail()
}
// MARK: Coordinator
func makeCoordinator() -> Coordinator {
return Coordinator(self)
}
class Coordinator: NSObject, VLCMediaThumbnailerDelegate {
var parent: VLCThumbnailView
init(_ parent: VLCThumbnailView) {
self.parent = parent
}
// MARK: Thumbnailer Delegate
func mediaThumbnailerDidTimeOut(_ mediaThumbnailer: VLCMediaThumbnailer!) {
return
}
func mediaThumbnailer(_ mediaThumbnailer: VLCMediaThumbnailer!, didFinishThumbnail thumbnail: CGImage!) {
self.parent.thumbnail(UIImage(cgImage: thumbnail))
}
}
}
```
the line of error is
`VLCMediaThumbnailer.m:269:1`
Is the thumbnailer releasing because it's not attached to the uiView?
Thanks!!https://code.videolan.org/videolan/VLCKit/-/issues/449VLCMediaPlayer randomly stops playing audio, what could be the reason ?2020-11-15T12:49:44Zfrank van vlietVLCMediaPlayer randomly stops playing audio, what could be the reason ?Hello VLCKit users,
I'm first-time user of MobileVLCKit-iOS (3.3.15) and have added VLCMediaPlayer() in a swift app to play audio urls. Randomly the mediaplayer receives a mediaPlayerStateChanged(.stopped) event, after buffering or imme...Hello VLCKit users,
I'm first-time user of MobileVLCKit-iOS (3.3.15) and have added VLCMediaPlayer() in a swift app to play audio urls. Randomly the mediaplayer receives a mediaPlayerStateChanged(.stopped) event, after buffering or immediately when executing play(). In other cases this audio url plays just fine.
What could be the reason for suddenly stopping? What can I do to solve this ? Unfortunately I receive no (error)info from the player...
Thanks for any advice
Frankhttps://code.videolan.org/videolan/VLCKit/-/issues/447Unable to run with LiveSwitch SDK2020-12-14T06:03:34ZArtem KrachulovUnable to run with LiveSwitch SDKI have a Chat demo project from the **FrozenMontain**. This project uses **LiveSwitch SDK** for video streaming. I would like to use `VLCMediaPlayer` inside this project.
First I used cocoapods dependency `pod 'MobileVLCKit'`. But end...I have a Chat demo project from the **FrozenMontain**. This project uses **LiveSwitch SDK** for video streaming. I would like to use `VLCMediaPlayer` inside this project.
First I used cocoapods dependency `pod 'MobileVLCKit'`. But ended up with the following error:
_ld: '/Users/admin/Downloads/Chat/Pods/MobileVLCKit/MobileVLCKit.framework/MobileVLCKit(audio.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture arm64_
Then I made a custom build with setting `BITCODE=yes` via `./compileAndBuildVLCKit.sh -a aarch64` command. Added new `MobileVLCKit.framework` to the app and got a big list of another errors (See attached image)
![Screenshot_2020-11-11_at_17.42.56](/uploads/9016d96c6e62b7522e8d310749fece78/Screenshot_2020-11-11_at_17.42.56.png)
How to connect `MobileVLCKit` to the app?https://code.videolan.org/videolan/VLCKit/-/issues/444HLS (not Live) streaming - seeking2022-03-13T16:42:58ZmiosgitHLS (not Live) streaming - seekingHello,
if I'm playing an HLS video (not live), I can successfully pause/play.
However when I try to play from another timestamp, it continues to play where it was paused.
On the VLC app (macOS) it instead works perfectly.
Do you have ...Hello,
if I'm playing an HLS video (not live), I can successfully pause/play.
However when I try to play from another timestamp, it continues to play where it was paused.
On the VLC app (macOS) it instead works perfectly.
Do you have any insight? Is this a known bug?
Thank you.https://code.videolan.org/videolan/VLCKit/-/issues/443Artefacts in Video / Hardware acceleration2022-03-13T16:15:07ZMaximo CavazzaniArtefacts in Video / Hardware accelerationHi, a user reported that was seeing artefacts on some RTSP feeds on my iOS app.
He also gets them in Windows, but they disappear when he uncheck "hardware acceleration"
I don't find the option in MobileVLCKit, is it there? Am I on the co...Hi, a user reported that was seeing artefacts on some RTSP feeds on my iOS app.
He also gets them in Windows, but they disappear when he uncheck "hardware acceleration"
I don't find the option in MobileVLCKit, is it there? Am I on the correct path?
Thanks!https://code.videolan.org/videolan/VLCKit/-/issues/442VLC for Mac Catalyst.2020-10-29T20:53:10ZvfansVLC for Mac Catalyst. OpenGLES is deprecated and is not available when building for Mac Catalyst. Consider migrating to Metal instead. You may need to restrict the platforms for which this framework should be linked in the target editor. OpenGLES is deprecated and is not available when building for Mac Catalyst. Consider migrating to Metal instead. You may need to restrict the platforms for which this framework should be linked in the target editor.https://code.videolan.org/videolan/VLCKit/-/issues/441Seek Issue in tvOS2020-11-11T16:38:11ZwertpoiuSeek Issue in tvOSI am seeking by changing mediaplayer.position value with slider value. After seek mediaplayer.position jumps forward 10 minutes for a second then jumps back to seek position.I am seeking by changing mediaplayer.position value with slider value. After seek mediaplayer.position jumps forward 10 minutes for a second then jumps back to seek position.