Recherche avancée

Médias (16)

Mot : - Tags -/mp3

Autres articles (88)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

Sur d’autres sites (9500)

  • How to share short mp4 videos as gif in android [on hold]

    2 juin 2018, par Hard coder

    I have an app in which I am able to share gifs successfully. Now I am improving my app so that I can save space by using mp4 videos as gif.

    I am displaying mp4 videos (in a loop like gif) to user. But when user wants to share that video I want to share that as gif becuase to end user it is gif only.

    There is a libray FFmpeg. But I can’t use this because this is very heavy ( 20mb)

    Is there any other solution so that I can share mp4 as gif ?

  • Converting a rtsp stream to hls but got error "Non-monotonous DTS in output stream 0:0"

    8 mai 2023, par Devi

    I'm converting a rtsp live camera stream to hls using ffmpeg, it is all good the first few hours, each segment file sizes around 1.1M, which match the setting of segment_time of 5 seconds. However, when I check back a few days later, the size of each segment file became 20G, and I found that some error are logged.

    


    My current implementation is like this :

    


    ffmpeg -fflags nobuffer \
           -rtsp_transport tcp \
           -i rtsp://abc.com/live.sdp \
           -fps_mode 0 \
           -copyts \
           -c copy \
           -movflags frag_keyframe+empty_moov \
           -hls_flags delete_segments+append_list \
           -f segment \
           -segment_list_flags live \
           -segment_time 5 \
           -segment_list_size 3 \
           -segment_format mpegts \
           -segment_list /app/mount/test/live.m3u8 \
           -segment_list_type m3u8 \
           -segment_wrap 10 \
           /app/mount/test/%04d.ts \
           2>&1 


    


    Here's the logged error :

    


    [segment @ 0x7fe5123101c0] Non-monotonous DTS in output stream 0:0; previous: 14179898636, current: 11332822107; changing to 14179898637. This may result in incorrect timestamps in the output file.
[segment @ 0x7fe5123101c0] stream:0 start_pts_time:157550 pts:14179898637 pts_time:157554 dts:14179898637 dts_time:157554 -> pts:14179898637 pts_time:157554 dts:14179898637 dts_time:157554
[NULL @ 0x7fe510744880] unknown SEI type 229
[segment @ 0x7fe5123101c0] Non-monotonous DTS in output stream 0:0; previous: 14179898637, current: 11332823907; changing to 14179898638. This may result in incorrect timestamps in the output file.
[segment @ 0x7fe5123101c0] stream:0 start_pts_time:157550 pts:14179898638 pts_time:157554 dts:14179898638 dts_time:157554 -> pts:14179898638 pts_time:157554 dts:14179898638 dts_time:157554
[segment @ 0x7fe5123101c0] Non-monotonous DTS in output stream 0:0; previous: 14179898638, current: 11332825707; changing to 14179898639. This may result in incorrect timestamps in the output file.
[segment @ 0x7fe5123101c0] stream:0 start_pts_time:157550 pts:14179898639 pts_time:157554 dts:14179898639 dts_time:157554 -> pts:14179898639 pts_time:157554 dts:14179898639 dts_time:157554


    


    I've tried :

    


      

    1. Changing the option -fps_mode with passthrough, vfr, drop.
    2. 


    3. Changing the option -c with -c copy, -c:a copy -c:v libx264.
    4. 


    


    None of the above works for me.

    


  • FFMPEG-Php installation on Amazon EC2 linux AMI

    5 mai 2015, par Hamza

    I have installed FFMPEG on Amazon EC2 Linux AMI using this script now I am trying to install FFMPEG-PHP and after ./configure it gives me this error on make command

    # make
    /bin/sh /opt/ffmpeg-php-0.6.0/libtool --mode=compile cc  -I. -I/opt/ffmpeg-php-0.6.0 -DPHP_ATOM_INC -I/opt/ffmpeg-php-0.6.0/include -I/opt/ffmpeg-php-0.6.0/main -I/opt/ffmpeg-php-0.6.0 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/include/ffmpeg  -DHAVE_CONFIG_H  -g -O2 -Wall -fno-strict-aliasing   -c /opt/ffmpeg-php-0.6.0/ffmpeg-php.c -o ffmpeg-php.lo
    libtool: compile:  cc -I. -I/opt/ffmpeg-php-0.6.0 -DPHP_ATOM_INC -I/opt/ffmpeg-php-0.6.0/include -I/opt/ffmpeg-php-0.6.0/main -I/opt/ffmpeg-php-0.6.0 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/include/ffmpeg -DHAVE_CONFIG_H -g -O2 -Wall -fno-strict-aliasing -c /opt/ffmpeg-php-0.6.0/ffmpeg-php.c  -fPIC -DPIC -o .libs/ffmpeg-php.o


    In file included from /opt/ffmpeg-php-0.6.0/ffmpeg-php.c:42:0:
       /usr/local/include/ffmpeg/avcodec.h:43:21: fatal error: version.h: No such file or directory
        #include "version.h"

    I have searched this a lot but couldn’t manage to do it, Amazon support officer asked me to use CENTOS AMI instead of Linux AMI but I have everything hosted there, so I will appreciate if someone can help me with this.

    Thank you,

    Hamza