Questions tagged [ptp]

Picture Transfer Protocol (PTP) is a protocol developed by the International Imaging Industry Association to allow the transfer of images from digital cameras to computers and other peripheral devices without the need of additional device drivers. The protocol has been standardised as ISO 15740.

PTP specifies a way of creating, transferring and manipulating objects which are typically photographic images such as a JPEG file. While it is common to think of the objects that PTP handle as files, they are abstract entities identified solely by a 32-bit object ID. These objects can however have parents and siblings so that a file-system–like view of device contents can be created.

Wikipedia : Picture Transfer Protocol

27 questions
10
votes
1 answer

.Net MTP / PTP Wrapper?

I'm writting a hobby project to deal with files on cameras. Previously I found issues with the camera and the FolderBrowserDialog. What I believe is happing is that the camera is using MTP or PTP (Picture Transfer Protocol not peer-to-peer). In…
NekoJoe
  • 183
  • 2
  • 9
7
votes
0 answers

Raspbian gphoto2: use live view and capture-image on the same camera?

The problem: I am running gphoto2 on a raspberry pi 4 with raspbian os lite. I am using it as a photo booth together with a canon EOS 100d cannected to USB. The cameras live view is passed to a http address with ffmpeg and motion. That works great…
MonkeyKingFlo
  • 143
  • 2
  • 7
7
votes
3 answers

How can I get a /dev/ptp0 ptp hardware clock on a VM running Linux?

I'm trying to run software which needs to get hardware timestamps using ptp. Therefore, I need to have /dev/ptp0 available. I'm running Linux/Ubuntu on a VMWare. Is there a way to make this work on a VM? Thanks!
5
votes
2 answers

Discrepancy in PTP (Precision Time Protocol) hardware Timestamping accuracy measurements

We are analyzing PTP for a control system software and measuring the accuracy of PTP clock synchronization with a small setup of 2 personal computers making one of them as a master and the other as slave. Our current setup is very crude and we do…
Dollyg
  • 317
  • 2
  • 7
4
votes
2 answers

Why TSync(Time Synchronization) is needed in Adaptive AUTOSAR?

I'm a rookie in Adaptive AUTOSAR. I can't imagine why Time Synchronization(Tysnc) is needed. System time of ECUs can be synchronized by PTP. Could you explain why Tsync is needed even though PTP synchronize time across a distributed system? Or I…
Sean
  • 51
  • 2
2
votes
1 answer

Arduino: catching events from camera via USB

I'm working on an arduino project that needs to communicate via USB with cameras. There is a great library that everyone knows of when it comes to arduino and USB: https://github.com/felis/PTP_2.0 There are lots of examples on how to use it and even…
48DESIGN
  • 31
  • 4
1
vote
1 answer

Configure PTP_Timescale parameter

I am using ptp4l on linux machine. Currently, in the pcap trace I can see that the flag for PTP_Timescale is set to False. Is there anyway, that I can configure the PTP_Timescale parameter and set it to True?
Pratul Jn
  • 69
  • 8
1
vote
0 answers

Reading ptp master offset from C code (using /dev/ptp0)

I have ptp4l and phc2sys running on my embedded device. What I need is to somehow read ptp master offset from another kernel module. Can I do it from /dev/ptp0 and how? I thoroughly study testptp.c but didn't find there a solution for reading master…
Andy
  • 187
  • 2
  • 11
1
vote
1 answer

How to get parameters of an Picture Transfer Protocol event in Windows Portable Devices?

I'm trying to support a digital camera with WPD. I have working request/data/response communication (PTP types 1,2,3), but have problems with events (type 4). From the event I need a command code (ex. 0xc102) and up to three integer parameters. I…
Krzysztof Bociurko
  • 4,575
  • 2
  • 26
  • 44
1
vote
0 answers

Image transfer from Camera to PC using PTP/IP

I am trying to Copy an Image form Canon EOS M6 to my PC over wifi using C#, I am using PTP/IP in this, so far I am able to get connected with camera, look into the SD card and get the Image Names but when I try to download them I am getting…
0
votes
0 answers

Zero conf time synchronization in a LAN

NTP seems to be the standard in time synchronization in networks where the NTP server is known, however I'm looking for a solution that would work with zero conf or avahi. In a way that devices recently added to the network could automatically…
Antoni
  • 176
  • 10
0
votes
0 answers

Audio streaming over wireless network using PTP protocol over Gstreamer

and I hope you are doing well. I have 8 client PCs and 1 master PC to stream audio over the network using RTP packets. Initially, I also need to sychronize these PC in order to avoid drifts. I connected a wired LAN to the router but no internet was…
Fatih Koç
  • 11
  • 1
0
votes
1 answer

Disable frequency synchronization while using ptp4l

On my system, i have two CPUs - CPU1 and CPU2 connected with each other using ethernet (phy-less). Each of these cpus have their own PHC (PTP hardware clock). Both of these ptp hardware clock are fed using same external clock. Thus there is no…
0
votes
0 answers

How do I configure PTP Timescale in LinuxPTP

I'm having the same issue as this question, but no one has solved it yet: Configure PTP_Timescale parameter In Wireshark, from the master side, I am seeing Sync and Followup Messages being sent, but under the flags section of the PTP Message, only…
0
votes
0 answers

How to configure linuxptp to set the system clock according to the time of a remote Grand Master using 1588?

I have an Ubuntu with linuxptp connected to a PTP Grand Master device which supports IEEE1588. I want to set the Ubuntu's system clock according to the GM clock. I don't understand how to combine ptp4l and phc2sys to do that with all the possible…
Gary
  • 1
  • 2
1
2