This forum has been archived. All content is frozen. Please use KDE Discuss instead.

kde connect file transfer problems with .mp4

Tags: None
(comma "," separated)
elves_not_elvis
Registered Member
Posts
3
Karma
0
When I transfer large video files from my Android to kubuntu desktop the file is often corrupted when it arrives on my desktop. After setting up KDE Connect, I'm using drag-n-drop in Dolphin.

Looking for 'proper' instructions for transferring larger files or diagnostic help.
IIVQ
Registered Member
Posts
2
Karma
0
I have a similar problem, in that files I transfer from my phone to my computer become malformed.

I found this out with GPX files:
A file I transfer starts out ok:
Code: Select all
<?xml version='1.0' encoding='UTF-8' standalone='yes' ?>
<gpx version="1.1" creator="OsmAnd+ 3.8.4" xmlns="http://www.topografix.com/GPX/1/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd">
  <metadata>
    <name>2021-01-26_14-06_Tue</name>
  </metadata>
  <trk>
    <trkseg>
      <trkpt lat="52.2957534" lon="4.9318865">
        <ele>9.21</ele>
        <time>2021-01-26T13:06:45Z</time>
        <hdop>4.288</hdop>
      </trkpt>
      <trkpt lat="52.2957401" lon="4.9318984">
        <ele>7.21</ele>
        <time>2021-01-26T13:06:46Z</time>
        <hdop>4.288</hdop>
      </trkpt>
      <trkpt lat="52.2957471" lon="4.931846">
        <ele>3.21</ele>
        <time>2021-01-26T13:06:47Z</time>
        <hdop>4.288</hdop>
        <extensions>
          <speed>0.61</speed>
        </extensions>
      </trkpt>

And then after about 10 pages of trkpt's:
Code: Select all
      <trkpt lat="52.2942788" lon="4.9331423">
        <ele>-5.79</ele>
        <time>2021-01-26T13:09:10Z</time>
        <hdop>4.288</hdop>
      </trkpt>
      <trkpt lat="52.2942787" lon="4.9331424">
        <ele>-5.79</ele>
        <time>2021-01-26T13:09:11Z</time>
        <hdop>4.288</hdop>
      </trkpt>
      <trkpt lat="52.2942693" lon="4.9331452">
        <ele>-6.79</ele>
        <time>2021-01-26T13:09:12Z</time>
        <hdop>4.288</<?xml version='1.0' encoding='UTF-8' standalone='yes' ?>
<gpx version="1.1" creator="OsmAnd+ 3.8.4" xmlns="http://www.topografix.com/GPX/1/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd">
  <metadata>
    <name>2021-01-26_14-06_Tue</name>
  </metadata>
  <trk>
    <trkseg>
      <trkpt lat="52.2957534" lon="4.9318865">
        <ele>9.21</ele>
        <time>2021-01-26T13:06:45Z</time>
        <hdop>4.288</hdop>
      </trkpt>
      <trkpt lat="52.2957401" lon="4.9318984">
        <ele>7.21</ele>
        <time>2021-01-26T13:06:46Z</time>
        <hdop>4.288</hdop>
      </trkpt>


End of the file:
Code: Select all
      <trkpt lat="52.321423" lon="4.9776694">
        <ele>-9.79</ele>
        <time>2021-01-26T15:01:20Z</time>
        <hdop>4.288</hdop>
      </trkpt>
      <trkpt lat="52.3214221" lon="4.9776708">
        <ele>-10.79</ele>
        <time>2021-01-26T15:01:21Z</time>
        <hdop>5.36</hdop>


So what happens is that after a few kilobyte of data, the file is started anew, and at the end of the file, it's truncated.
The restart happens after exactly byte 32768 or 32 kiB
The truncation also happens 32768 bytes before the end of file.
The file size of the file on the device (checked on-device with FX file editor) and on my computer after copying are exactly the same (684710 byte)

I copied a 3GP file over, and found the exact same when inspecting with a hex editor, after 32KiB the header repeated itself.

I have an android phone and an android tablet. This seems to happen only on the phone (On both internal memory and SD), and not on the tablet.
Phone:
Moto G5 Plus (XT1685)
Android 8.1.0
Kernel 3.18.71-perf-g7b625a0
KDE connect 1.16.0

Tablet:
Lenovo TB-8504X
Android 8.1.0
Kernel 3.18.71
KDE connect 1.14.2

I then (manually) updated my tablet to KDE connect 1.16.0 and ... lo and behold ... it also has the files being reset after 32KiB as above.
I use KDEconnect-app v1.0, KDEconnect-cli and -handler v1.4.0 on KDE
IIVQ
Registered Member
Posts
2
Karma
0


Bookmarks



Who is online

Registered users: Bing [Bot], daret, Google [Bot], sandyvee, Sogou [Bot]