Tags appear in mkv File although they are deleted

Support for HandBrake on Linux, Solaris, and other Unix-like platforms
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
FordPrefect
Posts: 15
Joined: Mon Dec 19, 2016 9:44 am

Tags appear in mkv File although they are deleted

Post by FordPrefect »

I am using Handbrake 1.0.4 (x86_64) on Ubuntu Gnome 16.04.

When I load a DVD or video file, automatically some fields are filled out in the Tags section. Although I delete them before starting the job or putting the job on the waiting list, they appear later on the output file.

So far I used mkvpropedit to set the field for title empty, but now I have a file where artist etc. are filled. And with that I can't edit it with mkvpropedit.

I assume it is some bug that causes the automatically filled values for the tags to appear although they are deleted. Would be perfect if this can be fixed.
rollin_eng
Veteran User
Posts: 4840
Joined: Wed May 04, 2011 11:06 pm

Re: Tags appear in mkv File although they are deleted

Post by rollin_eng »

Could you please post your logs, instructions can be found here:

viewtopic.php?f=6&t=31236
FordPrefect
Posts: 15
Joined: Mon Dec 19, 2016 9:44 am

Re: Tags appear in mkv File although they are deleted

Post by FordPrefect »

Code: Select all

[09:24:45] gtkgui: HandBrake 1.0.4 (2017040900) - Linux x86_64 - https://handbrake.fr
[09:24:45] hb_init: starting libhb thread
[09:24:45] hb_init: starting libhb thread
[09:24:45] hb_init: starting libhb thread
[09:26:30] CPU: Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
[09:26:30]  - Intel microarchitecture Kaby Lake
[09:26:30]  - logical processor count: 4
[09:26:30] hb_scan: path=/home/jacob/Videos/Rossendorf2.mov, title_index=0
udfread ERROR: ECMA 167 Volume Recognition failed
disc.c:274: failed opening UDF image /home/jacob/Videos/Rossendorf2.mov
disc.c:352: error opening file BDMV/index.bdmv
disc.c:352: error opening file BDMV/BACKUP/index.bdmv
[09:26:30] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.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
[09:26:30] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/jacob/Videos/Rossendorf2.mov':
  Metadata:
    major_brand     : qt  
    minor_version   : 512
    compatible_brands: qt  
    creation_time   : 1970-01-01 00:00:00
    title           : NEW2
    title-eng       : NEW2
    artist          : MacX-DVD-Rip
    artist-eng      : MacX-DVD-Rip
    encoder         : DigiArty AV Encoder Core
    encoder-eng     : DigiArty AV Encoder Core
    genre           : Classic
    genre-eng       : Classic
  Duration: 00:30:31.19, start: 0.000000, bitrate: 6631 kb/s
    Stream #0:0(eng): Video: mpeg4 (Simple Profile) [mp4v / 0x7634706D]
      yuv420p, 720x540 [PAR 1:1 DAR 4:3], 6461 kb/s
      29,97 fps, 30k tbn (default)
    Metadata:
      creation_time   : 1970-01-01 00:00:00
      handler_name    : DataHandler
    Stream #0:1(eng): Audio: aac (LC) [mp4a / 0x6134706D]
      48000 Hz, stereo, fltp, 165 kb/s (default)
    Metadata:
      creation_time   : 1970-01-01 00:00:00
      handler_name    : DataHandler
[09:26:30] scan: decoding previews for title 1
[09:26:30] scan: audio 0x1: aac, rate=48000Hz, bitrate=165367 English (AAC) (2.0 ch)
[09:26:30] scan: 10 previews, 720x540, 29,970 fps, autocrop = 0/2/8/8, aspect 4:3, PAR 1:1
[09:26:30] libhb: scan thread found 1 valid title(s)
[09:29:09] gtkgui: Modified Preset: /General/Fast 1080p30
[09:29:09] 1 job(s) to process
[09:29:09] json job:
{
    "Audio": {
        "AudioList": [
            {
                "Bitrate": 160,
                "DRC": 0.0,
                "Encoder": "copy:aac",
                "Gain": 0.0,
                "Mixdown": "none",
                "Name": "Deutsch",
                "Quality": -3.0,
                "Samplerate": 0,
                "Track": 0
            }
        ],
        "CopyMask": [
            "copy:aac"
        ],
        "FallbackEncoder": "av_aac"
    },
    "Destination": {
        "ChapterList": [
            {
                "Name": ""
            }
        ],
        "ChapterMarkers": false,
        "File": "/home/jacob/Videos/Rossendorf2.mkv",
        "Mp4Options": {
            "IpodAtom": false,
            "Mp4Optimize": false
        },
        "Mux": "mkv"
    },
    "Filters": {
        "FilterList": [
            {
                "ID": 2,
                "Settings": {
                    "plane": "0",
                    "skip-bottom": "4",
                    "skip-left": "1",
                    "skip-right": "1",
                    "skip-top": "4"
                }
            },
            {
                "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": 4,
                "Settings": {
                    "mode": "7"
                }
            },
            {
                "ID": 6,
                "Settings": {
                    "mode": 2,
                    "rate": "27000000/900000"
                }
            },
            {
                "ID": 11,
                "Settings": {
                    "crop-bottom": 2,
                    "crop-left": 8,
                    "crop-right": 8,
                    "crop-top": 0,
                    "height": 538,
                    "width": 704
                }
            }
        ]
    },
    "Metadata": {},
    "PAR": {
        "Den": 1,
        "Num": 1
    },
    "SequenceID": 0,
    "Source": {
        "Angle": 0,
        "Path": "/home/jacob/Videos/Rossendorf2.mov",
        "Range": {
            "End": 1,
            "Start": 1,
            "Type": "chapter"
        },
        "Title": 1
    },
    "Subtitle": {
        "Search": {
            "Burn": true,
            "Default": false,
            "Enable": false,
            "Forced": false
        },
        "SubtitleList": []
    },
    "Video": {
        "ColorMatrixCode": 0,
        "Encoder": "x264",
        "Level": "4.0",
        "OpenCL": false,
        "Options": "",
        "Preset": "fast",
        "Profile": "main",
        "QSV": {
            "AsyncDepth": 4,
            "Decode": false
        },
        "Quality": 22.0,
        "Tune": "",
        "Turbo": false,
        "TwoPass": false
    }
}
[09:29:09] CPU: Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
[09:29:09]  - Intel microarchitecture Kaby Lake
[09:29:09]  - logical processor count: 4
[09:29:09] hb_scan: path=/home/jacob/Videos/Rossendorf2.mov, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
disc.c:274: failed opening UDF image /home/jacob/Videos/Rossendorf2.mov
disc.c:352: error opening file BDMV/index.bdmv
disc.c:352: error opening file BDMV/BACKUP/index.bdmv
[09:29:09] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.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
[09:29:09] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/jacob/Videos/Rossendorf2.mov':
  Metadata:
    major_brand     : qt  
    minor_version   : 512
    compatible_brands: qt  
    creation_time   : 1970-01-01 00:00:00
    title           : NEW2
    title-eng       : NEW2
    artist          : MacX-DVD-Rip
    artist-eng      : MacX-DVD-Rip
    encoder         : DigiArty AV Encoder Core
    encoder-eng     : DigiArty AV Encoder Core
    genre           : Classic
    genre-eng       : Classic
  Duration: 00:30:31.19, start: 0.000000, bitrate: 6631 kb/s
    Stream #0:0(eng): Video: mpeg4 (Simple Profile) [mp4v / 0x7634706D]
      yuv420p, 720x540 [PAR 1:1 DAR 4:3], 6461 kb/s
      29,97 fps, 30k tbn (default)
    Metadata:
      creation_time   : 1970-01-01 00:00:00
      handler_name    : DataHandler
    Stream #0:1(eng): Audio: aac (LC) [mp4a / 0x6134706D]
      48000 Hz, stereo, fltp, 165 kb/s (default)
    Metadata:
      creation_time   : 1970-01-01 00:00:00
      handler_name    : DataHandler
[09:29:09] scan: decoding previews for title 1
[09:29:09] scan: audio 0x1: aac, rate=48000Hz, bitrate=165367 English (AAC) (2.0 ch)
[09:29:09] scan: 10 previews, 720x540, 29,970 fps, autocrop = 0/2/8/8, aspect 4:3, PAR 1:1
[09:29:09] libhb: scan thread found 1 valid title(s)
[09:29:09] starting job
[09:29:09] decomb filter thread started for segment 0
[09:29:09] decomb filter thread started for segment 1
[09:29:09] decomb filter thread started for segment 2
[09:29:09] decomb filter thread started for segment 3
[09:29:09] decomb check thread started for segment 0
[09:29:09] decomb check thread started for segment 1
[09:29:09] decomb check thread started for segment 3
[09:29:09] mask filter thread started for segment 0
[09:29:09] mask filter thread started for segment 1
[09:29:09] mask filter thread started for segment 2
[09:29:09] yadif thread started for segment 0
[09:29:09] mask erode thread started for segment 0
[09:29:09] mask erode thread started for segment 2
[09:29:09] mask erode thread started for segment 3
[09:29:09] mask dilate thread started for segment 0
[09:29:09] mask dilate thread started for segment 1
[09:29:09] yadif thread started for segment 1
[09:29:09] mask dilate thread started for segment 2
[09:29:09] mask dilate thread started for segment 3
[09:29:09] mask filter thread started for segment 3
[09:29:09] mask erode thread started for segment 1
[09:29:09] job configuration:
[09:29:09] yadif thread started for segment 2
[09:29:09] yadif thread started for segment 3
[09:29:09]  * source
[09:29:09]    + /home/jacob/Videos/Rossendorf2.mov
[09:29:09]    + title 1, chapter(s) 1 to 1
[09:29:09]    + container: mov,mp4,m4a,3gp,3g2,mj2
[09:29:09]    + data rate: 6631 kbps
[09:29:09]  * destination
[09:29:09]    + /home/jacob/Videos/Rossendorf2.mkv
[09:29:09]    + container: Matroska (libavformat)
[09:29:09]  * video track
[09:29:09]    + decoder: mpeg4
[09:29:09]      + bitrate 6461 kbps
[09:29:09]    + filters
[09:29:09]      + Detelecine (pullup) (skip-left=1:skip-right=1:skip-top=4:skip-bottom=4:plane=0)
[09:29:09]      + 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)
[09:29:09]      + Decomb (mode=39)
[09:29:09]      + Framerate Shaper (mode=2:rate=27000000/900000)
[09:29:09]        + frame rate: 29,970 fps -> peak rate limited to 30,000 fps
[09:29:09]      + Crop and Scale (width=704:height=538:crop-top=0:crop-bottom=2:crop-left=8:crop-right=8)
[09:29:09]        + source: 720 * 540, crop (0/2/8/8): 704 * 538, scale: 704 * 538
[09:29:09]    + Output geometry
[09:29:09]      + storage dimensions: 704 x 538
[09:29:09]      + pixel aspect ratio: 1 : 1
[09:29:09]      + display dimensions: 704 x 538
[09:29:09]    + encoder: H.264 (libx264)
[09:29:09]      + preset:  fast
[09:29:09]      + profile: main
[09:29:09]      + level:   4.0
[09:29:09]      + quality: 22,00 (RF)
[09:29:09]  * audio track 1
[09:29:09]    + name: Deutsch
[09:29:09]    + decoder: English (AAC) (2.0 ch) (track 1, id 0x1)
[09:29:09]      + bitrate: 165 kbps, samplerate: 48000 Hz
[09:29:09]    + AAC Passthru
[09:29:09] decomb check thread started for segment 2
[09:29:09] sync: expecting 54880 video frames
[09:29:09] encx264: min-keyint: 30, keyint: 300
[09:29:09] encx264: encoding at constant RF 22,000000
[09:29:09] encx264: unparsed options: level=4.0:ref=2:vbv-bufsize=25000:8x8dct=0:rc-lookahead=30:vbv-maxrate=20000:subme=6:weightp=1
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
x264 [info]: profile Main, level 4.0
[09:29:09] sync: first pts video is 0
[09:29:09] sync: Chapter 1 at frame 1 time 0
[09:29:09] sync: first pts audio 0x1 is 0
[09:39:38] reader: done. 1 scr changes
[09:39:38] work: average encoding speed for job is 87,272621 fps
[09:39:38] comb detect: heavy 0 | light 16 | uncombed 54860 | total 54876
[09:39:39] decomb: deinterlaced 0 | blended 16 | unfiltered 54860 | total 54876
[09:39:39] vfr: 54876 frames output, 0 dropped and 0 duped for CFR/PFR
[09:39:39] vfr: lost time: 15015 (0 frames)
[09:39:39] vfr: gained time: 15015 (20 frames) (0 not accounted for)
[09:39:39] aac-decoder done: 85836 frames, 0 decoder errors
[09:39:39] mpeg4-decoder done: 54881 frames, 0 decoder errors
[09:39:39] sync: got 54881 frames, 54880 expected
[09:39:39] sync: framerate min 29,970 fps, max 29,970 fps, avg 29,970 fps
x264 [info]: frame I:278   Avg QP:20,23  size: 25468
x264 [info]: frame P:32384 Avg QP:23,46  size:  6791
x264 [info]: frame B:22214 Avg QP:25,37  size:  2259
x264 [info]: consecutive B-frames: 30,9% 39,5% 17,4% 12,1%
x264 [info]: mb I  I16..4: 32,7%  0,0% 67,3%
x264 [info]: mb P  I16..4:  5,2%  0,0%  2,0%  P16..4: 38,8% 15,9%  8,3%  0,0%  0,0%    skip:29,9%
x264 [info]: mb B  I16..4:  4,5%  0,0%  0,1%  B16..8: 22,5%  5,5%  0,3%  direct:12,4%  skip:54,6%  L0:35,8% L1:52,7% BI:11,5%
x264 [info]: coded y,uvDC,uvAC intra: 35,3% 13,4% 2,6% inter: 20,8% 5,7% 1,3%
x264 [info]: i16 v,h,dc,p: 31% 25% 30% 14%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 27% 17% 25%  5%  5%  6%  5%  5%  4%
x264 [info]: i8c dc,h,v,p: 81% 15%  4%  0%
x264 [info]: Weighted P-Frames: Y:21,8% UV:10,5%
x264 [info]: ref P L0: 75,4% 24,6%
x264 [info]: ref B L0: 78,7% 21,3%
x264 [info]: ref B L1: 95,6%  4,4%
x264 [info]: kb/s:1211,01
[09:39:39] mux: track 0, 54876 frames, 277188918 bytes, 1210,94 kbps, fifo 4096
[09:39:39] mux: track 1, 85836 frames, 37851871 bytes, 165,36 kbps, fifo 4096
[09:39:39] libhb: work result = 0
This is from the last Job. In the GUI I deleted all the values.
Woodstock
Veteran User
Posts: 4614
Joined: Tue Aug 27, 2013 6:39 am

Re: Tags appear in mkv File although they are deleted

Post by Woodstock »

libav fills in meta data itself. I've asked about it in the past, but handbrake isn't supplying the values being inserted.

I believe there are a few "feature requests" to allow overriding this automatic meta data.
FordPrefect
Posts: 15
Joined: Mon Dec 19, 2016 9:44 am

Re: Tags appear in mkv File although they are deleted

Post by FordPrefect »

Can one stop it from that in general?

Actually I don't want anything in there.

If I remember right, the Windows version didn't do it.
User avatar
JohnAStebbins
HandBrake Team
Posts: 5712
Joined: Sat Feb 09, 2008 7:21 pm

Re: Tags appear in mkv File although they are deleted

Post by JohnAStebbins »

This was fixed in https://github.com/HandBrake/HandBrake/ ... 8e92769e6e

But never made it into a release.
FordPrefect
Posts: 15
Joined: Mon Dec 19, 2016 9:44 am

Re: Tags appear in mkv File although they are deleted

Post by FordPrefect »

I don't get it. So there is a fix for it, but it is not implemented yet and there is no hope it will be implemented in the future?
User avatar
s55
HandBrake Team
Posts: 10350
Joined: Sun Dec 24, 2006 1:05 pm

Re: Tags appear in mkv File although they are deleted

Post by s55 »

The fix was implemented but it's not available in public releases. Only nightly builds. (I.e it'll be released in the next update sometime later this year.)
FordPrefect
Posts: 15
Joined: Mon Dec 19, 2016 9:44 am

Re: Tags appear in mkv File although they are deleted

Post by FordPrefect »

So if I install handbrake nightly it would be fixed? Good to know.
But with nightly maybe some things are buggy I guess.

Anyway thanks for your work. I really love your software.
Post Reply