Opened 6 years ago
Last modified 6 years ago
#7595 new defect
Cannot use rendezvous mode in SRT protocol
Reported by: | lukezaa | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | undetermined |
Version: | git-master | Keywords: | libsrt |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
I cannot use rendezvous mode in SRT protocol. When I run this command on sender machine, I have following output (repeat+level+debug):
[debug] Opening an input file: srt://172.16.30.50:2121?mode=rendezvous. [NULL @ 0x55d52732b040] [debug] Opening 'srt://172.16.30.50:2121?mode=rendezvous' for reading [srt @ 0x55d52732b940] [debug] No default whitelist set [error] srt://172.16.30.50:2121?mode=rendezvous: Operation not permitted 15:08:44.141142/SRT:GC!!FATAL!!: SRT.c: IPE: For socket %320639888 MUXER id=-1 NOT FOUND!
I included report from ffmpeg.
How to reproduce:
Sender (MPEGTS TO SRT):
#!/bin/bash INPUT="-i udp://239.1.1.2:2137\ ?fifo_size=655350\ &overrun_nonfatal=1" OUTPUT="srt://172.17.30.50:2121\ ?mode=rendezvous" CODECS="-c copy" MUXER="-f mpegts -mpegts_pmt_start_pid 0x03FF -mpegts_start_pid 0x0400 -metadata service_provider='xxx' -metadata service_name='xxx'" OPTIONS="-loglevel repeat+level+debug -re -threads 4" ffmpeg $OPTIONS $INPUT $CODECS $MUXER $OUTPUT
Receiver (SRT TO MPEGTS):
#!/bin/bash INPUT="-i srt://172.16.30.50:2121\ ?mode=rendezvous" OUTPUT="udp://239.1.1.3:2137\ ?ttl=64\ &localaddr=172.17.40.50\ &bitrate=26214400" CODECS="-c copy -bufsize 32M" MUXER="-f mpegts -mpegts_pmt_start_pid 0x03FF -mpegts_start_pid 0x0400 -metadata service_provider='xxx' -metadata service_name='xxx'" OPTIONS="-loglevel repeat+level+debug -re -threads 8" ffmpeg $OPTIONS $INPUT $CODECS $MUXER $OUTPUT
Attachments (1)
Change History (4)
by , 6 years ago
Attachment: | ffmpeg-20181205-151023.log added |
---|
comment:1 by , 6 years ago
Component: | ffmpeg → undetermined |
---|---|
Keywords: | libsrt added; srt rendezvous removed |
Priority: | important → normal |
comment:2 by , 6 years ago
comment:3 by , 6 years ago
Please post your patch - made with git format-patch
- to the FFmpeg development mailing list, patches are ignored on this bug tracker.
Note:
See TracTickets
for help on using tickets.
Hello,
The bug was in the libsrc.c file in function libstr_setup. I created simple patch which adds two options for choosing source adapter in ramdezvous mode. It works only with IPv4.