LUMIX GX80 UDP Streaming
Re: LUMIX GX80 UDP Streaming
Thanks you plouf i test this ...
Re: LUMIX GX80 UDP Streaming
I save the flux in file for my test : https://gofile.io/d/l69fcJ
I use
FFD8 and FFD9 is start and end of picture (Normally)
then how to find ?!
I don't understand anything in binary
I use
Code: Select all
Data$=FiltToSting()
FindStr(Data$,"FFD8",False,0,#ENCODING_RAW) <= no work
FFD8 and FFD9 is start and end of picture (Normally)
then how to find ?!
I don't understand anything in binary
Re: LUMIX GX80 UDP Streaming
is this part of image (a table ?) what is should display ?
https://pasteboard.co/JwyJzzC.jpg
, i used ffmpeg to decode images using ffmpeg -i lumix_flux -vcodec copy frame%d.jpg and cot above image15 times
all frames are "cut" in 8192 bytes, and image is corrupted, so i guess you are get them with hollywood receiveudp wich limits to 8kb (by default) but each frame (and each udp packet is a frame here ) was cut in the 8kb limit you should increade size in receiveudp to get bigger images
https://pasteboard.co/JwyJzzC.jpg
, i used ffmpeg to decode images using ffmpeg -i lumix_flux -vcodec copy frame%d.jpg and cot above image15 times
all frames are "cut" in 8192 bytes, and image is corrupted, so i guess you are get them with hollywood receiveudp wich limits to 8kb (by default) but each frame (and each udp packet is a frame here ) was cut in the 8kb limit you should increade size in receiveudp to get bigger images
Christos
Re: LUMIX GX80 UDP Streaming
I test
FFmpeg -i lumix_flux -vcodec copy ram:frame%d.jpg
lumix_flux: Invalid data found when processing input
FFmpeg -i lumix_flux -vcodec copy ram:frame%d.jpg
lumix_flux: Invalid data found when processing input
Re: LUMIX GX80 UDP Streaming
Rename it to lumix_flux.mjpeg and use ffmpeg from aminet latest git version (dated 2012) thats what i ise
In amiga (also in pc works too)
In amiga (also in pc works too)
Christos
Re: LUMIX GX80 UDP Streaming
Yes it work !
I recreate the file and I have around 70 images but only half visible
I use data$ = receiveudpdata(af, 65536)
I recreate the file and I have around 70 images but only half visible
I use data$ = receiveudpdata(af, 65536)
Re: LUMIX GX80 UDP Streaming
May be a bug with the ReceiveUDPDdata () function
Re: LUMIX GX80 UDP Streaming
i think you should test it wih a faster computer (PC ?) first to verify if there data are correct
additionally you may use a known to work tool, like tcpdump, in the faster PC to verify if this one receives correct data
these additional information will help you understand what is going on
additionally you may use a known to work tool, like tcpdump, in the faster PC to verify if this one receives correct data
these additional information will help you understand what is going on
Christos
Re: LUMIX GX80 UDP Streaming
I tested FFPlay on AmigaOs4 and work perfectly
the problem comes from ReceiveUDPData(id, Size) <= size is allways 8192
the problem comes from ReceiveUDPData(id, Size) <= size is allways 8192
-
- Posts: 475
- Joined: Fri May 15, 2015 5:15 pm
- Location: Waterville, Minnesota USA
Re: LUMIX GX80 UDP Streaming
UDP packets have a header and the size with the header not included is a maximum of 65527 bytes because of the 8-byte header.
I'm on registered MorphOS using FlowStudio.