Re: 4GB files size limit with Sony HDR-PJ710V camcorder

[email protected] Mon, 23 May 2022 12:46:08 +0000
Newsgroups gmane.comp.multimedia.gphoto.devel
Message-ID <[email protected]>
Jeremy Jackson <[email protected]> wrote:

> Hi,
> 
> USB ID 054c:05f7 Sony Corp. HDR-PJ710V
> 
> It has a USB storage mode, and PTP mode. USB storage isn't useful since video files are split in 4GB chunks, whereas PTP mode on Windows, give the complete file.
> 
> This unit works properly with Windows 10.  I tried upgrading to Ubuntu Jammy 22.04 - libgphoto2 2.5.27, which states there is some added > 4GB file size support, but it  still shows truncated file size:
> 
> $ gphoto2 -L -f /store_00010001/2022-05-22
> There are 2 files in folder '/store_00010001/2022-05-22'.
> #1     20220522103015.MTS         rd 4194304 KB 1920x1080 video/mp4
> #2     20220522110329.MTS         rd 4194304 KB 1920x1080 video/mp4
> 

4194304*1024=4294967296.
Quoting https://en.wikipedia.org/wiki/File_Allocation_Table#FAT32 :
    Max. file size	4,294,967,295 bytes (4 GB - 1) with FAT16B and FAT32

Is it related to your message? Is it only me who doesn't understand that
piece of information was obvoius without my message?
How win10 is working?

--
u34

> It appears to be PTP device:
> 
> $ gphoto2 --auto-detect
> Model                          Port
> ----------------------------------------------------------
> USB PTP Class Camera           usb:003,005
> jjackson@mjolnir:~$ gphoto2 -a
> Abilities for camera             : USB PTP Class Camera
> Serial port support              : no
> USB support                      : yes
> Capture choices                  :
>                                   : Image
>                                   : Preview
> Configuration support            : yes
> Delete selected files on camera  : yes
> Delete all files on camera       : no
> File preview (thumbnail) support : yes
> File upload support              : yes
> 
> I'm happy to mess around with patches, or force-enabling things if someone wants to give suggestions.
> 
> 
> _______________________________________________
> Gphoto-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/gphoto-devel