Recherche avancée

Médias (0)

Mot : - Tags -/xmp

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (106)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 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, par

    MediaSPIP 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 (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

Sur d’autres sites (14556)

  • Is there a way to horizontal flip video captured from flutter front camera

    5 mai 2024, par JoyJoy

    Basically, I'm trying to flip video horizontally after capturing it from flutter front camera. So I start recording, stop recording, flip the video and pass it to another page. I'm fairly new and would appreciate any assistance as my code isn't working

    


    I've tried doing so using the new ffmpeg_kit flutter

    


    Future<void> flipVideo(String inputPath, String outputPath) async{&#xA;final ffmpegCommand = "-i $inputPath -vf hflip $outputPath";&#xA;final session = FFmpegKit.executeAsync(ffmpegCommand);&#xA;await session.then((session) async {&#xA;  final returnCode = await session.getReturnCode();&#xA;  if (ReturnCode.isSuccess(returnCode)) {&#xA;    print(&#x27;Video flipping successful&#x27;);&#xA;  } else {&#xA;    print(&#x27;Video flipping failed: ${session.getAllLogs()}&#x27;);&#xA;  }&#xA;});}&#xA;&#xA;void stopVideoRecording() async {&#xA;XFile videopath = await cameraController.stopVideoRecording();&#xA;&#xA;try {&#xA;  final Directory appDocDir = await &#xA;  getApplicationDocumentsDirectory();&#xA;  final String outputDirectory = appDocDir.path;&#xA;  final String timeStamp = DateTime.now().millisecondsSinceEpoch.toString();&#xA;  final String outputPath = &#x27;$outputDirectory/flipped_video_$timeStamp.mp4&#x27;;&#xA;&#xA;  await flipVideo(videopath.path, outputPath);&#xA;&#xA;  // Once completed,&#xA;   Navigator.push(&#xA;    context,&#xA;    MaterialPageRoute(&#xA;      builder: (builder) => VideoViewPage(&#xA;        path: File(outputPath),&#xA;        fromFrontCamera: iscamerafront,&#xA;        flash: flash,&#xA;      )));&#xA;  print(&#x27;Video flipping completed&#x27;);&#xA;} catch (e) {&#xA;  print(&#x27;Error flipping video: $e&#x27;);&#xA;}&#xA;</void>

    &#xA;

    }

    &#xA;

  • In Flutter, how to get image pixel

    12 janvier 2024, par Pianone

    my code here

    &#xA;

    var response = await Dio().get(&#xA;   url,&#xA;   options: Options(responseType: ResponseType.bytes)&#xA;);&#xA;Uint8List? srcImage = Uint8List.fromList(response.data);&#xA;Uint8List? watermark = await captureWaterMark();&#xA;Image i = Image.memory(srcImage!);&#xA;//how can I get the pixel (Image i) such like 1920*1080 or just width/hight pixel&#xA;...tell me how to do...&#xA;srcImage = await addWaterMarkByFfmpegCommand(srcImage, watermark);&#xA;   final result = await ImageGallerySaver.saveImage(&#xA;      srcImage!, name: name,&#xA;   );&#xA;

    &#xA;

    i need get the pic pixel so that i can use it in ffmpeg command, it a func that add a watermark into srcImage, but cause their pixel ratio too diff to adapted watermark

    &#xA;

    i try to get pixel from ffmpeg... but i failed

    &#xA;

    /// addWaterMark by using ffmpeg Command&#xA;Future addWaterMarkByFfmpegCommand(Uint8List srcImg, Uint8List watermark) async {&#xA;  try {&#xA;    final Directory tempDir = await Directory.systemTemp.createTemp();&#xA;    final File image1File = File(&#x27;${tempDir.path}/srcImg.jpg&#x27;);&#xA;    await image1File.writeAsBytes(srcImg);&#xA;    final File image2File = File(&#x27;${tempDir.path}/watermark.png&#x27;);&#xA;    await image2File.writeAsBytes(watermark);&#xA;&#xA;    final String outputFilePath = &#x27;${tempDir.path}/output.jpg&#x27;;&#xA;    //when i get srcImage pixel, the positions in bold(iw*1) in the following commands will be replaced to make watermark adapted&#xA;    final String command =&#xA;        &#x27;-i ${image1File.path} -i ${image2File.path} -filter_complex "[1:v]scale=**iw*1**:-1[v1];[0:v][v1]overlay=10:10" -frames:v 1 $outputFilePath&#x27;;&#xA;    await FFmpegKit.execute(command);&#xA;&#xA;    final File outputFile = File(outputFilePath);&#xA;    final Uint8List outputBytes = await outputFile.readAsBytes();&#xA;    return outputBytes;&#xA;  } catch (e) {&#xA;    print(&#x27;Error executing ffmpeg command: $e&#x27;);&#xA;  }&#xA;  return null;&#xA;}&#xA;

    &#xA;

    ps : i am new to flutter and ffmpeg, plz help me, I'd appreciate, thanks alot

    &#xA;

  • Anomalie #3615 (Fermé) : Evitons les redirections

    8 décembre 2015, par Franck Dalot

    Bonjour
    spip 3.1 [22634]

    Il reste encore dans le core des url de type .org au lieu de .net
    Je croyais que cela avait été fait, mais il semble que non :-(
    Exemple :
    Faudrait faire une transformation des url du type :
    http://core.spip.org/
    en :
    https://core.spip.net/

    http://forum.spip.org/
    en :
    http://forum.spip.net/

    http://demo.spip.org/
    en :
    http://demo.spip.net/

    Pendant que j’y suis, il s’agit de sites de la galaxie ou pas ?
    http://math.spip.org/tex.php
    https://core.spip.net/projects/spip/repository/entry/spip/ecrire/inc_version.php#L234

    http://example.org/squelettes/bg.png
    http://zone.spip.org/trac/spip-zone/browser/_core_/plugins/compresseur/tests/css/expected_url_abs.css
    Car ils ne sont pas en .net

    Franck