Skip to content

view UDP output? #2

Open
Open

Description

@jonbjohns

using liveView.py. I get feedback that my camera is unlocked and the live view stream starts, but I've been unable to view it.

I tried the capture example
ffmpeg -i 'udp://224.0.0.100:10101?&localaddr=10.100.1.100' -vcodec copy output.mp4

I get a large response. it seems like it is going, but I don't see a file generated where I triggered the command:

ffmpeg version 2023-02-02-git-7d49fef8b4-full_build-www.gyan.dev Copyright (c) 2000-2023 the FFmpeg developers
  built with gcc 12.2.0 (Rev10, Built by MSYS2 project)
  configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libaribb24 --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libjxl --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libvpl --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
  libavutil      57. 44.100 / 57. 44.100
  libavcodec     59. 61.100 / 59. 61.100
  libavformat    59. 37.100 / 59. 37.100
  libavdevice    59.  8.101 / 59.  8.101
  libavfilter     8. 56.100 /  8. 56.100
  libswscale      6.  8.112 /  6.  8.112
  libswresample   4.  9.100 /  4.  9.100
  libpostproc    56.  7.100 / 56.  7.100

I also tried using VLC and got nothing back. I've tried

udp://224.0.0.100:10101
udp://10.100.1.100
udp://10.100.1.100:5678

based on the examples in liveView.py and got no response

Activity

  1. ea commented on Feb 3, 2023

    @ea
    Owner

    Thanks for trying it out!

    Live view images/video is transmitted over multicast UDP which can be tricky to set up correctly on the client side and can be buggy. That ffmpeg command should work , but can be unstable (and might also depend on the firewall settings).

    Are you on linux ? If you can start wireshark listening on the wifi interface , you should be able to see the packets, to at least confirm that the camera is transmitting.

    Alternatively, trying a couple of times might get it working.

    I'll try to make a custom client/script that does it correctly when I get some more free time.

  2. jonbjohns commented on Feb 3, 2023

    @jonbjohns
    Author

    i'm on windows.

  3. ea commented on Feb 6, 2023

    @ea
    Owner

    Ah, ok. I'll give it a try on Windows to see if it will work. As I mentioned, multicast UDP can be problematic due to many reasons.

  4. parkerlreed commented on Apr 9, 2025

    @parkerlreed

    Same on my Illum. Live view says it started but seemingly no data even in wireshark

    [parker@parker-framework lytroctrl]$ python liveView.py -a 192.168.86.20
    Unlocking...
    644
    B5143211130
    Unlocked!
    Starting Live View stream...
    Capture example: ffmpeg -i 'udp://224.0.0.100:10101?&localaddr=192.168.86.34' -vcodec copy output.mp4
    

    (Demo "runs" but nothing ever happens on the camera)

    [parker@parker-framework lytroctrl]$ python demo.py -a 192.168.86.20
    Unlocking...
    644
    B5143211130
    Unlocked!
    Do the lens dance
    Zooming to x3.14...
    Taking photo
    
  5. parkerlreed commented on Apr 9, 2025

    @parkerlreed

    Okay so the Zoom command "works". If I'm zoomed in at all, it zooms out. Can't seem to get it to zoom in with the command (Maybe it's expecting a different value format not sure)

  6. ea commented on Apr 10, 2025

    @ea
    Owner

    Just to clear things up , are you trying this on original Lytro camerasor Lytro Illum?

  7. parkerlreed commented on Apr 10, 2025

    @parkerlreed

    This is on the Illum with the developer WiFI STA mode enabled (so I can connect it to an existing network)

    Same ports are exposed and some of the commands work but yeah not having a ton of luck.

  8. ea commented on Apr 10, 2025

    @ea
    Owner

    Very interesting. I don't have an Illum and had no idea the same tool would work, even partially.
    I've only worked with original small lytro devices. If you do any further digging, let me know!

  9. parkerlreed commented on Apr 10, 2025

    @parkerlreed

    One thing I noticed is the Take Picture here doesn't work but does if I connect the the "Communicator" software.

    Itself has other issues like being able to list the camera files but cannot download due to invalid characters in the I:/ path.

  10. baltam commented on Jul 9, 2025

    @baltam

    This is on the Illum with the developer WiFI STA mode enabled (so I can connect it to an existing network)

    Same ports are exposed and some of the commands work but yeah not having a ton of luck.

    1. Hi bro, I bought both a second-hand Lytro Illum and a first-generation Lytro Light Field Camera on the used chinese market. I can control the first-gen camera using lytroctrl and the communicator from Lytro Meltdown, but I can’t get live preview working. Interestingly, I saw in the comments that the Illum can also work with the Meltdown communicator—albeit with some issues—but after trying for a long time I still can’t connect. How did you manage to get it running?

    2. I enabled developer mode via the AEL + Lytro key sequence, but I’m a bit confused by the Wi-Fi developer menu: there’s STA mode, Screencast, and Cyclops. What do the Screencast and Cyclops options actually do, and do they need to be enabled for live preview?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions