Recherche avancée

Médias (0)

Mot : - Tags -/utilisateurs

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (111)

  • 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

  • Problèmes fréquents

    10 mars 2010, par

    PHP et safe_mode activé
    Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
    La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site

  • Prérequis à l’installation

    31 janvier 2010, par

    Préambule
    Cet article n’a pas pour but de détailler les installations de ces logiciels mais plutôt de donner des informations sur leur configuration spécifique.
    Avant toute chose SPIPMotion tout comme MediaSPIP est fait pour tourner sur des distributions Linux de type Debian ou dérivées (Ubuntu...). Les documentations de ce site se réfèrent donc à ces distributions. Il est également possible de l’utiliser sur d’autres distributions Linux mais aucune garantie de bon fonctionnement n’est possible.
    Il (...)

Sur d’autres sites (11451)

  • Android convert exo to mp4 after download dash

    7 août 2018, par Ali

    I have downloaded a Dynamic Adaptive Streaming over HTTP (DASH) via android DashDownloader class that is provided by exo player.

    SimpleCache cache = new SimpleCache(file.getAbsoluteFile(), new NoOpCacheEvictor());
    DefaultHttpDataSourceFactory factory = new DefaultHttpDataSourceFactory("ExoPlayer", null);
    DownloaderConstructorHelper constructorHelper = new DownloaderConstructorHelper(cache, factory);

    // Create a downloader for the first representation of the first adaptation set of the first
    // period.
    DashDownloader dashDownloader = new DashDownloader(Uri.parse(url), Collections.singletonList(new RepresentationKey(0, 0, 0)), constructorHelper);
    dashDownloader.download();

    Above code save many chunk .exo files into provided directory, How can i convert this files to single mp4 file ?

  • avformat/dashenc : implement DVB-DASH profile

    17 septembre 2019, par James Almer
    avformat/dashenc : implement DVB-DASH profile
    

    Add new required elements and constrain presence and values for existing
    ones based on the spec.

    Signed-off-by : James Almer <jamrial@gmail.com>

    • [DH] libavformat/dashenc.c
  • MPEG-DASH Livestreaming using ffmpeg, avconv, MP4Box and Dashjs

    28 avril 2017, par Sushant Mongia

    I’m working on delivering Live Streaming with DASH capabilities. Long story short, it’s a very crude testbed setup so I might be off the mark in some respects. I’m also posting this as a simple setup for the community and people out there struggling to look up a Live Streaming with DASH Tutorial.

    Setup :
    OS : Ubuntu 16.04
    Encoding Tools :
    ffmpeg : To record a livestream using a desktop webcam in mpeg2 format
    avconv : To convert mpeg2 to mpeg4 file format
    MP4Box : To DASH it, i.e. produce the .mpd, some conf files, seg_init and the segments
    Dashjs : Reference Client 2.4.1
    Server : Apache

    Process :
    I’ve written 3 bash scripts, with basically an infinite while loop in them, with ffmpeg , avconv and the MP4Box commands, one in each of them. I first run the ffmpeg script that records a video using the desktop webcam and then I run the avconv script that kills the ffmpeg command and converts the file from mpeg2 format to mpeg 4 format. Now since the ffmpeg command is in an infinite while loop, it restarts. Then I run the MP4Box command that DASH-es the avconv commands’ output. Then everything is sent to the DASHjs client and pretty much the whole setup gets repeated every 5 seconds.

    Commands :


    ffmpeg -f v4l2 -framerate 25 -video_size 640x480 -i /dev/video0 -f mpegts -codec:v mpeg1video -s 640x480 -b:v 1000k -bf 0 livestream  

    avconv -i livestream out.mp4  

    MP4Box command in a loop, MP4Box -dash-live 4000 -fps 24 -frag 6000 -profile dashavc264:live -dynamic -mpd-refresh 5000 -dash-ctx dashtest.txt -time-shift -1 -inter 0 -segment-name output-seg -bs-switching no out.mp4  

    Problem :
    The ffmpeg sends a chunk of 5 seconds (that’s due to the sleep command in my avconv bash script) and the MP4Box reads that 5 second chunk and loops that chunk. So when the next chunk comes in, newer segments are produced, but the player is still playing the older segments, typically just the very first few segments in a loop.

    Questions :
    1) Am I missing out on some core concept here ? Are the commands and their respective attributes with the right parameters and the right values ?
    2) I believe there should be a way to pipeline these processes in a better manner, should I be looking into writing a python script maybe ?

    Happy to provide more info ! Cheers