Recherche avancée

Médias (1)

Mot : - Tags -/swfupload

Autres articles (111)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • 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

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

Sur d’autres sites (8813)

  • Using FFMPEG to stream from one computer to another on the same network

    23 juin 2021, par Andy B

    My problem

    


    I have a device with cameras, and I can access the video from those cameras via RTP over RTSP.

    


    I have an Ethernet cord going from the device to my computer, and I can see/record the video from the device using FFMPEG or VLC. I just use rtsp://<ip of="of" device="device">/path/of/stuff.extension?camera=<number></number></ip> like the user's manual says.

    &#xA;

    This works great, but ultimately, I want to stream this video to another computer on the same network. I have tried many different things, but nothing seems to work.

    &#xA;

    Theoretically, this FFMPEG command should work, but I'm messing up somewhere and I don't know why or where.

    &#xA;

    ffmpeg -rtsp_transport tcp -i rtsp://<ip of="of" device="device">/path/thing.extension?camera=1 \ &#xA;-f mpegts udp://<ip of="of" computer="computer" i="i" want="want" to="to" send="send" it="it">:<some port="port">&#xA;</some></ip></ip>

    &#xA;

    In VLC on the other computer, I want to be able to just go into VLC and start a network stream that looks like udp://@<ip address="address">:<port></port></ip>

    &#xA;

    What I thought would work, but doesn't

    &#xA;

    If the camera device has IP A.A.A.A, and the computer getting and streaming the video is B.B.B.B, and the computer I want to watch the streamed video on is C.C.C.C then is the following correct ? Because it does not work for me...

    &#xA;

    Computer A :

    &#xA;

    ffmpeg -rtsp_transport tcp -i rtsp://A.A.A.A/path.ext?camera=1 -f mpegts udp://B.B.B.B:10001&#xA;

    &#xA;

    Computer B (in VLC) : udp://@B.B.B.B:10001

    &#xA;

  • Cannot open RTMP stream with FFMPEG Java Cannot assign requested address

    12 novembre 2023, par lastpeony4

    I am trying to open an RTMP stream with avformat_open_input and for some reason i keep getting Cannot assign requested address error.
    &#xA;My RTMP URL is correct because i can watch the stream using VLC Player and ffmpeg command line :
    &#xA;ffmpeg -i rtmp://1.1.1.1/app/teststream -vcodec copy -acodec copy output.mp4

    &#xA;

    int timeout = 2500;&#xA;setConnectionTimeout(timeout);&#xA;&#xA;AVDictionary optionsDictionary = new AVDictionary();&#xA;&#xA;String timeoutStr = String.valueOf(this.timeoutMicroSeconds);&#xA;av_dict_set(optionsDictionary, "timeout", timeoutStr, 0);&#xA;&#xA;int analyzeDurationUs = 1500 * 1000;&#xA;String analyzeDuration = String.valueOf(analyzeDurationUs);&#xA;av_dict_set(optionsDictionary, "analyzeduration", analyzeDuration, 0);&#xA;&#xA;int ret;&#xA;&#xA;if ((ret = avformat_open_input(inputFormatContext, streamUrl, null, optionsDictionary)) &lt; 0) {&#xA;  // ERROR Cannot assign requested address&#xA;}&#xA;

    &#xA;

    I am using org.bytedeco:ffmpeg:5.1.2-1.5.8 (ffmpeg-5.1.2-1.5.8.jar)

    &#xA;

    Why i can't open it ?

    &#xA;

  • HTTP Live streaming iOS not refreshing the index .m3u8 file

    27 février 2013, par Emerson Fittipaldi

    I searched all similar questions on StackOverflow, but found none to answer my problem.

    I am trying to stream some movies from my Linux computer (openSuSE 12.1) to my iPad. I convert them with ffmpeg, segment them with my own segmenter, place them in the www folder of my apache2 server and also place inside the .m3u8 playlist. Til here - all is ok !

    I start playing the movie (HTML page with tag) and it plays nicely, but only the first five segments, which have been loaded with the first load of the playlist. The HTML page (the browser, or the player - no idea) does not refresh (re-download) the playlist from the server. Here is what my .m3u8 playlist file looks like :

    #EXTM3U
    #EXT-X-MEDIA-SEQUENCE:19
    #EXT-X-TARGETDURATION:8

    #EXTINF:8,
    http://192.168.1.4/segment_19.ts
    #EXTINF:8,
    http://192.168.1.4/segment_20.ts
    #EXTINF:8,
    http://192.168.1.4/segment_21.ts
    #EXTINF:8,
    http://192.168.1.4/segment_22.ts
    #EXTINF:8,
    http://192.168.1.4/segment_23.ts

    Segments are in the same folder as the playlist file, segments are correctly encoded (because I can see at least the first five ones :D). I also watch the access_log from the apache server and I see the first load of the playlist, then the consequent load of all 5 segments and it stops till there. It doesn't even try to further refresh the m3u8 file.

    If it matters - iOS 5.0, iPad 2, Wi-Fi version only, not jailbroken

    Ideas ? What am I doing wrong ?