
Recherche avancée
Médias (1)
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (38)
-
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 (...) -
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 (...) -
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications 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 QuinlanIn 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 magackameIm 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 'package:video_player/video_player.dart';
import 'package:chewie/chewie.dart';
import 'package:flutter/material.dart';

class RoomView extends StatefulWidget {
 const RoomView({Key? key}) : super(key: key);

 @override
 _RoomViewState createState() => _RoomViewState();
}

class _RoomViewState extends State<roomview> {
 late VideoPlayerController _videoController;
 late ChewieController _controller;

 @override
 void dispose() {
 _controller.dispose();
 _videoController.dispose();

 super.dispose();
 }

 @override
 void initState() {
 super.initState();

 _videoController = VideoPlayerController.network('http://localhost/live/livestream.m3u8')
 ..initialize().then((_) {
 setState(() {});
 });

 _controller = ChewieController(videoPlayerController: _videoController);
 }

 @override
 Widget build(BuildContext context) {
 return AspectRatio(
 aspectRatio:
 _controller.aspectRatio == null ? 16 / 9 : _controller.aspectRatio!,
 child: Chewie(controller: _controller));
 }
}
</roomview>


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

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.

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

-
FFMPEG hangs (sometimes) when trying to take a photo from USB camera ?
13 mai 2022, par dezmanI 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.


Here is the script :


#!/bin/bash

set -e

while :
do
 nice_num=$(date +%s)
 
 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"
 
 wait

 sleep 3
done



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


ffmpeg version 5.0.1 Copyright (c) 2000-2022 the FFmpeg developers
 built with Apple clang version 13.1.6 (clang-1316.0.21.2)
 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
 libavutil 57. 17.100 / 57. 17.100
 libavcodec 59. 18.100 / 59. 18.100
 libavformat 59. 16.100 / 59. 16.100
 libavdevice 59. 4.100 / 59. 4.100
 libavfilter 8. 24.100 / 8. 24.100
 libswscale 6. 4.100 / 6. 4.100
 libswresample 4. 3.100 / 4. 3.100
 libpostproc 56. 3.100 / 56. 3.100



Then I CTRL-C 3 times and get :


^C^C^CReceived > 3 system signals, hard exiting



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