
Recherche avancée
Autres articles (105)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)
Sur d’autres sites (12208)
-
Get rtsp udp streaming with ffmpeg utility failed
16 février 2021, par Lidor AboHey there,
I have a problem with get streaming from wowza stream engine as described below :
I try to get streaming in private network from wowza stream engine in UDP with ffmpeg as following :
ffmpeg -loglevel debug -rtsp_transport udp -i "rtsp ://192.168.8.117:1935/live/ecad838c-b431-4c8b-b2e8-d43f78a8d2f2.stream" -acodec copy -vcodec copy test.mp4
and i get the following error :
rtsp ://192.168.8.117:1935/live/ecad838c-b431-4c8b-b2e8-d43f78a8d2f2.stream : Connection timed out
Few remarks about that :


- 

- When i try to get streaming using public ip with ffmpeg utility i success in UDP and TCP
- I success to get streaming with private IP with TCP connection through ffmpeg utility as following :
ffmpeg -loglevel debug -rtsp_transport tcp -i "rtsp ://192.168.8.117:1935/live/ecad838c-b431-4c8b-b2e8-d43f78a8d2f2.stream" -acodec copy -vcodec copy test.mp4
- I open 1935 UDP and TCP ports in security group of wowza stream engine for machines that will need to get streaming from wowza stream engine. Also, i opened UDP in 6970-9999 range for any ip address.
- I added relevant IP address in Whitelist property in Server.xml conf in wowza stream engine.
- I using vpn service (perimeter) to access the machine that from it i get streaming from wowza streaming engine.
- iptables in machine that i try to get stream allow any rule and not enabled any firewall.
Note : i adding link to zip file with logs and config files because is not me your upload limitations :














-
ffmpeg-python lib's 'run' function works locally but doesn't work in server
27 décembre 2023, par Fire DeusI am using ffmpeg-python library to process video, specifically I had to add watermark to video. Code is very simple :


def set_watermark_to_video(
 video_url: str,
 directory: str,
 filename: str,
 extension: str,
):
 video_input = ffmpeg.input(video_url)
 output_path: str = f"/tmp/{filename}_watermarked.mp4"
 logo_input = ffmpeg.input(vid_mycar_logo_path)
 video_probe = ffmpeg.probe(video_url)
 video_stream = next(
 (
 stream
 for stream in video_probe["streams"]
 if stream["codec_type"] == "video"
 ),
 None,
 )

 logo_probe = ffmpeg.probe("my_logo_path")
 logo_stream = next(
 (stream for stream in logo_probe["streams"] if stream["codec_type"] == "video"),
 None,
 )
 ffmpeg.filter(
 [video_input, logo_input],
 "overlay",
 10,
 video_stream["height"] - logo_stream["height"] - 10,
 ).output(output_path).run(overwrite_output=True)



Exception occurs when
.run(overwrite_output=True)
function is called.

Exception looks like this : ffmpeg._run.Error : ffmpeg error (see stderr output for detail).

When I print exc.stderr the only warning I can see is "Unknown cover type : 0x1."


But this code works perfectly when I run it locally. I am using docker to build my service, so dependencies, versions, etc all the same in both environments.


The version of ffmpeg I'm using is
5.1.4-0+deb12u1


I tried to run code line by line in server and local machine to compare all parameters and values that have been generated. And still they are the same, so I don't understand why this error happens in server


-
I'm getting error while building the project in vue for ffmpeg.wasm
2 avril, par EaBengaluruHi i'm getting below error when i build the project with $npm run build command




I'm using vuetify
"vuetify": "^2.4.0"
still because 3.0 is still in beta so i'm using"vue": "^2.6.11",


Here is my
package.json


{
 ....
 "dependencies": {
 "@ffmpeg/core": "^0.11.5",
 "@ffmpeg/ffmpeg": "^0.11.0",
 "core-js": "^3.6.5",
 "vue": "^2.6.11",
 "vue-router": "^3.5.3",
 "vuetify": "^2.4.0"
 },
 "devDependencies": {
 "@vue/cli-plugin-babel": "~4.5.0",
 "@vue/cli-plugin-eslint": "~4.5.0",
 "@vue/cli-service": "~4.5.0",
 "babel-eslint": "^10.1.0",
 "eslint": "^6.7.2",
 "eslint-plugin-vue": "^6.2.2",
 "sass": "~1.32.0",
 "sass-loader": "^10.0.0",
 "vue-cli-plugin-vuetify": "~2.4.5",
 "vue-template-compiler": "^2.6.11",
 "vuetify-loader": "^1.7.0"
 },
 "eslintConfig": {
 "root": true,
 "env": {
 "node": true
 },
 "extends": [
 "plugin:vue/essential",
 "eslint:recommended"
 ],
 "parserOptions": {
 "parser": "babel-eslint"
 },
 "rules": {}
 },
 "browserslist": [
 "> 1%",
 "last 2 versions",
 "not dead"
 ]
 }



Note : it was working fine with
"@ffmpeg/ffmpeg": "^0.10.1",
when i updated it to"@ffmpeg/ffmpeg": "^0.11.0",
it is not working

in my
vue.config.js
there is nothing much , excepttranspileDependencies


module.exports = {
 transpileDependencies: [
 'vuetify'
 ]
}



Here is i have uploaded my project https://easyupload.io/rl9xyd [Download with high speed]


Note : i want to use
vuetify


Question : i want to build with
"@ffmpeg/core": "^0.11.0", "@ffmpeg/ffmpeg": "^0.11.5"
andvuetify


Please help me to resolve the error thanks in advance !!!