Closed Registered55 closed 1 month ago
Do you have this box checked in the Picker?
Also I made a fix in this area in the latest 10.5 Beta release.
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: @.***>
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: @.***>
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](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) 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](ShellProperty
1 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
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.
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
Yes, it looks like the HandBrake scan doesn't recognize or surface it as metadata. You could ask them about adding the capability.
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