use VLC to RTSP stream screen capture transcoded as MJPEG - vlc

The command I used was;
vlc -vvv screen:// :sout="#transcode{vcodec=mjpg,acodec=none,fps=1}:rtp{sdp=rtsp://localhost:8554/stream0}"
when I try to play rtsp://localhost:8554/stream0 with another VLC player, it seems VLC successfully connect to RTSP but soon after it terminates its connection with message live555 error: no data received in 10s, aborting
The plaform I use is Windows 10 Enterprise x64 10.0.18363, with VLC 3.0.8 Vetinari.

Related

Facing [rtsp # 000002aa9df0cb80] method SETUP failed: 500 Internal Server Error , while streaming rtsp camera in opencv

Getting [rtsp # 000002aa9df0cb80] method SETUP failed: 500 Internal Server Error when i try to stream rtsp camera in opencv python but after sometime it works fine for few minutes and does not works again,how do i overcome this issue?
Error 500 means that your rtsp Server has an issue.
Check logs on that server to know what happen. If its an IP camera try an Firmware Update. Thats not an issue of opencv is more an issue of your rtsp Server. You can double check if this also happen with VLC.

unable to play rtsp throuth vlc plugin on IE11

I created a sample web site through which i will be able to stream videos across my LAN.
I am using VLC (the latest version) .
But i am encountering issue in win10 IE11 ,as vlc plugin is not loading in this . I am using IE11 and my machine is Windows10 64 bit.
and my vlc activex plugin is enabled:
enter image description here
Is there any solution
the following is my code:
<embed
type="application/x-vlc-plugin"
pluginspage="http://www.videolan.org"
wmode="opaque"
id="vlc"
width="640"
height="480"
target="my_rtsp_url"
/>
I have solved this problem.
I installed the wrong version of vlc plugin, my browser is win32, but I used the win64 vlc.

RTMP_Connect0, failed to connect socket. 51

i want to use live audio streaming with wowza server,
i have implement RTMP Client for do this, this working fine in ipv4 network, but when i switch my network ipv4 to ipv6 then i got error.
error is: RTMP_Connect0, failed to connect socket. 51
this error is coming on RTMP_Connect(pPlayRtmp, NULL)
any one have idea about this.
Thanks in advance.
To use IPv6 networking with your Wowza server, you would need to have these settings in place:
Your server supports IPv6 networking.
You have at least version 7 of Java installed (recommend using the JVM that comes with the Wowza installation, which should be version 8 as of Wowza 4.5).
You've changed the following configuration files on your Wowza installation path.
For Linux, open the file [WowzaInstallPath]/bin/setenv.sh and set the following line to false
JAVA_OPTS="$JAVA_OPTS -Djava.net.preferIPv4Stack=false"
For Windows, use the file [WowzaInstallPath]\bin\setenv.bat
set JAVA_OPTS=%JAVA_OPTS% -Djava.net.preferIPv4Stack=false
Test streaming by using the following URL in an RTMP player:
rtmp://[::1]/vod/mp4:sample.mp4

Installing Wireshark on server to capture web service SOAP request and response

I am new to using Wireshark. Can I install Wireshark on server which is hosting Web Service to capture incoming requests and out going responses?
Example end point URL of my Web Service: http://MyIP:9086/WebService
For example my web service is using 9086 port. If I start capturing traffic on 9086, will it give me all request and response (SOAP messages)?
I have installed Wireshark on local laptop and can packets when SOAP UI send request to Web Service. But I want to install it on server and want to capture from that end. Is that feasible?
If the server is a linux box, you can use tcpdump, and tell it dump the traffic into a pcap file. This pcap file you can transfer to a local machine and load into wireshark.
From https://www.wireshark.org/docs/wsug_html_chunked/AppToolstcpdump.html
D.3. tcpdump: Capturing with tcpdump for viewing with Wireshark
It’s often more useful to capture packets using tcpdump rather than wireshark. For example, you might want to do a remote capture and either don’t have GUI access or don’t have Wireshark installed on the remote machine.
Older versions of tcpdump truncate packets to 68 or 96 bytes. If this is the case, use -s to capture full-sized packets:
$ tcpdump -i <interface> -s 65535 -w <some-file>
You will have to specify the correct interface and the name of a file to save into. In addition, you will have to terminate the capture with ^C when you believe you have captured enough packets.

VLC Server Webinterface failes to start

I'm trying to start my VLC Webinterface with "vlc -I http".
The Webserver starts, but there is no audio.
Here is the error message:
inhibit interface error: Failed to connect to the D-Bus session daemon: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
main interface error: no suitable interface module
main interface error: no suitable interface module
main libvlc error: interface "globalhotkeys.none" initialization failed
I tried to unistall and reinstall VLC, but it didn't work.
What does that error message mean?
It means you're starting your VLC on a headless console, without access to X nor your DBUS session, which VLC would normally need to access the sound system.
Try specifying alsa as sound system via command line arguments, export DISPLAY=:0 before starting VLC (if you're currently logged in a graphical user interface).

Resources