Recherche avancée

Médias (91)

Autres articles (71)

  • MediaSPIP Player : les contrôles

    26 mai 2010, par

    Les contrôles à la souris du lecteur
    En plus des actions au click sur les boutons visibles de l’interface du lecteur, il est également possible d’effectuer d’autres actions grâce à la souris : Click : en cliquant sur la vidéo ou sur le logo du son, celui ci se mettra en lecture ou en pause en fonction de son état actuel ; Molette (roulement) : en plaçant la souris sur l’espace utilisé par le média (hover), la molette de la souris n’exerce plus l’effet habituel de scroll de la page, mais diminue ou (...)

  • L’agrémenter visuellement

    10 avril 2011

    MediaSPIP est basé sur un système de thèmes et de squelettes. Les squelettes définissent le placement des informations dans la page, définissant un usage spécifique de la plateforme, et les thèmes l’habillage graphique général.
    Chacun peut proposer un nouveau thème graphique ou un squelette et le mettre à disposition de la communauté.

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (5232)

  • How to scale video in front of image using ffmpeg ? [closed]

    29 juillet 2022, par Nigrimmist

    What i have :

    


    png picture dem.png (not transparent) and video cat.mp4

    


    Current result :

    


    enter image description here

    


    by executing :

    


    ffmpeg -i cat.mp4 -framerate 30 -i dem.png -filter_complex "[1][0]overlay=x=100:y=100" -c:a copy -movflags +faststart out2.mp4


    


    How can i scale mp4 in case i know paddings/required height/width of scaled mp4 here ?

    


    Very beginner in ffmpeg. I know, i need to use scale param, but can't understand how to do it with my current ffmpeg command.

    


    Maybe someone know how to do it ?

    


    Files are here if you need : https://drive.google.com/drive/folders/1gKJCyVU0IgJ8g3zWFhCA-L93lDOWyOS-?usp=sharing

    


  • FFmpeg : move moov atom of stream to front without writing a new file

    5 juillet 2023, par OGreeni

    I'm trying to extract a thumbnail image from an input stream with FFmpeg and send the result to stdout. I've been using this command : ffmpeg -i - -ss 00:00:01.000 -vframes 1 -c:v png -f image2pipe -. This works fine when the input has a .mp4 container, but not for .mov. I'm getting an "unspecified pixel format" error.

    


    After moving the moov atom to the front of the file with this command : ffmpeg -i - -c:a copy -c:v copy -movflags faststart output.mov, and then piping the file to the previous command, everything works. However, I would like to do this without writing a file to disk. The command ffmpeg -i - -c:a copy -c:v copy -movflags faststart -f mov - fails to initialize the output stream because muxer does not support non-seekable output.

    


    Is there a way to do this without writing a new file, perhaps by using an intermediate buffer ? I'm quite new to FFmpeg, so I might be missing something with my approach.

    


  • 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;