RandomEngy / VidCoder

A Blu-ray, DVD and video file transcoder for Windows.
http://vidcoder.net
GNU General Public License v2.0
669 stars 42 forks source link

I have metadata passthrough, but i don't see the xyz (GPS) info in mediinfo #1238

Closed Registered55 closed 1 month ago

Registered55 commented 1 month ago

Problem Description

My original file has GPS metadata, but not in the output file

What version of VidCoder are you running?

9.20

EDIT

now running 10.5

Encode Log

VC [07:12:36] VidCoder 9.20
VC [07:12:36] Starting job 1/1
VC [07:12:36]   Source path: D:\VIDCODER\PXL_20231224_194706440.TS.mp4
VC [07:12:36]   Destination path: C:\EXCLUDE\vidcoder\PXL_20231224_194706440.TS.mp4
VC [07:12:36]   Title: 1
VC [07:12:36]   Range: All
VC [07:12:36]   Preset: Mobile 1080p 30
VC [07:12:36]   Picker: Custom
VC [07:12:36] Worker ready: Pipe 'VidCoderWorker.0b541ca2-c116-4982-8aa9-071cea0f9208' is open
VC [07:12:36] Connecting to process 11304 on pipe VidCoderWorker.0b541ca2-c116-4982-8aa9-071cea0f9208
HB [07:12:37] CPU: Unknown
[07:12:37]  - logical processor count: 12
[07:12:37] Intel Quick Sync Video support: no
[07:12:37] hb_scan: path=D:\VIDCODER\PXL_20231224_194706440.TS.mp4, title_index=1
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\VIDCODER\PXL_20231224_194706440.TS.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 131072
    compatible_brands: isomiso2mp41
    creation_time   : 2023-12-24T19:48:24.000000Z
    location        : +41.7264+13.0254/
    location-eng    : +41.7264+13.0254/
    com.android.manufacturer: Google
    com.android.model: Pixel 7
    com.android.capture.fps: 30.000000
  Duration: 00:01:16.27, start: 0.000000, bitrate: 20144 kb/s
  Stream #0:0[0x1](eng): Data: none (mett / 0x7474656D), 52 kb/s (default)
    Metadata:
      creation_time   : 2023-12-24T19:48:24.000000Z
      handler_name    : MetaHandle
  Stream #0:1[0x2](eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 192 kb/s (default)
    Metadata:
      creation_time   : 2023-12-24T19:48:24.000000Z
      handler_name    : SoundHandle
      vendor_id       : [0][0][0][0]
  Stream #0:2[0x3](eng): Video: hevc (Main) (hvc1 / 0x31637668), yuvj420p(pc, bt709), 1920x1080, 19894 kb/s, SAR 1:1 DAR 16:9, 29.99 fps, 30 tbr, 90k tbn (default)
    Metadata:
      creation_time   : 2023-12-24T19:48:24.000000Z
      handler_name    : VideoHandle
      vendor_id       : [0][0][0][0]
    Side data:
      displaymatrix: rotation of -180.00 degrees
  Stream #0:3[0x4](eng): Data: none (mett / 0x7474656D) (default)
    Metadata:
      creation_time   : 2023-12-24T19:48:24.000000Z
      handler_name    : MetaHandle
[07:12:37] scan: decoding previews for title 1
[07:12:37] Auto-Rotating video 180 degrees
HB [07:12:37] scan: audio 0x1: aac, rate=48000Hz, bitrate=192014 English (AAC LC, 2.0 ch, 192 kbps)
HB [07:12:38] scan: 20 previews, 1920x1080, 29.985 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1, color profile: 1-1-1, chroma location: left
[07:12:38] libhb: scan thread found 1 valid title(s)
HB [07:12:38] Starting work at: Mon May 20 07:12:38 2024
[07:12:38] 1 job(s) to process
[07:12:38] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 160,
        "DRC": 0,
        "Encoder": "copy",
        "Gain": 0,
        "Mixdown": 4,
        "NormalizeMixLevel": false,
        "Samplerate": 48000,
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      "copy:aac",
      "copy:mp2",
      "copy:mp3",
      "copy:flac"
    ],
    "FallbackEncoder": "av_aac"
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Chapter 1"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": true,
    "File": "C:\\EXCLUDE\\vidcoder\\PXL_20231224_194706440.TS.part.mp4",
    "Options": {
      "IpodAtom": false,
      "Optimize": false
    },
    "Mux": "av_mp4"
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 10,
        "Settings": {
          "mode": "1",
          "rate": "27000000/900000"
        }
      },
      {
        "ID": 19,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "0",
          "height": "1080",
          "width": "1920"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 1
    },
    "Title": 1,
    "Path": "D:\\VIDCODER\\PXL_20231224_194706440.TS.mp4",
    "HWDecode": 0
  },
  "Subtitle": {
    "Search": {
      "Burn": false,
      "Default": false,
      "Enable": false,
      "Forced": false
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": "x265",
    "Level": "auto",
    "MultiPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "-map_metadata 0",
    "Preset": "faster",
    "Profile": "auto",
    "Quality": 32,
    "QSV": {
      "Decode": false
    },
    "HardwareDecode": 4
  }
}
[07:12:38] Starting Task: Encoding Pass
[07:12:38] work: skipping crop/scale filter
[07:12:38] Auto Passthru: allowed codecs are AAC, MP2, MP3, FLAC
[07:12:38] Auto Passthru: fallback is AAC (avcodec)
[07:12:38] Auto Passthru: using AAC Passthru for track 1
[07:12:38] work: only 1 chapter, disabling chapter markers
[07:12:38] job configuration:
[07:12:38]  * source
[07:12:38]    + D:\VIDCODER\PXL_20231224_194706440.TS.mp4
[07:12:38]    + title 1, chapter(s) 1 to 1
[07:12:38]    + container: mov,mp4,m4a,3gp,3g2,mj2
[07:12:38]    + data rate: 20144 kbps
[07:12:38]  * destination
[07:12:38]    + C:\EXCLUDE\vidcoder\PXL_20231224_194706440.TS.part.mp4
[07:12:38]    + container: MPEG-4 (libavformat)
[07:12:38]      + align initial A/V stream timestamps
[07:12:38]  * video track
[07:12:38]    + decoder: hevc 8-bit (yuv420p)
[07:12:38]      + bitrate 19894 kbps
[07:12:38]    + filter
[07:12:38]      + Framerate Shaper (mode=1:rate=27000000/900000)
[07:12:38]        + frame rate: 29.985 fps -> constant 30.000 fps
[07:12:38]    + Output geometry
[07:12:38]      + storage dimensions: 1920 x 1080
[07:12:38]      + pixel aspect ratio: 1 : 1
[07:12:38]      + display dimensions: 1920 x 1080
[07:12:38]    + encoder: H.265 (libx265)
[07:12:38]      + preset:  faster
[07:12:38]      + options: -map_metadata 0
[07:12:38]      + profile: auto
[07:12:38]      + level:   auto
[07:12:38]      + quality: 32.00 (RF)
[07:12:38]      + color profile: 1-1-1
[07:12:38]      + chroma location: left
[07:12:38]  * audio track 1
[07:12:38]    + decoder: English (AAC LC, 2.0 ch, 192 kbps) (track 1, id 0x1)
[07:12:38]      + bitrate: 192 kbps, samplerate: 48000 Hz
[07:12:38]    + AAC Passthru
[07:12:38] sync: expecting 2287 video frames
[07:12:38] encx265: unknown option '-map_metadata 0'
x265 [info]: HEVC encoder version 3.5+1-f0c1022b6
x265 [info]: build info [Windows][GCC 13.2.0][64 bit] 8bit+10bit+12bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [info]: Main profile, Level-4 (Main tier)
x265 [info]: Thread pool created using 12 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 3 / wpp(17 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge         : hex / 57 / 2 / 2
x265 [info]: Keyframe min / max / scenecut / bias  : 30 / 300 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt        : 15 / 4 / 0
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 2 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 2 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : CRF-32.0 / 0.60
x265 [info]: tools: rd=2 psy-rd=2.00 early-skip rskip mode=1 signhide tmvp
x265 [info]: tools: fast-intra strong-intra-smoothing lslices=6 deblock sao
[07:12:38] Auto-Rotating video 180 degrees
HB [07:12:38] sync: first pts video is 0
[07:12:38] sync: "Chapter 1" (1) at frame 1 time 0
[07:12:38] sync: first pts audio 0x1 is 0
HB [07:13:05] reader: done. 1 scr changes
HB [07:13:06] work: average encoding speed for job is 81.697014 fps
HB [07:13:06] vfr: 2288 frames output, 0 dropped and 1 duped for CFR/PFR
[07:13:06] vfr: lost time: 0 (0 frames)
[07:13:06] vfr: gained time: 0 (0 frames) (0 not accounted for)
[07:13:06] aac-decoder done: 3574 frames, 0 decoder errors
[07:13:06] hevc-decoder done: 2287 frames, 0 decoder errors
[07:13:06] sync: got 2287 frames, 2287 expected
[07:13:06] sync: framerate min 29.985 fps, max 29.985 fps, avg 29.985 fps
x265 [info]: frame I:      8, Avg QP:32.30  kb/s: 11239.35
x265 [info]: frame P:    451, Avg QP:33.23  kb/s: 4076.44
x265 [info]: frame B:   1829, Avg QP:39.16  kb/s: 317.74
x265 [info]: Weighted P-Frames: Y:12.2% UV:11.3%
encoded 2288 frames in 28.28s (80.91 fps), 1096.83 kb/s, Avg QP:37.97
[07:13:06] mux: track 0, 2288 frames, 10465577 bytes, 1097.31 kbps, fifo 2048
[07:13:06] mux: track 1, 3574 frames, 1830114 bytes, 191.89 kbps, fifo 4096
[07:13:06] Finished work at: Mon May 20 07:13:06 2024
[07:13:06] libhb: work result = 0
VC E [07:13:07] Could not set encoded date on file: Microsoft.WindowsAPICodePack.COMNative.Shell.PropertySystem.PropertySystemException (0x80004005): Unable to set property.
 ---> System.Runtime.InteropServices.COMException (0x80030005): Access Denied. (0x80030005 (STG_E_ACCESSDENIED))
   at Microsoft.WindowsAPICodePack.Shell.PropertySystem.ShellPropertyWriter.WriteProperty(PropertyKey key, Object value, Boolean allowTruncatedValue)
   at Microsoft.WindowsAPICodePack.Shell.PropertySystem.ShellPropertyWriter.WriteProperty[T](ShellProperty`1 shellProperty, T value, Boolean allowTruncatedValue)
   at Microsoft.WindowsAPICodePack.Shell.PropertySystem.ShellProperty`1.set_Value(T value)
   at VidCoder.Services.ProcessingService.UpdateFileTimes(EncodeJobViewModel finishedJobViewModel, IAppLogger encodeLogger, String outputPath)
VC [07:13:07] Job completed (Elapsed Time: 30s)

and i also trued this

VC [07:20:26] VidCoder 9.20
VC [07:20:26] Starting job 1/1
VC [07:20:26]   Source path: D:\VIDCODER\PXL_20231224_194706440.TS.mp4
VC [07:20:26]   Destination path: C:\EXCLUDE\vidcoder\PXL_20231224_194706440.TS-1.mp4
VC [07:20:26]   Title: 1
VC [07:20:26]   Range: All
VC [07:20:26]   Preset: Mobile 1080p 30
VC [07:20:26]   Picker: Custom
VC [07:20:26] Worker ready: Pipe 'VidCoderWorker.157c5a47-c16a-418d-8fb1-48ffa4e67ba5' is open
VC [07:20:26] Connecting to process 9420 on pipe VidCoderWorker.157c5a47-c16a-418d-8fb1-48ffa4e67ba5
HB [07:20:26] CPU: Unknown
[07:20:26]  - logical processor count: 12
[07:20:26] Intel Quick Sync Video support: no
[07:20:26] hb_scan: path=D:\VIDCODER\PXL_20231224_194706440.TS.mp4, title_index=1
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\VIDCODER\PXL_20231224_194706440.TS.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 131072
    compatible_brands: isomiso2mp41
    creation_time   : 2023-12-24T19:48:24.000000Z
    location        : +41.7264+13.0254/
    location-eng    : +41.7264+13.0254/
    com.android.manufacturer: Google
    com.android.model: Pixel 7
    com.android.capture.fps: 30.000000
  Duration: 00:01:16.27, start: 0.000000, bitrate: 20144 kb/s
  Stream #0:0[0x1](eng): Data: none (mett / 0x7474656D), 52 kb/s (default)
    Metadata:
      creation_time   : 2023-12-24T19:48:24.000000Z
      handler_name    : MetaHandle
  Stream #0:1[0x2](eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 192 kb/s (default)
    Metadata:
      creation_time   : 2023-12-24T19:48:24.000000Z
      handler_name    : SoundHandle
      vendor_id       : [0][0][0][0]
  Stream #0:2[0x3](eng): Video: hevc (Main) (hvc1 / 0x31637668), yuvj420p(pc, bt709), 1920x1080, 19894 kb/s, SAR 1:1 DAR 16:9, 29.99 fps, 30 tbr, 90k tbn (default)
    Metadata:
      creation_time   : 2023-12-24T19:48:24.000000Z
      handler_name    : VideoHandle
      vendor_id       : [0][0][0][0]
    Side data:
      displaymatrix: rotation of -180.00 degrees
  Stream #0:3[0x4](eng): Data: none (mett / 0x7474656D) (default)
    Metadata:
      creation_time   : 2023-12-24T19:48:24.000000Z
      handler_name    : MetaHandle
[07:20:26] scan: decoding previews for title 1
[07:20:26] Auto-Rotating video 180 degrees
HB [07:20:26] scan: audio 0x1: aac, rate=48000Hz, bitrate=192014 English (AAC LC, 2.0 ch, 192 kbps)
HB [07:20:27] scan: 20 previews, 1920x1080, 29.985 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1, color profile: 1-1-1, chroma location: left
[07:20:28] libhb: scan thread found 1 valid title(s)
HB [07:20:28] Starting work at: Mon May 20 07:20:28 2024
[07:20:28] 1 job(s) to process
[07:20:28] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 160,
        "DRC": 0,
        "Encoder": "copy",
        "Gain": 0,
        "Mixdown": 4,
        "NormalizeMixLevel": false,
        "Samplerate": 48000,
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      "copy:aac",
      "copy:mp2",
      "copy:mp3",
      "copy:flac"
    ],
    "FallbackEncoder": "av_aac"
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Chapter 1"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": true,
    "File": "C:\\EXCLUDE\\vidcoder\\PXL_20231224_194706440.TS-1.part.mp4",
    "Options": {
      "IpodAtom": false,
      "Optimize": false
    },
    "Mux": "av_mp4"
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 10,
        "Settings": {
          "mode": "1",
          "rate": "27000000/900000"
        }
      },
      {
        "ID": 19,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "0",
          "height": "1080",
          "width": "1920"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 1
    },
    "Title": 1,
    "Path": "D:\\VIDCODER\\PXL_20231224_194706440.TS.mp4",
    "HWDecode": 0
  },
  "Subtitle": {
    "Search": {
      "Burn": false,
      "Default": false,
      "Enable": false,
      "Forced": false
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": "x265",
    "Level": "auto",
    "MultiPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "-map_metadata 0 -movflags use_metadata_tags",
    "Preset": "faster",
    "Profile": "auto",
    "Quality": 32,
    "QSV": {
      "Decode": false
    },
    "HardwareDecode": 4
  }
}
[07:20:28] Starting Task: Encoding Pass
[07:20:28] work: skipping crop/scale filter
[07:20:28] Auto Passthru: allowed codecs are AAC, MP2, MP3, FLAC
[07:20:28] Auto Passthru: fallback is AAC (avcodec)
[07:20:28] Auto Passthru: using AAC Passthru for track 1
[07:20:28] work: only 1 chapter, disabling chapter markers
[07:20:28] job configuration:
[07:20:28]  * source
[07:20:28]    + D:\VIDCODER\PXL_20231224_194706440.TS.mp4
[07:20:28]    + title 1, chapter(s) 1 to 1
[07:20:28]    + container: mov,mp4,m4a,3gp,3g2,mj2
[07:20:28]    + data rate: 20144 kbps
[07:20:28]  * destination
[07:20:28]    + C:\EXCLUDE\vidcoder\PXL_20231224_194706440.TS-1.part.mp4
[07:20:28]    + container: MPEG-4 (libavformat)
[07:20:28]      + align initial A/V stream timestamps
[07:20:28]  * video track
[07:20:28]    + decoder: hevc 8-bit (yuv420p)
[07:20:28]      + bitrate 19894 kbps
[07:20:28]    + filter
[07:20:28]      + Framerate Shaper (mode=1:rate=27000000/900000)
[07:20:28]        + frame rate: 29.985 fps -> constant 30.000 fps
[07:20:28]    + Output geometry
[07:20:28]      + storage dimensions: 1920 x 1080
[07:20:28]      + pixel aspect ratio: 1 : 1
[07:20:28]      + display dimensions: 1920 x 1080
[07:20:28]    + encoder: H.265 (libx265)
[07:20:28]      + preset:  faster
[07:20:28]      + options: -map_metadata 0 -movflags use_metadata_tags
[07:20:28]      + profile: auto
[07:20:28]      + level:   auto
[07:20:28]      + quality: 32.00 (RF)
[07:20:28]      + color profile: 1-1-1
[07:20:28]      + chroma location: left
[07:20:28]  * audio track 1
[07:20:28]    + decoder: English (AAC LC, 2.0 ch, 192 kbps) (track 1, id 0x1)
[07:20:28]      + bitrate: 192 kbps, samplerate: 48000 Hz
[07:20:28]    + AAC Passthru
[07:20:28] sync: expecting 2287 video frames
[07:20:28] encx265: unknown option '-map_metadata 0 -movflags use_metadata_tags'
x265 [info]: HEVC encoder version 3.5+1-f0c1022b6
x265 [info]: build info [Windows][GCC 13.2.0][64 bit] 8bit+10bit+12bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [info]: Main profile, Level-4 (Main tier)
x265 [info]: Thread pool created using 12 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 3 / wpp(17 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge         : hex / 57 / 2 / 2
x265 [info]: Keyframe min / max / scenecut / bias  : 30 / 300 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt        : 15 / 4 / 0
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 2 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 2 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : CRF-32.0 / 0.60
x265 [info]: tools: rd=2 psy-rd=2.00 early-skip rskip mode=1 signhide tmvp
x265 [info]: tools: fast-intra strong-intra-smoothing lslices=6 deblock sao
[07:20:28] Auto-Rotating video 180 degrees
HB [07:20:28] sync: first pts video is 0
[07:20:28] sync: "Chapter 1" (1) at frame 1 time 0
[07:20:28] sync: first pts audio 0x1 is 0
HB [07:20:54] reader: done. 1 scr changes
HB [07:20:55] work: average encoding speed for job is 82.844070 fps
HB [07:20:55] vfr: 2288 frames output, 0 dropped and 1 duped for CFR/PFR
[07:20:55] vfr: lost time: 0 (0 frames)
[07:20:55] vfr: gained time: 0 (0 frames) (0 not accounted for)
[07:20:55] aac-decoder done: 3574 frames, 0 decoder errors
[07:20:55] hevc-decoder done: 2287 frames, 0 decoder errors
[07:20:55] sync: got 2287 frames, 2287 expected
[07:20:55] sync: framerate min 29.985 fps, max 29.985 fps, avg 29.985 fps
x265 [info]: frame I:      8, Avg QP:32.30  kb/s: 11239.35
x265 [info]: frame P:    451, Avg QP:33.23  kb/s: 4076.44
x265 [info]: frame B:   1829, Avg QP:39.16  kb/s: 317.74
x265 [info]: Weighted P-Frames: Y:12.2% UV:11.3%
encoded 2288 frames in 27.84s (82.17 fps), 1096.83 kb/s, Avg QP:37.97
[07:20:55] mux: track 0, 2288 frames, 10465577 bytes, 1097.31 kbps, fifo 2048
[07:20:55] mux: track 1, 3574 frames, 1830114 bytes, 191.89 kbps, fifo 4096
[07:20:55] Finished work at: Mon May 20 07:20:55 2024
HB [07:20:56] libhb: work result = 0
VC E [07:20:56] Could not set encoded date on file: Microsoft.WindowsAPICodePack.COMNative.Shell.PropertySystem.PropertySystemException (0x80004005): Unable to set property.
 ---> System.Runtime.InteropServices.COMException (0x80030005): Access Denied. (0x80030005 (STG_E_ACCESSDENIED))
   at Microsoft.WindowsAPICodePack.Shell.PropertySystem.ShellPropertyWriter.WriteProperty(PropertyKey key, Object value, Boolean allowTruncatedValue)
   at Microsoft.WindowsAPICodePack.Shell.PropertySystem.ShellPropertyWriter.WriteProperty[T](ShellProperty`1 shellProperty, T value, Boolean allowTruncatedValue)
   at Microsoft.WindowsAPICodePack.Shell.PropertySystem.ShellProperty`1.set_Value(T value)
   at VidCoder.Services.ProcessingService.UpdateFileTimes(EncodeJobViewModel finishedJobViewModel, IAppLogger encodeLogger, String outputPath)
VC [07:20:56] Job completed (Elapsed Time: 29s)
RandomEngy commented 1 month ago

Do you have this box checked in the Picker?

image

Also I made a fix in this area in the latest 10.5 Beta release.

Registered55 commented 1 month ago

Yes I do, when I have a chance I will put some screen shots up.

Sent from Outlook for Androidhttps://aka.ms/AAb9ysg


From: David Rickard @.> Sent: Tuesday, May 21, 2024 9:37:29 PM To: RandomEngy/VidCoder @.> Cc: Registered55 @.>; Author @.> Subject: Re: [RandomEngy/VidCoder] I have metadata passthrough, but i don't see the xyz (GPS) info in mediinfo (Issue #1238)

Do you have this box checked in the Picker?

image.png (view on web)https://github.com/RandomEngy/VidCoder/assets/9450861/bd360136-4926-4188-9245-84d759745041

Also I made a fix in this area in the latest 10.5 Beta release.

— Reply to this email directly, view it on GitHubhttps://github.com/RandomEngy/VidCoder/issues/1238#issuecomment-2123401261, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A3JPIEPKF7AMYQ3N6BE6TETZDOWATAVCNFSM6AAAAABH7DZ6SKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRTGQYDCMRWGE. You are receiving this because you authored the thread.Message ID: @.***>

Registered55 commented 1 month ago

Did you see the log file I gave you on this ticket, at the end of the log file there is an error.

I think this has something to do with the other ticket I opened about preserving the creation date of the file. Which right now is not working 100%

The modified date is working, but the creation date is not.

Sent from Outlook for Androidhttps://aka.ms/AAb9ysg


From: junior sullivan @.> Sent: Wednesday, May 22, 2024 6:28:40 AM To: RandomEngy/VidCoder @.> Subject: Re: [RandomEngy/VidCoder] I have metadata passthrough, but i don't see the xyz (GPS) info in mediinfo (Issue #1238)

Yes I do, when I have a chance I will put some screen shots up.

Sent from Outlook for Androidhttps://aka.ms/AAb9ysg


From: David Rickard @.> Sent: Tuesday, May 21, 2024 9:37:29 PM To: RandomEngy/VidCoder @.> Cc: Registered55 @.>; Author @.> Subject: Re: [RandomEngy/VidCoder] I have metadata passthrough, but i don't see the xyz (GPS) info in mediinfo (Issue #1238)

Do you have this box checked in the Picker?

image.png (view on web)https://github.com/RandomEngy/VidCoder/assets/9450861/bd360136-4926-4188-9245-84d759745041

Also I made a fix in this area in the latest 10.5 Beta release.

— Reply to this email directly, view it on GitHubhttps://github.com/RandomEngy/VidCoder/issues/1238#issuecomment-2123401261, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A3JPIEPKF7AMYQ3N6BE6TETZDOWATAVCNFSM6AAAAABH7DZ6SKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRTGQYDCMRWGE. You are receiving this because you authored the thread.Message ID: @.***>

Registered55 commented 1 month ago

image

VC [05:30:38] VidCoder 10.5 Beta VC [05:30:38] Starting job 1/1 VC [05:30:38] Source path: D:\VIDCODER\PXL_20240108_222751316.TS.mp4 VC [05:30:38] Destination path: C:\EXCLUDE\vidcoder\PXL_20240108_222751316.TS.mp4 VC [05:30:38] Title: 1 VC [05:30:38] Range: All VC [05:30:38] Preset: Mobile 1080p 30 VC [05:30:38] Picker: Custom VC [05:30:38] Worker ready: Pipe 'VidCoderWorker.68de220b-fbd2-4cb4-a881-8f9c56c95d6b' is open VC [05:30:38] Connecting to process 13524 on pipe VidCoderWorker.68de220b-fbd2-4cb4-a881-8f9c56c95d6b HB [05:30:39] CPU: Unknown [05:30:39] - logical processor count: 12 [05:30:39] Intel Quick Sync Video support: no [05:30:39] hb_scan: path=D:\VIDCODER\PXL_20240108_222751316.TS.mp4, title_index=1 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\VIDCODER\PXL_20240108_222751316.TS.mp4': Metadata: major_brand : isom minor_version : 131072 compatible_brands: isomiso2mp41 creation_time : 2024-01-08T22:28:03.000000Z location : +50.8278-0.1413/ location-eng : +50.8278-0.1413/ com.android.manufacturer: Google com.android.model: Pixel 7 com.android.capture.fps: 30.000000 Duration: 00:00:09.24, start: 0.000000, bitrate: 20033 kb/s Stream #0:00x1: Data: none (mett / 0x7474656D), 47 kb/s (default) Metadata: creation_time : 2024-01-08T22:28:03.000000Z handler_name : MetaHandle Stream #0:10x2: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 192 kb/s (default) Metadata: creation_time : 2024-01-08T22:28:03.000000Z handler_name : SoundHandle vendor_id : [0][0][0][0] Stream #0:20x3: Video: hevc (Main) (hvc1 / 0x31637668), yuvj420p(pc, bt709), 1920x1080, 19787 kb/s, SAR 1:1 DAR 16:9, 29.99 fps, 120 tbr, 90k tbn (default) Metadata: creation_time : 2024-01-08T22:28:03.000000Z handler_name : VideoHandle vendor_id : [0][0][0][0] Side data: displaymatrix: rotation of -90.00 degrees Stream #0:30x4: Data: none (mett / 0x7474656D) (default) Metadata: creation_time : 2024-01-08T22:28:03.000000Z handler_name : MetaHandle [05:30:39] scan: decoding previews for title 1 [05:30:39] Auto-Rotating video 270 degrees HB [05:30:39] scan: audio 0x1: aac, rate=48000Hz, bitrate=192159 English (AAC LC, 2.0 ch, 192 kbps) HB [05:30:39] scan: 20 previews, 1080x1920, 29.989 fps, autocrop = 0/0/0/0, aspect 1:1.78, PAR 1:1, color profile: 1-1-1, chroma location: left [05:30:39] libhb: scan thread found 1 valid title(s) HB [05:30:40] Starting work at: Fri May 24 05:30:40 2024 [05:30:40] 1 job(s) to process [05:30:40] json job: { "Audio": { "AudioList": [ { "Bitrate": 160, "DRC": 0, "Encoder": "copy", "Gain": 0, "Mixdown": 4, "NormalizeMixLevel": false, "Samplerate": 48000, "Track": 0, "DitherMethod": 0 } ], "CopyMask": [ "copy:aac", "copy:mp2", "copy:mp3", "copy:flac" ], "FallbackEncoder": "av_aac" }, "Destination": { "ChapterList": [ { "Name": "Chapter 1" } ], "ChapterMarkers": true, "AlignAVStart": true, "File": "C:\EXCLUDE\vidcoder\PXL_20240108_222751316.TS.part.mp4", "Options": { "IpodAtom": false, "Optimize": false }, "Mux": "av_mp4" }, "Filters": { "FilterList": [ { "ID": 11, "Settings": { "mode": "1", "rate": "27000000/900000" } }, { "ID": 20, "Settings": { "crop-bottom": "0", "crop-left": "0", "crop-right": "0", "crop-top": "0", "height": "1920", "width": "1080" } } ] }, "PAR": { "Num": 1, "Den": 1 }, "Metadata": {}, "SequenceID": 0, "Source": { "Angle": 1, "Range": { "Type": "chapter", "Start": 1, "End": 1 }, "Title": 1, "Path": "D:\VIDCODER\PXL_20240108_222751316.TS.mp4", "HWDecode": 0 }, "Subtitle": { "Search": { "Burn": false, "Default": false, "Enable": false, "Forced": false }, "SubtitleList": [] }, "Video": { "Encoder": "x265", "Level": "auto", "MultiPass": false, "Turbo": false, "ColorMatrixCode": 0, "Options": "-map_metadata 0 -movflags use_metadata_tags", "Preset": "faster", "Profile": "auto", "Quality": 32, "QSV": { "Decode": false }, "HardwareDecode": 4 } } [05:30:40] Starting Task: Encoding Pass [05:30:40] work: skipping crop/scale filter [05:30:40] Auto Passthru: allowed codecs are AAC, MP2, MP3, FLAC [05:30:40] Auto Passthru: fallback is AAC (avcodec) [05:30:40] Auto Passthru: using AAC Passthru for track 1 [05:30:40] work: only 1 chapter, disabling chapter markers [05:30:40] job configuration: [05:30:40] source [05:30:40] + D:\VIDCODER\PXL_20240108_222751316.TS.mp4 [05:30:40] + title 1, chapter(s) 1 to 1 [05:30:40] + container: mov,mp4,m4a,3gp,3g2,mj2 [05:30:40] + data rate: 20033 kbps [05:30:40] destination [05:30:40] + C:\EXCLUDE\vidcoder\PXL_20240108_222751316.TS.part.mp4 [05:30:40] + container: MPEG-4 (libavformat) [05:30:40] + align initial A/V stream timestamps [05:30:40] video track [05:30:40] + decoder: hevc 8-bit (yuv420p) [05:30:40] + bitrate 19787 kbps [05:30:40] + filter [05:30:40] + Framerate Shaper (mode=1:rate=27000000/900000) [05:30:40] + frame rate: 29.989 fps -> constant 30.000 fps [05:30:40] + Output geometry [05:30:40] + storage dimensions: 1080 x 1920 [05:30:40] + pixel aspect ratio: 1 : 1 [05:30:40] + display dimensions: 1080 x 1920 [05:30:40] + encoder: H.265 (libx265) [05:30:40] + preset: faster [05:30:40] + options: -map_metadata 0 -movflags use_metadata_tags [05:30:40] + profile: auto [05:30:40] + level: auto [05:30:40] + quality: 32.00 (RF) [05:30:40] + color profile: 1-1-1 [05:30:40] + color range: tv [05:30:40] + chroma location: left [05:30:40] audio track 1 [05:30:40] + decoder: English (AAC LC, 2.0 ch, 192 kbps) (track 1, id 0x1) [05:30:40] + bitrate: 192 kbps, samplerate: 48000 Hz [05:30:40] + AAC Passthru [05:30:40] sync: expecting 277 video frames [05:30:40] encx265: unknown option '-map_metadata 0 -movflags use_metadata_tags' x265 [info]: HEVC encoder version 3.6+1-aa7f602f7 x265 [info]: build info [Windows][GCC 13.2.0][64 bit] 8bit+10bit+12bit x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 x265 [info]: Main profile, Level-4 (Main tier) x265 [info]: Thread pool created using 12 threads x265 [info]: Slices : 1 x265 [info]: frame threads / pool features : 3 / wpp(30 rows) x265 [info]: Coding QT: max CU size, min CU size : 64 / 8 x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra x265 [info]: ME / range / subpel / merge : hex / 57 / 2 / 2 x265 [info]: Keyframe min / max / scenecut / bias : 30 / 300 / 40 / 5.00 x265 [info]: Lookahead / bframes / badapt : 15 / 4 / 0 x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 0 x265 [info]: References / ref-limit cu / depth : 2 / on / on x265 [info]: AQ: mode / str / qg-size / cu-tree : 2 / 1.0 / 32 / 1 x265 [info]: Rate Control / qCompress : CRF-32.0 / 0.60 x265 [info]: tools: rd=2 psy-rd=2.00 early-skip rskip mode=1 signhide tmvp x265 [info]: tools: fast-intra strong-intra-smoothing lslices=8 deblock sao [05:30:40] Auto-Rotating video 270 degrees [05:30:40] sync: first pts video is 0 [05:30:40] sync: "Chapter 1" (1) at frame 1 time 0 [05:30:40] sync: first pts audio 0x1 is 0 HB [05:30:42] reader: done. 1 scr changes HB [05:30:44] work: average encoding speed for job is 0.000000 fps HB [05:30:44] vfr: 277 frames output, 0 dropped and 0 duped for CFR/PFR [05:30:44] vfr: lost time: 0 (0 frames) [05:30:44] vfr: gained time: 0 (0 frames) (0 not accounted for) [05:30:44] aac-decoder done: 432 frames, 0 decoder errors [05:30:44] hevc-decoder done: 277 frames, 0 decoder errors [05:30:44] sync: got 277 frames, 277 expected [05:30:44] sync: framerate min 29.989 fps, max 29.989 fps, avg 29.989 fps x265 [info]: frame I: 4, Avg QP:33.83 kb/s: 1787.70 x265 [info]: frame P: 55, Avg QP:34.34 kb/s: 1375.68 x265 [info]: frame B: 218, Avg QP:37.67 kb/s: 620.37 x265 [info]: Weighted P-Frames: Y:7.3% UV:7.3% encoded 277 frames in 4.18s (66.33 fps), 787.20 kb/s, Avg QP:36.96 [05:30:44] mux: track 0, 277 frames, 909667 bytes, 785.32 kbps, fifo 512 [05:30:44] mux: track 1, 432 frames, 221463 bytes, 191.19 kbps, fifo 512 [05:30:44] Finished work at: Fri May 24 05:30:44 2024 HB [05:30:44] libhb: work result = 0 VC E [05:30:44] Could not set encoded date on file: Microsoft.WindowsAPICodePack.COMNative.Shell.PropertySystem.PropertySystemException (0x80004005): Unable to set property. ---> System.Runtime.InteropServices.COMException (0x80030005): Access Denied. (0x80030005 (STG_E_ACCESSDENIED)) at Microsoft.WindowsAPICodePack.Shell.PropertySystem.ShellPropertyWriter.WriteProperty(PropertyKey key, Object value, Boolean allowTruncatedValue) at Microsoft.WindowsAPICodePack.Shell.PropertySystem.ShellPropertyWriter.WriteProperty[T](ShellProperty1 shellProperty, T value, Boolean allowTruncatedValue) at Microsoft.WindowsAPICodePack.Shell.PropertySystem.ShellProperty1.set_Value(T value) at VidCoder.Services.ProcessingService.UpdateFileTimes(EncodeJobViewModel finishedJobViewModel, IAppLogger encodeLogger, String outputPath) in C:\git\VidCoder\VidCoder\Services\ProcessingService.cs:line 2620 VC [05:30:44] Job completed (Elapsed Time: 5s)

the gps xyz meta data is not being passed I don't think.

also the end of the log something wrong

VC E [05:30:44] Could not set encoded date on file: Microsoft.WindowsAPICodePack.COMNative.Shell.PropertySystem.PropertySystemException (0x80004005): Unable to set property. ---> System.Runtime.InteropServices.COMException (0x80030005): Access Denied. (0x80030005 (STG_E_ACCESSDENIED)) at Microsoft.WindowsAPICodePack.Shell.PropertySystem.ShellPropertyWriter.WriteProperty(PropertyKey key, Object value, Boolean allowTruncatedValue) at Microsoft.WindowsAPICodePack.Shell.PropertySystem.ShellPropertyWriter.WriteProperty[T](ShellProperty1 shellProperty, T value, Boolean allowTruncatedValue) at Microsoft.WindowsAPICodePack.Shell.PropertySystem.ShellProperty1.set_Value(T value) at VidCoder.Services.ProcessingService.UpdateFileTimes(EncodeJobViewModel finishedJobViewModel, IAppLogger encodeLogger, String outputPath) in C:\git\VidCoder\VidCoder\Services\ProcessingService.cs:line 2620

RandomEngy commented 1 month ago

Yeah I did see that error. That's only for setting the encoded date metadata, and you're having an issue with different metadata.

I can see by the logs that the final file isn't getting any metadata: "Metadata": {},

Can you post the log from scanning the source? That should tell me what metadata the HandBrake library found on the source file. That can tell me what kind of metadata HandBrake is reading from the source file.

I tested recently and it looks like VidCoder did pass through all the metadata returned by HandBrake.

Registered55 commented 1 month ago

VC [07:26:35] VidCoder 10.5 Beta

VC [07:26:35] Starting scan: C:\EXCLUDE\vidcoder\input\PXL_20240108_222751316.TS.mp4 HB [07:26:35] hb_init: starting libhb thread HB [07:26:35] CPU: Unknown HB [07:26:35] - logical processor count: 12 HB [07:26:35] Intel Quick Sync Video support: no HB [07:26:35] hb_scan: path=C:\EXCLUDE\vidcoder\input\PXL_20240108_222751316.TS.mp4, title_index=0 HB Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\EXCLUDE\vidcoder\input\PXL_20240108_222751316.TS.mp4': HB Metadata: HB major_brand : isom HB minor_version : 131072 HB compatible_brands: isomiso2mp41 HB creation_time : 2024-01-08T22:28:03.000000Z HB location : +50.8278-0.1413/ HB location-eng : +50.8278-0.1413/ HB com.android.manufacturer: Google HB com.android.model: Pixel 7 HB com.android.capture.fps: 30.000000 HB Duration: 00:00:09.24, start: 0.000000, bitrate: 20033 kb/s HB Stream #0:00x1: Data: none (mett / 0x7474656D), 47 kb/s (default) HB Metadata: HB creation_time : 2024-01-08T22:28:03.000000Z HB handler_name : MetaHandle HB Stream #0:10x2: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 192 kb/s (default) HB Metadata: HB creation_time : 2024-01-08T22:28:03.000000Z HB handler_name : SoundHandle HB vendor_id : [0][0][0][0] HB Stream #0:20x3: Video: hevc (Main) (hvc1 / 0x31637668), yuvj420p(pc, bt709), 1920x1080, 19787 kb/s, SAR 1:1 DAR 16:9, 29.99 fps, 120 tbr, 90k tbn (default) HB Metadata: HB creation_time : 2024-01-08T22:28:03.000000Z HB handler_name : VideoHandle HB vendor_id : [0][0][0][0] HB Side data: HB displaymatrix: rotation of -90.00 degrees HB Stream #0:30x4: Data: none (mett / 0x7474656D) (default) HB Metadata: HB creation_time : 2024-01-08T22:28:03.000000Z HB handler_name : MetaHandle HB [07:26:35] scan: decoding previews for title 1 HB [07:26:35] Auto-Rotating video 270 degrees HB [07:26:35] scan: audio 0x1: aac, rate=48000Hz, bitrate=192159 English (AAC LC, 2.0 ch, 192 kbps) HB [07:26:36] scan: 20 previews, 1080x1920, 29.989 fps, autocrop = 0/0/0/0, aspect 1:1.78, PAR 1:1, color profile: 1-1-1, chroma location: left HB [07:26:36] libhb: scan thread found 1 valid title(s) VC [07:26:36] Titles JSON: { "MainFeature": 0, "TitleList": [ { "AngleCount": 1, "AudioList": [ { "Attributes": { "AltCommentary": false, "Commentary": false, "Default": true, "Normal": false, "Secondary": false, "VisuallyImpaired": false }, "BitRate": 192159, "ChannelCount": 2, "ChannelLayout": 3, "ChannelLayoutName": "stereo", "Codec": 65536, "CodecName": "aac", "CodecParam": 86018, "Description": "English (AAC LC, 2.0 ch, 192 kbps)", "LFECount": 0, "Language": "English", "LanguageCode": "eng", "SampleRate": 48000, "TrackNumber": 1 } ], "ChapterList": [ { "Duration": { "Hours": 0, "Minutes": 0, "Seconds": 9, "Ticks": 831301 }, "Name": "" } ], "Color": { "BitDepth": 8, "ChromaLocation": 1, "ChromaSubsampling": "4:2:0", "Format": 12, "Matrix": 1, "Primary": 1, "Range": 2, "Transfer": 1 }, "Container": "mov,mp4,m4a,3gp,3g2,mj2", "Crop": [ 0, 0, 0, 0 ], "Duration": { "Hours": 0, "Minutes": 0, "Seconds": 9, "Ticks": 831301 }, "FrameRate": { "Den": 900325, "Num": 27000000 }, "Geometry": { "Height": 1920, "PAR": { "Den": 1, "Num": 1 }, "Width": 1080 }, "Index": 1, "InterlaceDetected": false, "LooseCrop": [ 0, 0, 0, 0 ], "Metadata": {}, "Name": "PXL_20240108_222751316.TS", "Path": "C:\EXCLUDE\vidcoder\input\PXL_20240108_222751316.TS.mp4", "Playlist": -1, "SubtitleList": [], "Type": 3, "VideoCodec": "hevc" } ] } VC [07:26:36] Scan completed

maybe handbrake itself just doesn't pass thru this kind of metadata?

I hope this is not the case, GPS data is very important for mobile pictures/Videos

RandomEngy commented 1 month ago

Yes, it looks like the HandBrake scan doesn't recognize or surface it as metadata. You could ask them about adding the capability.