Recherche avancée

Médias (91)

Autres articles (87)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • 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

Sur d’autres sites (10198)

  • 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

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