How to change or delete metadata::description

HandBrake for Windows support
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
Locke
Posts: 3
Joined: Sat Apr 24, 2021 7:30 am

How to change or delete metadata::description

Post by Locke »

Description of problem or question:

My hardware video-grabber writes its name and software-version into the description-field of every recorded video. After cutting the video with HB that field persists. Unfortunatly my plex server is using this field to show up as content information.

So I want to delete (the content of) this description-field. Is it possible to do this with HandBrake?


HandBrake version:

1.3.3 (2020061300)


Operating system and version:

Windows 10 Pro 64bit 20H2 19042.928


HandBrake Activity Log:

Code: Select all

  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    creation_time   : 1970-01-01T00:00:00.000000Z
    encoder         : Lavf53.3.0
    comment         : Quality_GOOD
    description     : AverMedia_er130_001.001.009
Deleted User 13735

Re: How to change or delete metadata::description

Post by Deleted User 13735 »

Are you saying Handbrake "doesn't" change those tags after encoding?
Full Handbrake encoding log and MediaInfo as proof, please, then we can tackle your question.
Locke
Posts: 3
Joined: Sat Apr 24, 2021 7:30 am

Re: How to change or delete metadata::description

Post by Locke »

Yes, HB does not change the description tag after encoding. Just did a test-encoding with one minute length. Checking with VLC::Tools::Media-Infomation. The Comment-Field of the cutted video shows "AverMedia_er130_001.001.009"

Code: Select all

HandBrake 1.3.3 (2020061300)
OS: Microsoft Windows NT 10.0.19042.0
CPU: AMD Ryzen 7 3700X 8-Core Processor             
Ram: 16295 MB, 
GPU Information:
  NVIDIA GeForce RTX 2070 SUPER - 27.21.14.6611
Screen: 1920x1080
Temp Dir: C:\Users\Xxxxx\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\Xxxxx\AppData\Roaming\HandBrake

-------------------------------------------


# Starting Encode ...

[04:51:25] base preset: Xxxxxs720p
[16:51:25] hb_init: starting libhb thread
[16:51:25] Starting work at: Sat Apr 24 16:51:25 2021
[16:51:25] 1 job(s) to process
[16:51:25] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 160,
        "DRC": 0.0,
        "Encoder": "av_aac",
        "Gain": 0.0,
        "Mixdown": 4,
        "NormalizeMixLevel": false,
        "Samplerate": 0,
        "Track": 0,
        "DitherMethod": 0
      },
      {
        "Bitrate": 640,
        "DRC": 0.0,
        "Encoder": "ac3",
        "Gain": 0.0,
        "Mixdown": 4,
        "NormalizeMixLevel": false,
        "Samplerate": 0,
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      "copy:aac",
      "copy:ac3",
      "copy:dtshd",
      "copy:dts",
      "copy:eac3",
      "copy:flac",
      "copy:mp3",
      "copy:truehd"
    ],
    "FallbackEncoder": "ac3"
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Kapitel 1"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": true,
    "File": "E:Video\\1_cutted\\Testfile.mp4",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": "av_mp4"
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 4,
        "Settings": {
          "mode": "7"
        }
      },
      {
        "ID": 3,
        "Settings": {
          "block-height": "16",
          "block-thresh": "40",
          "block-width": "16",
          "filter-mode": "2",
          "mode": "3",
          "motion-thresh": "1",
          "spatial-metric": "2",
          "spatial-thresh": "1"
        }
      },
      {
        "ID": 12,
        "Settings": {
          "crop-bottom": "92",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "92",
          "height": "536",
          "width": "1280"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "2",
          "rate": "27000000/900000"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "time",
      "Start": 5400000,
      "End": 10800000
    },
    "Title": 1,
    "Path": "E:\\Video\\Captures\\testfile.mp4"
  },
  "Subtitle": {
    "Search": {
      "Burn": true,
      "Default": false,
      "Enable": true,
      "Forced": true
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": "x264",
    "Level": "3.1",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "slow",
    "Profile": "high",
    "Quality": 19.0,
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[16:51:25] CPU:
[16:51:25]  - logical processor count: 16
[16:51:25] Intel Quick Sync Video support: no
[16:51:25] hb_scan: path=E:\Video\Captures\testfile.mp4, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image E:\Video\Captures\testfile.mp4
src/libbluray/disc/disc.c:424: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:424: error opening file BDMV\BACKUP\index.bdmv
src/libbluray/bluray.c:2585: nav_get_title_list(E:\Video\Captures\testfile.mp4\) failed
[16:51:25] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.1
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[16:51:25] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'E:\Video\Captures\testfile.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    creation_time   : 1970-01-01T00:00:00.000000Z
    encoder         : Lavf53.3.0
    comment         : Quality_GOOD
    description     : AverMedia_er130_001.001.009
  Duration: 01:35:10.38, start: 0.000000, bitrate: 9187 kb/s
    Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1280x720, 9049 kb/s, 50 fps, 50 tbr, 50 tbn, 100 tbc (default)
    Metadata:
      creation_time   : 1970-01-01T00:00:00.000000Z
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 127 kb/s (default)
    Metadata:
      creation_time   : 1970-01-01T00:00:00.000000Z
      handler_name    : SoundHandler
[16:51:25] scan: decoding previews for title 1
[16:51:25] scan: audio 0x1: aac, rate=48000Hz, bitrate=127999 Unknown (AAC LC) (2.0 ch) (127 kbps)
[16:51:25] scan: 10 previews, 1280x720, 50.000 fps, autocrop = 92/92/0/0, aspect 16:9, PAR 1:1
[16:51:25] scan: supported video decoders: avcodec qsv
[16:51:25] libhb: scan thread found 1 valid title(s)
[16:51:25] Skipping subtitle scan.  No suitable subtitle tracks.
[16:51:25] Starting Task: Encoding Pass
[16:51:25] work: only 1 chapter, disabling chapter markers
[16:51:25] job configuration:
[16:51:25]  * source
[16:51:25]    + E:\Video\Captures\testfile.mp4
[16:51:25]    + title 1, start 00:01:0.00 stop 00:02:0.00
[16:51:25]    + container: mov,mp4,m4a,3gp,3g2,mj2
[16:51:25]    + data rate: 9187 kbps
[16:51:25]  * destination
[16:51:25]    + E:Video\1_cutted\Testfile.mp4
[16:51:25]    + container: MPEG-4 (libavformat)
[16:51:25]      + align initial A/V stream timestamps
[16:51:25]  * video track
[16:51:25]    + decoder: h264
[16:51:25]      + bitrate 9049 kbps
[16:51:25]    + filters
[16:51:25]      + Comb Detect (mode=3:spatial-metric=2:motion-thresh=1:spatial-thresh=1:filter-mode=2:block-thresh=40:block-width=16:block-height=16)
[16:51:25]      + Decomb (mode=39)
[16:51:25]      + Framerate Shaper (mode=2:rate=27000000/900000)
[16:51:25]        + frame rate: 50.000 fps -> peak rate limited to 30.000 fps
[16:51:25]      + Crop and Scale (width=1280:height=536:crop-top=92:crop-bottom=92:crop-left=0:crop-right=0)
[16:51:25]        + source: 1280 * 720, crop (92/92/0/0): 1280 * 536, scale: 1280 * 536
[16:51:25]    + Output geometry
[16:51:25]      + storage dimensions: 1280 x 536
[16:51:25]      + pixel aspect ratio: 1 : 1
[16:51:25]      + display dimensions: 1280 x 536
[16:51:25]    + encoder: H.264 (libx264)
[16:51:25]      + preset:  slow
[16:51:25]      + profile: high
[16:51:25]      + level:   3.1
[16:51:25]      + quality: 19.00 (RF)
[16:51:25]      + color profile: 1-1-1
[16:51:25]  * audio track 1
[16:51:25]    + decoder: Unknown (AAC LC) (2.0 ch) (127 kbps) (track 1, id 0x1)
[16:51:25]      + bitrate: 127 kbps, samplerate: 48000 Hz
[16:51:25]    + mixdown: Stereo
[16:51:25]    + dither: none
[16:51:25]    + encoder: AAC (libavcodec)
[16:51:25]      + bitrate: 160 kbps, samplerate: 48000 Hz
[16:51:25]  * audio track 2
[16:51:25]    + decoder: Unknown (AAC LC) (2.0 ch) (127 kbps) (track 1, id 0x1)
[16:51:25]      + bitrate: 127 kbps, samplerate: 48000 Hz
[16:51:25]    + mixdown: Stereo
[16:51:25]    + dither: none
[16:51:25]    + encoder: AC3 (libavcodec)
[16:51:25]      + bitrate: 640 kbps, samplerate: 48000 Hz
[16:51:25] sync: expecting 3050 video frames
[16:51:25] encx264: min-keyint: 30, keyint: 300
[16:51:25] encx264: encoding at constant RF 19.000000
[16:51:25] encx264: unparsed options: level=3.1:ref=5:direct=auto:subme=8:trellis=2:vbv-bufsize=17500:vbv-maxrate=17500:rc-lookahead=50
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x264 [info]: profile High, level 3.1, 4:2:0, 8-bit
[16:51:25] sync: first pts video is 0
[16:51:25] sync: "Kapitel 1" (1) at frame 1 time 0
[16:51:25] sync: first pts audio 0x1 is 0
[16:51:25] sync: first pts audio 0x1 is 0
[16:51:38] sync: reached video pts 5400000, exiting early
[16:51:38] sync: reached audio 0x1 pts 5400000, exiting early
[16:51:38] sync: reached audio 0x1 pts 5400000, exiting early
[16:51:39] work: average encoding speed for job is 230.641983 fps
[16:51:39] comb detect: heavy 14 | light 11 | uncombed 2975 | total 3000
[16:51:39] decomb: deinterlaced 14 | blended 11 | unfiltered 2975 | total 3000
[16:51:39] vfr: 1778 frames output, 1222 dropped and 0 duped for CFR/PFR
[16:51:39] vfr: lost time: 0 (0 frames)
[16:51:39] vfr: gained time: 0 (0 frames) (0 not accounted for)
[16:51:39] aac-decoder done: 3930 frames, 0 decoder errors
[16:51:39] aac-decoder done: 3930 frames, 0 decoder errors
[16:51:39] h264-decoder done: 4171 frames, 0 decoder errors
[16:51:39] sync: got 3000 frames, 3050 expected
[16:51:39] sync: framerate min 50.000 fps, max 50.000 fps, avg 50.000 fps
x264 [info]: frame I:18    Avg QP:13.01  size: 28470
x264 [info]: frame P:610   Avg QP:17.71  size: 13927
x264 [info]: frame B:1150  Avg QP:18.99  size:  2089
x264 [info]: consecutive B-frames: 10.0%  8.5%  8.6% 72.9%
x264 [info]: mb I  I16..4: 48.4% 44.4%  7.2%
x264 [info]: mb P  I16..4:  6.2%  8.0%  0.7%  P16..4: 35.1% 13.1%  8.0%  0.0%  0.0%    skip:29.0%
x264 [info]: mb B  I16..4:  1.0%  0.8%  0.0%  B16..8: 31.9%  1.6%  0.2%  direct: 3.2%  skip:61.4%  L0:43.1% L1:51.8% BI: 5.1%
x264 [info]: 8x8 transform intra:51.1% inter:56.0%
x264 [info]: direct mvs  spatial:99.2% temporal:0.8%
x264 [info]: coded y,uvDC,uvAC intra: 29.6% 48.2% 18.0% inter: 9.9% 18.2% 1.7%
x264 [info]: i16 v,h,dc,p: 42% 27% 18% 12%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 19% 12% 39%  5%  4%  4%  4%  6%  6%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 15% 13% 22%  8%  9%  7%  7% 10%  8%
x264 [info]: i8c dc,h,v,p: 61% 20% 13%  6%
x264 [info]: Weighted P-Frames: Y:16.1% UV:10.2%
x264 [info]: ref P L0: 61.7% 10.5% 16.7%  5.7%  4.7%  0.7%  0.0%
x264 [info]: ref B L0: 86.2% 10.2%  2.9%  0.7%
x264 [info]: ref B L1: 96.3%  3.7%
x264 [info]: kb/s:1520.59
[16:51:39] mux: track 0, 1778 frames, 11409064 bytes, 1520.36 kbps, fifo 2048
[16:51:39] mux: track 1, 2813 frames, 1208953 bytes, 161.10 kbps, fifo 2048
[16:51:39] mux: track 2, 1875 frames, 4800000 bytes, 639.64 kbps, fifo 2048
[16:51:39] Finished work at: Sat Apr 24 16:51:39 2021
[16:51:39] libhb: work result = 0

# Encode Completed ...


Deleted User 13735

Re: How to change or delete metadata::description

Post by Deleted User 13735 »

You may have found a minor bug. A dev will read this.
Locke
Posts: 3
Joined: Sat Apr 24, 2021 7:30 am

Re: How to change or delete metadata::description

Post by Locke »

Just in case a dev needs examples: I've downloaded the free BigBunny test-video from github. Then I played this video and grabbed the hdmi-sgnal with the avermedia (96 seconds). Then I cuttet a 30 second part out of it.

You'll find the files here:

BigBunny_capturedwithAverMedia.mp4
BigBunny_CuttedwithHandbrake.mp4
BigBunny_CuttedwithHandbrake.mp404-24-202118-12-51.txt
Post Reply