Recherche avancée

Médias (10)

Mot : - Tags -/wav

Autres articles (37)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

Sur d’autres sites (5809)

  • dashenc : add option to provide UTC timing source

    29 janvier 2017, par Peter Große
    dashenc : add option to provide UTC timing source
    

    If set, adds a UTCTiming tag in the manifest.

    This is part of the recommendations listed in the "Guidelines for
    Implementations : DASH-IF Interoperability Points" [1][2]
    Section 4.7 describes means for the Availability Time Synchronization.

    A usable default is "https://time.akamai.com/?iso" ;

    [1] http://dashif.org/guidelines/
    [2] http://dashif.org/wp-content/uploads/2016/12/DASH-IF-IOP-v4.0-clean.pdf
    (current version as of writing)

    Signed-off-by : Peter Große <pegro@friiks.de>
    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DBH] libavformat/dashenc.c
  • Waiting between FFMPEG scripts when creating .hdr/.chk and .mpd files on NGINX server using RTMP module

    17 avril 2020, par Mathew Knight

    Wonder if anyone might be able to suggest a solution to and issue i'm having.

    &#xA;&#xA;

    I'm running some FFMPEG scripts inside a RTMP server block on an NGINX server running on Ubuntu 18.04.

    &#xA;&#xA;

    Basically i'm ingesting the RTMP stream to the server then using FFMPEG to Demux into separate audio and video header and chunk files, then in separate scripts i'm creating two separate manifests for both the audio and video.

    &#xA;&#xA;

    The player i have (a development ambisonic, 360 video player) is having problems reading the stream correctly and i believe this is due to the FFMPEG process for the manifests not waiting 2 seconds before running.

    &#xA;&#xA;

    Is there a way to program a wait in between the scripts to facilitate this ?

    &#xA;&#xA;

    furthermore, is there a way to make the manifest scripts only run once then quit ?

    &#xA;&#xA;

    heres my current NGINX .conf

    &#xA;&#xA;

    user root;&#xA;#user www-data;&#xA;worker_processes 1;&#xA;pid /run/nginx.pid;&#xA;include /etc/nginx/modules-enabled/*.conf;&#xA;events {&#xA;    worker_connections 768;&#xA;    # multi_accept on;&#xA;}&#xA;http {&#xA;    ##&#xA;    # Basic Settings&#xA;    ##&#xA;    sendfile on;&#xA;    tcp_nopush on;&#xA;    tcp_nodelay on;&#xA;    keepalive_timeout 65;&#xA;    types_hash_max_size 2048;&#xA;    # server_tokens off;&#xA;    # server_names_hash_bucket_size 64;&#xA;    # server_name_in_redirect off;&#xA;    include /etc/nginx/mime.types;&#xA;    default_type application/octet-stream;&#xA;    ##&#xA;    # SSL Settings&#xA;    ##&#xA;    #ssl_protocols TLSv1 TLSv1.1 TLSv1.2; # Dropping SSLv3, ref: POODLE&#xA;    #ssl_prefer_server_ciphers on;&#xA;    ##&#xA;    # Logging Settings&#xA;    ##&#xA;    access_log /var/log/nginx/access.log;&#xA;    error_log /var/log/nginx/error.log;&#xA;    ##&#xA;    # Gzip Settings&#xA;    ##&#xA;    ##&#xA;    # Virtual Host Configs&#xA;    ##&#xA;    include /etc/nginx/conf.d/*.conf;&#xA;    include /etc/nginx/sites-enabled/*;&#xA;}&#xA;rtmp {&#xA;        server {&#xA;            listen 1935;&#xA;            chunk_size 4096;&#xA;&#xA;            application live {&#xA;            live on;&#xA;            record off;&#xA;            interleave off;&#xA;            wait_key on;&#xA;            meta on;&#xA;            wait_video off;&#xA;            idle_streams off;&#xA;            sync 300ms;&#xA;            session_relay on;&#xA;            #allow publish 127.0.0.1;&#xA;            #allow publish 192.168.2.0/24;&#xA;            allow publish all;&#xA;            #deny publish all;&#xA;            allow play all;    &#xA;        #RX stream to FFMPEG, demux audio and video, write .hdr files, start chunking DASH segments .chk&#xA;         exec_push sudo ffmpeg -y -re -i &#x27;rtmp://localhost:1935/live/stream&#x27; -map 0:1 -pix_fmt yuv420p -maxrate 750k -bufsize 3000k -c:v libvpx-vp9 -s 1920x1080 -keyint_min 60 -g 60 -speed 6 -tile-columns 4 -frame-parallel 1 -threads 8 -static-thresh 0 -max-intra-rate 300 -deadline realtime -lag-in-frames 0 -error-resilient 1 -b:v 6000k -f webm_chunk -header "/var/www/html/dash/video_360.hdr" -chunk_start_index 1 "/var/www/html/dash/video_360_%d.chk" -map 0:2 -c:a libopus -mapping_family 255 -b:a 1024k -vn -f webm_chunk -audio_chunk_duration 2000 -header "/var/www/html/dash/audio_171.hdr" -chunk_start_index 1 "/var/www/html/dash/audio_171_%d.chk" 2>>/var/log/nginx/ffmpegChunk.log;&#xA;&#xA;        #Create video manifest&#xA;        exec_push sudo ffmpeg -probesize 500M -analyzeduration 100M -f webm_dash_manifest -live 1 -i "/var/www/html/dash/video_360.hdr" -map 0 -c copy -f webm_dash_manifest -live 1 -adaptation_sets "id=0,streams=0" -chunk_start_index 1 -chunk_duration_ms 2000 -minimum_update_period 7200 "/var/www/html/dash/video.mpd" 2>>/var/log/nginx/ffmpegManifestVideo.log;&#xA;        #Create audio manifest&#xA;        exec_push sudo ffmpeg -probesize 500M -analyzeduration 100M -f webm_dash_manifest -live 1 -i "/var/www/html/dash/audio_171.hdr" -map 0 -c libopus -mapping_family 255 -f webm_dash_manifest -live 1 -adaptation_sets "id=1,streams=0" -chunk_start_index 1 -chunk_duration_ms 2000 -minimum_update_period 7200 "/var/www/html/dash/audio_16ch.mpd" 2>>/var/log/nginx/ffmpegManifestAudio.log;&#xA;&#xA;        ##&#xA;        # Record the incoming stream&#xA;        ##&#xA;        # Record audio and video together&#xA;        record all;&#xA;        record_path /home/mathewknight/Desktop/StreamRecord/Master;&#xA;        record_notify on;&#xA;        # Record audio seperately&#xA;        recorder audio {&#xA;            record audio;&#xA;            record_path /home/mathewknight/Desktop/StreamRecord/Audio;&#xA;            record_suffix -%d-%b-%y-%T.audio.flv;&#xA;            record_notify on;&#xA;            }&#xA;        # Record video seperately&#xA;        recorder video{&#xA;            record video;&#xA;            record_path /home/mathewknight/Desktop/StreamRecord/Video;&#xA;            record_suffix -%d-%b-%y-%T.video.flv;&#xA;            record_notify on;&#xA;            }&#xA;&#xA;            }&#xA;&#xA;&#xA;        }&#xA;&#xA;}&#xA;&#xA;

    &#xA;

  • Slow start time in FFmpeg conversion - Seeking advice on optimization and identifying unnecessary flags [closed]

    30 novembre 2023, par Mohamed Dhouib

    I'm currently facing an issue with the startup time of FFmpeg conversion from RTSP stream to DASH stream in my application.&#xA;The conversion process takes longer to initiate than expected (sometimes even 15 seconds), impacting overall performance.&#xA;I've provided the relevant FFmpeg used options flags below :

    &#xA;

        "-g 48",&#xA;    "-map 0:v:0",&#xA;    "-pix_fmt yuv420p",&#xA;    "-f dash",&#xA;    "-window_size 5",&#xA;    "-use_template 1",&#xA;    "-g 48",&#xA;    "-sc_threshold 0",&#xA;    "-vf scale=1920:1080",&#xA;    "-c:a aac",&#xA;    "-ar 48000",&#xA;    "-ac 2",&#xA;    "-strict experimental",&#xA;    "-max_muxing_queue_size 1024",&#xA;    "-c:v libx264",&#xA;    "-use_timeline 0"&#xA;    `-preset medium`,&#xA;    `-b:v 500k`,&#xA;    `-s 1280x720`,&#xA;    `-r 30`&#xA;

    &#xA;

    I'm looking for guidance on optimizing the FFmpeg configuration by adding new flags or identifying any unnecessary flags that might contribute to the slow start time.&#xA;The goal is to reduce the time it takes for FFmpeg to start the conversion process.&#xA;I appreciate any insights or recommendations on how to improve the startup time of FFmpeg conversion in my application.

    &#xA;

    Relevant Dependencies :

    &#xA;

    "@ffmpeg-installer/ffmpeg" : "^1.1.0",&#xA;"fluent-ffmpeg" : "^2.1.2",

    &#xA;

    I am expecting the first stream chunk to be created in the first 3 seconds or so but it takes a lot more than that ( about 10 seconds )

    &#xA;