Recherche avancée

Médias (1)

Mot : - Tags -/net art

Autres articles (53)

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

  • 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

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

Sur d’autres sites (8103)

  • libavcodec : How do I use AVOptions to set up encoder parameters ?

    1er février 2023, par itzjackyscode

    libavcodec seems to have 3 ways to specify parameters for a codec :

    


      

    • Certain members of the AVCodecContext struct
    • 


    • values in an AVDictionary passed to avcodec_open2
    • 


    • AVOptions, which seem to cover everything the other two do
    • 


    


    Can I use AVOptions to setup all of the encoding parameters ? In addition, can AVOptions provide sensible defaults ? Google doesn't yield any results and there's no example provided in the documentation.

    


  • ffplay 461 Unsupported transport

    28 octobre 2017, par Cerato

    Please help me to understand what I am doing wrong.

    I am executing the following command for making a live stream

    Executing: powershell gst-launch-1.0 filesrc location=D:/testVODs/sample.mkv ! matroskademux name=dmx dmx. ! h264parse config-interval=1 ! queue ! rtspclientsink profiles=avpf protocols=udp location="rtsp://192.168.1.1:8554/8c83bea4-b49b-4776-9c0f-d11e9e8898f0/1" name=rtsp_out dmx. ! opusparse ! queue ! rtsp_out.

    and in the result, I see that the execution ended after 00:01:21 which means that the stream is ended successfully after my video ended :

    Setting pipeline to PAUSED ...
    Pipeline is PREROLLING ...
    Progress: (open) Opening Stream
    Progress: (connect) Connecting to rtsp://192.168.1.1:8554/8c83bea4-b49b-4776-9c0f-d11e9e8898f0/1
    Progress: (open) Retrieving server options
    Progress: (open) Opened Stream
    Pipeline is PREROLLED ...
    Setting pipeline to PLAYING ...
    New clock: GstSystemClock
    Progress: (request) Sending RECORD request
    Progress: (record) Sending server stream info
    Progress: (request) Sending RECORD request
    Progress: (request) SETUP stream 1
    Progress: (request) SETUP stream 0
    Progress: (record) Starting recording
    Got EOS from element "pipeline0".
    Execution ended after 0:01:21.318315052
    Setting pipeline to PAUSED ...
    Setting pipeline to READY ...
    Setting pipeline to NULL ...
    Freeing pipeline ...

    at the same time I am trying to play the stream using the following request :

    Executing: powershell ffplay -rtsp_transport http "rtsp://192.168.1.1:8554/live/8c83bea4-b49b-4776-9c0f-d11e9e8898f0/1"

    but I have the following response :

    ffplay started on 2017-10-27 at 18:52:13
    Report written to "D:/testVODs/Stream1to.log"
    ffplay version 3.4 Copyright (c) 2003-2017 the FFmpeg developers
     built with gcc 7.2.0 (GCC)
     configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-cuda --enable-cuvid --enable-d3d11va --enable-nvenc --enable-dxva2 --enable-avisynth --enable-libmfx
     libavutil      55. 78.100 / 55. 78.100
     libavcodec     57.107.100 / 57.107.100
     libavformat    57. 83.100 / 57. 83.100
     libavdevice    57. 10.100 / 57. 10.100
     libavfilter     6.107.100 /  6.107.100
     libswscale      4.  8.100 /  4.  8.100
     libswresample   2.  9.100 /  2.  9.100
     libpostproc    54.  7.100 / 54.  7.100
       nan    :  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0  
       nan    :  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0  
       nan    :  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0  
       nan    :  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0  
       nan    :  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0  
       nan    :  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0  
       nan    :  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0  
       nan    :  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0  
       nan    :  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0  
       nan    :  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0  
       nan    :  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0  
       nan    :  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0  
       nan    :  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0  
    [rtsp @ 000001930a05e500] method SETUP failed: 461 Unsupported transport
    rtsp://192.168.1.1:8554/live/8c83bea4-b49b-4776-9c0f-d11e9e8898f0/1: Unknown error

    why method SETUP failed as 461 Unsupported transport and how it can be solved ?

    I tried to use different ffplay, ffmpeg commands, but all of them lead to the same result.
    If I do not use rtsp_trasport command I have the error [udp @ 000001d1ab52c300] ’circular_buffer_size’ option was set but it is not supported on this build (pthread support is required)
    and the same 461 Unsupported transport

    Before I added "profiles=avpf" to my stream creation request I managed to play it successfully with "rtsp_transport tcp".
    But now profiles=avpf is required and I need to understand how to deal with it

  • How to use ffmpeg to record video from SDP ?

    17 août 2024, par Thomas Carlton

    I'm running Ubuntu 18.04 and I have the following SDP Offer from Kurento Media Server. The offer is saved to the file a.sdp :

    


        v=0
    o=- 3831476180 3831476180 IN IP4 172.31.46.122
    s=Kurento Media Server
    c=IN IP4 172.31.46.122
    t=0 0
    m=audio 28460 RTP/AVPF 96 0 97
    a=setup:actpass
    a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
    a=rtpmap:96 opus/48000/2
    a=rtpmap:97 AMR/8000
    a=rtcp:28461
    a=sendrecv
    a=mid:audio0
    a=ssrc:1797155263 cname:user1913428254@host-e7ab0454
    m=video 18122 RTP/AVPF 102 103
    a=setup:actpass
    a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
    a=rtpmap:102 VP8/90000
    a=rtpmap:103 H264/90000
    a=fmtp:103 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f
    a=rtcp:18123
    a=sendrecv
    a=mid:video0
    a=rtcp-fb:102 nack
    a=rtcp-fb:102 nack pli
    a=rtcp-fb:102 goog-remb
    a=rtcp-fb:102 ccm fir
    a=rtcp-fb:103 nack
    a=rtcp-fb:103 nack pli
    a=rtcp-fb:103 ccm fir
    a=ssrc:2822275190 cname:user1913428254@host-e7ab0454


    


    Then, I'm calling ffmpeg to record this flow to a file :

    


    ffmpeg -max_delay 5000 -reorder_queue_size 16384 -protocol_whitelist file,crypto,udp,rtp -re -i a.sdp -vcodec copy -acodec aac -y output.mp4


    


    172.31.46.122 is the local IP adress and I'm running ffmpeg from the same machine as SDP offer. So ffmpeg has access to this IP address.

    


    I'm getting the error :

    


    


    bind failed : Address already in use.

    


    a.sdp : Invalid data found when processing input

    


    


    How can I solve that ?