Get mjpeg udp stream from actioncam HX-A1

MICHON Anthony anthony.michon at eurogiciel.fr
Thu Apr 21 08:54:18 UTC 2016


I finally had success when using following command ! (so simple when I read it..)

gst-launch-1.0.exe udpsrc port=1234 ! jpegdec ! autovideosink

I would now use a command to save as single jpeg frames like I did with ffplay :

ffmpeg -i udp://192.168.0.100:1234 –qscale :v 2 -f image2 -update 1 d:\img.jpg

I just tried this : gst-launch-1.0.exe udpsrc port=1234 !  jpegparse ! filesink location=image.jpg
I have a single fiel BUT it is growing...

Any solution to use a ffplay "-update" like options with gstreamer ? 

thx


-----Message d'origine-----
De : gstreamer-devel [mailto:gstreamer-devel-bounces at lists.freedesktop.org] De la part de MICHON Anthony
Envoyé : mercredi 13 avril 2016 15:41
À : Discussion of the development of and with GStreamer
Objet : RE: Get mjpeg udp stream from actioncam HX-A1



> >   gst-play-1.0 udp://127.0.0.1:1234
>  
> No error but no output :(
> See http://pastebin.com/wqed8abf

>Did you adjust the IP? 127.0.0.1 is not going to work obviously, since the camera can't send to it..

You're right, there is more verbose info with local ip : http://pastebin.com/KNbNi5kb But I don’t understand the problem (ERROR Can't play a text file without video or visualizations.)



> There is no RTSP server, I have used wireshark to get frames from 
> camera to android app, I suspect the traffic were not RTP based on but 
> I don't know any program to check the protocol.

>What does ffplay say? And what is the ffplay comman line you use?

With no options
Ffplay udp://192.168.0.100:1234 : 

http://pastebin.com/ZvbTDdDj

 
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


More information about the gstreamer-devel mailing list