VLCKit issueshttps://code.videolan.org/videolan/VLCKit/-/issues2021-06-29T10:56:43Zhttps://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/470Does not play encrypted HLS playlist where KEY URI is a Data URI2022-03-13T16:42:58ZHongfei YangDoes not play encrypted HLS playlist where KEY URI is a Data URIBasically it does not play an encrypted HLS playlist where the key for each segment is listed in playlist in the form of Data URI, like this
#EXT-X-KEY:METHOD=AES-128,URI="data:application/octet-stream;base64,xtfhsRCnE3+t2bVKn+gLEQ==",I...Basically it does not play an encrypted HLS playlist where the key for each segment is listed in playlist in the form of Data URI, like this
#EXT-X-KEY:METHOD=AES-128,URI="data:application/octet-stream;base64,xtfhsRCnE3+t2bVKn+gLEQ==",IV=0x50f881b1f9598945878e60ccb139bb9c
This should be valid.https://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/468How to play a raw h264 stream??2022-06-09T16:01:08ZNathan HorriganHow to play a raw h264 stream??I'm trying to execute a binary using Process/NSTask on MacOS and then play the raw video output to the user using VLCKit. Is this possible?
Something along the lines of the following doesn't seem to work:
```
let task = Process()
task....I'm trying to execute a binary using Process/NSTask on MacOS and then play the raw video output to the user using VLCKit. Is this possible?
Something along the lines of the following doesn't seem to work:
```
let task = Process()
task.launchPath = "binary"
task.arguments = [...]
let adOutput = Pipe()
task.standardOutput = adOutput
task.standardError = adOutput
task.launch()
let data = adOutput.fileHandleForReading.readDataToEndOfFile()
player.media = VLCMedia(stream: InputStream(data: data))
player.play()
```
I appreciate this isn't a very encouraging issue but I don't know where else to look?Alexandre Janniauxajanni@videolabs.ioAlexandre Janniauxajanni@videolabs.iohttps://code.videolan.org/videolan/VLCKit/-/issues/467Get real size of the drawable view2022-08-05T06:41:54ZMalekGet real size of the drawable viewHi,
i'm trying to display overlay over the `VLCMediaPlayer` but as the `VLCMediaPlayer ` add black border, i can't get the size/frame for the video it self. i do some calculation using the aspect ratio (by the way `videoAspectRatio` retu...Hi,
i'm trying to display overlay over the `VLCMediaPlayer` but as the `VLCMediaPlayer ` add black border, i can't get the size/frame for the video it self. i do some calculation using the aspect ratio (by the way `videoAspectRatio` return nil) but the result is not "pixel perfect".
is there any way to get the this info ?
Thanks.https://code.videolan.org/videolan/VLCKit/-/issues/466Question the need of the attached patch and re-apply if needed2022-01-05T09:19:32ZFelix Paul Kühnefkuehne@videolan.orgQuestion the need of the attached patch and re-apply if needed[0010-core-expose-config_AutoSaveConfigFile.patch](/uploads/6322a44c4ee07afc2a85b8ef02f5f4ee/0010-core-expose-config_AutoSaveConfigFile.patch)[0010-core-expose-config_AutoSaveConfigFile.patch](/uploads/6322a44c4ee07afc2a85b8ef02f5f4ee/0010-core-expose-config_AutoSaveConfigFile.patch)4.0Felix Paul Kühnefkuehne@videolan.orgFelix Paul Kühnefkuehne@videolan.orghttps://code.videolan.org/videolan/VLCKit/-/issues/465How to play next video2022-04-19T08:58:04ZAlankoHow to play next videoI create list of URL video streams.
If video ending, then create new object VLCMedia.
This object set for player.
Next call play.
Sometimes it happens that the application crashes.
Please, what's the right way to switch another movi...I create list of URL video streams.
If video ending, then create new object VLCMedia.
This object set for player.
Next call play.
Sometimes it happens that the application crashes.
Please, what's the right way to switch another movie?
```
var media = VLCMedia(url:link)
self.player.pause()
self.player.media = media
self.player.play()
```https://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/463MobileVLCKit interferes with SwiftUI property bindings2022-01-09T22:34:33ZHai PhanMobileVLCKit interferes with SwiftUI property bindingsI encounter this in my project, so I created a stripped-down example to demonstrate the issue:
https://github.com/ken107/vlckit/commits/master (see examples/iOS/SwiftUISimplePlayback)
The example shows a video player and a Play/Stop but...I encounter this in my project, so I created a stripped-down example to demonstrate the issue:
https://github.com/ken107/vlckit/commits/master (see examples/iOS/SwiftUISimplePlayback)
The example shows a video player and a Play/Stop button. Clicking Play will set the `url` property to a sample video, clicking Stop will reset it to `nil`. I use SwiftUI's property bindings to hide the Play button and show the Stop button if `url != nil`. The `url` is also passed to the VideoView for playback. The VideoView is a UIViewRepresentable wrapper around a dummy UIView that serves as the drawable for VLCMediaPlayer.
The issue occurs as soon as playback happens. The SwiftUI views no longer updates/responds to property changes. In this example, clicking the Stop button won't change it back to Play, even as video playback is toggled on/off correctly. If I disable video playback, the buttons behave as you would expect.
The log is below (Play button clicked at 11:07:45, Stop button clicked at 11:07:55). Again, video playback works fine, the issue is only with SwiftUI views stop getting updated by property bindings.
```
2021-01-08 11:07:39.318613-0800 SwiftUISimplePlayback[44958:2512639] creating player instance using shared library
2021-01-08 11:07:39.455270-0800 SwiftUISimplePlayback[44958:2512639] [plugin] AddInstanceForFactory: No factory registered for id <CFUUID 0x600001f73640> F8BB1C28-BAE8-11D6-9C31-00039315CD46
2021-01-08 11:07:45.550031-0800 SwiftUISimplePlayback[44958:2512639] creating player instance using shared library
[h264 @ 0x7ffe9e0c4200] Overread VUI by 8 bits
2021-01-08 11:07:49.317337-0800 SwiftUISimplePlayback[44958:2513399] [ddagg] AggregateDevice.mm:820 couldn't get default input device, ID = 0, err = 0!
2021-01-08 11:07:49.495123-0800 SwiftUISimplePlayback[44958:2513633] [aurioc] AURemoteIO.h:323:entry: Unable to join I/O thread to workgroup ((null)): 2
2021-01-08 11:07:55.532741-0800 SwiftUISimplePlayback[44958:2512639] creating player instance using shared library
[h264 @ 0x7ffe9f871e00] get_buffer() failed
[h264 @ 0x7ffe9f871e00] thread_get_buffer() failed
[h264 @ 0x7ffe9f871e00] decode_slice_header error
[h264 @ 0x7ffe9f871e00] no frame!
```https://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/461Many crashes due VLCMedia when using `initWithOptions`2022-09-24T17:45:32ZmiosgitMany crashes due VLCMedia when using `initWithOptions`Hello,
since I started using VLC 2 years ago, I always noticed this problem:
if I use `[[VLCMediaPlayer alloc] initWithOptions:options];` I notice a lot of crashes like this from VLC.
![Screen_Shot_2021-01-03_at_6.18.22_PM](/uploads/6f...Hello,
since I started using VLC 2 years ago, I always noticed this problem:
if I use `[[VLCMediaPlayer alloc] initWithOptions:options];` I notice a lot of crashes like this from VLC.
![Screen_Shot_2021-01-03_at_6.18.22_PM](/uploads/6f47a4291810274072d2cd60a58a22ce/Screen_Shot_2021-01-03_at_6.18.22_PM.png)
This happens when the user exit the view controller, and therefore the dealloc method is called. We don't do anything in the dealloc method, but obviously, the system tries to deallocate everything that was retained from that view controller, including the VLC player. When this happens, the VLCMedia provocates this crash.
Can you please advise?3.5.0https://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/459iOS MobileVLCKit "VLCMediaPlayerStateError" Never Called2022-09-13T14:19:22ZMitch RossiOS MobileVLCKit "VLCMediaPlayerStateError" Never CalledAttempt to initialize vlc sdk( 3.3.15 version) on ios with a bogus URL (any url where its 404). The "VLCMediaPlayerStateError" is never called. However On Android SDK, the "VLCMediaPlayerStateError" is called
It appears Buffering and ...Attempt to initialize vlc sdk( 3.3.15 version) on ios with a bogus URL (any url where its 404). The "VLCMediaPlayerStateError" is never called. However On Android SDK, the "VLCMediaPlayerStateError" is called
It appears Buffering and Stopped get called.
Heres a sample iOS repo to quickly test -> https://github.com/GeorgeKyrylenko1998/VLCSample! ... Make sure to update podfile to use 3.3.15
[Screen_Shot_2020-12-22_at_4.23.36_PM](/uploads/b03b277ad629437506f38cbdea4e7528/Screen_Shot_2020-12-22_at_4.23.36_PM.png)4.0https://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/456UI API called from background thread2024-03-03T15:47:56ZCesare ForelliUI API called from background threadHello,
I still had VLCKit 3.3.5 integrated into my app, so today I decided to update to version 3.3.15; compiling went smooth, as was replacing the framework inside my project, except now I'm getting a "purple" warning, from the main th...Hello,
I still had VLCKit 3.3.5 integrated into my app, so today I decided to update to version 3.3.15; compiling went smooth, as was replacing the framework inside my project, except now I'm getting a "purple" warning, from the main thread checker, when I run the app and stop playback to immediately resume it with a different video stream:
![UI API called from background thread](/uploads/81cc6345b87f4c528303b4be223f5135/Schermata_2020-12-05_alle_20.46.57.png)
After enabling the main thread checker breakpoint, the app logs this:
```
=================================================================
Main Thread Checker: UI API called on a background thread: -[NSView layer]
PID: 45778, TID: 1116455, Thread name: (none), Queue name: com.apple.root.default-qos.overcommit, QoS: 0
Backtrace:
4 VLCKit 0x0000000101e7857c -[VLCVideoLayerView vlcClose] + 28
```
When reverting to VLCKit 3.3.5, the main thread warning disappears; after re-adding version 3.3.15, it immediately returns: I launch the app and playback starts without any warning; as soon as I stop and resume (I do so when changing RTSP stream), the main thread checker kicks in immediately.
I never called mediaplayer.stop() and mediaplayer.play() from the main thread; was I wrong the whole time? Is there some king of regression for [#176](https://code.videolan.org/videolan/VLCKit/-/issues/176)?
Thank you!3.6.0Felix Paul Kühnefkuehne@videolan.orgFelix Paul Kühnefkuehne@videolan.orghttps://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/454AirPlay >> two outputs are selected but only one plays the audio2022-03-13T16:33:36ZmiosgitAirPlay >> two outputs are selected but only one plays the audioOne of my users reported:
```
I think that with tvOS 14.2 something was broken with the Audio options.
Before 14.2, when you select a HomePod + TV the sound plays from both outputs.
After 14.2, even when the two outputs are selected onl...One of my users reported:
```
I think that with tvOS 14.2 something was broken with the Audio options.
Before 14.2, when you select a HomePod + TV the sound plays from both outputs.
After 14.2, even when the two outputs are selected only the HomePod plays the audio.
I tried with Netflix, AppleTV and YouTube, all of them are working as expected >> The sound plays from all the selected sources
PS: I guess that had appeared with tvOS 14.2 but not absolutely sure as I didn’t try with the previous build to see if it’s coming from the build or the new update
```
I don't have logs. If you have a way to test this or can review the related code and understand if something changes would be great.
Thank you.