This seems to be a problem plaguing the internet. Transport: RTP/AVP/UDP unicast client_port=8974-8975 One thing I noticed as I look through the wireshark log of the app I was sniffing, each time one of these packets was sent, a new port was assigned to client and server. I know it has been 10 months, but if you are interested in an answer to your question, the same module and protocol are used in cheap wifi drones.
#USB ENDOSCOPE CAMERA SOFTWARE LINUX HOW TO#
Still haven't found out what firmware they are using and how to gain access. Ok, I've started to look into this one by connecting to the PCB's RX/TX.īaudrate is 921600 (8N1) and I get this output: system version:84.12.5.4.87 For this purpose it will be best if ffmpeg or vlc can recognize the stream. The final goal is to be able to make this stream public. I know that my question is too open but any suggestions how can I keep progressing? According my research (for this one I'm not sure if I'm looking where I should) it's part of ijkplayer player that should be based on ffmpeg but strangely ffmpeg can't recognize the stream. It seems that libijkffmpeg.so is the one processing the stream (the string bt470bg is found only inside it). In the resources directory there are the following libs: I have downloaded the andorid app ( ) and have de-compile it. There is andorid and iPhone apps to watch the stream from the camera. There is no single package containing FFD8 but there are many containing FFD9, so I can't find out the beginning of the frame to see if some headers there could help me. From what I have read each frame should start with FFD8 and should end with FFD9.
I have a wireshark dump of some seconds of streaming (while was trying to play it with VLC). Stream #0:0: Video: mjpeg, none(bt470bg/unknown/unknown), 90k tbr, 90k tbn, 90k tbcĬould not write header for output file #0 (incorrect codec parameters ?): Invalid argument Could not find codec parameters for stream 0 (Video: mjpeg, none(bt470bg/unknown/unknown)): unspecified sizeĬonsider increasing the value for the 'analyzeduration' and 'probesize' options ffmpeg also can't detect the correct codec to be used: $ ffmpeg -i rtsp://192.168.1.1:7070/webcam -vcodec copy /tmp/abc.mp4įfmpeg version n4.2.2 Copyright (c) 2000-2019 the FFmpeg developersīuilt with gcc 9.3.0 (Arch Linux 9.3.0-1)Ĭonfiguration: -prefix=/usr -disable-debug -disable-static -disable-stripping -enable-fontconfig -enable-gmp -enable-gnutls -enable-gpl -enable-ladspa -enable-libaom -enable-libass -enable-libbluray -enable-libdav1d -enable-libdrm -enable-libfreetype -enable-libfribidi -enable-libgsm -enable-libiec61883 -enable-libjack -enable-libmfx -enable-libmodplug -enable-libmp3lame -enable-libopencore_amrnb -enable-libopencore_amrwb -enable-libopenjpeg -enable-libopus -enable-libpulse -enable-libsoxr -enable-libspeex -enable-libssh -enable-libtheora -enable-libv4l2 -enable-libvidstab -enable-libvorbis -enable-libvpx -enable-libwebp -enable-libx264 -enable-libx265 -enable-libxcb -enable-libxml2 -enable-libxvid -enable-nvdec -enable-nvenc -enable-omx -enable-shared -enable-version3 It supports RTSP protocol on port 7070 (the only one opened port).
From what I have found so far the camera is using IP 192.168.1.1.
#USB ENDOSCOPE CAMERA SOFTWARE LINUX PC#
I'm trying to stream video from endoscope camera YPC99 on linux PC using the WiFi connection.