Install ffmpeg
brew install ffmpeg
Download file through url, like this:
ffmpeg -protocol_whitelist file,http,https,tcp,tls,crypto -i "http://url-file.domain.m3u8" -c copy video.mp4
| /* | |
| * Copyright 2025 Kyriakos Georgiopoulos | |
| * | |
| * Licensed under the Apache License, Version 2.0 (the "License"); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 | |
| * | |
| * Unless required by applicable law or agreed to in writing, software |
| class MainActivity : ComponentActivity() { | |
| override fun onCreate(savedInstanceState: Bundle?) { | |
| super.onCreate(savedInstanceState) | |
| enableEdgeToEdge() | |
| setContent { | |
| BorderPathTheme { | |
| Scaffold(modifier = Modifier.fillMaxSize()) { innerPadding -> | |
| Box( | |
| modifier = Modifier | |
| .fillMaxSize() |
| val animatable = remember { | |
| Animatable(0.5f) | |
| } | |
| LaunchedEffect(key1 = true) { | |
| animatable.animateTo(1f, tween(350, easing = FastOutSlowInEasing)) | |
| // you can tweak out and customize these animations. | |
| } | |
| // add this animatable to your card's modifier graphics layer. | |
| BookItem(modifier = cardMod.graphicsLayer { | |
| this.scaleX = animatable.value |
| //settings.gradle.kts | |
| dependencyResolutionManagement { | |
| repositories { | |
| maven { url = uri("https://androidx.dev/snapshots/builds/11670047/artifacts/repository/") } | |
| google() | |
| mavenCentral() | |
| maven(url = "https://plugins.gradle.org/m2/") | |
| maven(url = "https://maven.pkg.jetbrains.space/public/p/compose/dev") | |
| } |
Install ffmpeg
brew install ffmpeg
Download file through url, like this:
ffmpeg -protocol_whitelist file,http,https,tcp,tls,crypto -i "http://url-file.domain.m3u8" -c copy video.mp4
| @font-face { | |
| font-family: 'ABeeZee'; | |
| font-style: normal; | |
| font-weight: 400; | |
| src: local('ABeeZee'), local('ABeeZee-Regular'), url(http://fonts.gstatic.com/s/abeezee/v9/JYPhMn-3Xw-JGuyB-fEdNA.ttf) format('truetype'); | |
| } | |
| @font-face { | |
| font-family: 'Abel'; | |
| font-style: normal; | |
| font-weight: 400; |
| { | |
| "kind": "webfonts#webfontList", | |
| "items": [ | |
| { | |
| "kind": "webfonts#webfont", | |
| "family": "ABeeZee", | |
| "category": "sans-serif", | |
| "variants": [ | |
| "regular", | |
| "italic" |