Recherche avancée

Médias (1)

Mot : - Tags -/Christian Nold

Autres articles (49)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip 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 2013

    Puis-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 2011

    You 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 Mujawar
    const 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 PeterM

    i'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 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;