Recherche avancée

Médias (1)

Mot : - Tags -/publier

Autres articles (69)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

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

Sur d’autres sites (8645)

  • rtpenc_h264 : Aggregate multiple NAL units into one RTP packet, if possible

    20 février 2015, par Martin Storsjö
    rtpenc_h264 : Aggregate multiple NAL units into one RTP packet, if possible
    

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DBH] libavformat/rtpenc.h
    • [DBH] libavformat/rtpenc_h264.c
  • 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
  • How to copy video duration to the output file with ffmpeg ? [closed]

    5 novembre 2024, par user28147375

    I want to copy the input's duration to the output. Is there even a way in ffmpeg to achieve this ?&#xA;There is nothing about this in the docs.

    &#xA;

    I'm currently using these flags :

    &#xA;

    const ffmpegProcess = cp.spawn(ffmpegPath, [&#xA;       &#x27;-i&#x27;, `pipe:3`,&#xA;       &#x27;-i&#x27;, `pipe:4`,&#xA;       &#x27;-map&#x27;, &#x27;0:v:0&#x27;,&#xA;       &#x27;-map&#x27;, &#x27;1:a:0&#x27;,&#xA;       &#x27;-c:v&#x27;, &#x27;copy&#x27;,&#xA;       &#x27;-c:a&#x27;, &#x27;aac&#x27;,&#xA;       &#x27;-crf&#x27;, &#x27;27&#x27;,&#xA;       &#x27;-pix_fmt&#x27;, &#x27;yuv420p&#x27;,&#xA;       &#x27;-preset&#x27;, &#x27;veryfast&#x27;,&#xA;       &#x27;-movflags&#x27;, &#x27;frag_keyframe&#x2B;empty_moov&#x27;,&#xA;       &#x27;-f&#x27;, &#x27;mp4&#x27;,&#xA;       &#x27;-shortest&#x27;,&#xA;        &#x27;-&#x27;&#xA;    ], {&#xA;        windowsHide: true,&#xA;        stdio: [&#xA;            &#x27;pipe&#x27;, &#x27;pipe&#x27;, &#x27;inherit&#x27;, &#x27;pipe&#x27;, &#x27;pipe&#x27;&#xA;        ],&#xA;    });&#xA;

    &#xA;

    The problem :

    &#xA;

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;pipe:3&#x27;:&#xA;  Metadata:&#xA;    major_brand     : dash&#xA;    minor_version   : 0&#xA;    compatible_brands: iso6avc1mp41&#xA;    creation_time   : 2024-10-05T10:39:09.000000Z&#xA;  Duration: 00:02:18.14, start: 0.000000, bitrate: N/A&#xA;Stream #0:0[0x1](und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 1280x720 [SAR 1:1 DAR 16:9], 1 kb/s, 23.98 fps, 23.98 tbr, 24k tbn (default)&#xA;

    &#xA;

    Output #0, mp4, to &#x27;pipe:&#x27;:&#xA;  Metadata:&#xA;    major_brand     : dash&#xA;    minor_version   : 0&#xA;    compatible_brands: iso6avc1mp41&#xA;    encoder         : Lavf60.3.100&#xA;  ---> (DURATION MISSING) &lt;---&#xA;Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 1 kb/s, 23.98 fps, 23.98 tbr, 24k tbn (default)&#xA;

    &#xA;