Recherche avancée

Médias (91)

Autres articles (44)

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

  • Initialisation de MediaSPIP (préconfiguration)

    20 février 2010, par

    Lors de l’installation de MediaSPIP, celui-ci est préconfiguré pour les usages les plus fréquents.
    Cette préconfiguration est réalisée par un plugin activé par défaut et non désactivable appelé MediaSPIP Init.
    Ce plugin sert à préconfigurer de manière correcte chaque instance de MediaSPIP. Il doit donc être placé dans le dossier plugins-dist/ du site ou de la ferme pour être installé par défaut avant de pouvoir utiliser le site.
    Dans un premier temps il active ou désactive des options de SPIP qui ne le (...)

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

Sur d’autres sites (6585)

  • How to manually reset the offset of an mp4 video created from m4s files ?

    12 août 2020, par natdev

    I'm building a service that combine .m4s files (from a dash stream) to a mp4 video.
    
I have some sample m4s files from a random point in time of a stream,
    
using ffmpeg on those file + the init file does the job.

    


    cat init.mp4 032.m4s 033.m4s 034.m4s > output.mp4


    


    I have tried concating the m4s files to the mp4 init file and I manage to play the video,
    
but there is an offset from the encoded video segments.

    


    I guess ffmpeg does reset that somehow, and I was wondering how can I reset that offset as well ?
    
Having a little bit of experience with dash, I know that there is a field name presentationTimeOffset that is responsible to set the offset.

    


  • Ffmpeg in docker-compose could not be started

    27 mai 2021, par indexlin

    enter image description here

    



    enter image description here

    



    I have the following docker-compose file but my ffmpeg container does not seem to start for some reason. It outputs a code of 0 and does not give any other info.

    



    version: '3'

networks:
  b2c:
    driver: bridge

services:
  ffmpeg:
    container_name: b2c-ffmpeg
    image: jrottenberg/ffmpeg

  nginx:
    container_name: b2c-nginx
    image: nginx:1.17.0
    depends_on:
      - "php"
    volumes:
      - ../server/public:/server/public
      - ./config/nginx/conf.d:/etc/nginx/conf.d
      - ./config/nginx/nginx.conf:/etc/nginx/nginx.conf
      - ../data/nginx/logs:/logs
    networks:
      - b2c
    ports:
      - "20001:80"

  php:
    container_name: b2c-php
    image: indexlin/gzyx-php7.2.4:1.1
    working_dir: /server
    volumes:
      - ../server:/server
      #- ./php/docker-php-ext-xdebug.ini:/usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
    networks:
      - b2c
    ports:
      - "23001:9000"
    #user: "1000:1000"

  mysql:
    container_name: b2c-mysql
    image: mysql:5.7.21
    environment:
      MYSQL_ROOT_PASSWORD: root
    volumes:
      - ../data/mysql/lib:/var/lib/mysql
      #- ../data/mysql/log:/var/log/mysql
      - ./config/mysql/mysqld.cnf:/etc/mysql/mysql.conf.d/mysqld.cnf
    networks:
      - b2c
    ports:
      - "25001:3306"

  redis:
    container_name: b2c-redis
    image: redis:5.0.5
    volumes:
      - ../data/redis:/data
      - ./config/redis/redis.conf:/usr/local/etc/redis/redis.conf
    networks:
      - b2c
    ports:
      - "27001:6379"

  node:
    container_name: b2c-node
    volumes:
      - ../server:/server
      - ../web:/web
    image: node:10.15.3
    networks:
      - b2c
    tty: true
    working_dir: /web
    ports:
      - "29001:29000"


    


  • Forwarding rtsp feed from one local port to another

    11 août 2021, par Thabet Sabha

    so let's say I have an rtsp server running on port 554, and when a certain command is received, i want the rtsp server to start forwarding the feed (using rtsp+tcp) to a service running on the same machine but on port 553 (Linux OS), is that possible via a CL command, or do I have to use something like ffmpeg ?

    


    currently this is what is being used, but I feel like this is redundant since all we're doing is just forwarding the feed to another port on the same machine.

    


    const ffmpegOptions = [
"-rtsp_transport", "tcp",
"-i", "rtsp://127.0.0.1:554",
"-codec", "copy",
"-f", "rtsp",
"-rtsp_transport", "tcp",
"rtsp://127.0.0.1:553"
]

const myProcess = spawn('ffmpeg', ffmpegOptions);


    


    Thanks.