Suggestion to notify when the original source is not correct.

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
PajiAlfa
Posts: 23
Joined: Sat Mar 04, 2017 1:20 am

Suggestion to notify when the original source is not correct.

Post by PajiAlfa »

Description of problem or question:
It does not warn when the converted file has a very different time than the original.
Original example that takes 25 minutes and a result that gives 5 minutes.



Steps to reproduce the problem (If Applicable):
When an MP4 is incorrect, it has a time marked that does not correspond to the actual one.




HandBrake version (e.g., 1.0.0):
1.3.0



Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update):
Windows NT 10.0.18362.0



HandBrake Activity Log ***required*** (see How-to get an activity log)

Code: Select all

Please replace this text with the contents of your log file between the two code tags - OR -  provide a pastebin URL in place of these 3 lines.
The problem is to have a bad origin. The conversion does well until the part that the video is correct. And it marks the time where the original cut the reproduction although that was the minute 20 of 40.

What I mean is that it would be nice to notify you that the source is corrupt by not matching the time of your metadata with the result.
PajiAlfa
Posts: 23
Joined: Sat Mar 04, 2017 1:20 am

Re: Suggestion to notify when the original source is not correct.

Post by PajiAlfa »

Example of one of the videos with which it happened.
I did not add in the original post because it does not allow editing.

Code: Select all

HandBrake 1.3.0 (2019110900)
OS: Microsoft Windows NT 10.0.18362.0
CPU: Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz
Ram: 16334 MB, 
GPU Information:
  NVIDIA GeForce GTX 1060 6GB - 26.21.14.3086
Screen: 1920x1080
Temp Dir: D:\TEMPORAL\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\YinYan\AppData\Roaming\HandBrake

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


# Starting Encode ...

[09:55:01] hb_init: starting libhb thread
[09:55:01] Starting work at: Wed Nov 13 09:55:01 2019
[09:55:01] 1 job(s) to process
[09:55:01] json job:
{
  "Audio": {
    "AudioList": [
      {
        "DRC": 0.0,
        "Encoder": "copy",
        "Gain": 0.0,
        "Mixdown": -1,
        "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": "Chapter 1"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": true,
    "File": "H:\\Convertidas\\HandBrake\\Krazy Kinsley 1080p.mp4",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": "mp4"
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 12,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "0",
          "height": "1072",
          "width": "1920"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "0"
        }
      }
    ]
  },
  "PAR": {
    "Num": 134,
    "Den": 135
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 1
    },
    "Title": 57,
    "Path": "I:\\mofos\\Krazy Kinsley 1080p.mp4"
  },
  "Subtitle": {
    "Search": {
      "Burn": true,
      "Default": false,
      "Enable": true,
      "Forced": true
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": "nvenc_h265",
    "Level": "auto",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "slow",
    "Profile": "auto",
    "Quality": 30.0,
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[09:55:01] CPU: Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz
[09:55:01]  - Intel microarchitecture Haswell
[09:55:01]  - logical processor count: 8
[09:55:01] Intel Quick Sync Video support: no
[09:55:01] hb_scan: path=I:\mofos\Krazy Kinsley 1080p.mp4, title_index=57
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image I:\mofos\Krazy Kinsley 1080p.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(I:\mofos\Krazy Kinsley 1080p.mp4\) failed
[09:55:01] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.1
libdvdread: Encrypted DVD support unavailable.
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:55:01] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'I:\mofos\Krazy Kinsley 1080p.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf58.30.100
  Duration: 00:34:16.26, start: 0.000000, bitrate: 3748 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 8850 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 210 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
[09:55:01] scan: decoding previews for title 57
[09:55:01] scan: audio 0x1: aac, rate=48000Hz, bitrate=210166 Unknown (AAC LC) (2.0 ch) (210 kbps)
[09:55:01] Warning: Could not read data for preview 7, skipped
[09:55:01] scan: 6 previews, 1920x1080, 23.976 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[09:55:01] scan: supported video decoders: avcodec qsv
[09:55:01] libhb: scan thread found 1 valid title(s)
[09:55:01] Skipping subtitle scan.  No suitable subtitle tracks.
[09:55:01] Starting Task: Encoding Pass
[09:55:01] Skipping vfr filter
[09:55:01] Auto Passthru: allowed codecs are AAC, AC3, E-AC3, TrueHD, DTS, DTS-HD, MP3, FLAC
[09:55:01] Auto Passthru: fallback is AC3
[09:55:01] Auto Passthru: using AAC Passthru for track 1
[09:55:01] work: only 1 chapter, disabling chapter markers
[09:55:01] job configuration:
[09:55:01]  * source
[09:55:01]    + I:\mofos\Krazy Kinsley 1080p.mp4
[09:55:01]    + title 57, chapter(s) 1 to 1
[09:55:01]    + container: mov,mp4,m4a,3gp,3g2,mj2
[09:55:01]    + data rate: 3748 kbps
[09:55:01]  * destination
[09:55:01]    + H:\Convertidas\HandBrake\Krazy Kinsley 1080p.mp4
[09:55:01]    + container: MPEG-4 (libavformat)
[09:55:01]      + align initial A/V stream timestamps
[09:55:01]  * video track
[09:55:01]    + decoder: h264
[09:55:01]      + bitrate 8850 kbps
[09:55:01]    + filters
[09:55:01]      + Crop and Scale (width=1920:height=1072:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[09:55:01]        + source: 1920 * 1080, crop (0/0/0/0): 1920 * 1080, scale: 1920 * 1072
[09:55:01]    + Output geometry
[09:55:01]      + storage dimensions: 1920 x 1072
[09:55:01]      + pixel aspect ratio: 134 : 135
[09:55:01]      + display dimensions: 1905 x 1072
[09:55:01]    + encoder: H.265 (NVEnc)
[09:55:01]      + preset:  slow
[09:55:01]      + profile: auto
[09:55:01]      + level:   auto
[09:55:01]      + quality: 30.00 (CQ)
[09:55:01]      + color profile: 1-1-1
[09:55:01]  * audio track 1
[09:55:01]    + decoder: Unknown (AAC LC) (2.0 ch) (210 kbps) (track 1, id 0x1)
[09:55:01]      + bitrate: 210 kbps, samplerate: 48000 Hz
[09:55:01]    + AAC Passthru
[09:55:01] sync: expecting 49301 video frames
[09:55:01] encavcodecInit: H.265 (Nvidia NVENC)
[09:55:01] encavcodec: encoding at rc=vbr 30.00
[09:55:01] encavcodec: encoding with stored aspect 134/135
[09:55:02] sync: first pts video is 0
[09:55:02] sync: "Chapter 1" (1) at frame 1 time 0
[09:55:02] sync: first pts audio 0x1 is 0
[09:57:25] reader: done. 1 scr changes
[09:57:25] work: average encoding speed for job is 156.711517 fps
[09:57:26] aac-decoder done: 43992 frames, 0 decoder errors
[09:57:26] h264-decoder done: 22503 frames, 1 decoder errors
[09:57:26] sync: got 22503 frames, 49301 expected
[09:57:26] sync: framerate min 11.987 fps, max 23.976 fps, avg 23.974 fps
[09:57:26] mux: track 0, 22503 frames, 421337336 bytes, 3590.86 kbps, fifo 1024
[09:57:26] mux: track 1, 43992 frames, 25410777 bytes, 216.56 kbps, fifo 2048
[09:57:26] Finished work at: Wed Nov 13 09:57:26 2019
[09:57:26] libhb: work result = 0

# Encode Completed ...

[code]
User avatar
JohnAStebbins
HandBrake Team
Posts: 5722
Joined: Sat Feb 09, 2008 7:21 pm

Re: Suggestion to notify when the original source is not correct.

Post by JohnAStebbins »

Hmm, seems like a reasonable idea. We could probably add descriptive text to the new status pane in the queue window and signal a warning with a special icon in the job list.
mduell
Veteran User
Posts: 8196
Joined: Sat Apr 21, 2007 8:54 pm

Re: Suggestion to notify when the original source is not correct.

Post by mduell »

You're assuming the source video time in the container is marked correctly?
PajiAlfa
Posts: 23
Joined: Sat Mar 04, 2017 1:20 am

Re: Suggestion to notify when the original source is not correct.

Post by PajiAlfa »

mduell wrote: Wed Nov 13, 2019 7:29 pm You're assuming the source video time in the container is marked correctly?
The time is not correct because the video is bad and when it is downloaded it will be shorted before finishing.
PajiAlfa
Posts: 23
Joined: Sat Mar 04, 2017 1:20 am

Re: Suggestion to notify when the original source is not correct.

Post by PajiAlfa »

JohnAStebbins wrote: Wed Nov 13, 2019 6:14 pm Hmm, seems like a reasonable idea. We could probably add descriptive text to the new status pane in the queue window and signal a warning with a special icon in the job list.
Thank you and very good work the program is wonderful.
A warning for these cases would be very good.
Post Reply