Recherche avancée

Médias (91)

Autres articles (104)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

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

  • Restream multiple live videos

    8 juin 2020, par re0603

    I have a java application which captures links to streaming videos at different times of the day.

    



    I need to create my own live stream that is always on, and I need to be able to “push” the captured stream links to the channel as and when they become live.

    



    I already have the logic to detect when the streams come on and offline - but what is the best method of creating my own live stream, and programmatically push new streams to the existing channel without having to reconnect to my stream ?

    


  • Qt Video Recorder

    11 mai 2014, par Davlog

    I am trying to create a video recorder with Qt. What I did so far was taking a screenshot of a rectangle on the screen and save it. At the end I use ffmpeg to get a video file out of the images.

    I connected a timer’s signal timeout() to my custom slot which takes the snapshot and saves it to my tmp folder. The timer has an intervall of 1000 / 30. That should be 30 times per second. But 1000 / 30 is a little bit more than 33 milliseconds so I cannot really get 30 fps. It’s a bit more.

    I recorded a youtube video with my recorder and everything was smooth but a little bit faster / slower depending on the intervall.

    So my question basically is how do I get really 30 / 40 / 50 / ... fps ?

  • Cannot re-stream RTSP using ffmpeg [closed]

    1er mars 2024, par Wissam Elias

    I am trying to re-stream an RTSP connection on the local network using this command :

    


    ffmpeg -loglevel debug -rtsp_transport tcp -i rtsp://192.168.1.13:1935 -rtsp_transport tcp -c:v copy -f rtsp rtsp://127.0.0.1:1935/live/stream


    


    but this usage can connect to the host and reads the packets from the host but it hangs when trying to connect to the local host :

    


    Successfully opened the file.
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (aac (native) -> aac (native))
[aost#0:1/aac @ 000001eb93d54980] Starting thread...
[af#0:1 @ 000001eb91dd5c80] Starting thread...
[aist#0:1/aac @ 000001eb91e60e40] [dec:aac @ 000001eb9467e440] Starting thread...
[in#0/rtsp @ 000001eb91dce180] Starting thread...
Press [q] to stop, [?] for help
detected 12 logical cores
[graph_0_in_0:1 @ 000001eb91e2c280] Setting 'time_base' to value '1/32000'
[graph_0_in_0:1 @ 000001eb91e2c280] Setting 'sample_rate' to value '32000'
[graph_0_in_0:1 @ 000001eb91e2c280] Setting 'sample_fmt' to value 'fltp'
[graph_0_in_0:1 @ 000001eb91e2c280] Setting 'channel_layout' to value 'stereo'
[graph_0_in_0:1 @ 000001eb91e2c280] tb:1/32000 samplefmt:fltp samplerate:32000 chlayout:stereo
[format_out_0_1 @ 000001eb91e2bf40] Setting 'sample_fmts' to value 'fltp'
[format_out_0_1 @ 000001eb91e2bf40] Setting 'sample_rates' to value '96000|88200|64000|48000|44100|32000|24000|22050|16000|12000|11025|8000|7350'
[AVFilterGraph @ 000001eb945c7b40] query_formats: 4 queried, 6 merged, 3 already done, 0 delayed
Transform tree:
    mdct_fwd_float_c - type: mdct_float, len: 1024, factors[2]: [2, any], flags: [unaligned, out_of_place, fwd_only]
        fft_sr_ns_float_avx2 - type: fft_float, len: 512, factor: 2, flags: [aligned, inplace, out_of_place, preshuf]
Transform tree:
    mdct_fwd_float_c - type: mdct_float, len: 128, factors[2]: [2, any], flags: [unaligned, out_of_place, fwd_only]
        fft_sr_ns_float_avx2 - type: fft_float, len: 64, factor: 2, flags: [aligned, inplace, out_of_place, preshuf]
[tcp @ 000001eb93d51300] No default whitelist set
[tcp @ 000001eb93d51300] Original list of addresses:
[tcp @ 000001eb93d51300] Address 127.0.0.1 port 1935
[tcp @ 000001eb93d51300] Interleaved list of addresses:
[tcp @ 000001eb93d51300] Address 127.0.0.1 port 1935
[tcp @ 000001eb93d51300] Starting connection attempt to 127.0.0.1 port 1935


    


    another try by removing the -c:v copy option, using this command :

    


    ffmpeg -loglevel debug -rtsp_transport tcp -i rtsp://192.168.1.13:1935  -rtsp_transport tcp  -f rtsp rtsp://127.0.0.1:1935/live/stream


    


    it can start the connection on the local host or on the server ip but stops at POC (Picture Order Count ) 21 :

    


    [out#0/rtsp @ 000001b76090dcc0] sq: receive 1 ts 1.37691 queue head -1 ts N/A
[hevc @ 000001b76091a1c0] Output frame with POC 1.
[out#0/rtsp @ 000001b76090dcc0] sq: send 1 ts 1.40891
[hevc @ 000001b76099ebc0] nal_unit_type: 1(TRAIL_R), nuh_layer_id: 0, temporal_id: 0
[out#0/rtsp @ 000001b76090dcc0] sq: receive 1 ts 1.40891 queue head -1 ts N/A
[hevc @ 000001b76099ebc0] nal_unit_type: 1(TRAIL_R), nuh_layer_id: 0, temporal_id: 0
[out#0/rtsp @ 000001b76090dcc0] sq: send 1 ts 1.44091
[out#0/rtsp @ 000001b76090dcc0] sq: receive 1 ts 1.44091 queue head -1 ts N/A
[hevc @ 000001b76099ebc0] Output frame with POC 2.
[hevc @ 000001b76099d740] Decoded frame with POC 0.
[out#0/rtsp @ 000001b76090dcc0] sq: send 1 ts 1.47291
[hevc @ 000001b763a62400] nal_unit_type: 1(TRAIL_R), nuh_layer_id: 0, temporal_id: 0
[out#0/rtsp @ 000001b76090dcc0] sq: receive 1 ts 1.47291 queue head -1 ts N/A
[hevc @ 000001b763a62400] nal_unit_type: 1(TRAIL_R), nuh_layer_id: 0, temporal_id: 0
[out#0/rtsp @ 000001b76090dcc0] sq: send 1 ts 1.50491
[out#0/rtsp @ 000001b76090dcc0] sq: receive 1 ts 1.50491 queue head -1 ts N/A
[hevc @ 000001b76091a1c0] Decoded frame with POC 1.
[hevc @ 000001b763a62400] Output frame with POC 3.
[out#0/rtsp @ 000001b76090dcc0] sq: send 1 ts 1.53691
[hevc @ 000001b762522c00] nal_unit_type: 1(TRAIL_R), nuh_layer_id: 0, temporal_id: 0
[out#0/rtsp @ 000001b76090dcc0] sq: receive 1 ts 1.53691 queue head -1 ts N/A
[hevc @ 000001b762522c00] nal_unit_type: 1(TRAIL_R), nuh_layer_id: 0, temporal_id: 0
[hevc @ 000001b76099ebc0] Decoded frame with POC 2.
[hevc @ 000001b763a62400] Decoded frame with POC 3.
[out#0/rtsp @ 000001b76090dcc0] sq: send 1 ts 1.56891
[hevc @ 000001b762522c00] Output frame with POC 4.
[out#0/rtsp @ 000001b76090dcc0] sq: receive 1 ts 1.56891 queue head -1 ts N/A
[out#0/rtsp @ 000001b76090dcc0] sq: send 1 ts 1.60091
[hevc @ 000001b763bc4980] nal_unit_type: 1(TRAIL_R), nuh_layer_id: 0, temporal_id: 0
[out#0/rtsp @ 000001b76090dcc0] sq: receive 1 ts 1.60091 queue head -1 ts N/A
[hevc @ 000001b763bc4980] nal_unit_type: 1(TRAIL_R), nuh_layer_id: 0, temporal_id: 0
[out#0/rtsp @ 000001b76090dcc0] sq: send 1 ts 1.63291
[out#0/rtsp @ 000001b76090dcc0] sq: receive 1 ts 1.63291 queue head -1 ts N/A
[hevc @ 000001b763bc4980] Output frame with POC 5.
[hevc @ 000001b762522c00] Decoded frame with POC 4.
[out#0/rtsp @ 000001b76090dcc0] sq: send 1 ts 1.66491
[hevc @ 000001b762524140] nal_unit_type: 1(TRAIL_R), nuh_layer_id: 0, temporal_id: 0
[out#0/rtsp @ 000001b76090dcc0] sq: receive 1 ts 1.66491 queue head -1 ts N/A
[hevc @ 000001b762524140] nal_unit_type: 1(TRAIL_R), nuh_layer_id: 0, temporal_id: 0
[out#0/rtsp @ 000001b76090dcc0] sq: send 1 ts 1.69691
[hevc @ 000001b763bc4980] Decoded frame with POC 5.
[out#0/rtsp @ 000001b76090dcc0] sq: receive 1 ts 1.69691 queue head -1 ts N/A
[hevc @ 000001b762524140] Output frame with POC 6.
[out#0/rtsp @ 000001b76090dcc0] sq: send 1 ts 1.72891
[hevc @ 000001b762524740] nal_unit_type: 1(TRAIL_R), nuh_layer_id: 0, temporal_id: 0
[out#0/rtsp @ 000001b76090dcc0] sq: receive 1 ts 1.72891 queue head -1 ts N/A
[hevc @ 000001b762524740] nal_unit_type: 1(TRAIL_R), nuh_layer_id: 0, temporal_id: 0
[out#0/rtsp @ 000001b76090dcc0] sq: send 1 ts 1.76091
[out#0/rtsp @ 000001b76090dcc0] sq: receive 1 ts 1.76091 queue head -1 ts N/A
[out#0/rtsp @ 000001b76090dcc0] sq: send 1 ts 1.79291
[out#0/rtsp @ 000001b76090dcc0] sq: receive 1 ts 1.79291 queue head -1 ts N/A
[hevc @ 000001b762524740] Output frame with POC 7.
[out#0/rtsp @ 000001b76090dcc0] sq: send 1 ts 1.82491
[hevc @ 000001b763e625c0] nal_unit_type: 1(TRAIL_R), nuh_layer_id: 0, temporal_id: 0
[out#0/rtsp @ 000001b76090dcc0] sq: receive 1 ts 1.82491 queue head -1 ts N/A
[hevc @ 000001b763e625c0] nal_unit_type: 1(TRAIL_R), nuh_layer_id: 0, temporal_id: 0
[out#0/rtsp @ 000001b76090dcc0] sq: send 1 ts 1.85691
[out#0/rtsp @ 000001b76090dcc0] sq: receive 1 ts 1.85691 queue head -1 ts N/A
[hevc @ 000001b763e625c0] Output frame with POC 8.
[out#0/rtsp @ 000001b76090dcc0] sq: send 1 ts 1.88916
[hevc @ 000001b762524140] Decoded frame with POC 6.
[hevc @ 000001b76304d7c0] nal_unit_type: 1(TRAIL_R), nuh_layer_id: 0, temporal_id: 0
[out#0/rtsp @ 000001b76090dcc0] sq: receive 1 ts 1.88916 queue head -1 ts N/A
[hevc @ 000001b762524740] Decoded frame with POC 7.
[hevc @ 000001b76304d7c0] nal_unit_type: 1(TRAIL_R), nuh_layer_id: 0, temporal_id: 0
[out#0/rtsp @ 000001b76090dcc0] sq: send 1 ts 1.92116
[out#0/rtsp @ 000001b76090dcc0] sq: receive 1 ts 1.92116 queue head -1 ts N/A
[hevc @ 000001b76304d7c0] Output frame with POC 9.
[hevc @ 000001b763e625c0] Decoded frame with POC 8.
[out#0/rtsp @ 000001b76090dcc0] sq: send 1 ts 1.95316
[hevc @ 000001b76304ddc0] nal_unit_type: 1(TRAIL_R), nuh_layer_id: 0, temporal_id: 0
    Last message repeated 1 times
[out#0/rtsp @ 000001b76090dcc0] sq: receive 1 ts 1.95316 queue head -1 ts N/A
[hevc @ 000001b76304ddc0] Output frame with POC 10.
[out#0/rtsp @ 000001b76090dcc0] sq: send 1 ts 1.98516
[hevc @ 000001b764075b00] nal_unit_type: 1(TRAIL_R), nuh_layer_id: 0, temporal_id: 0
    Last message repeated 1 times
[hevc @ 000001b76304d7c0] Decoded frame with POC 9.
[out#0/rtsp @ 000001b76090dcc0] sq: receive 1 ts 1.98516 queue head -1 ts N/A
[hevc @ 000001b764075b00] Output frame with POC 11.
[out#0/rtsp @ 000001b76090dcc0] sq: send 1 ts 2.01716
[hevc @ 000001b76304ddc0] Decoded frame with POC 10.
[hevc @ 000001b764126b00] nal_unit_type: 1(TRAIL_R), nuh_layer_id: 0, temporal_id: 0
[out#0/rtsp @ 000001b76090dcc0] sq: receive 1 ts 2.01716 queue head -1 ts N/A
[hevc @ 000001b76099d340] nal_unit_type: 1(TRAIL_R), nuh_layer_id: 0, temporal_id: 0
    Last message repeated 1 times
[out#0/rtsp @ 000001b76090dcc0] sq: send 1 ts 2.04916
[hevc @ 000001b764126b00] nal_unit_type: 1(TRAIL_R), nuh_layer_id: 0, temporal_id: 0
[graph 0 input from stream 0:0 @ 000001b760935280] Setting 'video_size' to value '720x1280'
[hevc @ 000001b764075b00] Decoded frame with POC 11.
[out#0/rtsp @ 000001b76090dcc0] sq: receive 1 ts 2.04916 queue head -1 ts N/A
[hevc @ 000001b764126b00] Output frame with POC 12.
[graph 0 input from stream 0:0 @ 000001b760935280] Setting 'pix_fmt' to value '0'
[out#0/rtsp @ 000001b76090dcc0] sq: send 1 ts 2.08116
[hevc @ 000001b76099d740] nal_unit_type: 1(TRAIL_R), nuh_layer_id: 0, temporal_id: 0
    Last message repeated 1 times
[hevc @ 000001b76099d340] nal_unit_type: 1(TRAIL_R), nuh_layer_id: 0, temporal_id: 0
    Last message repeated 1 times
[graph 0 input from stream 0:0 @ 000001b760935280] Setting 'time_base' to value '1/90000'
[hevc @ 000001b76099d740] Output frame with POC 13.
[out#0/rtsp @ 000001b76090dcc0] sq: receive 1 ts 2.08116 queue head -1 ts N/A
[hevc @ 000001b764126b00] Decoded frame with POC 12.
[graph 0 input from stream 0:0 @ 000001b760935280] Setting 'pixel_aspect' to value '0/1'
[hevc @ 000001b76091a1c0] nal_unit_type: 1(TRAIL_R), nuh_layer_id: 0, temporal_id: 0
    Last message repeated 1 times
[out#0/rtsp @ 000001b76090dcc0] sq: send 1 ts 2.11316
[graph 0 input from stream 0:0 @ 000001b760935280] Setting 'colorspace' to value '6'
[hevc @ 000001b76099d340] nal_unit_type: 1(TRAIL_R), nuh_layer_id: 0, temporal_id: 0
    Last message repeated 1 times
[hevc @ 000001b76099d740] Decoded frame with POC 13.
[out#0/rtsp @ 000001b76090dcc0] sq: receive 1 ts 2.11316 queue head -1 ts N/A
[graph 0 input from stream 0:0 @ 000001b760935280] Setting 'range' to value '1'
[hevc @ 000001b76091a1c0] Output frame with POC 14.
[out#0/rtsp @ 000001b76090dcc0] sq: send 1 ts 2.14516
[graph 0 input from stream 0:0 @ 000001b760935280] Setting 'frame_rate' to value '30/1'
[hevc @ 000001b76099ebc0] nal_unit_type: 1(TRAIL_R), nuh_layer_id: 0, temporal_id: 0
    Last message repeated 1 times
[out#0/rtsp @ 000001b76090dcc0] sq: receive 1 ts 2.14516 queue head -1 ts N/A
[graph 0 input from stream 0:0 @ 000001b760935280] w:720 h:1280 pixfmt:yuv420p tb:1/90000 fr:30/1 sar:0/1 csp:smpte170m range:tv
[hevc @ 000001b76099d340] nal_unit_type: 1(TRAIL_R), nuh_layer_id: 0, temporal_id: 0
    Last message repeated 1 times
[hevc @ 000001b76099ebc0] Output frame with POC 15.
[out#0/rtsp @ 000001b76090dcc0] sq: send 1 ts 2.17716
[format @ 000001b7609353c0] Setting 'pix_fmts' to value 'yuv420p'
[hevc @ 000001b76091a1c0] Decoded frame with POC 14.
[hevc @ 000001b763a62400] nal_unit_type: 1(TRAIL_R), nuh_layer_id: 0, temporal_id: 0
    Last message repeated 1 times
[out#0/rtsp @ 000001b76090dcc0] sq: receive 1 ts 2.17716 queue head -1 ts N/A
[AVFilterGraph @ 000001b76096f5c0] query_formats: 4 queried, 9 merged, 0 already done, 0 delayed
[hevc @ 000001b76099d340] nal_unit_type: 1(TRAIL_R), nuh_layer_id: 0, temporal_id: 0
    Last message repeated 1 times
[out#0/rtsp @ 000001b76090dcc0] sq: send 1 ts 2.20916
[hevc @ 000001b76099ebc0] Decoded frame with POC 15.
[graph 0 input from stream 0:0 @ 000001b760935280] video frame properties congruent with link at pts_time: 0
[hevc @ 000001b763a62400] Output frame with POC 16.
[out#0/rtsp @ 000001b76090dcc0] sq: receive 1 ts 2.20916 queue head -1 ts N/A
[hevc @ 000001b762522c00] nal_unit_type: 1(TRAIL_R), nuh_layer_id: 0, temporal_id: 0
    Last message repeated 1 times
[out#0/rtsp @ 000001b76090dcc0] sq: send 1 ts 2.24116
[hevc @ 000001b76099d340] nal_unit_type: 1(TRAIL_R), nuh_layer_id: 0, temporal_id: 0
    Last message repeated 1 times
[hevc @ 000001b762522c00] Output frame with POC 17.
[out#0/rtsp @ 000001b76090dcc0] sq: receive 1 ts 2.24116 queue head -1 ts N/A
[mpeg4 @ 000001b763112b80] intra_quant_bias = 0 inter_quant_bias = -64
[hevc @ 000001b763a62400] Decoded frame with POC 16.
[hevc @ 000001b763bc4980] nal_unit_type: 1(TRAIL_R), nuh_layer_id: 0, temporal_id: 0
    Last message repeated 1 times
[out#0/rtsp @ 000001b76090dcc0] sq: send 1 ts 2.27316
[hevc @ 000001b76099d340] nal_unit_type: 1(TRAIL_R), nuh_layer_id: 0, temporal_id: 0
    Last message repeated 1 times
[tcp @ 000001b7656cef40] No default whitelist set
[hevc @ 000001b763bc4980] Output frame with POC 18.
[out#0/rtsp @ 000001b76090dcc0] sq: receive 1 ts 2.27316 queue head -1 ts N/A
[hevc @ 000001b762522c00] Decoded frame with POC 17.
[tcp @ 000001b7656cef40] Original list of addresses:
[hevc @ 000001b762524140] nal_unit_type: 1(TRAIL_R), nuh_layer_id: 0, temporal_id: 0
    Last message repeated 1 times
[out#0/rtsp @ 000001b76090dcc0] sq: send 1 ts 2.30516
[tcp @ 000001b7656cef40] Address 127.0.0.1 port 1935
[tcp @ 000001b7656cef40] Interleaved list of addresses:
[hevc @ 000001b762524140] Output frame with POC 19.
[hevc @ 000001b763bc4980] Decoded frame with POC 18.
[out#0/rtsp @ 000001b76090dcc0] sq: receive 1 ts 2.30516 queue head -1 ts N/A
[hevc @ 000001b76099d340] nal_unit_type: 1(TRAIL_R), nuh_layer_id: 0, temporal_id: 0
    Last message repeated 1 times
[hevc @ 000001b762524740] nal_unit_type: 1(TRAIL_R), nuh_layer_id: 0, temporal_id: 0
    Last message repeated 1 times
[tcp @ 000001b7656cef40] Address 127.0.0.1 port 1935
[hevc @ 000001b76099d340] nal_unit_type: 1(TRAIL_R), nuh_layer_id: 0, temporal_id: 0
    Last message repeated 1 times
[out#0/rtsp @ 000001b76090dcc0] sq: send 1 ts 2.33716
[hevc @ 000001b762524740] Output frame with POC 20.
[tcp @ 000001b7656cef40] Starting connection attempt to 127.0.0.1 port 1935
[hevc @ 000001b762524140] Decoded frame with POC 19.
[out#0/rtsp @ 000001b76090dcc0] sq: receive 1 ts 2.33716 queue head -1 ts N/A
[out#0/rtsp @ 000001b76090dcc0] sq: send 1 ts 2.36916
[hevc @ 000001b763e625c0] nal_unit_type: 1(TRAIL_R), nuh_layer_id: 0, temporal_id: 0
    Last message repeated 1 times
[out#0/rtsp @ 000001b76090dcc0] sq: receive 1 ts 2.36916 queue head -1 ts N/A
[hevc @ 000001b763e625c0] Output frame with POC 21.
[hevc @ 000001b762524740] Decoded frame with POC 20.
[out#0/rtsp @ 000001b76090dcc0] sq: send 1 ts 2.40116
[out#0/rtsp @ 000001b76090dcc0] sq: receive 1 ts 2.40116 queue head -1 ts N/A
[out#0/rtsp @ 000001b76090dcc0] sq: send 1 ts 2.43316
[out#0/rtsp @ 000001b76090dcc0] sq: receive 1 ts 2.43316 queue head -1 ts N/A
[out#0/rtsp @ 000001b76090dcc0] sq: send 1 ts 2.46516
[hevc @ 000001b763e625c0] Decoded frame with POC 21.
[out#0/rtsp @ 000001b76090dcc0] sq: receive 1 ts 2.46516 queue head -1 ts N/A
[out#0/rtsp @ 000001b76090dcc0] sq: send 1 ts 2.49716
[out#0/rtsp @ 000001b76090dcc0] sq: receive 1 ts 2.49716 queue head -1 ts N/A
[out#0/rtsp @ 000001b76090dcc0] sq: send 1 ts 2.52916
[out#0/rtsp @ 000001b76090dcc0] sq: receive 1 ts 2.52916 queue head -1 ts N/A
[out#0/rtsp @ 000001b76090dcc0] sq: send 1 ts 2.56116
[out#0/rtsp @ 000001b76090dcc0] sq: receive 1 ts 2.56116 queue head -1 ts N/A


    


    and finally i cannot connect to the re-streamed rtsp connection. how to fix this ?

    


    i want to re stream the rtsp connection from the server to make it available to use this rtsp connection online.