Recherche avancée

Médias (21)

Mot : - Tags -/Nine Inch Nails

Autres articles (49)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • MediaSPIP Player : problèmes potentiels

    22 février 2011, par

    Le lecteur ne fonctionne pas sur Internet Explorer
    Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
    Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)

Sur d’autres sites (10871)

  • AudioContext HTML5 Player

    15 février 2015, par Plyto

    So I’ve been playing with the Web Audio API and have the following issue.

    I am making a project in which I call an external library’s API with Ajax and get audio back (arraybuffer).

    • I send them the text and get audio back.
    • This is not necessarily a GET request (can be POST, etc.)
    • If text is too large, I split it into smaller chunks and send multiple requests

    So far so good, now comes the issue of how to play the multiple audios that I got back.

    Since users do not care that I have split the text and actually have multiple audio tracks, I need somehow to make it look like a single track or as a playlist.

    So I have tried to :

    • merge arraybuffer (apparently it does not work like that and most likely I need ffmpeg or simiar tools to do the merging, which is hard to do on client-side ? (like there is ffmpeg for browsers, but I don’t know how good is it to burden a client with it). If it’s not so, maybe you can suggest something here)
    • load it as a playlist, but so far cannot find a library that accepts multiple audiobuffers/audiocontexts and/or gives a playlist with it back.

    The easiest solution that I see so far is to create my own small library that accepts AudioBuffers/arraybuffers and go either with the playlist approach or play the ’chunked’ audios one by one and make scrubber that jumps between audio contexts.

    Is there a library/easier approach ?

    Will be thankful for any suggestions :]

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

  • How to use youtube-dl to record live stream in parts

    23 juillet 2021, par Vikral

    Just wondering if that's possible or not to break an m3u8 live stream recording every hour and restart the recording again.

    &#xA;

    I don't want to press Ctrl-C every hour to stop the recording and restart it again to get a playable downloaded file. Instead, I want to automate this.

    &#xA;

    Does anyone know if that is possible ?

    &#xA;