spscream
SMSoftware Mansion
•Created by spscream on 3/15/2024 in #membrane-help
bundlex nifs and libasan
e.g. for ex_dtls it found some leak, maybe false positive:
but for my plugin I got no leaks found even if I put it intentionally
2 replies
SMSoftware Mansion
•Created by spscream on 3/11/2024 in #membrane-help
unifex seg fault on handle_destroy_state
final fix:
If I put NULL as initial parameter - g7221_1_decode_init initializes memory itself and it is correctly freed on destroy
8 replies
SMSoftware Mansion
•Created by spscream on 3/11/2024 in #membrane-help
unifex seg fault on handle_destroy_state
but may be I fixed it incorrectly, thanks for directions btw
8 replies
SMSoftware Mansion
•Created by spscream on 3/11/2024 in #membrane-help
unifex seg fault on handle_destroy_state
My bad. I made mistake on state initialization, made changes to create:
and now is working correctly. I'm new to C programming, reread about pointers and it seems clear for me now.
8 replies
SMSoftware Mansion
•Created by spscream on 3/11/2024 in #membrane-help
unifex seg fault on handle_destroy_state
I hope this is right place to post unifex questions, since Membrane framework is the owner of unifex.
8 replies
SMSoftware Mansion
•Created by spscream on 3/5/2024 in #membrane-help
h264 encoder problems
I also should mention, what i'm using swscale directly on decoder output in c code.
I have a special case with switch stream on janus subscription - frame size could be different for published videos, so I had to add it in decoder.
I tried to use swscale plugin in pipeline with no success and faster for my case was to implement it in decoder. In future I'll move this logic to separate membrane element, but I have deadlines now and it works for me now - decoder gives me constant frame format for outputs.
15 replies
SMSoftware Mansion
•Created by spscream on 3/5/2024 in #membrane-help
h264 encoder problems
thank you for insights, I moved repo in public
15 replies
SMSoftware Mansion
•Created by spscream on 3/7/2024 in #membrane-help
toilet capacity of outbound_rtx_controller
it might be so. Should I handle toilet overflow some way on my side, e.g. dropping input buffers?
I don't want to have very large value for toilet_capacity
9 replies
SMSoftware Mansion
•Created by spscream on 3/7/2024 in #membrane-help
toilet capacity of outbound_rtx_controller
https://gist.github.com/spscream/a978129cf3d99bc2d1d5cb8b1eefe944 this is code for my UDP.Endpoint
9 replies
SMSoftware Mansion
•Created by spscream on 3/7/2024 in #membrane-help
toilet capacity of outbound_rtx_controller
I set toilet_capacity to 10000 and stream is flowing now. How can I debug the current buffer state of :sip_video? add debug to handle_buffer?
9 replies
SMSoftware Mansion
•Created by spscream on 3/7/2024 in #membrane-help
toilet capacity of outbound_rtx_controller
Ok, you give me some directions for debug, thank you
btw I'm getting the same error with 1000 now:
9 replies
SMSoftware Mansion
•Created by spscream on 3/7/2024 in #membrane-help
toilet capacity of outbound_rtx_controller
should I to link somethink to SessionBin to handle rtx, if yes, what exactly?
9 replies
SMSoftware Mansion
•Created by spscream on 3/5/2024 in #membrane-help
h264 encoder problems
problem is solved, thanks 😄
15 replies
SMSoftware Mansion
•Created by spscream on 3/5/2024 in #membrane-help
h264 encoder problems
I set zerolatency tune for h264 encoder and framerate to {0,1} for vp8 decoder and now it looks good
15 replies
SMSoftware Mansion
•Created by spscream on 3/5/2024 in #membrane-help
h264 encoder problems
may be different frame rates in incoming videos could be the reason...
15 replies
SMSoftware Mansion
•Created by spscream on 3/5/2024 in #membrane-help
h264 encoder problems
also I see what for first video stream is coming with full vp8 frame per packet, after switch is coming splitted, timestamps on incoming rtp from subscriber stream:
15 replies
SMSoftware Mansion
•Created by spscream on 3/5/2024 in #membrane-help
h264 encoder problems
Is it reason could be in non-monotonically growing pts in incoming buffers?
I have subscriber connection to janus, which is calling "switch" to janus on on "talking" events from janus, to switch video to new speaker if it is talking right now.
I added sink to debug buffers and it is showing, what pts isn't monotonically increased, in log diff is the prev buffer pts - current pts
15 replies
SMSoftware Mansion
•Created by spscream on 3/5/2024 in #membrane-help
h264 encoder problems
full logic of my pipeline is the following:
webrtc subscription for video from janus gateway -> vp8 decode -> h264 encode -> rtp output to sip client
I implemented vp8 encoder/decoder plugin (https://github.com/spscream/membrane_vp8_ffmpeg_plugin it is in WIP state now) for membrane to decode vp8, using membrane_h264_ffmpeg_plugin as an example, it makes decoding and encoding of vp8 for my case.
15 replies