Recherche avancée

Médias (1)

Mot : - Tags -/artwork

Autres articles (26)

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

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

  • 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 (3566)

  • Live Streaming using CloudFront and FFMPEG having delay issue

    22 avril 2021, par jitendra-gautam

    Live Streaming using CloudFront and FFMPEG having delay issue
I am using the NodeJS server with FFMPEG and live streaming to CloudFront, which is then consumed by many people via CloudFront.
Below is the data received at the user's end.

    


    #EXTM3U
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:1317
#EXT-X-ALLOW-CACHE:NO
#EXT-X-TARGETDURATION:1
#EXTINF:0.833333,
1317.ts
#EXTINF:0.833333,
1318.ts
#EXTINF:0.833333,
1319.ts


    


    The problem is the next .ts file that is 1320.ts is taking time to create on the server, thus the user is seeing the loading sign, and when this 1320.ts is created on the server, thereafter only the user is able to see the next live stream frame.
How can the streaming be continuous ??
Below is the FFMPEG command that is being used :

    


    process = child_process.spawn('ffmpeg', commandArgs);


    


    let commandArgs = [
  '-loglevel',
  'debug',
  '-protocol_whitelist',
  'pipe,udp,rtp,rtmp,http,https,tcp',
  '-fflags',
  '+genpts',
  '-f',
  'sdp',
  '-i',
  'pipe:0',
  '-c:v',
  'libx264',
  '-crf',
  '21',
  '-preset',
  'veryfast',
  '-g',
  '25',
  '-sc_threshold',
  '0',
  '-c:a',
  'aac',
  '-b:a',
  '128k',
  '-ac',
  '2',
  '-hls_flags',
  'delete_segments+append_list',
  '-f',
  'segment',
  '-segment_list_flags',
  'live',
  '-segment_time',
  '1',
  '-segment_list_size',
  '3',
  '-segment_format',
  'mpegts',
  '-segment_list',
  `${RECORD_FILE_LOCATION_PATH}/${fileName}.m3u8`,
  `-segment_list_type`,
  'm3u8',
  `${RECORD_FILE_LOCATION_PATH}/%d.ts`
];


    


  • Http Live Streaming - Segmenting mp3 on Linux

    14 mai 2012, par krisbulman

    I simply want to segment an mp3 for HTTP Live Streaming in any linux distro (preferably CentOS) for the purpose of audio streaming to an iOS app.

    Out of the linux segmenters, I can get the following to compile in CentOS.

    1. http://wiki.andy-chu.com/doku.php?id=http_live_streaming (not sure last time this was updated)

    2. m3u8-segmenter on github (updated months ago)

    3. https://github.com/carsonmcdonald/HTTP-Live-Video-Stream-Segmenter-and-Distributor [ruby wrappers + c] (last updated 2 years ago, and a v2 branch 9 months old)

    In order to prep the file for segmenting, here is the ffmpeg conversion string to generate a valid ts file :

    $ ffmpeg -er 4 -i input.mp3 -f mpegts -acodec libmp3lame -ar 22050 -ab 32k -vn output.ts

    Each of the segmenters require various input switches, all quite simple, and all crash out with a seg fault. #2 actually does some segmenting, but faults after 56 segments every time. I've tried various mp3s with the same results. The issue queues for 2 & 3 are full, with no responses in months of the same issues.

    Others must be doing this in a live production environment that isn't running OSX.. what are your methods ?

  • How to download an https live stream m3u8 file on mac ?

    16 octobre 2022, par Raghav

    How do I download an m3u8 file from live streaming source on a mac. I do not want to lose any frame or bitrate or compromise on quality at all. I want audio and video to be in perfect sync like they are on the browser and want to save file as mkv or mpv extension. I browsed the internet and found out about ffmpeg but I do not know the exact way to do that without compromising on quality

    


    Would really love any help here