ℓé
SMSoftware Mansion
•Created by ℓé on 1/21/2025 in #membrane-help
Get Video from RTSP and stream by RTMP
sorry for the late of response. because the luna new year, your code is about using the usb camera. But my task is on camera conecttion by LAN and get source from rstp server.
9 replies
SMSoftware Mansion
•Created by ℓé on 1/21/2025 in #membrane-help
Get Video from RTSP and stream by RTMP
yeah, thank you for your replied, i have all ready read the document and test a small program take the video source(location: video.h264). But i'm still get stuck. I don't understand much about membrane framework and the flow of video, audio going. can you help me write a sample on it.
9 replies
SMSoftware Mansion
•Created by ℓé on 1/21/2025 in #membrane-help
Get Video from RTSP and stream by RTMP
9 replies
SMSoftware Mansion
•Created by ℓé on 1/21/2025 in #membrane-help
Get Video from RTSP and stream by RTMP
yeah, this is my code and the error log below:
== Compilation error in file lib/baseline_camera.ex ==
** (exit) {:membrane_child_crash, :video_source, {%KeyError{key: #Reference<0.2512758526.2801270788.174057>, term: %{}, message: nil}, [{:erlang, :map_get, [#Reference<0.2512758526.2801270788.174057>, %{}], [error_info: %{module: :erl_erts_errors}]}, {Membrane.RTSP.Source, :handle_pad_added, 3, [file: ~c"lib/membrane_rtsp_plugin/source.ex", line: 220]}, {Membrane.Core.CallbackHandler, :exec_callback, 4, [file: ~c"lib/membrane/core/callback_handler.ex", line: 139]}, {Membrane.Core.CallbackHandler, :exec_and_handle_callback, 5, [file: ~c"lib/membrane/core/callback_handler.ex", line: 69]}, {Membrane.Core.Bin, :handle_info, 2, [file: ~c"lib/membrane/core/bin.ex", line: 196]}, {:gen_server, :try_dispatch, 4, [file: ~c"gen_server.erl", line: 1123]}, {:gen_server, :handle_msg, 6, [file: ~c"gen_server.erl", line: 1200]}, {:proc_lib, :init_p_do_apply, 3, [file: ~c"proc_lib.erl", line: 240]}]}}
9 replies