Recherche avancée

Médias (1)

Mot : - Tags -/musée

Autres articles (38)

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

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

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

Sur d’autres sites (2697)

  • difference overlay filter ffmpeg like photoshop/affinity photo

    14 janvier, par Owen Quinlan

    In photoshop and affinity photo there is a nice overlay filter that basically subtracts the overlaying layer from the one bellow to make a "difference map"

    


    Example :
Base image :
Screenshot Mario Kart 1

    


    Overlaying image :
Screenshot Mario Kart 2

    


    Resulting output :
Diff from two screenshots

    


    This is an example diff of overlaying a PNG with a JpegXL(I think) compressed image and then brightened :
Diff generated from image compression

    


    Location of filter in photoshop :
Photoshop screenshot

    


    Is there anyway to accomplish this with a filter in ffmpeg for an entire video ?

    


  • Flutter chewie video player shows incorrect duration for HLS stream

    29 mai 2022, par magackame

    Im using SRS and ffmpeg to create a HLS video stream
    
I run SRS using docker command

    


    docker run --rm -it -p 1935:1935 -p 1985:1985 -p 8080:8080 ossrs/srs:4 ./objs/srs -c conf/docker.conf


    


    And then post a stream using ffmpeg command

    


    ffmpeg -re -i video.mp4 -c copy -f flv rtmp://localhost/live/livestream


    


    To playback a video in flutter I use Chewie video player (chewie: ^1.3.2 in pubspec.yaml) and this widget code :

    


    import &#x27;package:video_player/video_player.dart&#x27;;&#xA;import &#x27;package:chewie/chewie.dart&#x27;;&#xA;import &#x27;package:flutter/material.dart&#x27;;&#xA;&#xA;class RoomView extends StatefulWidget {&#xA;  const RoomView({Key? key}) : super(key: key);&#xA;&#xA;  @override&#xA;  _RoomViewState createState() => _RoomViewState();&#xA;}&#xA;&#xA;class _RoomViewState extends State<roomview> {&#xA;  late VideoPlayerController _videoController;&#xA;  late ChewieController _controller;&#xA;&#xA;  @override&#xA;  void dispose() {&#xA;    _controller.dispose();&#xA;    _videoController.dispose();&#xA;&#xA;    super.dispose();&#xA;  }&#xA;&#xA;  @override&#xA;  void initState() {&#xA;    super.initState();&#xA;&#xA;    _videoController = VideoPlayerController.network(&#x27;http://localhost/live/livestream.m3u8&#x27;)&#xA;      ..initialize().then((_) {&#xA;        setState(() {});&#xA;      });&#xA;&#xA;    _controller = ChewieController(videoPlayerController: _videoController);&#xA;  }&#xA;&#xA;  @override&#xA;  Widget build(BuildContext context) {&#xA;    return AspectRatio(&#xA;        aspectRatio:&#xA;        _controller.aspectRatio == null ? 16 / 9 : _controller.aspectRatio!,&#xA;        child: Chewie(controller: _controller));&#xA;  }&#xA;}&#xA;</roomview>

    &#xA;

    The video plays fine and seeking using the playback bar also works, but the video duration is incorrect. I tried streaming videos with different duration(the two minute and twenty minute ones), tried using mp4 and mkv formats as source and/or streaming using mpegts as output container(instead of flv) but all of them had a duration of either one minute or sometimes 10 seconds and the playbar will overflow when reaching the limit(showing something like 2:11/1:05).
    &#xA;When playing some public HLS streams(https://multiplatform-f.akamaihd.net/i/multi/will/bunny/big_buck_bunny_,640x360_400,640x360_700,640x360_1000,950x540_1500,.f4v.csmil/master.m3u8) the video duration is shown correctly so I guess the problem is either the SRS or the ffmpeg.
    &#xA;The question is what am I doing wrong, what parameters should I use for ffmpeg or SRS, and what are other options that I can use to provide a working HLS stream for the player

    &#xA;

  • FFMPEG hangs (sometimes) when trying to take a photo from USB camera ?

    13 mai 2022, par dezman

    I am attempting to write a script that takes a photo every 3 seconds from camera source "1", the -pix_fmt I think is unique to my USB camera.

    &#xA;

    Here is the script :

    &#xA;

    #!/bin/bash&#xA;&#xA;set -e&#xA;&#xA;while :&#xA;do&#xA;  nice_num=$(date &#x2B;%s)&#xA;  &#xA;  ffmpeg -ss 00:00:00 -f avfoundation -pix_fmt yuyv422 -r 30.000030 -i "1" -t 1 -frames:v 1 -q:v 2 "image_$nice_num_%03d.jpg"&#xA;  &#xA;  wait&#xA;&#xA;  sleep 3&#xA;done&#xA;

    &#xA;

    The issue is half the time it successfully takes the photo, and half the time it just hangs forever echoing this (not useful) :

    &#xA;

    ffmpeg version 5.0.1 Copyright (c) 2000-2022 the FFmpeg developers&#xA;  built with Apple clang version 13.1.6 (clang-1316.0.21.2)&#xA;  configuration: --prefix=/usr/local/Cellar/ffmpeg/5.0.1 --enable-shared --enable-pthreads --enable-version3 --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librist --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libspeex --enable-libsoxr --enable-libzmq --enable-libzimg --disable-libjack --disable-indev=jack --enable-videotoolbox&#xA;  libavutil      57. 17.100 / 57. 17.100&#xA;  libavcodec     59. 18.100 / 59. 18.100&#xA;  libavformat    59. 16.100 / 59. 16.100&#xA;  libavdevice    59.  4.100 / 59.  4.100&#xA;  libavfilter     8. 24.100 /  8. 24.100&#xA;  libswscale      6.  4.100 /  6.  4.100&#xA;  libswresample   4.  3.100 /  4.  3.100&#xA;  libpostproc    56.  3.100 / 56.  3.100&#xA;

    &#xA;

    Then I CTRL-C 3 times and get :

    &#xA;

    ^C^C^CReceived > 3 system signals, hard exiting&#xA;

    &#xA;

    Other methods of "taking a photo every n seconds from bash" are also appreciated.

    &#xA;