Recherche avancée

Médias (0)

Mot : - Tags -/navigation

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (11)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Librairies et logiciels spécifiques aux médias

    10 décembre 2010, par

    Pour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
    Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...)

Sur d’autres sites (5731)

  • avformat/rtsp : Send mode=record instead of mode=receive in Transport header

    15 janvier 2024, par Paul Orlyk
    avformat/rtsp : Send mode=record instead of mode=receive in Transport header
    

    Fixes server compatibility issues with rtspclientsink GStreamer plugin.

    >From specification :
    RFC 7826 "Real-Time Streaming Protocol Version 2.0" (https://datatracker.ietf.org/doc/html/rfc7826), section 18.54 :
    mode : The mode parameter indicates the methods to be supported for
    this session. The currently defined valid value is "PLAY". If
    not provided, the default is "PLAY". The "RECORD" value was
    defined in RFC 2326 ; in this specification, it is unspecified
    but reserved. RECORD and other values may be specified in the
    future.
    RFC 2326 "Real Time Streaming Protocol (RTSP)" (https://datatracker.ietf.org/doc/html/rfc2326), section 12.39 :
    mode :
    The mode parameter indicates the methods to be supported for
    this session. Valid values are PLAY and RECORD. If not
    provided, the default is PLAY.

    mode=receive was always like this, from the initial commit 'a8ad6ffa rtsp : Add listen mode'.

    For comparison, Wowza was used to push RTSP stream to. Both GStreamer and FFmpeg had no issues.
    Here is the capture of Wowza responding to SETUP request :
    200 OK
    CSeq : 3
    Server : Wowza Streaming Engine 4.8.26+4 build20231212155517
    Cache-Control : no-cache
    Expires : Mon, 15 Jan 2024 19:40:31 GMT
    Transport : RTP/AVP/UDP ;unicast ;client_port=11640-11641 ;mode=record ;source=172.17.0.2 ;server_port=6976-6977
    Date : Mon, 15 Jan 2024 19:40:31 GMT
    Session : 1401457689 ;timeout=60

    Test setup :
    Server : ffmpeg -loglevel trace -y -rtsp_flags listen -i rtsp ://0.0.0.0:30800/live.stream t.mp4
    FFmpeg client : ffmpeg -re -i "Big Buck Bunny - FULL HD 30FPS.mp4" -c:v libx264 -f rtsp rtsp ://127.0.0.1:30800/live.stream
    GStreamer client : gst-launch-1.0 videotestsrc is-live=true pattern=smpte ! queue ! videorate ! videoscale ! video/x-raw,width=640,height=360,framerate=60/1 ! timeoverlay font-desc="Sans, 84" halignment=center valignment=center ! queue ! videoconvert ! tee name=t t. ! x264enc bitrate=9000 pass=cbr speed-preset=ultrafast byte-stream=false key-int-max=15 threads=1 ! video/x-h264,profile=baseline ! queue ! rsink. audiotestsrc ! voaacenc ! queue ! rsink. t. ! queue ! autovideosink rtspclientsink name=rsink location=rtsp ://localhost:30800/live.stream

    Test results :
    modified FFmpeg client -> stock server : ok
    stock FFmpeg client -> modified server : ok
    modified FFmpeg client -> modified server : ok
    GStreamer client -> modified server : ok

    Signed-off-by : Paul Orlyk <paul.orlyk@gmail.com>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavformat/rtspdec.c
  • get error ffmpeg when running wdio-video-reporter in jenkins and centos

    31 janvier 2024, par Ferawati Hartanti Pratiwi

    i got this error when i run wdio-video-reporter on jenkins and the OS is centos 8

    &#xA;

    &#xA;
    2024-01-31T17:54:56.047Z ERROR @wdio/config:ConfigParser: Failed loading configuration file:&#xA;

    &#xA;

    file :///var/data/jenkins-slave/workspace/QE_Playground/web-testing-pr-only/test/support/wdio.conf.chrome.js :&#xA;undefined&#xA;Could not find ffmpeg executable, tried "/var/data/jenkins-slave/workspace/QE_Playground/web-testing-pr-only/node_modules/@ffmpeg-installer/linux-x64/ffmpeg",&#xA;"/var/data/jenkins-slave/workspace/QE_Playground/web-testing-pr-only/node_modules/@ffmpeg-installer/ffmpeg/node_modules/@ffmpeg-installer/linux-x64/ffmpeg"&#xA;and&#xA;"/var/data/jenkins-slave/workspace/QE_Playground/web-testing-pr-only/node_modules/@ffmpeg-installer/linux-x64/ffmpeg"

    &#xA;

    &#xA;

    this is my jenkins env

    &#xA;

      environment {&#xA;    PATH = "/usr/bin/ffmpeg:$PATH"&#xA;  }&#xA;

    &#xA;

    this is my wdio config

    &#xA;

      ffmpegPath: &#x27;/usr/bin/ffmpeg&#x27;,&#xA;  capabilities: [&#xA;    {&#xA;      maxInstances: parseInt(process.env.MAX_INSTANCES, 10) || 3,&#xA;      specs: [&#xA;        `${process.cwd()}/test/**_${folder}/features/**/*.feature`,&#xA;      ],&#xA;      browserName: &#x27;chrome&#x27;,&#xA;      &#x27;goog:chromeOptions&#x27;: browserOptions,&#xA;      acceptInsecureCerts: true,&#xA;    },&#xA;  ],&#xA;

    &#xA;

  • VideoJS for HLS streaming not working on iOS

    13 février 2024, par Aames

    I have a website where I stream audio using HLS (m3u8 playlist + ts files).&#xA;I use VideoJS 8.3.0 to handle the stream in the frontend side.&#xA;The streaming works in all devices (PC, Android, Mac) except in iOS where it works intermittently and often it blocks.

    &#xA;

    Here is my videojs initialization :

    &#xA;

    player = videojs(&#x27;stream-id&#x27;, {&#xA;            controls: false, autoplay: true, preload: &#x27;auto&#x27;,&#xA;            html5: {&#xA;               vhs: {overrideNative: false},&#xA;               nativeAudioTracks: true&#xA;           }&#xA;        });&#xA;&#xA;...&#xA;&#xA;player.src({ type: &#x27;application/x-mpegURL&#x27;, src: &#x27;https://.../master.m3u8&#x27; });&#xA;&#xA;

    &#xA;

    And these are the headers of the m3u8 file :

    &#xA;

    #EXTM3U&#xA;#EXT-X-VERSION:3&#xA;#EXT-X-TARGETDURATION:10&#xA;#EXT-X-PROGRAM-DATE-TIME:2024-02-13T09:00:00Z&#xA;#EXT-X-MEDIA-SEQUENCE:0&#xA;#EXT-X-DISCONTINUITY&#xA;#EXTINF:10.007800,&#xA;master0.ts&#xA;#EXTINF:7.214989,&#xA;master1.ts&#xA;....&#xA;

    &#xA;

    I use ffmpeg to create the playlist from mp3 files :

    &#xA;

    ffmpeg -i inputFileName -c:a aac -b:a 128k -ac 2 -f hls -hls_time 10 -preset ultrafast -map 0:a -flags -global_header -hls_list_size 0 -hls_flags append_list outputFileName&#xA;&#xA;

    &#xA;

    Am I doing something wrong ? Any help would be appreciated&#xA;Thanks

    &#xA;

    I tried this solution : Videojs HLS m3u8 files are not playing in iOS devices and safari browser but it does not work for me

    &#xA;