
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (49)
-
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 -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Contribute to translation
13 avril 2011You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
MediaSPIP is currently available in French and English (...)
Sur d’autres sites (9668)
-
I'm trying to merge videos using fluent-ffmpeg, but some times it merges videos , but whenever we tries to merge videos second time it shows error
9 janvier 2024, par Asif Mujawarconst express =require('express')
const app = express()
const ffmpeg = require('fluent-ffmpeg')
const ffmpegPath = require('@ffmpeg-installer/ffmpeg')
const ffprobe = require('@ffprobe-installer/ffprobe')

const first = './videos/first.mp4'
const second = './videos/second.mp4'
const third = './videos/third.mp4'
const fourth = './videos/fourth.mp4'

ffmpeg.setFfprobePath(ffprobe.path)
ffmpeg.setFfmpegPath(ffmpegPath.path)

app.use(express.json())

app.use("/",(req,res)=>{
 res.send("hello")

 ffmpeg()
 .input(first)
 .input(second)
 
 .on('end', function() {
 console.log('files have been merged succesfully');
 })
 .on('error', function(err) {
 console.log('an error happened: ' + err.message);
 })
 .mergeToFile("final.mp4")
 })
 

app.listen(8800,()=>{
 console.log("backend is running 8800")
})




but it shows error whenever we try to merge videos second time


an error happened : ffmpeg exited with code 1 : Cannot find a matching stream for unlabeled input pad 3 on filter Parsed_concat_0


an error happened : ffmpeg exited with code 1 : Cannot find a matching stream for unlabeled input pad 3 on filter Parsed_concat_0


-
ffmpeg video download shows errors in log
15 juin 2022, par PeterMi'm trying to download media (video) files from sharepoint (i have view access), but during the process i get several "Connection to tcp ://xxx.xxxxx.ms:443 failed : Error number -138 occurred" or "HTTP error 503 Service Unavailable" errors (see following screenshots : tcp error HTTP error 503 )


i get more errors with the following parameters :


ffmpeg -i "https://theURLtoTheManifestYouCopiedHere" -codec copy downloadedVideo.mp4



less errors with :


ffmpeg -re -vsync 1 -i "https://theURLtoTheManifestYouCopiedHere" -codec copy downloadedVideo.mp4



the options suggested in this article didn't help : https://medium.com/intrasonics/robust-continuous-audio-recording-c1948895bb49


the output video is ok, but sound seems to be missing occasionally (a few seconds worth)


ffmpeg version used is 2022-06-12-git-4d45f5acbd-essentials_build-www.gyan.dev (executable for windows)


any advice ?


-
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