kevinGodell / node-red-ui-mp4frag

MIT License
0 stars 0 forks source link

Installation #3

Open greg2891 opened 2 months ago

greg2891 commented 2 months ago

Hi @kevinGodell Please can you advise if this is available when nodered run on windows machine ? I did try on 2 different machines and no luck. I can only install node-red-contrib-mp4frag but not node-red-contrib-ffmpeg-spawn and node-red-contrib-ui-mp4frag.

image image

thanks in advance

kevinGodell commented 2 months ago

That error indicates that you do not have git command line tools installed on the windows box.

greg2891 commented 2 months ago

Thanks for quick response @kevinGodell just quickly installed but still same - unless I am doing something wrong as I never used it

image image

for more details on what I am trying to achive : I am trying to play HD video coming as a RTP over UDP link between 2 machines .

To play it from command line I am using ffplay as below : ffplay" -fflags nobuffer -i jpeg2rtp.sdp -protocol_whitelist file,udp,rtp

and my sdp file contain : v=0 s=JPEG2RTP c=IN IP4 255.255.255.255 t=0 0 a=recvonly a=type:broadcast a=charset:UTF-8 m=video "UDPport" RTP/AVP 26 a=rtpmap:26 JPEG/90000

Please can you advise if using your nodes will I be able to do it ?

greg2891 commented 2 months ago

@kevinGodell Just quick update - I have installed with npm but with git link instead and it showed up in nodered. Please advise on below: for more details on what I am trying to achive : I am trying to play HD video coming as a RTP over UDP link between 2 machines .

To play it from command line I am using ffplay as below : ffplay" -fflags nobuffer -i jpeg2rtp.sdp -protocol_whitelist file,udp,rtp

and my sdp file contain : v=0 s=JPEG2RTP c=IN IP4 255.255.255.255 t=0 0 a=recvonly a=type:broadcast a=charset:UTF-8 m=video "UDPport" RTP/AVP 26 a=rtpmap:26 JPEG/90000

Please can you advise if using your nodes will I be able to do it ?

kevinGodell commented 2 months ago

npm install kevingodell/node-red-ui-mp4frag is the correct command. The readme has been updated to clarify that. It will install the package directly from GitHub, since it is not published on npmjs. I am no longer doing updates to this node, but I am working on a replacement that can work on dashboard 1 or 2. If you need help using the node or configuring things, then the best place to ask that question will be on the node-red forum. Personally, I have never tried that type of video format, but if it can be converted to mp4 or jpeg, then it should be able to play in the web browser.