
Recherche avancée
Autres articles (69)
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, 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 (...) -
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 (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs
Sur d’autres sites (11941)
-
FFmpegKitFlutter, Error : MissingPluginException(No implementation found for method ffmpegSession on channel flutter.arthenica.com/ffmpeg_kit)
12 février, par 7SolomonI Have this simple Flutter function, to compress Audio Files


import 'package:ffmpeg_kit_flutter/ffmpeg_kit.dart';
import 'package:ffmpeg_kit_flutter/return_code.dart';


Future<string> compressAudio(String inputPath) async {
 try {
 // ...
 final command = '-y -i "$inputPath" ' // Input file
 '-af "loudnorm=I=-16:TP=-1.5:LRA=11,' // Loudness normalization
 'acompressor=threshold=${_config['threshold_db']}:'
 'ratio=${_config['ratio']}:'
 'attack=${_config['attack']}:'
 'release=${_config['release']},'
 'highpass=f=20,lowpass=f=20000" ' // Audio filters
 '-ar 44100 ' // Sample rate
 '-b:a 128k ' // Bitrate
 '-codec:a libmp3lame ' // MP3 encoder
 '-q:a 2 ' // Quality setting for LAME (0-9, lower is better)
 '-map_metadata 0 ' // Copy metadata
 '"$outputPath"'; // Output file

 // Execute FFmpeg command
 final session = await FFmpegKit.execute(command);
 final returnCode = await session.getReturnCode();
 final logs = await session.getLogs();
 print('FFmpeg logs: $logs');

 if (ReturnCode.isSuccess(returnCode)) {
 return outputFileName;
 } else {
 final logs = await session.getLogs();
 throw Exception(
 'FFmpeg process failed with code $returnCode\nLogs: $logs');
 }
 } catch (e, stackTrace) {
 print('Error: $e');
 print('Stack trace: $stackTrace');
 throw Exception('Failed to compress audio: $e\nStack trace: $stackTrace');
 }
 }
</string>


And I get this error

Error: MissingPluginException(No implementation found for method ffmpegSession on channel flutter.arthenica.com/ffmpeg_kit)


This is the Stacktrace


flutter: Error: MissingPluginException(No implementation found for method ffmpegSession on channel flutter.arthenica.com/ffmpeg_kit)
flutter: Stack trace: #0 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:332:7)
<asynchronous suspension="suspension">
#1 AbstractSession.createFFmpegSession (package:ffmpeg_kit_flutter/abstract_session.dart:71:11)
<asynchronous suspension="suspension">
#2 FFmpegSession.create (package:ffmpeg_kit_flutter/ffmpeg_session.dart:40:21)
<asynchronous suspension="suspension">
#3 FFmpegKit.executeWithArguments (package:ffmpeg_kit_flutter/ffmpeg_kit.dart:44:9)
<asynchronous suspension="suspension">
#4 FileProcessor.compressAudio (package:predigt_upload_fl/file.dart:182:23)
<asynchronous suspension="suspension">
#5 _DetailPageState._handleSubmit (package:predigt_upload_fl/GUIs/LiveStreamDetailPage.dart:334:30)
<asynchronous suspension="suspension">


══╡ EXCEPTION CAUGHT BY SERVICES LIBRARY ╞══════════════════════════════════════════════════════════
flutter.arthenica.com/ffmpeg_kit_event)

When the exception was thrown, this was the stack:
#0 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:332:7)
<asynchronous suspension="suspension">
#1 EventChannel.receiveBroadcastStream.<anonymous closure="closure"> (package:flutter/src/services/platform_channel.dart:676:9) 
<asynchronous suspension="suspension">
</asynchronous></anonymous></asynchronous></asynchronous></asynchronous></asynchronous></asynchronous></asynchronous></asynchronous>


And i think this comes from abstract class FFmpegKitPlatform extends PlatformInterface inside ffmpeg_kit_flutter_platform_interface.dart, because in there are a lot of functions that are not Implemented.


This happens not just because of one functions :


// ...
 final logLevel = await _getLogLevel();
 print('logLevel: $logLevel');
 if (logLevel != null) {
 FFmpegKitConfig.setLogLevel(logLevel);
 }
 final version = FFmpegKitFactory.getVersion();
 final platform = await FFmpegKitConfig.getPlatform();
 final arch = await ArchDetect.getArch();
 final packageName = await Packages.getPackageName();
 await FFmpegKitConfig.enableRedirection();
 final isLTSPostfix = (await FFmpegKitConfig.isLTSBuild()) ? "-lts" : "";
 // ...




All of these Functions and more in FFmpegKitInitializer are not Implemented. So im pretty sure im missing something else here than just some outdated Version.


These are my Dependencies :


dependencies:
 flutter:
 sdk: flutter
 path_provider: ^2.0.15
 just_audio: ^0.9.34
 file_picker: ^5.3.1
 path: ^1.8.3
 id3_codec: ^1.0.3
 ftpconnect: ^2.0.5
 http: ^1.1.0
 shared_preferences: ^2.2.0
 html: ^0.15.5
 youtube_explode_dart: ^2.3.9
 intl: ^0.19.0
 ffmpeg_kit_flutter: ^6.0.3



Im pretty new to Flutter Development so Im not quiete sure how to go about this Problem because every other FFmpeg Wrapper also has some problems that i couldnt fix.


If you need any other Information feel free to ask me, because I also dont know what someone would need to go fix the problem.


-
FFmpeg : Cut from live stream RTSP
10 septembre 2020, par Jax2171I cannot solve my problem and I have not found any solution.


I capture an rtsp stream from an ip camera via the command :


ffmpeg -stimeout 2000000 -abort_on empty_output -rtsp_transport tcp -i rtsp://admin:admin@192.168.1.15/av0_0 -c:v copy -c:a aac -f mpegts -y rec.ts



The native video codec is h264 while the audio one is pcm. I capture the video stream without compression and compress the audio in aac to make it compatible with the ts container.


I need to extract portions of video of X duration through during the capture. The command I use is :


ffmpeg -ss X-i rec.ts -c:v copy -c:a copy -t Y -f mp4 -stimeout 60 -y cut.mp4



Everything seems to work fine with no errors. However, the cut file has a slightly longer audio length than the video length. Sometimes the difference can be up to 1 second.


My problem is that I have to chain all the cuts I make, and this difference in duration causes a very annoying lag between one video and another.


It also happens that there is asynchronousness between audio and video in the cuts. The higher the
-ss
value, the more the audio anticipates the video.

I state that I am not a professional but from what I have read it could be a problem of different PTS between audio and video, but I'm not sure. However, I am sure that the problem arises from the capture of the stream perhaps not in accordance with my needs.


How can I solve ?


-
GDPR : How to fill in the information asset register when using Matomo ?
4 avril 2018, par InnoCraftDisclaimer : this blog post has been written by digital analysts, not lawyers. The purpose of this article is to explain you in details how we filled in the information asset register for Matomo. This work comes from our interpretation of the UK privacy commission resources (ICO). It cannot be considered as professional legal advice. So as GDPR, this information is subject to change.
The information asset register is for us one of the most important parts of the GDPR implementation process. It consists of an inventory of all information systems you are using to process personal data, exactly like a ledger for an accountant. Note that small and medium-sized organizations could be exempted.
Filling out this register can be a time-consuming activity. Therefore, we decided to show you a real case sample which we did for Matomo Analytics